deffunc H1( Element of QC-WFF ) -> Element of Funcs F1(),F2() = F4((the_arity_of (the_pred_symbol_of $1)),(the_pred_symbol_of $1),(the_arguments_of $1));
deffunc H2( set , Element of QC-WFF ) -> Element of Funcs F1(),F2() = F5($1,(the_argument_of $2));
deffunc H3( set , set , Element of QC-WFF ) -> Element of Funcs F1(),F2() = F6($1,$2,(the_left_argument_of $3),(the_right_argument_of $3));
deffunc H4( set , Element of QC-WFF ) -> Element of Funcs F1(),F2() = F7((bound_in $2),$1,(the_scope_of $2));
consider F being Function of QC-WFF ,(Funcs F1(),F2()) such that
A1:
( F . VERUM = F3() & ( for p being Element of QC-WFF holds
( ( p is atomic implies F . p = H1(p) ) & ( p is negative implies F . p = H2(F . (the_argument_of p),p) ) & ( p is conjunctive implies F . p = H3(F . (the_left_argument_of p),F . (the_right_argument_of p),p) ) & ( p is universal implies F . p = H4(F . (the_scope_of p),p) ) ) ) )
from CQC_SIM1:sch 1();
reconsider G = F | CQC-WFF as Function of CQC-WFF ,(Funcs F1(),F2()) by FUNCT_2:38;
take
G
; :: thesis: ( G . VERUM = F3() & ( for k being Element of NAT
for l being CQC-variable_list of
for P being QC-pred_symbol of k holds G . (P ! l) = F4(k,P,l) ) & ( for r, s being Element of CQC-WFF
for x being Element of bound_QC-variables holds
( G . ('not' r) = F5((G . r),r) & G . (r '&' s) = F6((G . r),(G . s),r,s) & G . (All x,r) = F7(x,(G . r),r) ) ) )
thus
G . VERUM = F3()
by A1, FUNCT_1:72; :: thesis: ( ( for k being Element of NAT
for l being CQC-variable_list of
for P being QC-pred_symbol of k holds G . (P ! l) = F4(k,P,l) ) & ( for r, s being Element of CQC-WFF
for x being Element of bound_QC-variables holds
( G . ('not' r) = F5((G . r),r) & G . (r '&' s) = F6((G . r),(G . s),r,s) & G . (All x,r) = F7(x,(G . r),r) ) ) )
thus
for k being Element of NAT
for l being CQC-variable_list of
for P being QC-pred_symbol of k holds G . (P ! l) = F4(k,P,l)
:: thesis: for r, s being Element of CQC-WFF
for x being Element of bound_QC-variables holds
( G . ('not' r) = F5((G . r),r) & G . (r '&' s) = F6((G . r),(G . s),r,s) & G . (All x,r) = F7(x,(G . r),r) )proof
let k be
Element of
NAT ;
:: thesis: for l being CQC-variable_list of
for P being QC-pred_symbol of k holds G . (P ! l) = F4(k,P,l)let l be
CQC-variable_list of ;
:: thesis: for P being QC-pred_symbol of k holds G . (P ! l) = F4(k,P,l)let P be
QC-pred_symbol of
k;
:: thesis: G . (P ! l) = F4(k,P,l)
A2:
P ! l is
atomic
by QC_LANG1:def 17;
then A3:
(
the_arguments_of (P ! l) = l &
the_pred_symbol_of (P ! l) = P &
the_arity_of P = k )
by QC_LANG1:35, QC_LANG1:def 21, QC_LANG1:def 22;
thus G . (P ! l) =
F . (P ! l)
by FUNCT_1:72
.=
F4(
k,
P,
l)
by A1, A2, A3
;
:: thesis: verum
end;
let r, s be Element of CQC-WFF ; :: thesis: for x being Element of bound_QC-variables holds
( G . ('not' r) = F5((G . r),r) & G . (r '&' s) = F6((G . r),(G . s),r,s) & G . (All x,r) = F7(x,(G . r),r) )
let x be Element of bound_QC-variables ; :: thesis: ( G . ('not' r) = F5((G . r),r) & G . (r '&' s) = F6((G . r),(G . s),r,s) & G . (All x,r) = F7(x,(G . r),r) )
set r' = G . r;
set s' = G . s;
A4:
( G . r = F . r & G . s = F . s )
by FUNCT_1:72;
A5:
'not' r is negative
by QC_LANG1:def 18;
then A6:
the_argument_of ('not' r) = r
by QC_LANG1:def 23;
thus G . ('not' r) =
F . ('not' r)
by FUNCT_1:72
.=
F5((G . r),r)
by A1, A4, A5, A6
; :: thesis: ( G . (r '&' s) = F6((G . r),(G . s),r,s) & G . (All x,r) = F7(x,(G . r),r) )
A7:
r '&' s is conjunctive
by QC_LANG1:def 19;
then A8:
( the_left_argument_of (r '&' s) = r & the_right_argument_of (r '&' s) = s )
by QC_LANG1:def 24, QC_LANG1:def 25;
thus G . (r '&' s) =
F . (r '&' s)
by FUNCT_1:72
.=
F6((G . r),(G . s),r,s)
by A1, A4, A7, A8
; :: thesis: G . (All x,r) = F7(x,(G . r),r)
A9:
All x,r is universal
by QC_LANG1:def 20;
then A10:
( bound_in (All x,r) = x & the_scope_of (All x,r) = r )
by QC_LANG1:def 26, QC_LANG1:def 27;
thus G . (All x,r) =
F . (All x,r)
by FUNCT_1:72
.=
F7(x,(G . r),r)
by A1, A4, A9, A10
; :: thesis: verum