Chapter 10: the finite word instrument, its eight exact majority tests, the matched-prefix cut, and the partition closure comparison. No acquisition is assumed here.
Equations
- MindFormal.Logic.Majority p w i = (1 / 2 < p w i)
Instances For
theorem
MindFormal.Logic.majority_tests
{C : Type u_1}
(p : List C → C → ℝ)
(m : ℕ)
(entails : Set C → C → Prop)
(equiv : List C × C → List C × C → Prop)
:
(Weakening m (Majority p) ↔ ¬∃ (w : List C) (j : C) (i : C), w.length + 1 ≤ m ∧ 1 / 2 < p w i ∧ p (w ++ [j]) i ≤ 1 / 2) ∧ (Contraction m (Majority p) ↔ ¬∃ (w : List C) (j : C) (i : C), w.length + 2 ≤ m ∧ ¬(1 / 2 < p (w ++ [j]) i ↔ 1 / 2 < p (w ++ [j, j]) i)) ∧ (Exchange m (Majority p) ↔ ¬∃ (w : List C) (v : List C) (i : C), w.length ≤ m ∧ w.Perm v ∧ ¬(1 / 2 < p w i ↔ 1 / 2 < p v i)) ∧ (Cut m (Majority p) ↔ ¬∃ (w : List C) (j : C) (i : C), w.length + 1 ≤ m ∧ 1 / 2 < p w j ∧ 1 / 2 < p (w ++ [j]) i ∧ p w i ≤ 1 / 2) ∧ (Cautious m (Majority p) ↔ ¬∃ (w : List C) (j : C) (i : C),
w.length + 1 ≤ m ∧ 1 / 2 < p w j ∧ 1 / 2 < p w i ∧ p (w ++ [j]) i ≤ 1 / 2) ∧ (Reflexive m (Majority p) ↔ ¬∃ (w : List C) (j : C), w.length ≤ m ∧ j ∈ w ∧ p w j ≤ 1 / 2) ∧ (SemanticClosure m (Majority p) entails ↔ ¬∃ (w : List C) (S : Set C) (i : C),
w.length ≤ m ∧ (∀ j ∈ S, 1 / 2 < p w j) ∧ entails S i ∧ p w i ≤ 1 / 2) ∧ (DescriptionInvariant m (Majority p) equiv ↔ ¬∃ (w : List C) (v : List C) (i : C) (j : C),
w.length ≤ m ∧ v.length ≤ m ∧ equiv (w, i) (v, j) ∧ ¬(1 / 2 < p w i ↔ 1 / 2 < p v j))
theorem
MindFormal.Logic.weakening_cut_reflexive_contraction
{C : Type u_1}
{m : ℕ}
{R : List C → C → Prop}
(hW : Weakening m R)
(hT : Cut m R)
(hR : Reflexive m R)
:
Contraction m R
theorem
MindFormal.Logic.group_closure_properties
{C : Type u_1}
(r : Setoid C)
:
(∀ (S : Set C), S ⊆ groupClosure r S) ∧ Monotone (groupClosure r) ∧ ∀ (S : Set C), groupClosure r (groupClosure r S) = groupClosure r S
Equations
- MindFormal.Logic.groupRelation r w i = (i ∈ MindFormal.Logic.groupClosure r {j : C | j ∈ w})
Instances For
theorem
MindFormal.Logic.group_rules
{C : Type u_1}
(r : Setoid C)
(m : ℕ)
:
Weakening m (groupRelation r) ∧ Contraction m (groupRelation r) ∧ Exchange m (groupRelation r) ∧ Cut m (groupRelation r) ∧ Cautious m (groupRelation r) ∧ Reflexive m (groupRelation r)
The finite mask check is computable and is reduced by the Lean kernel. It checks tables, never a noisy acquisition or execution of those tables.
Equations
Instances For
Equations
- MindFormal.Logic.wordAddress [] = 0
- MindFormal.Logic.wordAddress x✝ = 2 ^ x✝.length - 1 + List.foldl (fun (n : ℕ) (c : Fin 2) => 2 * n + ↑c) 0 x✝
Instances For
Equations
- MindFormal.Logic.maskRelation mask w i = mask.testBit (2 * MindFormal.Logic.wordAddress w + ↑i)