ComparatorChallenges/DiamondDistortion.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.
Project sources: Pinned openai/math documentation, Pinned formalization catalogue
37 declarations, 1 contain sorry, 0 declared as axioms
- structure
OAI.DiamondDistortion.SegmentSystemline 15Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:13 (same declaration text).
- structure
OAI.DiamondDistortion.SegmentSystem.FamilyThe represented disjoint families in the definition of the primal segment norm line 24Source documentation
The represented disjoint families in the definition of the primal segment norm.
L4DEL explanation
The represented disjoint families in the definition of the primal segment norm.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:21 (same declaration text).
structure Family where …
- instance
OAI.DiamondDistortion.SegmentSystem.(instance at line 30)line 30 - def
OAI.DiamondDistortion.SegmentSystem.Family.testSegment testing as a Euclidean-valued linear map line 39Source documentation
Segment testing as a Euclidean-valued linear map.
L4DEL explanation
Segment testing as a Euclidean-valued linear map.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:36 (same declaration text).
def Family.test (F : T.Family) : (ι →₀ ℝ) →ₗ[ℝ] EuclideanSpace ℝ (Fin F.n) where …
- def
OAI.DiamondDistortion.SegmentSystem.Family.seminormline 48Distinct definitions of this name: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:48 (same statement text; different proof or body). Qualify references as OAI.DiamondDistortion.SegmentSystem.Family.seminorm@path.
- def
OAI.DiamondDistortion.SegmentSystem.primalSeminormline 53Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:91 (same declaration text).
- def
OAI.DiamondDistortion.SegmentSystem.singletonFamilySingleton families ensure that the segment seminorm separates points line 56Source documentation
Singleton families ensure that the segment seminorm separates points.
L4DEL explanation
Singleton families ensure that the segment seminorm separates points.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:108 (same declaration text).
def singletonFamily (v : ι) : T.Family where …
- def
OAI.DiamondDistortion.SegmentSystem.Primalline 62Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:171 (same declaration text).
- instance
OAI.DiamondDistortion.SegmentSystem.(instance at line 64)line 64 - instance
OAI.DiamondDistortion.SegmentSystem.(instance at line 65)line 65 - instance
OAI.DiamondDistortion.SegmentSystem.(instance at line 67)line 67 - instance
OAI.DiamondDistortion.SegmentSystem.(instance at line 127)line 127 - abbrev
OAI.DiamondDistortion.SegmentSystem.JamesSpaceline 130Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:272 (same declaration text).
- abbrev
OAI.DiamondDistortion.SegmentSystem.DualIts full real continuous dual line 133Source documentation
Its full real continuous dual.
L4DEL explanation
Its full real continuous dual.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:275 (same declaration text).
abbrev Dual := StrongDual ℝ T.JamesSpace
- def
OAI.DiamondDistortion.SegmentSystem.coordinateFiniteCoordinate evaluation on finite arrays, bounded by the singleton test line 136Source documentation
Coordinate evaluation on finite arrays, bounded by the singleton test.
L4DEL explanation
Coordinate evaluation on finite arrays, bounded by the singleton test.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:278 (same declaration text).
def coordinateFinite (v : ι) : T.Primal →L[ℝ] ℝ := by …
- def
OAI.DiamondDistortion.SegmentSystem.coordinateline 189Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:331 (same declaration text).
- def
OAI.DiamondDistortion.SegmentSystem.unitFinitePrimal unit coordinate and its canonical image in the completion line 193Source documentation
Primal unit coordinate and its canonical image in the completion.
L4DEL explanation
Primal unit coordinate and its canonical image in the completion.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:340 (same declaration text).
def unitFinite (v : ι) : T.Primal := Finsupp.single v 1
- def
OAI.DiamondDistortion.SegmentSystem.unitVectorline 195Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:342 (same declaration text).
- def
OAI.DiamondDistortion.SegmentSystem.headDualline 197Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:394 (same declaration text).
- def
OAI.DiamondDistortion.SegmentSystem.CoordinatePredualThe norm-closed coordinate span, not the full infinite-tree dual line 201Source documentation
The norm-closed coordinate span, not the full infinite-tree dual.
L4DEL explanation
The norm-closed coordinate span, not the full infinite-tree dual.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/SegmentNorm.lean:1080 (same declaration text).
def CoordinatePredual : Submodule ℝ T.Dual := …
- def
OAI.DiamondDistortion.intervalSystemA finite interval in an ancestral order line 207Source documentation
A finite interval in an ancestral order. This keeps the root in every tree.
L4DEL explanation
A finite interval in an ancestral order. This keeps the root in every tree.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/Ancestry.lean:14 (same declaration text).
def intervalSystem {ι : Type*} (r : ι → ι → Prop) (hrefl : ∀ a, r a a) (hanti : ∀ a b, r a b → r b a → a = b) : SegmentSystem ι where …Mentions: OAI.DiamondDistortion.SegmentSystem
- class
OAI.DiamondDistortion.AncestryAn ancestral partial order: the predecessors of any vertex form a chain line 221Source documentation
An ancestral partial order: the predecessors of any vertex form a chain.
L4DEL explanation
An ancestral partial order: the predecessors of any vertex form a chain.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/Ancestry.lean:28 (same declaration text).
class Ancestry (ι : Type*) extends PartialOrder ι where …
- def
OAI.DiamondDistortion.Ancestry.segmentsNonempty finite intervals for an ancestral order line 231Source documentation
Nonempty finite intervals for an ancestral order.
L4DEL explanation
Nonempty finite intervals for an ancestral order.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/Ancestry.lean:37 (same declaration text).
def segments : SegmentSystem ι := …
Mentions: OAI.DiamondDistortion.SegmentSystem
- def
OAI.DiamondDistortion.ForestNodeline 236Also declared: OAI/Analysis/DiamondDistortion/ForestModels.lean:13 (same declaration text).
- def
OAI.DiamondDistortion.ForestAncestorline 238Also declared: OAI/Analysis/DiamondDistortion/ForestModels.lean:15 (same declaration text).
- def
OAI.DiamondDistortion.forestAncestryline 241Also declared: OAI/Analysis/DiamondDistortion/ForestModels.lean:18 (same declaration text).
- def
OAI.DiamondDistortion.forestSegmentsline 254Also declared: OAI/Analysis/DiamondDistortion/ForestModels.lean:31 (same declaration text).
- def
OAI.DiamondDistortion.infiniteAncestryPrefix order on all finite words, explicitly distinct from their lexicographic order line 258Source documentation
Prefix order on all finite words, explicitly distinct from their lexicographic order.
L4DEL explanation
Prefix order on all finite words, explicitly distinct from their lexicographic order.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/ForestModels.lean:35 (same declaration text).
@[instance_reducible] def infiniteAncestry : Ancestry (List ℕ) where …
Mentions: OAI.DiamondDistortion.Ancestry
- def
OAI.DiamondDistortion.infiniteSegmentsThe infinite-height tree of all finite words; this includes the empty root line 267Source documentation
The infinite-height tree of all finite words; this includes the empty root.
L4DEL explanation
The infinite-height tree of all finite words; this includes the empty root.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/ForestModels.lean:44 (same declaration text).
def infiniteSegments : SegmentSystem (List ℕ) := …
Mentions: OAI.DiamondDistortion.SegmentSystem
- abbrev
OAI.DiamondDistortion.ForestDualline 270Also declared: OAI/Analysis/DiamondDistortion/ForestModels.lean:271 (same declaration text).
- abbrev
OAI.DiamondDistortion.InfinitePredualline 271Also declared: OAI/Analysis/DiamondDistortion/ForestModels.lean:272 (same declaration text).
- def
OAI.DiamondDistortion.Diamond.EdgeStage edges, retaining their parent, child number, and side line 276Source documentation
Stage edges, retaining their parent, child number, and side.
L4DEL explanation
Stage edges, retaining their parent, child number, and side.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/DiamondGraph.lean:16 (same declaration text).
@[reducible] def Edge : ℕ → Type | 0 => Unit | n + 1 => Edge n × ℕ × Bool /-- At every replacement every parent edge receives countably many distinct new vertices. -/
- def
OAI.DiamondDistortion.Diamond.VertexAt every replacement every parent edge receives countably many distinct new vertices line 281Source documentation
At every replacement every parent edge receives countably many distinct new vertices.
L4DEL explanation
At every replacement every parent edge receives countably many distinct new vertices.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/DiamondGraph.lean:21 (same declaration text).
@[reducible] def Vertex : ℕ → Type | 0 => Bool | n + 1 => Vertex n ⊕ (Edge n × ℕ)
Mentions: OAI.DiamondDistortion.Diamond.Edge
- def
OAI.DiamondDistortion.Diamond.endpointline 285Also declared: OAI/Analysis/DiamondDistortion/DiamondGraph.lean:25 (same declaration text).
- def
OAI.DiamondDistortion.Diamond.graphThe undirected replacement graph line 293Source documentation
The undirected replacement graph.
L4DEL explanation
The undirected replacement graph.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/DiamondGraph.lean:33 (same declaration text).
def graph (n : ℕ) : SimpleGraph (Vertex n) := …
Mentions: OAI.DiamondDistortion.Diamond.Vertex
- def
OAI.DiamondDistortion.Diamond.distanceFinal edges have length 2⁻ᵏ: this is the shortest-path metric of the normalized graph line 297Source documentation
Final edges have length 2⁻ᵏ: this is the shortest-path metric of the normalized graph.
L4DEL explanation
Final edges have length 2⁻ᵏ: this is the shortest-path metric of the normalized graph.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Analysis/DiamondDistortion/DiamondGraph.lean:206 (same declaration text).
def distance (k : ℕ) (u v : Vertex k) : ℝ := …
Mentions: OAI.DiamondDistortion.Diamond.Vertex
- theorem
OAI.DiamondDistortion.headline_all_pairsChallenge statement: All-pairs diamond distortion bound sorry line 302L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 7 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Analysis.DiamondDistortion.Descent as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Analysis/DiamondDistortion/Descent.lean:104 (same statement text; different proof or body). Qualify references as OAI.DiamondDistortion.headline_all_pairs@path.
theorem headline_all_pairs : (∀ (k : ℕ) (f : Diamond.Vertex k → ForestDual) (D s : ℝ), 0 < s → (∀ u v,s*Diamond.distance k u v ≤ ‖f u-f v‖ ∧ ‖f u-f v‖ ≤ D*s*Diamond.distance k u v) → 1+(k:ℝ)/4 ≤ D^2) ∧ (∀ (k : ℕ) (f : Diamond.Vertex k → InfinitePredual) (D s : ℝ), 0 < s → (∀ u v,s*Diamond.distance k u v ≤ ‖f u-f v‖ ∧ ‖f u-f v‖ ≤ D*s*Diamond.distance k u v) → 1+(k:ℝ)/4 ≤ D^2) := by …Mentions: OAI.DiamondDistortion.Diamond.Vertex, OAI.DiamondDistortion.ForestDual, OAI.DiamondDistortion.Diamond.distance, OAI.DiamondDistortion.InfinitePredual