Algebraic Structure of IL Denotation Domains #
@cite{dowty-wall-peters-1981} @cite{gallin-1975} @cite{partee-rooth-1983}
The IL operators in Frame.lean, Quantification.lean, and Conjunction.lean
are instances of general algebraic operations from mathlib's order theory.
The central observation: Montague's type-driven semantics is a hierarchy of
pointwise Boolean algebras. Every conjoinable type τ (one that "ends in t")
induces a CompleteLattice on F.Denot τ:
- At type
t: the Boolean algebra of propositions (Prop) - At type
⟨a, t⟩: the pointwise Boolean algebra of predicates - At type
⟨s, t⟩: the Boolean algebra of propositions (= sets of indices) - At type
⟨a, ⟨b, t⟩⟩: the doubly-pointwise Boolean algebra
The IL operators are lattice operations in this hierarchy:
| IL operator | Lattice operation | mathlib name |
|---|---|---|
neg | complement | compl (ᶜ) |
conj | meet | inf (⊓) |
disj | join | sup (⊔) |
impl | Heyting implication | himp (⇨) |
box | indexed infimum | iInf (⨅) |
diamond | indexed supremum | iSup (⨆) |
forallEntity | indexed infimum | iInf (⨅) |
existsEntity | indexed supremum | iSup (⨆) |
genConj | pointwise meet | Pi.inf |
genDisj | pointwise join | Pi.sup |
@cite{partee-rooth-1983}'s generalized conjunction is the pointwise
meet in the lattice of type τ — a fact that explains why conjunction
is defined recursively over types and why it only works for
conjoinable types (those admitting a lattice structure).
F.Denot .t = Prop is a CompleteBooleanAlgebra (via mathlib's
Prop.instCompleteLattice and Prop.instHeytingAlgebra). The IL
sentential operators are its algebraic operations.
box and diamond are the indexed infimum and supremum over
the index set — the lattice-theoretic formulation of S5 necessity
and possibility.
@cite{partee-rooth-1983}'s generalized conjunction is the pointwise
meet in the lattice of the codomain type. This explains why genConj
is defined recursively: it follows the recursive lattice construction
on Pi types.
The proofs are rfl because genConj unfolds to exactly the same
function as the pointwise inf from Pi.instLattice.
At type t: generalized conjunction is propositional ∧ = ⊓.
At type t: generalized disjunction is propositional ∨ = ⊔.
At function and intension types, genConj/genDisj distribute
pointwise (Conjunction.lean, Facts 6a–6c). The recursive structure
mirrors the pointwise lattice construction Pi.instLattice:
at each layer, genConj applies ⊓ on the codomain / base type.
The base case above closes the induction.
With the lattice bridge in place, De Morgan laws follow directly
from mathlib's compl_inf / compl_sup rather than requiring
manual proof.
Properties (F.Denot (.e ⇒ .t) = F.Entity → Prop) are elements
of a complete lattice. The lattice operations correspond to
set-theoretic operations on the extensions of predicates.
Predicate conjunction = set intersection of extensions.
Predicate disjunction = set union of extensions.
Model-theoretic notions from @cite{dowty-wall-peters-1981} Def C.1. Since we work denotationally (Lean's type system is the metalanguage), these definitions apply to closed propositions — those already evaluated under some assignment.
A proposition is true at index i iff it holds there.
DWP Def C.1: "φ is true with respect to M and to ⟨w, t⟩ iff
⟦φ⟧^{M,w,t,g} is 1 for all value assignments g."
Equations
- Core.Logic.Intensional.Algebra.trueAt p i = p i
Instances For
A proposition is valid iff it is true at every index.
Equivalently: box p.
Equations
- Core.Logic.Intensional.Algebra.valid p = ∀ (i : F.Index), p i
Instances For
A proposition is satisfiable iff it is true at some index.
Equivalently: diamond p.
Equations
- Core.Logic.Intensional.Algebra.satisfiable p = ∃ (i : F.Index), p i
Instances For
Semantic entailment: p₁, ..., pₙ ⊨ q iff at every index where
all premises are true, the conclusion is true.
Equations
- Core.Logic.Intensional.Algebra.entails premises q = ∀ (i : F.Index), (∀ p ∈ premises, Core.Logic.Intensional.Algebra.trueAt p i) → Core.Logic.Intensional.Algebra.trueAt q i
Instances For
An unsatisfiable proposition is not valid (contrapositively).