FormalConjectures/Arxiv/1308.0994/BoxdotConjecture.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
13 declarations, 1 contain sorry, 0 declared as axioms
Boxdot Conjecture
The Boxdot Conjecture was originally formulated by French and Humberstone and has been studied in several works. In particular, see:
References:
- arxiv/1308.0994 Cluster Expansion and the Boxdot Conjecture by Emil Jeřábek
- The Boxdot Conjecture and the Generalized McKinsey Axiom by Christopher Steinsvold, Australasian Journal of Logic
Imports (1)
Imported by 1 file
- inductive
Arxiv.«1308.0994».FormulaFormulais the inductive type of propositional modal formulas: *Atom nis a propositional variable indexed bynline 46 sourceSource documentation
Formulais the inductive type of propositional modal formulas:Atom nis a propositional variable indexed byn.Falsumis the constant ⊥.Imp α βis implication(α → β).Nec αis the necessity operator□α.
no axioms what this means
inductive Formula : Type /-- `Atom n` is a propositional variable indexed by `n`. -/ | Atom : Nat → Formula /-- `Falsum` is the constant ⊥. -/ | Falsum : Formula /-- `Imp α β` is implication `(α → β)`. -/ | Imp : Formula → Formula → Formula /-- `Nec α` is the necessity operator `□α`. -/ | Nec : Formula → Formula open Formula …
- def
Arxiv.«1308.0994».ConjConj α βis the conjunctionα ∧ βline 72 sourceSource documentation
Conj α βis the conjunctionα ∧ β. We defineα & βas~(α ~> ~β)for simplicity.no axioms what this means
Statement uses: Arxiv.«1308.0994».Formula
Proof uses:
Arxiv.«1308.0994».Formula.Imp,Arxiv.«1308.0994».Formula.Falsumdef Conj (α β : Formula) : Formula := ~(α ~> ~β) …
Mentions: Arxiv.«1308.0994».Formula
- def
Arxiv.«1308.0994».tt φis the Boxdot translation of a formulaφline 83 sourceSource documentation
t φis the Boxdot translation of a formulaφ. Roughly, t is the mappingφ ↦ t φfrom the language of monomodal logic into itself that preserves variables and the logical constant⊥, commutes with the standard truth-functional operators, and is such thatt □a=□t a & t a. This implementation follows the definition in Steinsvold (AJL).standard axioms: propext what this means
Statement uses: Arxiv.«1308.0994».Formula
2 instances, coercions and auxiliary constants left out.
def t (φ : Formula) : Formula := …
Mentions: Arxiv.«1308.0994».Formula
- def
Arxiv.«1308.0994».Formula.substFormula.subst σ φis the uniform substitution ofσ nfor each propositional variableAtom ninφline 96 sourceSource documentation
Formula.subst σ φis the uniform substitution ofσ nfor each propositional variableAtom ninφ.no axioms what this means
Statement uses:
Nat, Arxiv.«1308.0994».Formula2 instances, coercions and auxiliary constants left out.
def Formula.subst (σ : ℕ → Formula) : Formula → Formula | Atom n => σ n | ⊥ => ⊥ | α ~> β => subst σ α ~> subst σ β | □α => □(subst σ α) /-- `KProof Γ φ` is the usual Hilbert‐style proof relation for the minimal normal modal logic K, with assumptions drawn from `Γ`. -/
Mentions: Arxiv.«1308.0994».Formula, Arxiv.«1308.0994».KProof
- inductive
Arxiv.«1308.0994».KProofKProof Γ φis the usual Hilbert‐style proof relation for the minimal normal modal logic K, with assumptions drawn fromΓline 107 sourceSource documentation
KProof Γ φis the usual Hilbert‐style proof relation for the minimal normal modal logic K, with assumptions drawn fromΓ.no axioms what this means
Statement uses:
Set, Arxiv.«1308.0994».Formulainductive KProof : Set Formula → Formula → Prop /-- Assumption rule: if `α ∈ Γ` then `α` is provable from `Γ`. -/ | ax {Γ} {α} (h : α ∈ Γ) : KProof Γ α /-- Ax1: every instance of the schema `α → (β → α)` is a theorem. -/ | ax1 {Γ} {α β} : KProof Γ (α ~> β ~> α) /-- Ax2: every instance of the schema `(α ~> β ~> γ) ~> (α ~> β) ~> (α ~> γ)` is a theorem. -/ | ax2 {Γ} {α β γ} : KProof Γ ((α ~> β ~> γ) ~> (α ~> β) ~> (α ~> γ)) /-- Ax3 (contraposition): every instance of the schema `(~α ~> ~β) ~> (β ~> α)` is a theorem. -/ | ax3 {Γ} {α β} : KProof Γ (((~α) ~> (~β)) ~> (β ~> α)) /-- Modus Ponens: if `Γ ⊢ α ~> β` and `Γ ⊢ α`, then `Γ ⊢ β`. -/ | mp {Γ} {α β} (_ : KProof Γ (α ~> β)) (_ : KProof Γ α) : KProof Γ β /-- Necessitation: if `⊢ α` then `⊢ □α`. -/ …Mentions: Arxiv.«1308.0994».Formula
- inductive
Arxiv.«1308.0994».KTProofKTProof Γ φdenotes thatφis provable from the premisesΓin the normal modal logic KT (also called T) line 129 sourceSource documentation
KTProof Γ φdenotes thatφis provable from the premisesΓin the normal modal logic KT (also called T). KT extends system K by adding the instances of the T-axiom schema□φ ~> φto K’s usual axioms and rules of inference.no axioms what this means
Statement uses:
Set, Arxiv.«1308.0994».Formulainductive KTProof : Set Formula → Formula → Prop /-- Embedding of K proofs into KT. -/ | lift_K {Γ} {α} (h : KProof Γ α) : KTProof Γ α /-- T-axiom schema: every instance of `□α ~> α` is a theorem. -/ | axT {Γ} {α} : KTProof Γ (□ α ~> α) /-- Modus Ponens: if `Γ ⊢ α ~> β` and `Γ ⊢ α`, then `Γ ⊢ β`. -/ | mp {Γ} {α β} (_ : KTProof Γ (α ~> β)) (_ : KTProof Γ α) : KTProof Γ β /-- Necessitation: if `⊢ α` then `⊢ □α`. -/ | nec {Γ} {α} (_ : KTProof ∅ α) : KTProof Γ (□ α) open KProof KTProof …Mentions: Arxiv.«1308.0994».Formula, Arxiv.«1308.0994».KProof
- lemma
Arxiv.«1308.0994».KTExtendsKIfKProof Γ φ, thenKTProof Γ φline 147 sourceSource documentation
If
KProof Γ φ, thenKTProof Γ φ. In other words, KT extends K.no axioms what this means
Statement uses:
Set, Arxiv.«1308.0994».Formula, Arxiv.«1308.0994».KProof, Arxiv.«1308.0994».KTProofProof uses:
Arxiv.«1308.0994».KTProof.lift_Klemma KTExtendsK {Γ φ} (h : KProof Γ φ) : KTProof Γ φ := …Mentions: Arxiv.«1308.0994».KProof, Arxiv.«1308.0994».KTProof
- lemma
Arxiv.«1308.0994».KProof.substProvability in K is closed under uniform substitution line 152 sourceSource documentation
Provability in K is closed under uniform substitution.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set, Arxiv.«1308.0994».Formula,Nat, Arxiv.«1308.0994».KProof,Set.image, Arxiv.«1308.0994».Formula.substProof uses:
Arxiv.«1308.0994».KProof.rec,Membership.mem,Arxiv.«1308.0994».KProof.ax,Exists.intro,And,Eq,And.intro,rfl,Arxiv.«1308.0994».KProof.ax1,Arxiv.«1308.0994».KProof.ax2,Arxiv.«1308.0994».KProof.ax3,Arxiv.«1308.0994».Formula.Imp,Arxiv.«1308.0994».KProof.mp,EmptyCollection.emptyCollection,Arxiv.«1308.0994».KProof.nec,Eq.mp,congrFun',congrArg,Set.image_empty,Arxiv.«1308.0994».KProof.distr2 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
lemma KProof.subst {Γ φ} (σ : ℕ → Formula) (h : KProof Γ φ) : KProof (Formula.subst σ '' Γ) (φ.subst σ) := by …Mentions: Arxiv.«1308.0994».Formula, Arxiv.«1308.0994».KProof, Arxiv.«1308.0994».Formula.subst
- lemma
Arxiv.«1308.0994».KTProof.substProvability in KT is closed under uniform substitution line 165 sourceSource documentation
Provability in KT is closed under uniform substitution.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set, Arxiv.«1308.0994».Formula,Nat, Arxiv.«1308.0994».KTProof,Set.image, Arxiv.«1308.0994».Formula.substProof uses:
Arxiv.«1308.0994».KTProof.rec, Arxiv.«1308.0994».KProof,Arxiv.«1308.0994».KTProof.lift_K, Arxiv.«1308.0994».KProof.subst,Arxiv.«1308.0994».KTProof.axT,Arxiv.«1308.0994».Formula.Imp,Arxiv.«1308.0994».KTProof.mp,EmptyCollection.emptyCollection,Arxiv.«1308.0994».KTProof.nec,Eq.mp,congrFun',congrArg,Set.image_empty1 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
lemma KTProof.subst {Γ φ} (σ : ℕ → Formula) (h : KTProof Γ φ) : KTProof (Formula.subst σ '' Γ) (φ.subst σ) := by …Mentions: Arxiv.«1308.0994».Formula, Arxiv.«1308.0994».KTProof, Arxiv.«1308.0994».Formula.subst
- structure
Arxiv.«1308.0994».NormalModalLogicA “normal modal logic” L is anySet Formulasuch that: 1 line 181 sourceSource documentation
A “normal modal logic” L is any
Set Formulasuch that:- If
K ⊢ φ, thenφ ∈ L(L extends K) - If
φ ∈ Land(φ ~> ψ) ∈ L, thenψ ∈ L(Closed under MP) - If
φ ∈ L, then□φ ∈ L(Closed under Necessitation) - If
φ ∈ L, thenφ.subst σ ∈ Lfor every substitutionσ(Closed under Uniform Substitution)
no axioms what this means
structure NormalModalLogic : Type where …
- If
- def
Arxiv.«1308.0994».provesline 197 sourceno axioms what this means
Statement uses: Arxiv.«1308.0994».NormalModalLogic, Arxiv.«1308.0994».Formula
Proof uses:
Membership.mem,Set,Arxiv.«1308.0994».NormalModalLogic.thms1 instances, coercions and auxiliary constants left out.
- def
Arxiv.«1308.0994».KTKTis the specific normal modal logic whose theorems are exactly those provable inKTProoffrom the empty context line 207 sourceSource documentation
KTis the specific normal modal logic whose theorems are exactly those provable inKTProoffrom the empty context.This corresponds to
K ⊕ (□φ → φ)as in both AJL (Steinsvold) and Jeřábek.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Arxiv.«1308.0994».NormalModalLogic
Proof uses:
Arxiv.«1308.0994».NormalModalLogic.mk,Set.ofPred, Arxiv.«1308.0994».Formula, Arxiv.«1308.0994».KTProof,EmptyCollection.emptyCollection,Set5 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
def KT : NormalModalLogic := by …
Mentions: Arxiv.«1308.0994».NormalModalLogic
- theorem
Arxiv.«1308.0994».BoxdotConjectureThe formal proof was done by Mashu Noguchi et al sorry line 237 sourceSource comment
The formal proof was done by Mashu Noguchi et al. see linked repo for the full list of contributorsdepends on sorry what this means
Statement uses: Arxiv.«1308.0994».NormalModalLogic, Arxiv.«1308.0994».Formula,
Iff, Arxiv.«1308.0994».proves, Arxiv.«1308.0994».t, Arxiv.«1308.0994».KT,LE.le,Set,Arxiv.«1308.0994».NormalModalLogic.thmsProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,Nat3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem BoxdotConjecture (L : NormalModalLogic) (H : ∀ φ, L ⊢ ■ φ ↔ KT ⊢ φ) : L.thms ⊆ KT.thms := by …
Mentions: Arxiv.«1308.0994».NormalModalLogic, Arxiv.«1308.0994».KT