let p be Element of CQC-WFF ; for A being non empty set
for J being interpretation of A holds
( Valid VERUM ,J = (Valuations_in A) --> TRUE & ( for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds Valid (P ! ll),J = ll 'in' (J . P) ) & ( for p being Element of CQC-WFF holds Valid ('not' p),J = 'not' (Valid p,J) ) & ( for q being Element of CQC-WFF holds Valid (p '&' q),J = (Valid p,J) '&' (Valid q,J) ) & ( for x being bound_QC-variable holds Valid (All x,p),J = FOR_ALL x,(Valid p,J) ) )
let A be non empty set ; for J being interpretation of A holds
( Valid VERUM ,J = (Valuations_in A) --> TRUE & ( for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds Valid (P ! ll),J = ll 'in' (J . P) ) & ( for p being Element of CQC-WFF holds Valid ('not' p),J = 'not' (Valid p,J) ) & ( for q being Element of CQC-WFF holds Valid (p '&' q),J = (Valid p,J) '&' (Valid q,J) ) & ( for x being bound_QC-variable holds Valid (All x,p),J = FOR_ALL x,(Valid p,J) ) )
let J be interpretation of A; ( Valid VERUM ,J = (Valuations_in A) --> TRUE & ( for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds Valid (P ! ll),J = ll 'in' (J . P) ) & ( for p being Element of CQC-WFF holds Valid ('not' p),J = 'not' (Valid p,J) ) & ( for q being Element of CQC-WFF holds Valid (p '&' q),J = (Valid p,J) '&' (Valid q,J) ) & ( for x being bound_QC-variable holds Valid (All x,p),J = FOR_ALL x,(Valid p,J) ) )
set D = Funcs (Valuations_in A),BOOLEAN ;
set V = (Valuations_in A) --> TRUE ;
deffunc H1( Element of NAT , QC-pred_symbol of $1, CQC-variable_list of $1) -> Element of Funcs (Valuations_in A),BOOLEAN = $3 'in' (J . $2);
deffunc H2( Element of Funcs (Valuations_in A),BOOLEAN ) -> Element of Funcs (Valuations_in A),BOOLEAN = 'not' $1;
deffunc H3( Element of Funcs (Valuations_in A),BOOLEAN , Element of Funcs (Valuations_in A),BOOLEAN ) -> Element of Funcs (Valuations_in A),BOOLEAN = $1 '&' $2;
deffunc H4( bound_QC-variable, Element of Funcs (Valuations_in A),BOOLEAN ) -> Element of Funcs (Valuations_in A),BOOLEAN = FOR_ALL $1,$2;
deffunc H5( Element of CQC-WFF ) -> Element of Funcs (Valuations_in A),BOOLEAN = Valid $1,J;
A1:
for p being Element of CQC-WFF
for d being Element of Funcs (Valuations_in A),BOOLEAN holds
( d = H5(p) iff ex F being Function of CQC-WFF ,(Funcs (Valuations_in A),BOOLEAN ) st
( d = F . p & F . VERUM = (Valuations_in A) --> TRUE & ( for p, q being Element of CQC-WFF
for x being bound_QC-variable
for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds
( F . (P ! ll) = H1(k,P,ll) & F . ('not' p) = H2(F . p) & F . (p '&' q) = H3(F . p,F . q) & F . (All x,p) = H4(x,F . p) ) ) ) )
by Def11;
thus
H5( VERUM ) = (Valuations_in A) --> TRUE
from CQC_LANG:sch 5(A1); ( ( for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds Valid (P ! ll),J = ll 'in' (J . P) ) & ( for p being Element of CQC-WFF holds Valid ('not' p),J = 'not' (Valid p,J) ) & ( for q being Element of CQC-WFF holds Valid (p '&' q),J = (Valid p,J) '&' (Valid q,J) ) & ( for x being bound_QC-variable holds Valid (All x,p),J = FOR_ALL x,(Valid p,J) ) )
let x be bound_QC-variable; Valid (All x,p),J = FOR_ALL x,(Valid p,J)
thus
H5( All x,p) = H4(x,H5(p))
from CQC_LANG:sch 9(A1); verum