Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Chapter PaFreeCompletion

Definition
ChapterPaFreeCompletion

by leonardopedro · Oct 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

definitionsformalizationtimepiece

Formal definitions for the timepiece Lean 4 formalization (source chapter BookProof/ChapterPaFreeCompletion.lean): generated def bundle for ChapterPaFreeCompletion. See BookProof/ChapterPaFreeCompletion.lean for full context.

Definition code
import Definitions.Def_ChapterRieszFischer
import Mathlib


/-!
# PA-Free Completion: The Riesz–Fischer Framework

We formalize the Riesz–Fischer characterization for the finitely-supported
core and its completion. The completion adds exactly the limit points
needed for Hilbert space completeness without introducing new "pathological"
vectors.

This is the mathematical foundation for the Solovay–Hilbert decidability
architecture: the completion of the finitely-supported core does not
leak PA / is a conservative extension.

**Update (August 2026).**  The Riesz–Fischer statement of this file used to be a
`True` placeholder.  It is now a genuine theorem: the analytic content lives in
`BookProof/ChapterRieszFischer.lean`, and this file records the identification of
the dense core `ℕ →₀ ℝ` with the finitely-supported vectors of `ℓ²(ℕ)`
(`range_ofCore`) together with the completeness / density / properness package
(`riesz_fischer`, `denseCore_dense`, `denseCore_proper`).
-/

open Set
open Filter
open BookProof.ChapterRieszFischer

/-- The dense core: finitely-supported vectors on ℕ.
    These represent the "definable" or "computable" vectors
    in the Riesz–Fischer framework. -/
abbrev DenseCore := ℕ →₀ ℝ

/-- The dense core is a real vector space. -/
noncomputable instance : AddCommGroup DenseCore :=
  Finsupp.instAddCommGroup (ι := ℕ) (G := ℝ)



/-- The canonical embedding of the dense core into its completion `ℓ²(ℕ)`:
a finitely-supported sequence is the (finite) sum of its coordinate atoms. -/
noncomputable def ofCore (v : DenseCore) : Ell2 :=
  ∑ i ∈ v.support, lp.single 2 i (v i)










Source
https://github.com/leonardopedro/timepiece/blob/61595bc/BookProof/ChapterPaFreeCompletion.lean

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