deffunc H7( Variable, Variable) -> set = { v3 where v3 is Element of VAL E : for f being Function of VAR ,E st f = v3 holds
f . $1 = f . $2 } ;
deffunc H8( Variable, Variable) -> set = { v3 where v3 is Element of VAL E : for f being Function of VAR ,E st f = v3 holds
f . $1 in f . $2 } ;
deffunc H9( set ) -> Element of bool (VAL E) = (VAL E) \ (union {$1});
deffunc H10( set , set ) -> set = (union {$1}) /\ (union {$2});
deffunc H11( Variable, set ) -> set = { v5 where v5 is Element of VAL E : for X being set
for f being Function of VAR ,E st X = $2 & f = v5 holds
( f in X & ( for g being Function of VAR ,E st ( for y being Variable st g . y <> f . y holds
$1 = y ) holds
g in X ) ) } ;
deffunc H12( ZF-formula) -> set = St $1,E;
defpred S1[ set ] means $1 is Subset of (VAL E);
A1:
for H being ZF-formula
for a being set holds
( a = H12(H) iff ex A being set st
( ( for x, y being Variable holds
( [(x '=' y),H7(x,y)] in A & [(x 'in' y),H8(x,y)] in A ) ) & [H,a] in A & ( for H' being ZF-formula
for a being set st [H',a] in A holds
( ( H' is being_equality implies a = H7( Var1 H', Var2 H') ) & ( H' is being_membership implies a = H8( Var1 H', Var2 H') ) & ( H' is negative implies ex b being set st
( a = H9(b) & [(the_argument_of H'),b] in A ) ) & ( H' is conjunctive implies ex b, c being set st
( a = H10(b,c) & [(the_left_argument_of H'),b] in A & [(the_right_argument_of H'),c] in A ) ) & ( H' is universal implies ex b being set st
( a = H11( bound_in H',b) & [(the_scope_of H'),b] in A ) ) ) ) ) )
by Def3;
now let x,
y be
Variable;
:: thesis: ( { v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x = f . y } is Subset of (VAL E) & { v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x in f . y } is Subset of (VAL E) )set X1 =
{ v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x = f . y } ;
{ v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x = f . y } c= VAL E
hence
{ v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x = f . y } is
Subset of
(VAL E)
;
:: thesis: { v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x in f . y } is Subset of (VAL E)set X2 =
{ v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x in f . y } ;
{ v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x in f . y } c= VAL E
hence
{ v1 where v1 is Element of VAL E : for f being Function of VAR ,E st f = v1 holds
f . x in f . y } is
Subset of
(VAL E)
;
:: thesis: verum end;
then A2:
for x, y being Variable holds
( S1[H7(x,y)] & S1[H8(x,y)] )
;
A3:
for b being set st S1[b] holds
S1[H9(b)]
;
A4:
for X, Y being set st S1[X] & S1[Y] holds
S1[H10(X,Y)]
A6:
for a being set
for x being Variable st S1[a] holds
S1[H11(x,a)]
thus
S1[H12(H)]
from ZF_MODEL:sch 4(A1, A2, A3, A4, A6); :: thesis: verum