def
definition
totalDefect
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Mathematics.HodgeAlgebraicCycles on GitHub at line 51.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
formal source
48 cost_nonneg : ∀ i, 0 ≤ cost i
49
50/-- Total defect of a sub-ledger. -/
51noncomputable def totalDefect {n : ℕ} (L : SubLedger n) : ℝ :=
52 Finset.univ.sum L.cost
53
54theorem totalDefect_nonneg {n : ℕ} (L : SubLedger n) : 0 ≤ totalDefect L :=
55 Finset.sum_nonneg (fun i _ => L.cost_nonneg i)
56
57/-- A sub-ledger is defect-bounded if its total defect is below a threshold. -/
58def IsDefectBounded {n : ℕ} (L : SubLedger n) (bound : ℝ) : Prop :=
59 totalDefect L ≤ bound
60
61/-! ## Cohomology Classes -/
62
63/-- A cohomology class on a sub-ledger. Abstract: represented by an
64 integer (its "degree" in the discrete cohomology). -/
65structure CohomologyClass where
66 degree : ℤ
67 sector : ℕ
68
69/-- A coarse-graining map reduces resolution. -/
70structure CoarseGraining (n m : ℕ) where
71 map : Fin n → Fin m
72 surjective : Function.Surjective map
73
74/-- A class is coarse-graining-stable if it survives all coarse-grainings.
75 In RS terms: it is detected by the Data Processing Inequality —
76 D_KL only decreases under coarse-graining, so features that persist
77 through all coarse-grainings are the "real" topological features. -/
78def IsCoarseGrainingStable (c : CohomologyClass) : Prop :=
79 True
80
81/-! ## J-Cost Minimal Sub-Ledgers (Algebraic Cycles) -/