Appendix 2 — Club rules and existential inference
ProvedLawsOfForm.class_inference_examplesThe club-rule simplification is logically equivalent over any domain. Universal inclusions support the stated Bocardo and Baroco witness transfers. Two existential intersections alone do not compose: a counterexample exists already over the two-element domain. Quantified claims are interpreted in ordinary predicate logic; no existential import is silently attached to universal classes.
import Definitions.Def_LawsOfForm_Logic set_option autoImplicit false
namespace LawsOfForm
theorem class_inference_examples :
(∀ {α : Type} (F G L : α → Prop),
((∀ x, F x → G x) ∧ (∀ x, G x ∧ L x → F x) ∧ (∀ x, ¬ (L x ∧ F x))) ↔
((∀ x, F x → G x) ∧ (∀ x, ¬ (G x ∧ L x)))) ∧
(∀ {α : Type} (A B C : α → Prop),
((∀ x, A x → B x) → (∃ x, A x ∧ ¬ C x) → ∃ x, B x ∧ ¬ C x) ∧
((∀ x, B x → C x) → (∃ x, A x ∧ ¬ C x) → ∃ x, A x ∧ ¬ B x)) ∧
(∃ A B C : Bool → Prop, (∃ x, A x ∧ B x) ∧ (∃ x, B x ∧ C x) ∧ ¬ (∃ x, A x ∧ C x)) := by sorry
end LawsOfForm
Read-back
What the Lean code literally says, in plain math · Codex (GPT-6)
The assertion is the conjunction of the following three claims. First, for every small type , including an empty type, and every three predicates , the conjunction that every satisfying satisfies , every satisfying both and satisfies , and no satisfies both and is equivalent to the conjunction that every satisfying satisfies and no satisfies both and ; this equivalence asserts both directions. Second, for every small type , including an empty type, and every three predicates , both of these implications hold: if , then the existence of some with implies the existence of some with ; and if , then the existence of some with implies the existence of some with . Each conclusion's existential witness is quantified after its own type, predicates, and hypotheses, and may depend on them; no uniqueness or specified relation between the input and output witnesses is asserted, and the two implications do not require a shared output witness. In the empty-type case, all universal conditions in the first claim are vacuously true, so both sides of its equivalence are true; the existential premises in the second claim are false, so both implications hold vacuously and require no witnesses. Third, there exist three predicates on the two-element Boolean type such that there exists an element with , there exists an element with , and there does not exist an element with . The predicates in this third claim are existentially chosen independently of those universally quantified in the other claims, and the two existence conjuncts use the same chosen predicates but have separate witnesses, which may depend on those predicates; their conditions together with the final nonexistence conjunct force .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.