def
definition
Stabilizes
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.Foundation.OntologyPredicates on GitHub at line 130.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
formal source
127/-- A predicate stabilizes along the orbit of `B` from seed `c₀` to the
128 value it takes at `c_star`, meaning the orbit eventually agrees with
129 `c_star` on `P`. -/
130def Stabilizes {C : Type*} (B : C → C) (P : C → Bool) (c₀ c_star : C) : Prop :=
131 ∃ N : ℕ, ∀ n : ℕ, N ≤ n → P (B^[n] c₀) = P c_star
132
133/-- Configuration-level existence: `c` exists iff its cost-bridge
134 image has zero defect, i.e. `χ(c) = 1`. -/
135def RSExists_cfg {C : Type*} (bridge : CostBridge C) (c : C) : Prop :=
136 RSExists (bridge.χ c)
137
138/-- **RSTrue**: A predicate `P` is RS-true at `c_star` under dynamics `B`
139 from seed `c₀` if:
140 1. `c_star` exists (its cost-bridge value has zero defect),
141 2. `P` holds at `c_star`,
142 3. `P` stabilizes along the orbit to the value at `c_star`.
143
144 This replaces the placeholder `def RSTrue (P : Prop) : Prop := P`. -/
145def RSTrue {C : Type*}
146 (bridge : CostBridge C) (B : C → C) (c₀ c_star : C) (P : C → Bool) : Prop :=
147 RSExists_cfg bridge c_star ∧ P c_star = true ∧ Stabilizes B P c₀ c_star
148
149/-! ## RS-Decidability and Boolean Laws -/
150
151/-- A predicate is **RS-decidable** at `(c_star, B, c₀)` when the background
152 conditions for Boolean reasoning hold: existence and stabilization. -/
153def RSDecidable {C : Type*}
154 (bridge : CostBridge C) (B : C → C) (c₀ c_star : C) (P : C → Bool) : Prop :=
155 RSExists_cfg bridge c_star ∧ Stabilizes B P c₀ c_star
156
157/-- One direction always holds: RSTrue(¬P) ⟹ ¬RSTrue(P). -/
158theorem rs_true_neg_imp_neg_rs_true {C : Type*}
159 {bridge : CostBridge C} {B : C → C} {c₀ c_star : C} {P : C → Bool} :
160 RSTrue bridge B c₀ c_star (fun c => !P c) → ¬RSTrue bridge B c₀ c_star P := by