OAI/Analysis/ForestSpace/Diamonds.lean
44 declarations, 0 contain sorry, 0 declared as axioms
- structure
OAI.ForestSpace.Diamond.Networkline 18Source documentation
An oriented edge enumeration; only the associated undirected unit-edge simple graph is used for distances.
Also declared: ComparatorChallenges/ForestSpace.lean:388 (same declaration text).
structure Network where …
- def
OAI.ForestSpace.Diamond.Network.graphline 28Also declared: ComparatorChallenges/ForestSpace.lean:399 (same declaration text).
- theorem
OAI.ForestSpace.Diamond.Network.edge_adjline 40 - def
OAI.ForestSpace.Diamond.Network.refineline 45Source documentation
Every edge is replaced by countably many internally disjoint two-edge paths. All old vertices remain, and each pair (edge,index) is a new midpoint.
Also declared: ComparatorChallenges/ForestSpace.lean:413 (same declaration text).
@[reducible] def refine : Network where …
Mentions: OAI.ForestSpace.Diamond.Network
- theorem
OAI.ForestSpace.Diamond.Network.refine_adj_leftline 52 - theorem
OAI.ForestSpace.Diamond.Network.refine_adj_rightline 56 - theorem
OAI.ForestSpace.Diamond.Network.refine_no_adj_middleline 60 - theorem
OAI.ForestSpace.Diamond.Network.refine_no_adj_oldline 65 - theorem
OAI.ForestSpace.Diamond.Network.refine_adj_liftline 70 - theorem
OAI.ForestSpace.Diamond.Network.refine_walk_liftline 79 - theorem
OAI.ForestSpace.Diamond.Network.refine_connectedline 91 - theorem
OAI.ForestSpace.Diamond.potential_boundline 114 - theorem
OAI.ForestSpace.Diamond.Network.adj_dist_potentialline 131 - def
OAI.ForestSpace.Diamond.Network.refinePotentialline 143 - theorem
OAI.ForestSpace.Diamond.Network.refinePotential_adjline 147 - theorem
OAI.ForestSpace.Diamond.Network.refine_dist_oldline 158 - theorem
OAI.ForestSpace.Diamond.Network.refine_dist_middleline 172 - def
OAI.ForestSpace.Diamond.Network.iterateline 186Source documentation
Iterating the very same edge replacement, starting from an arbitrary network. This recursion groups the first replacement before the remaining ones.
Also declared: ComparatorChallenges/ForestSpace.lean:422 (same declaration text).
@[reducible] def iterate : Network → ℕ → Network | A,0 => A | A,n+1 => iterate A.refine n /-- The canonical inclusion of all old vertices through finitely many refinements. -/
Mentions: OAI.ForestSpace.Diamond.Network, OAI.ForestSpace.Diamond.Network.old
- def
OAI.ForestSpace.Diamond.Network.oldline 191Source documentation
The canonical inclusion of all old vertices through finitely many refinements.
def old : (A : Network) → (n : ℕ) → A.V → (A.iterate n).V | _,0 => id | A,n+1 => fun u => A.refine.old n (Sum.inl u)
Mentions: OAI.ForestSpace.Diamond.Network
- theorem
OAI.ForestSpace.Diamond.Network.old_zeroline 195 - theorem
OAI.ForestSpace.Diamond.Network.old_succline 196 - theorem
OAI.ForestSpace.Diamond.Network.old_injectiveline 199 - theorem
OAI.ForestSpace.Diamond.Network.iterate_connectedline 204 - theorem
OAI.ForestSpace.Diamond.Network.old_distline 210 - theorem
OAI.ForestSpace.Diamond.Network.old_edge_distline 220 - theorem
OAI.ForestSpace.Diamond.Network.old_middle_distline 224 - def
OAI.ForestSpace.Diamond.baseline 234Source documentation
D₀ is precisely one edge.
Also declared: ComparatorChallenges/ForestSpace.lean:429 (same declaration text).
@[reducible] def base : Network where …
Mentions: OAI.ForestSpace.Diamond.Network
- theorem
OAI.ForestSpace.Diamond.base_connectedline 241 - def
OAI.ForestSpace.Diamond.diamondline 251Source documentation
Countably branching diamonds, all current edges of length one.
Also declared: ComparatorChallenges/ForestSpace.lean:437 (same declaration text).
@[reducible] def diamond (k : ℕ) := base.iterate k
- def
OAI.ForestSpace.Diamond.distanceline 254Source documentation
The shortest-path distance, via Mathlib's actual graph distance.
Distinct definitions of this name: ComparatorChallenges/ForestSpace.lean:440 (same statement text; different proof or body). Qualify references as OAI.ForestSpace.Diamond.distance@path.
def distance (k : ℕ) (u v : (diamond k).V) : ℝ := ((diamond k).graph.dist u v : ℝ)
Mentions: OAI.ForestSpace.Diamond.diamond
- theorem
OAI.ForestSpace.Diamond.diamond_connectedline 256 - theorem
OAI.ForestSpace.Diamond.Network.iterate_succ_refineline 260Source documentation
Our tail-recursive presentation is exactly successive edge replacement.
theorem Network.iterate_succ_refine (A : Network) (n : ℕ) : A.iterate (n+1) = (A.iterate n).refine := by …Mentions: OAI.ForestSpace.Diamond.Network, OAI.ForestSpace.Diamond.Network.refine
- theorem
OAI.ForestSpace.Diamond.diamond_zeroline 266 - theorem
OAI.ForestSpace.Diamond.diamond_succline 268 - theorem
OAI.ForestSpace.Diamond.Network.iterate_countableline 271 - theorem
OAI.ForestSpace.Diamond.diamond_countableline 278Source documentation
Vertices and edges really are countable at each finite diamond stage.
theorem diamond_countable (k : ℕ) : Countable (diamond k).V ∧ Countable (diamond k).E := …
Mentions: OAI.ForestSpace.Diamond.diamond
- theorem
OAI.ForestSpace.Diamond.distance_nonnegline 281 - theorem
OAI.ForestSpace.Diamond.distance_eq_zero_iffline 285 - theorem
OAI.ForestSpace.Diamond.distance_commline 290 - theorem
OAI.ForestSpace.Diamond.distance_triangleline 295 - def
OAI.ForestSpace.Diamond.Network.UniqueEdgesline 304Source documentation
Every undirected edge has exactly one entry in the oriented enumeration. Thus refinement replaces genuine graph edges, not a multiset of edges.
def Network.UniqueEdges (A : Network) : Prop := …
Mentions: OAI.ForestSpace.Diamond.Network
- theorem
OAI.ForestSpace.Diamond.Network.refine_uniqueEdgesline 308 - theorem
OAI.ForestSpace.Diamond.Network.iterate_uniqueEdgesline 316 - theorem
OAI.ForestSpace.Diamond.diamond_uniqueEdgesline 322