The Basics of First Order Language of ZFC set theory #
Main Definitions #
- A
FirstOrder.Language.LZFCdefines the language of ZFC set theory. It consists only of the binary relation ∈'. - A
FirstOrder.ZFC.fv'defines the free variable with index k. The first argument is implicitly determined. - A
FirstOrder.ZFC.bv'defines the bounded variable with index (k : Fin n). The first argument is implicitly determined. - A
FirstOrder.ZFC.bv''defines the bounded variable with index (k : ℕ). The first argument is implicitly determined. - A
FirsOrder.ZFC.ModelSetsis a class of models of set theory.
Notations #
- ∈' is the symbol to mean "is an element of".
- ∉' is the symbol to mean "is not an element of".
- ≠' is the symbol to mean "is not equal to". Recall that =' is defined as FirstOrder.Language.Term.bdEqual.
- ∈ is the actual relation to mean "is an element of".
- ∉ is the actual relation to mean "is not an element of".
Implimentation notes #
- Most of the relations have the theorems named "realize_*". They prove the relationship between the internal and external expressions.
Equations
Instances For
Language of Set Theory.
Equations
- FirstOrder.Language.LZFC = { Functions := fun (x : ℕ) => Empty, Relations := FirstOrder.LSetRel }
Instances For
The version of isEltOf with the type LSet.Relations 2.
Instances For
The formula ⊥
Instances For
Make an atomic formula t1 ∈ t2.
Equations
- FirstOrder.ZFC.ϕelt t₁ t₂ = FirstOrder.ZFC.isEltOfTwo.boundedFormula₂ t₁ t₂
Instances For
Make an atomic formula t1 ∈ t2.
Equations
- FirstOrder.«term_∈'_» = Lean.ParserDescr.trailingNode `FirstOrder.«term_∈'_» 120 120 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ∈' ") (Lean.ParserDescr.cat `term 121))
Instances For
Make an atomic formula t1 ∉ t2.
Equations
- FirstOrder.ZFC.ϕnotElt t₁ t₂ = (FirstOrder.ZFC.isEltOfTwo.boundedFormula₂ t₁ t₂).not
Instances For
Make an atomic formula t1 ∉ t2.
Equations
- FirstOrder.«term_∉'_» = Lean.ParserDescr.trailingNode `FirstOrder.«term_∉'_» 120 120 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ∉' ") (Lean.ParserDescr.cat `term 121))
Instances For
The negation of the equality of two terms as a bounded formula.
Equations
- FirstOrder.ZFC.intNotEqual t₁ t₂ = (t₁.bdEqual t₂).not
Instances For
The negation of the equality of two terms as a bounded formula.
Equations
- FirstOrder.«term_≠'_» = Lean.ParserDescr.trailingNode `FirstOrder.«term_≠'_» 88 88 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ≠' ") (Lean.ParserDescr.cat `term 89))
Instances For
Make a free variable in LSet.
Equations
Instances For
Make a to-be bounded variable indexed by k, in which free variables are indexed by ℕ.
Equations
Instances For
Model of set theory.
- default : V
- isEltOf : V → V → Prop
The external membership relation interpreting the language's ∈ symbol.
The external relation matches the language's
RelMap.Extensionality: sets with the same elements are equal.
Instances
The negation of ModelSets.isEltOf.
Instances For
The external membership relation interpreting the language's ∈ symbol.
Equations
- FirstOrder.ZFC.«term_∈_» = Lean.ParserDescr.trailingNode `FirstOrder.ZFC.«term_∈_» 120 121 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ∈ ") (Lean.ParserDescr.cat `term 121))
Instances For
The negation of ModelSets.isEltOf.
Equations
- FirstOrder.ZFC.«term_∉_» = Lean.ParserDescr.trailingNode `FirstOrder.ZFC.«term_∉_» 120 121 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ∉ ") (Lean.ParserDescr.cat `term 121))
Instances For
Make a free variable in LSet with n implicit.
Equations
Instances For
Make a to-be bounded variable indexed by (k : Fin n), in which free variables are indexed by ℕ with n implicit.
Equations
Instances For
Make a to-be bounded variable indexed by (k : ℕ), in which free variables are indexed by ℕ with n implicit.