let p be Element of CQC-WFF ; :: thesis: still_not-bound_in p = still_not-bound_in (SepVar p)
A1:
SepFunc . VERUM = [:NAT ,(Funcs bound_QC-variables ,bound_QC-variables ):] --> VERUM
by Def6;
defpred S1[ Element of CQC-WFF ] means for k being Element of NAT
for K being Finite_Subset of bound_QC-variables
for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [$1,k,K,f] in SepQuadruples p holds
f .: (still_not-bound_in $1) = still_not-bound_in ((SepFunc . $1) . [k,f]);
A2:
S1[ VERUM ]
proof
let k be
Element of
NAT ;
:: thesis: for K being Finite_Subset of bound_QC-variables
for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [VERUM ,k,K,f] in SepQuadruples p holds
f .: (still_not-bound_in VERUM ) = still_not-bound_in ((SepFunc . VERUM ) . [k,f])let K be
Finite_Subset of
bound_QC-variables ;
:: thesis: for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [VERUM ,k,K,f] in SepQuadruples p holds
f .: (still_not-bound_in VERUM ) = still_not-bound_in ((SepFunc . VERUM ) . [k,f])let f be
Element of
Funcs bound_QC-variables ,
bound_QC-variables ;
:: thesis: ( [VERUM ,k,K,f] in SepQuadruples p implies f .: (still_not-bound_in VERUM ) = still_not-bound_in ((SepFunc . VERUM ) . [k,f]) )
assume
[VERUM ,k,K,f] in SepQuadruples p
;
:: thesis: f .: (still_not-bound_in VERUM ) = still_not-bound_in ((SepFunc . VERUM ) . [k,f])
f .: (still_not-bound_in VERUM ) = {}
by QC_LANG3:7, RELAT_1:149;
hence
f .: (still_not-bound_in VERUM ) = still_not-bound_in ((SepFunc . VERUM ) . [k,f])
by A1, FUNCOP_1:13, QC_LANG3:7;
:: thesis: verum
end;
A3:
now let k be
Element of
NAT ;
:: thesis: for l being CQC-variable_list of
for P being QC-pred_symbol of k holds S1[P ! l]let l be
CQC-variable_list of ;
:: thesis: for P being QC-pred_symbol of k holds S1[P ! l]let P be
QC-pred_symbol of
k;
:: thesis: S1[P ! l]thus
S1[
P ! l]
:: thesis: verumproof
let m be
Element of
NAT ;
:: thesis: for K being Finite_Subset of bound_QC-variables
for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [(P ! l),m,K,f] in SepQuadruples p holds
f .: (still_not-bound_in (P ! l)) = still_not-bound_in ((SepFunc . (P ! l)) . [m,f])let K be
Finite_Subset of
bound_QC-variables ;
:: thesis: for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [(P ! l),m,K,f] in SepQuadruples p holds
f .: (still_not-bound_in (P ! l)) = still_not-bound_in ((SepFunc . (P ! l)) . [m,f])let f be
Element of
Funcs bound_QC-variables ,
bound_QC-variables ;
:: thesis: ( [(P ! l),m,K,f] in SepQuadruples p implies f .: (still_not-bound_in (P ! l)) = still_not-bound_in ((SepFunc . (P ! l)) . [m,f]) )
assume
[(P ! l),m,K,f] in SepQuadruples p
;
:: thesis: f .: (still_not-bound_in (P ! l)) = still_not-bound_in ((SepFunc . (P ! l)) . [m,f])
set fl =
f * l;
A4:
(ATOMIC P,l) . m,
f = P ! (f * l)
by Def4;
A5:
f .: { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) } = { ((f * l) . j) where j is Element of NAT : ( 1 <= j & j <= len (f * l) & (f * l) . j in bound_QC-variables ) }
f .: (still_not-bound_in (P ! l)) =
f .: (still_not-bound_in l)
by QC_LANG3:9
.=
f .: (variables_in l,bound_QC-variables )
by QC_LANG3:6
.=
variables_in (f * l),
bound_QC-variables
by A5
.=
still_not-bound_in (f * l)
by QC_LANG3:6
.=
still_not-bound_in (P ! (f * l))
by QC_LANG3:9
;
hence
f .: (still_not-bound_in (P ! l)) = still_not-bound_in ((SepFunc . (P ! l)) . [m,f])
by A4, Def6;
:: thesis: verum
end; end;
A14:
now let r be
Element of
CQC-WFF ;
:: thesis: ( S1[r] implies S1[ 'not' r] )reconsider g =
SepFunc . r as
Function of
[:NAT ,(Funcs bound_QC-variables ,bound_QC-variables ):],
CQC-WFF ;
A15:
SepFunc . ('not' r) = NEGATIVE g
by Def6;
assume A16:
S1[
r]
;
:: thesis: S1[ 'not' r]thus
S1[
'not' r]
:: thesis: verumproof
let m be
Element of
NAT ;
:: thesis: for K being Finite_Subset of bound_QC-variables
for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [('not' r),m,K,f] in SepQuadruples p holds
f .: (still_not-bound_in ('not' r)) = still_not-bound_in ((SepFunc . ('not' r)) . [m,f])let K be
Finite_Subset of
bound_QC-variables ;
:: thesis: for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [('not' r),m,K,f] in SepQuadruples p holds
f .: (still_not-bound_in ('not' r)) = still_not-bound_in ((SepFunc . ('not' r)) . [m,f])let f be
Element of
Funcs bound_QC-variables ,
bound_QC-variables ;
:: thesis: ( [('not' r),m,K,f] in SepQuadruples p implies f .: (still_not-bound_in ('not' r)) = still_not-bound_in ((SepFunc . ('not' r)) . [m,f]) )
assume A17:
[('not' r),m,K,f] in SepQuadruples p
;
:: thesis: f .: (still_not-bound_in ('not' r)) = still_not-bound_in ((SepFunc . ('not' r)) . [m,f])
set mf =
[m,f];
reconsider r' =
g . [m,f] as
Element of
CQC-WFF ;
A18:
(
still_not-bound_in r = still_not-bound_in ('not' r) &
still_not-bound_in r' = still_not-bound_in ('not' r') )
by QC_LANG3:11;
(
(NEGATIVE g) . [m,f] = 'not' r' &
[r,m,K,f] in SepQuadruples p )
by A17, Def1, Th32;
hence
f .: (still_not-bound_in ('not' r)) = still_not-bound_in ((SepFunc . ('not' r)) . [m,f])
by A15, A16, A18;
:: thesis: verum
end; end;
A19:
now let r,
s be
Element of
CQC-WFF ;
:: thesis: ( S1[r] & S1[s] implies S1[r '&' s] )assume that A20:
S1[
r]
and A21:
S1[
s]
;
:: thesis: S1[r '&' s]thus
S1[
r '&' s]
:: thesis: verumproof
reconsider g =
SepFunc . r,
h =
SepFunc . s as
Function of
[:NAT ,(Funcs bound_QC-variables ,bound_QC-variables ):],
CQC-WFF ;
let m be
Element of
NAT ;
:: thesis: for K being Finite_Subset of bound_QC-variables
for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [(r '&' s),m,K,f] in SepQuadruples p holds
f .: (still_not-bound_in (r '&' s)) = still_not-bound_in ((SepFunc . (r '&' s)) . [m,f])let K be
Finite_Subset of
bound_QC-variables ;
:: thesis: for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [(r '&' s),m,K,f] in SepQuadruples p holds
f .: (still_not-bound_in (r '&' s)) = still_not-bound_in ((SepFunc . (r '&' s)) . [m,f])let f be
Element of
Funcs bound_QC-variables ,
bound_QC-variables ;
:: thesis: ( [(r '&' s),m,K,f] in SepQuadruples p implies f .: (still_not-bound_in (r '&' s)) = still_not-bound_in ((SepFunc . (r '&' s)) . [m,f]) )
assume A22:
[(r '&' s),m,K,f] in SepQuadruples p
;
:: thesis: f .: (still_not-bound_in (r '&' s)) = still_not-bound_in ((SepFunc . (r '&' s)) . [m,f])
reconsider r' =
g . m,
f,
s' =
h . (m + (QuantNbr r)),
f as
Element of
CQC-WFF ;
A23:
(CON g,h,(QuantNbr r)) . m,
f = r' '&' s'
by Def2;
(
[r,m,K,f] in SepQuadruples p &
[s,(m + (QuantNbr r)),K,f] in SepQuadruples p )
by A22, Th33;
then A24:
(
f .: (still_not-bound_in r) = still_not-bound_in r' &
f .: (still_not-bound_in s) = still_not-bound_in s' )
by A20, A21;
thus f .: (still_not-bound_in (r '&' s)) =
f .: ((still_not-bound_in r) \/ (still_not-bound_in s))
by QC_LANG3:14
.=
(still_not-bound_in r') \/ (still_not-bound_in s')
by A24, RELAT_1:153
.=
still_not-bound_in (r' '&' s')
by QC_LANG3:14
.=
still_not-bound_in ((SepFunc . (r '&' s)) . [m,f])
by A23, Def6
;
:: thesis: verum
end; end;
A25:
now let r be
Element of
CQC-WFF ;
:: thesis: for x being Element of bound_QC-variables st S1[r] holds
S1[ All x,r]let x be
Element of
bound_QC-variables ;
:: thesis: ( S1[r] implies S1[ All x,r] )assume A26:
S1[
r]
;
:: thesis: S1[ All x,r]thus
S1[
All x,
r]
:: thesis: verumproof
reconsider g =
SepFunc . r as
Function of
[:NAT ,(Funcs bound_QC-variables ,bound_QC-variables ):],
CQC-WFF ;
let m be
Element of
NAT ;
:: thesis: for K being Finite_Subset of bound_QC-variables
for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [(All x,r),m,K,f] in SepQuadruples p holds
f .: (still_not-bound_in (All x,r)) = still_not-bound_in ((SepFunc . (All x,r)) . [m,f])let K be
Finite_Subset of
bound_QC-variables ;
:: thesis: for f being Element of Funcs bound_QC-variables ,bound_QC-variables st [(All x,r),m,K,f] in SepQuadruples p holds
f .: (still_not-bound_in (All x,r)) = still_not-bound_in ((SepFunc . (All x,r)) . [m,f])let f be
Element of
Funcs bound_QC-variables ,
bound_QC-variables ;
:: thesis: ( [(All x,r),m,K,f] in SepQuadruples p implies f .: (still_not-bound_in (All x,r)) = still_not-bound_in ((SepFunc . (All x,r)) . [m,f]) )
assume A27:
[(All x,r),m,K,f] in SepQuadruples p
;
:: thesis: f .: (still_not-bound_in (All x,r)) = still_not-bound_in ((SepFunc . (All x,r)) . [m,f])
f +* (x .--> (x. m)) is
Function of
bound_QC-variables ,
bound_QC-variables
by Lm1;
then reconsider fm =
f +* (x .--> (x. m)) as
Element of
Funcs bound_QC-variables ,
bound_QC-variables by FUNCT_2:11;
reconsider r'' =
g . (m + 1),
fm as
Element of
CQC-WFF ;
A28:
still_not-bound_in (All x,r) = (still_not-bound_in r) \ {x}
by QC_LANG3:16;
then A29:
not
x. m in f .: ((still_not-bound_in r) \ {x})
by A27, Th43;
A30:
(UNIVERSAL x,g) . m,
f = All (x. m),
r''
by Def3;
A31:
[r,(m + 1),(K \/ {.x.}),(f +* (x .--> (x. m)))] in SepQuadruples p
by A27, Th34;
thus f .: (still_not-bound_in (All x,r)) =
fm .: ((still_not-bound_in r) \ {x})
by A28, Th3
.=
(fm .: (still_not-bound_in r)) \ {(x. m)}
by A29, Th4
.=
(still_not-bound_in r'') \ {(x. m)}
by A26, A31
.=
still_not-bound_in (All (x. m),r'')
by QC_LANG3:16
.=
still_not-bound_in ((SepFunc . (All x,r)) . [m,f])
by A30, Def6
;
:: thesis: verum
end; end;
A32:
for q being Element of CQC-WFF holds S1[q]
from CQC_SIM1:sch 5(A2, A3, A14, A19, A25);
A33:
[p,(index p),({}. bound_QC-variables ),(id bound_QC-variables )] in SepQuadruples p
by Th31;
thus still_not-bound_in p =
(id bound_QC-variables ) .: (still_not-bound_in p)
by FUNCT_1:162
.=
still_not-bound_in (SepVar p)
by A32, A33
; :: thesis: verum