OAI/Combinatorics/PlanarL1/Fields.lean
50 declarations, 0 contain sorry, 0 declared as axioms
- structure
OAI.PlanarL1.Columns.Model.Fieldline 14Source documentation
A scalar field on the whole band, including all its components. Its only compatibility condition is equality at actual allowed switch heights.
structure Field (J : Set ℝ) (L : NNReal) where …
- lemma
OAI.PlanarL1.Columns.Model.Field.path_boundline 23 - lemma
OAI.PlanarL1.Columns.Model.Field.lipschitzline 39Source documentation
Vertical Lipschitz bounds and switch equality imply the intrinsic bound, by summing on an actual attaining shortest path.
lemma lipschitz (F : M.Field J L) (hJ : IsClosed J) (root : Fin n) : LipschitzWith L (fun x : M.Point J root => F.value x.column ⟨x.height,x.inBand⟩) := by … - def
OAI.PlanarL1.Columns.Model.Point.truncatedline 55Source documentation
Truncated point distance on EVERY column. Columns outside the metric component have the constant ceiling.
noncomputable def truncated (o : M.Point J root) (D : ℝ) (i : Fin n) (H : J) : ℝ := by …
- lemma
OAI.PlanarL1.Columns.Model.Point.truncated_of_reachableline 60 - lemma
OAI.PlanarL1.Columns.Model.Point.truncated_leline 65 - lemma
OAI.PlanarL1.Columns.Model.Point.truncated_verticalline 72 - lemma
OAI.PlanarL1.Columns.Model.Point.truncated_switchline 97 - def
OAI.PlanarL1.Columns.Model.Point.truncatedFieldline 115 - lemma
OAI.PlanarL1.Columns.Model.Point.truncated_rootline 120 - lemma
OAI.PlanarL1.Columns.Model.Point.truncated_minimumline 125 - lemma
OAI.PlanarL1.Columns.Model.Point.truncated_sublevel_pathline 136Source documentation
The strict sublevel connects to the root by a real shortest switching path; every visited column remains in the same strict sublevel.
lemma truncated_sublevel_path (hJ : IsClosed J) (o : M.Point J root) (D t : ℝ) (ht : t ≤ D) (i : Fin n) (H : J) (hi : o.truncated D i H < t) : ∃ w : (M.activeGraph J).Walk i o.column, ∀ z ∈ w.support, o.truncated D z H < t := by … - def
OAI.PlanarL1.Columns.Model.Point.supportValueline 158Source documentation
The literal running-minimum projection of point distance, after cutting at the chosen representative of the root.
noncomputable def supportValue {k : ℕ} {M : Model (k + 1)} {J : Set ℝ} {r : Fin (k + 1)} (o w : M.Point J r) (i : Fin (k + 1)) (H : J) : ℝ := …Mentions: OAI.PlanarL1.Columns.Model
- lemma
OAI.PlanarL1.Columns.Model.Point.supportValue_verticalline 164 - lemma
OAI.PlanarL1.Columns.Model.Point.supportValue_switchline 168 - def
OAI.PlanarL1.Columns.Model.Point.supportFieldline 201Source documentation
Ordered support, with actual vertical and switch proofs.
noncomputable def supportField {k : ℕ} {M : Model (k + 1)} {J : Set ℝ} {r : Fin (k + 1)} (hJ : IsClosed J) (o w : M.Point J r) : M.Field J 1 where …Mentions: OAI.PlanarL1.Columns.Model
- lemma
OAI.PlanarL1.Columns.Model.Point.supportValue_rootline 207 - lemma
OAI.PlanarL1.Columns.Model.Point.supportValue_targetline 213 - lemma
OAI.PlanarL1.Columns.Model.Point.supportValue_boundsline 219 - def
OAI.PlanarL1.Columns.Model.Field.OrderedFromline 240Source documentation
Monotonicity on the two arcs, expressed in the circle cut at
a. The separate minimum condition records the wrap-around step to index zero.def Field.OrderedFrom {k : ℕ} {M : Model (k + 1)} {J : Set ℝ} {L : NNReal} (F : M.Field J L) (a b : Fin (k + 1)) : Prop := …Mentions: OAI.PlanarL1.Columns.Model
- lemma
OAI.PlanarL1.Columns.Model.Point.supportField_orderedline 250 - theorem
OAI.PlanarL1.Columns.Model.Point.exists_ordered_supportline 279Source documentation
Lemma ord:support, on every representative of the whole band. No connectivity of the whole band is assumed. The upper distance bound is on the chosen finite-distance component, just as the source's infinite convention.
theorem exists_ordered_support {k : ℕ} {M : Model (k + 1)} {J : Set ℝ} {r : Fin (k + 1)} (hJ : IsClosed J) (o w : M.Point J r) : ∃ F : M.Field J 1, F.OrderedFrom o.column w.column ∧ (∀ i H, 0 ≤ F.value i H ∧ F.value i H ≤ dist o w) ∧ F.value o.column ⟨o.height,o.inBand⟩ = 0 ∧ F.value w.column ⟨w.height,w.inBand⟩ = dist o w ∧ ∀ x : M.Point J r, F.value x.column ⟨x.height,x.inBand⟩ ≤ dist o x := by …Mentions: OAI.PlanarL1.Columns.Model
- def
OAI.PlanarL1.Columns.Model.Field.arcSignline 303Source documentation
Signed open-arc membership. Boundary columns have sign zero.
def arcSign {k : ℕ} (a b i : Fin (k + 1)) : ℝ := … - lemma
OAI.PlanarL1.Columns.Model.Field.arcSign_casesline 306 - lemma
OAI.PlanarL1.Columns.Model.Field.arcSign_zero_iffline 311 - lemma
OAI.PlanarL1.Columns.Model.Field.abs_arcSign_leline 316 - def
OAI.PlanarL1.Columns.Model.Field.wallline 321Source documentation
Source Z_s in the max metric on R x R: the two boundary images and the images of actual switches between opposite OPEN arcs.
def wall {k : ℕ} {M : Model (k + 1)} {J : Set ℝ} {L : NNReal} (F : M.Field J L) (a b : Fin (k + 1)) : Set (ℝ × ℝ) := …Mentions: OAI.PlanarL1.Columns.Model
- lemma
OAI.PlanarL1.Columns.Model.Field.wall_nonemptyline 328 - lemma
OAI.PlanarL1.Columns.Model.Field.wall_of_boundaryline 332 - lemma
OAI.PlanarL1.Columns.Model.Field.wall_of_switchline 339 - def
OAI.PlanarL1.Columns.Model.Field.transverseValueline 358 - lemma
OAI.PlanarL1.Columns.Model.Field.coordinate_lipschitzline 362 - lemma
OAI.PlanarL1.Columns.Model.Field.transverse_verticalline 373 - lemma
OAI.PlanarL1.Columns.Model.Field.transverse_switchline 384 - def
OAI.PlanarL1.Columns.Model.Field.transverseline 396Source documentation
The transverse field. Its slope bound is inherited from the original field (and at least one), with the switch identity proved.
noncomputable def transverse {k : ℕ} {M : Model (k + 1)} {J : Set ℝ} {L : NNReal} (F : M.Field J L) (hL : 1 ≤ L) (a b : Fin (k + 1)) : M.Field J L where …Mentions: OAI.PlanarL1.Columns.Model
- lemma
OAI.PlanarL1.Columns.Model.Field.transverse_absline 402 - def
OAI.PlanarL1.Columns.Model.Path.traceline 419Source documentation
The actual set of representatives visited by a finite switching path, including every point of its vertical segments.
def trace : {i j : Fin n} → M.Path J i j → ℝ → ℝ → Set (Fin n × ℝ) | i, _, .nil _, a, b => {z | z.1 = i ∧ z.2 ∈ Set.uIcc a b} | i, _, .cons H _ _ p, a, b => {z | z.1 = i ∧ z.2 ∈ Set.uIcc a H} ∪ p.trace H b - lemma
OAI.PlanarL1.Columns.Model.Path.trace_columnline 423 - lemma
OAI.PlanarL1.Columns.Model.Path.trace_heightline 433 - lemma
OAI.PlanarL1.Columns.Model.Path.abs_splitline 442 - lemma
OAI.PlanarL1.Columns.Model.Path.trace_splitline 457Source documentation
A visit admits an exact-length prefix and suffix, not just an unrelated path to the same column.
lemma trace_split {i j : Fin n} (p : M.Path J i j) {a b : ℝ} {z : Fin n × ℝ} (hz : z ∈ p.trace a b) : ∃ (q : M.Path J i z.1) (r : M.Path J z.1 j), q.length a z.2 + r.length z.2 b = p.length a b := by … - lemma
OAI.PlanarL1.Columns.Model.Field.vertical_intermediateline 481 - lemma
OAI.PlanarL1.Columns.Model.Field.path_intermediateline 495Source documentation
Every intermediate scalar value on a switching path is attained on its actual trace. Switch compatibility supplies continuity across the joins.
lemma path_intermediate (F : M.Field J L) (hJ : Set.OrdConnected J) {i j : Fin n} (p : M.Path J i j) (a b : J) {c : ℝ} (ha : F.value i a ≤ c) (hb : c ≤ F.value j b) : ∃ (v : Fin n) (T : J), (v,T.val) ∈ p.trace a.val b.val ∧ F.value v T = c := by … - abbrev
OAI.PlanarL1.Columns.Model.Componentline 516Source documentation
The metric component is precisely the separation quotient of the intrinsic pseudometric on representatives. No additional edges are inserted.
abbrev Component (J : Set ℝ) (root : Fin n) := SeparationQuotient (M.Point J root) …
- def
OAI.PlanarL1.Columns.Model.Point.extendValueline 534Source documentation
A Lipschitz scalar on one intrinsic component, continued constantly on the other components, is a genuine vertical/switch-compatible field.
noncomputable def extendValue (f : M.Point J root → ℝ) (i : Fin n) (H : J) : ℝ := by …
- lemma
OAI.PlanarL1.Columns.Model.Point.extendValue_pointline 538 - lemma
OAI.PlanarL1.Columns.Model.Point.extendValue_verticalline 542 - lemma
OAI.PlanarL1.Columns.Model.Point.extendValue_switchline 556 - def
OAI.PlanarL1.Columns.Model.Point.extendFieldline 574 - lemma
OAI.PlanarL1.Columns.Model.Point.intermediate_betweenline 582Source documentation
A continuous scalar intermediate value is attained on an actual shortest switching path, with the exact metric betweenness identity.
lemma intermediate_between {K : ℝ≥0} (f : M.Point J root → ℝ) (hf : LipschitzWith K f) (hJ : IsClosed J) (hI : Set.OrdConnected J) (x y : M.Point J root) {c : ℝ} (hx : f x ≤ c) (hy : c ≤ f y) : ∃ z : M.Point J root, f z=c ∧ dist x z+dist z y=dist x y := by …