begin
definition
existence
ex b1 being non empty set st
( ( for a being set st a in b1 holds
a is FinSequence of NAT ) & ( for x, y being Variable holds
( x '=' y in b1 & x 'in' y in b1 ) ) & ( for p being FinSequence of NAT st p in b1 holds
'not' p in b1 ) & ( for p, q being FinSequence of NAT st p in b1 & q in b1 holds
p '&' q in b1 ) & ( for x being Variable
for p being FinSequence of NAT st p in b1 holds
All (x,p) in b1 ) & ( for D being non empty set st ( for a being set st a in D holds
a is FinSequence of NAT ) & ( for x, y being Variable holds
( x '=' y in D & x 'in' y in D ) ) & ( for p being FinSequence of NAT st p in D holds
'not' p in D ) & ( for p, q being FinSequence of NAT st p in D & q in D holds
p '&' q in D ) & ( for x being Variable
for p being FinSequence of NAT st p in D holds
All (x,p) in D ) holds
b1 c= D ) )
uniqueness
for b1, b2 being non empty set st ( for a being set st a in b1 holds
a is FinSequence of NAT ) & ( for x, y being Variable holds
( x '=' y in b1 & x 'in' y in b1 ) ) & ( for p being FinSequence of NAT st p in b1 holds
'not' p in b1 ) & ( for p, q being FinSequence of NAT st p in b1 & q in b1 holds
p '&' q in b1 ) & ( for x being Variable
for p being FinSequence of NAT st p in b1 holds
All (x,p) in b1 ) & ( for D being non empty set st ( for a being set st a in D holds
a is FinSequence of NAT ) & ( for x, y being Variable holds
( x '=' y in D & x 'in' y in D ) ) & ( for p being FinSequence of NAT st p in D holds
'not' p in D ) & ( for p, q being FinSequence of NAT st p in D & q in D holds
p '&' q in D ) & ( for x being Variable
for p being FinSequence of NAT st p in D holds
All (x,p) in D ) holds
b1 c= D ) & ( for a being set st a in b2 holds
a is FinSequence of NAT ) & ( for x, y being Variable holds
( x '=' y in b2 & x 'in' y in b2 ) ) & ( for p being FinSequence of NAT st p in b2 holds
'not' p in b2 ) & ( for p, q being FinSequence of NAT st p in b2 & q in b2 holds
p '&' q in b2 ) & ( for x being Variable
for p being FinSequence of NAT st p in b2 holds
All (x,p) in b2 ) & ( for D being non empty set st ( for a being set st a in D holds
a is FinSequence of NAT ) & ( for x, y being Variable holds
( x '=' y in D & x 'in' y in D ) ) & ( for p being FinSequence of NAT st p in D holds
'not' p in D ) & ( for p, q being FinSequence of NAT st p in D & q in D holds
p '&' q in D ) & ( for x being Variable
for p being FinSequence of NAT st p in D holds
All (x,p) in D ) holds
b2 c= D ) holds
b1 = b2
end;
theorem
for
H being
ZF-formula holds
( (
H is
being_equality implies ex
x,
y being
Variable st
H = x '=' y ) & ( ex
x,
y being
Variable st
H = x '=' y implies
H is
being_equality ) & (
H is
being_membership implies ex
x,
y being
Variable st
H = x 'in' y ) & ( ex
x,
y being
Variable st
H = x 'in' y implies
H is
being_membership ) & (
H is
negative implies ex
H1 being
ZF-formula st
H = 'not' H1 ) & ( ex
H1 being
ZF-formula st
H = 'not' H1 implies
H is
negative ) & (
H is
conjunctive implies ex
F,
G being
ZF-formula st
H = F '&' G ) & ( ex
F,
G being
ZF-formula st
H = F '&' G implies
H is
conjunctive ) & (
H is
universal implies ex
x being
Variable ex
H1 being
ZF-formula st
H = All (
x,
H1) ) & ( ex
x being
Variable ex
H1 being
ZF-formula st
H = All (
x,
H1) implies
H is
universal ) )
by Def10, Def11, Def12, Def13, Def14;
theorem
for
H being
ZF-formula holds
( (
H is
disjunctive implies ex
F,
G being
ZF-formula st
H = F 'or' G ) & ( ex
F,
G being
ZF-formula st
H = F 'or' G implies
H is
disjunctive ) & (
H is
conditional implies ex
F,
G being
ZF-formula st
H = F => G ) & ( ex
F,
G being
ZF-formula st
H = F => G implies
H is
conditional ) & (
H is
biconditional implies ex
F,
G being
ZF-formula st
H = F <=> G ) & ( ex
F,
G being
ZF-formula st
H = F <=> G implies
H is
biconditional ) & (
H is
existential implies ex
x being
Variable ex
H1 being
ZF-formula st
H = Ex (
x,
H1) ) & ( ex
x being
Variable ex
H1 being
ZF-formula st
H = Ex (
x,
H1) implies
H is
existential ) )
by Def20, Def21, Def22, Def23;
theorem
for
x,
y,
z being
Variable for
H being
ZF-formula holds
(
All (
x,
y,
z,
H)
= All (
x,
(All (y,z,H))) &
Ex (
x,
y,
z,
H)
= Ex (
x,
(Ex (y,z,H))) ) ;
definition
let H be
ZF-formula;
assume A1:
(
H is
conjunctive or
H is
disjunctive )
;
existence
( ( H is conjunctive implies ex b1, H1 being ZF-formula st b1 '&' H1 = H ) & ( not H is conjunctive implies ex b1, H1 being ZF-formula st b1 'or' H1 = H ) )
by A1, Def13, Def20;
uniqueness
for b1, b2 being ZF-formula holds
( ( H is conjunctive & ex H1 being ZF-formula st b1 '&' H1 = H & ex H1 being ZF-formula st b2 '&' H1 = H implies b1 = b2 ) & ( not H is conjunctive & ex H1 being ZF-formula st b1 'or' H1 = H & ex H1 being ZF-formula st b2 'or' H1 = H implies b1 = b2 ) )
by Th30, Th31;
consistency
for b1 being ZF-formula holds verum
;
existence
( ( H is conjunctive implies ex b1, H1 being ZF-formula st H1 '&' b1 = H ) & ( not H is conjunctive implies ex b1, H1 being ZF-formula st H1 'or' b1 = H ) )
uniqueness
for b1, b2 being ZF-formula holds
( ( H is conjunctive & ex H1 being ZF-formula st H1 '&' b1 = H & ex H1 being ZF-formula st H1 '&' b2 = H implies b1 = b2 ) & ( not H is conjunctive & ex H1 being ZF-formula st H1 'or' b1 = H & ex H1 being ZF-formula st H1 'or' b2 = H implies b1 = b2 ) )
by Th30, Th31;
consistency
for b1 being ZF-formula holds verum
;
end;
definition
let H be
ZF-formula;
assume A1:
(
H is
universal or
H is
existential )
;
existence
( ( H is universal implies ex b1 being Variable ex H1 being ZF-formula st All (b1,H1) = H ) & ( not H is universal implies ex b1 being Variable ex H1 being ZF-formula st Ex (b1,H1) = H ) )
by A1, Def14, Def23;
uniqueness
for b1, b2 being Variable holds
( ( H is universal & ex H1 being ZF-formula st All (b1,H1) = H & ex H1 being ZF-formula st All (b2,H1) = H implies b1 = b2 ) & ( not H is universal & ex H1 being ZF-formula st Ex (b1,H1) = H & ex H1 being ZF-formula st Ex (b2,H1) = H implies b1 = b2 ) )
by Th3, Th34;
consistency
for b1 being Variable holds verum
;
existence
( ( H is universal implies ex b1 being ZF-formula ex x being Variable st All (x,b1) = H ) & ( not H is universal implies ex b1 being ZF-formula ex x being Variable st Ex (x,b1) = H ) )
uniqueness
for b1, b2 being ZF-formula holds
( ( H is universal & ex x being Variable st All (x,b1) = H & ex x being Variable st All (x,b2) = H implies b1 = b2 ) & ( not H is universal & ex x being Variable st Ex (x,b1) = H & ex x being Variable st Ex (x,b2) = H implies b1 = b2 ) )
by Th3, Th34;
consistency
for b1 being ZF-formula holds verum
;
end;
:: The Construction of ZF Set Theory Language
::
:: The set and the mode of ZF-language variables