The Replacement Axiom #
Main Definitions #
- A
FirstOrder.ZFC.RelByFormuladefines the relation defined by a formula. - A
FirstOrder.ZFC.intIsFunctFormuladefines a formula for ϕ describes a function. AFirstOrder.ZFC.EntIsFunctFormuladefines ϕ describes a function externally. - A
FirstOrder.ZFC.intIsImagedefines the formula for fv 1 is the image of the function defined by ϕ of fv 0. - A
FirstOrder.ZFC.ModelReplacementis a class of models of Set Theory with the replacement schema. - A
FirstOrder.ZFC.ModelZFis a class of models of ZF.
Main Statements #
- Various "realize" theorems are proved.
Make a formula for ϕ describes a function.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
FirstOrder.ZFC.RelByFormula
{V : Type u}
[ModelSets V]
{n : ℕ}
(s : ℕ → V)
(xs : Fin n → V)
(ϕ : Language.LZFC.BoundedFormula ℕ n)
{k : ℕ}
(xs1 : Fin (k + 1) → V)
:
Find the (k+1)-ary relation defined by a formula.
Equations
- FirstOrder.ZFC.RelByFormula s xs ϕ xs1 = ϕ.Realize (FirstOrder.Language.BoundedFormula.replaceInitialValues s xs1) xs
Instances For
def
FirstOrder.ZFC.ExtIsFunctFormula
{V : Type u}
[ModelSets V]
{n : ℕ}
(s : ℕ → V)
(xs : Fin n → V)
(ϕ : Language.LZFC.BoundedFormula ℕ n)
:
Dexcribe ϕ describes a function.
Equations
- FirstOrder.ZFC.ExtIsFunctFormula s xs ϕ = ∀ (x y₁ y₂ : V), FirstOrder.ZFC.RelByFormula s xs ϕ ![x, y₁] → FirstOrder.ZFC.RelByFormula s xs ϕ ![x, y₂] → y₁ = y₂
Instances For
theorem
FirstOrder.ZFC.realize_is_funct_formula
{V : Type u}
[ModelSets V]
{n : ℕ}
(s : ℕ → V)
(xs : Fin n → V)
(ϕ : Language.LZFC.BoundedFormula ℕ n)
:
The realization of intIsFunctFormula ϕ matches ExtIsFunctFormula ϕ.
Make a formula for fv 1 is the image of fv 0 under the relation defined by ϕ.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
FirstOrder.ZFC.ExtIsImage
{V : Type u}
[ModelSets V]
{n : ℕ}
(s : ℕ → V)
(xs : Fin n → V)
(ϕ : Language.LZFC.BoundedFormula ℕ n)
(a b : V)
:
Describe b is the image of a under the relation defined by ϕ.
Equations
Instances For
@[simp]
theorem
FirstOrder.ZFC.realize_is_image
{V : Type u}
[ModelSets V]
{n : ℕ}
(s : ℕ → V)
(xs : Fin n → V)
(ϕ : Language.LZFC.BoundedFormula ℕ n)
(a b : V)
:
(intIsImage ϕ).Realize (Language.BoundedFormula.replaceInitialValues s ![a, b]) xs ↔ ExtIsImage s xs ϕ a b
Model with the Replacement schema.
- default : V
- replacement_schema {n : ℕ} (s : ℕ → V) (xs : Fin n → V) (ϕ : Language.LZFC.BoundedFormula ℕ n) : ((intIsFunctFormula ϕ).imp ((Language.BoundedFormula.liftAt 2 n (intIsImage ϕ)).replaceFV (Language.BoundedFormula.makeTsN ![bv'' n, bv'' (n + 1)])).ex.all).Realize s xs
The model satisfies the replacement schema.
Instances
theorem
FirstOrder.ZFC.ext_replacement
{V : Type u}
[ModelReplacement V]
{n : ℕ}
(s : ℕ → V)
(xs : Fin n → V)
(ϕ : Language.LZFC.BoundedFormula ℕ n)
:
ExtIsFunctFormula s xs ϕ → ∀ (a : V), ∃ (b : V), ExtIsImage s xs ϕ a b
The Replacement described externally.
class
FirstOrder.ZFC.ModelPR
(V : Type u)
extends FirstOrder.ZFC.ModelPairing V, FirstOrder.ZFC.ModelReplacement V :
Type u
Model with pairing and replacement.
- default : V
- replacement_schema {n : ℕ} (s : ℕ → V) (xs : Fin n → V) (ϕ : Language.LZFC.BoundedFormula ℕ n) : ((intIsFunctFormula ϕ).imp ((Language.BoundedFormula.liftAt 2 n (intIsImage ϕ)).replaceFV (Language.BoundedFormula.makeTsN ![bv'' n, bv'' (n + 1)])).ex.all).Realize s xs
Instances
theorem
FirstOrder.ZFC.ext_test
{V : Type u}
[ModelPR V]
(s : ℕ → V)
(xs : Fin 0 → V)
(a : V)
:
∃ (b : V), ExtIsImage s xs intIsSingleton a b
The image of intIsSingleton exists as a witness to replacement.
theorem
FirstOrder.ZFC.int_test
{V : Type u}
[ModelPR V]
(s : ℕ → V)
(xs : Fin 0 → V)
:
((intIsImage intIsSingleton).liftAndReplaceFV 2 0 ![bv'' 0, bv'' 1]).ex.all.Realize s xs
The image of intIsSingleton exists as a witness to replacement, internally.
class
FirstOrder.ZFC.ModelZF
(V : Type u)
extends FirstOrder.ZFC.ModelEmptyset V, FirstOrder.ZFC.ModelPairing V, FirstOrder.ZFC.ModelUnion V, FirstOrder.ZFC.ModelPowerset V, FirstOrder.ZFC.ModelInfinity V, FirstOrder.ZFC.ModelRegularity V, FirstOrder.ZFC.ModelComprehension V, FirstOrder.ZFC.ModelReplacement V :
Type u
Model of ZF: all the standard axioms together.
- default : V
- union_exists (s : ℕ → V) (xs : Fin 0 → V) : (intIsUnion.liftAndReplaceFV 2 0 ![bv' 0, bv' 1]).ex.all.Realize s xs
- powerset_exists (s : ℕ → V) (xs : Fin 0 → V) : (intIsPowerset.liftAndReplaceFV 2 0 ![bv 2 0, bv 2 1]).ex.all.Realize s xs
- comprehension_schema {n : ℕ} (s : ℕ → V) (xs : Fin n → V) (ϕ : Language.LZFC.BoundedFormula ℕ n) : (intIsSeparation' ϕ 2 (bv'' n) (bv'' (n + 1))).ex.all.Realize s xs
- replacement_schema {n : ℕ} (s : ℕ → V) (xs : Fin n → V) (ϕ : Language.LZFC.BoundedFormula ℕ n) : ((intIsFunctFormula ϕ).imp ((Language.BoundedFormula.liftAt 2 n (intIsImage ϕ)).replaceFV (Language.BoundedFormula.makeTsN ![bv'' n, bv'' (n + 1)])).ex.all).Realize s xs