MindFormal v1.0.0One Mind

MindFormal.Tools.AwareSets

theorem MindFormal.aligned_awareness {A : Type u_1} [Fintype A] [Nonempty A] (m : A → ℝ) :
(0 ≤ Finset.univ.inf' ⋯ m ↔ ∀ (a : A), 0 ≤ m a) ∧ (0 ≤ Finset.univ.sup' ⋯ m ↔ ∃ (a : A), 0 ≤ m a)

Aligned simultaneous awareness is a minimum of current margins, and at least one aware member is a maximum. No entry-time substitution.

theorem MindFormal.awareness_frechet {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (E : A → Set Ω) (hE : ∀ (a : A), MeasurableSet (E a)) :
∑ a : A, μ.real (E a) - (↑(Fintype.card A) - 1) ≤ μ.real (⋂ (a : A), E a) ∧ (∀ (a : A), μ.real (⋂ (b : A), E b) ≤ μ.real (E a)) ∧ (∀ (a : A), μ.real (E a) ≤ μ.real (⋃ (b : A), E b)) ∧ μ.real (⋃ (a : A), E a) ≤ ∑ a : A, μ.real (E a)

Joint awareness needs no independence: the complete intersection and union obey the Frechet bounds on one probability space.

theorem MindFormal.awareness_enclosure_bill {Ω : Type u_1} {I : Type u_2} {T : Type u_3} [MeasurableSpace Ω] [Fintype I] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (x lo hi : Ω → T → I → ℝ) (bar ε : I → ℝ) (common : Set Ω) (bad : I → Set Ω) (q : ℝ) (bill : I → ℝ) (hc : μ.real common ≤ q) (hb : ∀ (i : I), μ.real (bad i) ≤ bill i) (certificate : ∀ ω ∉ common, ∀ (i : I), ω ∉ bad i → ∀ (t : T), lo ω t i - ε i ≤ x ω t i ∧ x ω t i ≤ hi ω t i + ε i) :
μ.real {ω : Ω | ¬∀ (t : T), {i : I | bar i + ε i ≤ lo ω t i} ⊆ {i : I | bar i ≤ x ω t i} ∧ {i : I | bar i ≤ x ω t i} ⊆ {i : I | bar i - ε i ≤ hi ω t i}} ≤ q + ∑ i : I, bill i

One common enclosure failure plus coordinate errors gives a joint aware-set enclosure at every tested time, including all compared minds. The reference paths may be random; their joint certificate is explicit.