OAI/Algebra/GroupRing/StageEntropy.lean
54 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.TorsionFreeZeroDivisors.StageEntropy.labelCostline 18Source documentation
The literal label/bin exponent, in the stage bound.
def labelCost (j : ℕ) : ℝ := …
- theorem
OAI.TorsionFreeZeroDivisors.StageEntropy.labelCost_eqline 24 - def
OAI.TorsionFreeZeroDivisors.StageEntropy.looseCostline 42Source documentation
The source uniform block-propagation and chain-tail error, before taking limits. All blocks and both sides are counted only once.
def looseCost : ℝ := …
- theorem
OAI.TorsionFreeZeroDivisors.StageEntropy.sum_exponentsline 49Source documentation
Literal component costs dispatched through proven unmatched-incidence and layer-cake estimates. The power hypothesis is the (separate) actual immersed-path vertex/edge inequality, not a first-moment assumption.
theorem sum_exponents (M : ℕ) (hm : ∀ c, m c ≤ M) (a logn : ℝ) (power error : Fin M → ℝ) (ha : 0≤a) (hn : 0≤logn) (hlow : ∀ i, (1/600:ℝ)*s/2 ≤ d i) (hhigh : ∀ i, (d i : ℝ) ≤ a*s) (hpower : ∑ j, power j ≤ 0) : (Finset.univ.sum (fun j : Fin M => power j*logn + labelCost s hs len m cmp err d j.val + error j)) ≤ a*s*Fintype.card (ActualStageLabels.P s hs len m cmp err).Unmatched - (1/1200:ℝ)*s*(∑ i : Underlying s len, (multiplicity s len m i : ℝ)) + ∑ j : Fin M, error j := by …Mentions: OAI.TorsionFreeZeroDivisors.StageEntropy.labelCost, OAI.TorsionFreeZeroDivisors.ActualStageLabels.P
- theorem
OAI.TorsionFreeZeroDivisors.StageEntropy.mean_boundline 82Source documentation
A complete literal-stage first moment, with its signed vertex exponent and the source denominator, without stage independence.
theorem mean_bound (cmp : Comparisons (E := E) (traversalLength len m)) …
- def
OAI.TorsionFreeZeroDivisors.OccurrenceMatching.Data.transportUnmatchedline 123 - theorem
OAI.TorsionFreeZeroDivisors.OccurrenceMatching.Data.card_unmatchedline 133 - def
OAI.TorsionFreeZeroDivisors.StageMass.totalLengthline 147 - def
OAI.TorsionFreeZeroDivisors.StageMass.uncoveredline 148 - theorem
OAI.TorsionFreeZeroDivisors.StageMass.unmatched_cardline 150 - theorem
OAI.TorsionFreeZeroDivisors.StageMass.unmatched_boundline 159Source documentation
The occurrence involution used by the entropy components has exactly the unmatched mass of the literal half-integer comparisons.
theorem unmatched_bound (ν : E → ℤ) (hsmall : 2*(err:ℝ)<s-1) (herr : ∀ e,2*|(cmp.offset e:ℝ)-(ν e:ℝ)*s|+4≤err) : s*Fintype.card (ActualStageLabels.P s hs len m cmp err).Unmatched ≤ uncovered s hs len m cmp err + 22*s*Fintype.card E + totalLength len m/s := by …Mentions: OAI.TorsionFreeZeroDivisors.ActualStageLabels.P, OAI.TorsionFreeZeroDivisors.StageMass.uncovered, OAI.TorsionFreeZeroDivisors.StageMass.totalLength
- theorem
OAI.TorsionFreeZeroDivisors.StageMass.totalLength_eqline 168Source documentation
Repeated traversal length is counted with its actual multiplicity.
theorem totalLength_eq : totalLength len m = ∑ c, (m c:ℝ)*len c := by …
- theorem
OAI.TorsionFreeZeroDivisors.StageMass.fullMass_eqline 173 - theorem
OAI.TorsionFreeZeroDivisors.StageMass.fullMass_lowerline 182Source documentation
The only mass lost from full blocks is at the ends of actual chain traversals. In particular repeated paths do not reduce this loss count.
theorem fullMass_lower : totalLength len m ≤ s*(∑ i : Underlying s len, (multiplicity s len m i:ℝ)) + s*(∑ c,(m c:ℝ)) := by … - theorem
OAI.TorsionFreeZeroDivisors.StageMass.fullMass_lower_boundedline 192 - def
OAI.TorsionFreeZeroDivisors.StageMass.residualline 211 - theorem
OAI.TorsionFreeZeroDivisors.StageMass.exponent_sum_boundline 216Source documentation
All explicit finite stage losses, before the common-scale limit.
theorem exponent_sum_bound (M Q : ℕ) (hm : ∀ c,m c≤M) (hQ : Fintype.card C≤Q) (ν : E → ℤ) (hsmall : 2*(err:ℝ)<s-1) (herr : ∀ e,2*|(cmp.offset e:ℝ)-(ν e:ℝ)*s|+4≤err) (d : Underlying s len → ℤ) (hlow : ∀ i,(1/600:ℝ)*s/2≤d i) (hhigh : ∀ i,(d i:ℝ)≤256*s) (logn denError : ℝ) (hn : 0≤logn) (power : Fin M → ℝ) (hpower : ∑ j,power j≤0) : (Finset.univ.sum (fun j : Fin M => power j*logn+ StageEntropy.labelCost s hs len m cmp err d j.val+ (StageEntropy.looseCost s len err+denError))) ≤ -(1/1200:ℝ)*totalLength len m + 256*uncovered s hs len m cmp err+ residual (E := E) s len m err M Q denError := by …Mentions: OAI.TorsionFreeZeroDivisors.StageEntropy.labelCost, OAI.TorsionFreeZeroDivisors.StageEntropy.looseCost, OAI.TorsionFreeZeroDivisors.StageMass.totalLength, OAI.TorsionFreeZeroDivisors.StageMass.uncovered, OAI.TorsionFreeZeroDivisors.StageMass.residual
- theorem
OAI.TorsionFreeZeroDivisors.StageMass.decayline 238Source documentation
Concrete finite selection input: only an actual uncovered-length bound and the independently controlled remainder are needed.
theorem decay (M Q : ℕ) (hm : ∀ c,m c≤M) (hQ : Fintype.card C≤Q) (ν : E → ℤ) (hsmall : 2*(err:ℝ)<s-1) (herr : ∀ e,2*|(cmp.offset e:ℝ)-(ν e:ℝ)*s|+4≤err) (d : Underlying s len → ℤ) (hlow : ∀ i,(1/600:ℝ)*s/2≤d i) (hhigh : ∀ i,(d i:ℝ)≤256*s) (logn denError : ℝ) (hn : 0≤logn) (power : Fin M → ℝ) (hpower : ∑ j,power j≤0) (hb : (uncovered s hs len m cmp err:ℝ) ≤ StageFusion.epsilon (1/600) 256*totalLength len m) (he : residual (E := E) s len m err M Q denError ≤ totalLength len m/4800) : …Mentions: OAI.TorsionFreeZeroDivisors.StageMass.uncovered, OAI.TorsionFreeZeroDivisors.StageFusion.epsilon, OAI.TorsionFreeZeroDivisors.StageMass.totalLength, OAI.TorsionFreeZeroDivisors.StageMass.residual
- def
OAI.TorsionFreeZeroDivisors.BinProfiles.valuesline 262 - def
OAI.TorsionFreeZeroDivisors.BinProfiles.profilesline 263 - theorem
OAI.TorsionFreeZeroDivisors.BinProfiles.mem_valuesline 266 - theorem
OAI.TorsionFreeZeroDivisors.BinProfiles.card_valuesline 273 - theorem
OAI.TorsionFreeZeroDivisors.BinProfiles.card_profilesline 282 - theorem
OAI.TorsionFreeZeroDivisors.BinProfiles.cardinal_boundline 291Source documentation
The number of all integer bin assignments is exponentially bounded by the actual full-block mass. There is no independence assumption between bins.
theorem cardinal_bound (s : ℝ) (hs : 0<s) (len : C → ℕ) : ((profiles s len).card:ℝ) ≤ Real.exp (((∑ c,(len c:ℝ))/s)*Real.log (256*s+1)) := by … - def
OAI.TorsionFreeZeroDivisors.GridAsymptotics.exponentline 305 - def
OAI.TorsionFreeZeroDivisors.GridAsymptotics.Nline 306 - def
OAI.TorsionFreeZeroDivisors.GridAsymptotics.Rline 307 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.exponent_posline 309 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.N_posline 311 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.R_posline 315 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.R_le_Nline 321 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.denominator_le_sqrtline 327 - def
OAI.TorsionFreeZeroDivisors.GridAsymptotics.scaleline 343 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.scale_boundsline 345 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.N_tendstoline 369 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.R_tendstoline 373 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.alignment_error_tendstoline 377 - def
OAI.TorsionFreeZeroDivisors.GridAsymptotics.Compatibleline 392Source documentation
Exactly the source compatibility test, before choosing the least u.
def Compatible (d : ℕ) (L : ℝ) (offset : Fin d → ℤ) (u : ℕ) : Prop := …
- theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.compatible_existsline 396 - def
OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosenUline 401 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosen_specline 404 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosen_minline 410 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosen_boundline 416 - def
OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosenScaleline 421 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosen_alignmentline 424 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.scale_tendstoline 440Source documentation
Uniformly over arbitrary schedules of all prescribed offsets.
theorem scale_tendsto (d : ℕ) (offset : ℝ → Fin d → ℤ) : Tendsto (fun L => chosenScale d L (offset L)) atTop atTop := by …Mentions: OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosenScale
- theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.relative_scale_tendstoline 446 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.grid_loss_tendstoline 458Source documentation
Relative errors for lost cut blocks plus rounded block lengths.
theorem grid_loss_tendsto (d : ℕ) (offset : ℝ → Fin d → ℤ) : Tendsto (fun L => chosenScale d L (offset L)/L + 1/chosenScale d L (offset L)) atTop (𝓝 0) := by …Mentions: OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosenScale
- def
OAI.TorsionFreeZeroDivisors.GridAsymptotics.letterErrorline 465Source documentation
A fixed integer loss shared by all comparison sides.
def letterError (d : ℕ) (L : ℝ) (offset : Fin d → ℤ) : ℕ := …
- theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.chosenScale_posline 468 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.letterError_boundsline 473 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.uniform_alignmentline 486 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.relative_error_tendstoline 503 - theorem
OAI.TorsionFreeZeroDivisors.GridAsymptotics.eventually_small_errorline 521