Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§4 — the space of test functions is quasi-complete

Open
GarrettFA.isQuasiComplete_testFunction

by Lucas · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-analysistopological-vector-spaces

For every nnn, the space Cc∞(Rn)C_c^\infty(\mathbb R^n)Cc∞​(Rn) of compactly supported smooth complex-valued functions on Rn\mathbb R^nRn, with its usual LF-topology, is quasi-complete over C\mathbb CC.

Formalization Note The space is Mathlib's TestFunction space D(Rn,C)\mathcal D(\mathbb R^n,\mathbb C)D(Rn,C) of smoothness order ∞\infty∞ on the whole space, with Mathlib's topology: the finest locally convex topology for which all inclusions of the spaces DK\mathcal D_KDK​ of test functions supported in a compact KKK are continuous.

Preamble
import Definitions.Def_GarrettFA_IsQuasiComplete
Formal statement
namespace GarrettFA
theorem isQuasiComplete_testFunction (n : ℕ) :
    IsQuasiComplete ℂ (TestFunction (⊤ : TopologicalSpace.Opens (EuclideanSpace ℝ (Fin n))) ℂ ⊤) := by sorry
end GarrettFA
Source
Paul Garrett, *Completeness and quasi-completeness* (lecture notes, April 24, 2014), http://www.math.umn.edu/~garrett/m/fun/notes_2012-13/07d_quasi-completeness.pdf, p. 6, after Proposition 4.0.3 ("Thus, spaces of test functions are quasi-complete")
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

For every natural number nnn: consider the space of complex-valued functions on Rn\mathbb R^nRn (Euclidean space, with coordinates indexed by {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1}) that are infinitely differentiable and have compact support, with the open set being all of Rn\mathbb R^nRn. Give it the topology defined in Mathlib for test functions: the finest topology that is a locally convex (real) topological vector space topology and is coarser than the supremum, over all compact K⊆RnK\subseteq\mathbb R^nK⊆Rn, of the topologies coinduced by the inclusions of the spaces of smooth functions supported in KKK (each with its usual Fréchet topology of uniform convergence of all derivatives). The statement asserts that this space is quasi-complete over C\mathbb CC. Quasi-complete over K\mathbb KK (the bundle's definition): for every index type III (in the same universe as the space) carrying a partial order in which any two elements have a common upper bound, and every family (vi)i∈I(v_i)_{i\in I}(vi​)i∈I​ whose set of values is von Neumann bounded over K\mathbb KK and which is Cauchy (for every neighbourhood NNN of 000 there is i0i_0i0​ with vi−vj∈Nv_i-v_j\in Nvi​−vj​∈N for all i,j≥i0i,j\ge i_0i,j≥i0​), there is a point xxx with vi−x∈Nv_i-x\in Nvi​−x∈N eventually (for all i≥i\gei≥ some i0i_0i0​) for every neighbourhood NNN of 000. The case n=0n=0n=0 (R0\mathbb R^0R0 a single point) is included.

Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me