OAI/Combinatorics/PlanarL1/MainStep.lean
45 declarations, 0 contain sorry, 0 declared as axioms
- lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.represents_namedline 16 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.contains_namedline 23 - structure
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStepline 30Source documentation
Literal deterministic data of a kept eligible main cell. Fresh signs are label coordinates, not assumptions of independence between existing labels.
structure MainStep (S : OrdinaryState M κ Ω μ) (J : Set ℝ) (root : Fin n) where …
Mentions: OAI.PlanarL1.Columns.Model.OrdinaryState
- def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.dataline 57 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.comparisonline 58 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.compact_bandline 61 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.old_agreementline 63 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.patchline 72 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.inputline 79 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.shieldline 82 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.shieldConstantline 86 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.shield_lipschitzline 89 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.newDataline 108 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.newLabelsline 111 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.chooseline 116 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.patch_insideline 120 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.chosen_descriptionline 133 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.unchosenline 194 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.choose_switchline 210 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.applyline 217Source documentation
The exact single kept main-cell update, including the fresh shield label rebase and retention of every old identifier wherever the scalar clip is old.
noncomputable def apply [SFinite μ] : OrdinaryState M κ (Ω × Bool) (μ.prod Threshold.fair) := …
Mentions: OAI.PlanarL1.Columns.Model.OrdinaryState, OAI.PlanarL1.Threshold.fair
- lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.apply_setsline 224 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.indicator_insideline 240 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.old_indicatorline 250 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.movement_exactline 261Source documentation
Actual label mass moved by one kept main cell equals the oriented scalar raise times κ. This compares the new sets with the lifted old sets.
lemma movement_exact (i : Fin n) (H : ℝ) (hi : H ∈ MainCell.domain U.tree U.phase U.cell i) : (∫ ω, |(U.patch.apply.activity ω).indicator i H- (S.lift.sets.activity ω).indicator i H| ∂(μ.prod Threshold.fair)) = κ*(MainCell.replacement U.comparison U.sub_old U.tree U.phase U.cell U.anchor U.noise U.error U.shield_offset U.lo (MainCell.cellPoint U.tree U.phase U.cell i H hi)- MainCell.old U.comparison U.sub_old (MainCell.cellPoint U.tree U.phase U.cell i H hi)) := by …Mentions: OAI.PlanarL1.Columns.Model.MainCell.domain, OAI.PlanarL1.Threshold.fair, OAI.PlanarL1.Columns.Model.MainCell.replacement, OAI.PlanarL1.Columns.Model.MainCell.cellPoint, OAI.PlanarL1.Columns.Model.MainCell.old
- lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.movement_integrableline 289 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.movement_boundline 302 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.movement_or_descentline 321Source documentation
Under the literal padded-cell main test, either there is an actual shortest band descent or the kept-cell movement has the claimed strict positive mass.
lemma movement_or_descent (w : M.Point J root) (hw : w.column ∈ ColumnOrder.componentColumns U.cell) {ε : ℝ} (hε : 0<ε) (hεsmall : ε ≤ (1:ℝ)/100) (hζ : U.tree.ζ=ε/100) (hE : U.error=ε/1000) (hκ : 0<κ) (hshield : MainCell.old U.comparison U.sub_old U.anchor+2 ≤ Clipping.heightShield U.lo U.tree.a (MainCell.old U.comparison U.sub_old U.anchor) U.shield_offset w.height) (hlow : U.phase+(1:ℝ)/100000+2*U.tree.a < dist U.tree.base (w.withHeight U.tree.base.height U.tree.base.inBand)) (hupp : dist U.tree.base (w.withHeight U.tree.base.height U.tree.base.inBand) < U.phase+(1:ℝ)/1000-(1:ℝ)/100000-2*U.tree.a) : …Mentions: OAI.PlanarL1.ColumnOrder.componentColumns, OAI.PlanarL1.Columns.Model.MainCell.old, OAI.PlanarL1.Clipping.heightShield
- lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.old_indicator_namedline 375 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.pair_distanceline 386Source documentation
Actual common-label pair distance when one cell is kept and the other endpoint is outside it. The comparison uses old labels, not new chart names.
lemma pair_distance (x y : M.Point J root) (hx : x.column ∈ ColumnOrder.componentColumns U.cell) (hy : y.column ∉ ColumnOrder.componentColumns U.cell) (hyn : S.name y.column y.height=U.index) : (∫ ω, |(U.patch.apply.activity ω).indicator x.column x.height- (U.patch.apply.activity ω).indicator y.column y.height| ∂(μ.prod Threshold.fair)) = max |x.height-y.height| (κ*|MainCell.replacement U.comparison U.sub_old U.tree U.phase U.cell U.anchor U.noise U.error U.shield_offset U.lo x-MainCell.old U.comparison U.sub_old y|) := by …Mentions: OAI.PlanarL1.ColumnOrder.componentColumns, OAI.PlanarL1.Threshold.fair, OAI.PlanarL1.Columns.Model.MainCell.replacement, OAI.PlanarL1.Columns.Model.MainCell.old
- lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.separation_of_raiseline 416 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainStep.pair_separation_of_no_descentline 435Source documentation
Literal deterministic favorable branch in the main pair-separation test.
lemma pair_separation_of_no_descent (x y : M.Point J root) (hx : x.column ∈ ColumnOrder.componentColumns U.cell) (hy : y.column ∉ ColumnOrder.componentColumns U.cell) (hyn : S.name y.column y.height=U.index) (hκ : 0<κ) {ε : ℝ} (hε : 0<ε) (hεsmall : ε ≤ (1:ℝ)/100) (hζ : U.tree.ζ=ε/100) (hE : U.error=ε/1000) (hclose : |MainCell.old U.comparison U.sub_old x-MainCell.old U.comparison U.sub_old y| ≤ U.error) (hshield : MainCell.old U.comparison U.sub_old U.anchor+2 ≤ Clipping.heightShield U.lo U.tree.a (MainCell.old U.comparison U.sub_old U.anchor) U.shield_offset x.height) (hlow : U.phase+(1:ℝ)/100000+2*U.tree.a < dist U.tree.base (x.withHeight U.tree.base.height U.tree.base.inBand)) …Mentions: OAI.PlanarL1.ColumnOrder.componentColumns, OAI.PlanarL1.Columns.Model.MainCell.old, OAI.PlanarL1.Clipping.heightShield
- structure
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatchline 481Source documentation
A finite family of the actual main-cell proposals. Distinct cells may meet at unchanged boundary points; no disjointness of their closed domains is assumed.
structure MainBatch (S : OrdinaryState M κ Ω μ) where …
Mentions: OAI.PlanarL1.Columns.Model.OrdinaryState
- def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.NewIndexline 491 - instance
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.(instance at line 492)line 492 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.newDataline 494 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.newLabelsline 496 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.chosenline 500 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.chooseline 503 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.choose_someline 506 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.choose_noneline 513 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.choose_switchline 521 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.setsline 529 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.chosen_descriptionline 532 - lemma
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.unchosenline 546 - def
OAI.PlanarL1.Columns.Model.OrdinaryState.MainBatch.applyline 555Source documentation
Actual finite main update, with the chart table containing every ancestor formula and each shield's rebased label variables.
noncomputable def apply [SFinite μ] : OrdinaryState M κ (Ω × Bool) (μ.prod Threshold.fair) := by …
Mentions: OAI.PlanarL1.Columns.Model.OrdinaryState, OAI.PlanarL1.Threshold.fair