let p be Element of CQC-WFF ; :: thesis: still_not-bound_in p = still_not-bound_in (SepVar p)
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]);
A1: [p,(index p),({}. bound_QC-variables),(id bound_QC-variables)] in SepQuadruples p by Th31;
A2: 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 ;
assume A3: S1[r] ; :: thesis: S1[ 'not' r]
A4: SepFunc . ('not' r) = NEGATIVE g by Def6;
thus S1[ 'not' r] :: thesis: verum
proof end;
end;
A8: now
let k be Element of NAT ; :: thesis: for l being CQC-variable_list of k
for P being QC-pred_symbol of k holds S1[P ! l]

let l be CQC-variable_list of k; :: 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: verum
proof
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;
A9: 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 ) }
proof
A10: len (f * l) = k by CARD_1:def 7
.= len l by CARD_1:def 7 ;
thus f .: { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) } c= { ((f * l) . j) where j is Element of NAT : ( 1 <= j & j <= len (f * l) & (f * l) . j in bound_QC-variables ) } :: according to XBOOLE_0:def 10 :: thesis: { ((f * l) . j) where j is Element of NAT : ( 1 <= j & j <= len (f * l) & (f * l) . j in bound_QC-variables ) } c= f .: { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) }
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in f .: { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) } or x in { ((f * l) . j) where j is Element of NAT : ( 1 <= j & j <= len (f * l) & (f * l) . j in bound_QC-variables ) } )
assume x in f .: { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) } ; :: thesis: x in { ((f * l) . j) where j is Element of NAT : ( 1 <= j & j <= len (f * l) & (f * l) . j in bound_QC-variables ) }
then consider y being set such that
A11: ( y in dom f & y in { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) } & x = f . y ) by FUNCT_1:def 6;
consider i being Element of NAT such that
A12: y = l . i and
A13: 1 <= i and
A14: i <= len l and
l . i in bound_QC-variables by A11;
i in dom l by A13, A14, FINSEQ_3:25;
then A15: f . (l . i) = (f * l) . i by FUNCT_1:13;
(f * l) . i in bound_QC-variables by A10, A13, A14, Th13;
hence x in { ((f * l) . j) where j is Element of NAT : ( 1 <= j & j <= len (f * l) & (f * l) . j in bound_QC-variables ) } by A10, A11, A12, A13, A14, A15; :: thesis: verum
end;
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in { ((f * l) . j) where j is Element of NAT : ( 1 <= j & j <= len (f * l) & (f * l) . j in bound_QC-variables ) } or x in f .: { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) } )
assume x in { ((f * l) . i) where i is Element of NAT : ( 1 <= i & i <= len (f * l) & (f * l) . i in bound_QC-variables ) } ; :: thesis: x in f .: { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) }
then consider i being Element of NAT such that
A16: x = (f * l) . i and
A17: 1 <= i and
A18: i <= len (f * l) and
(f * l) . i in bound_QC-variables ;
i in dom l by A10, A17, A18, FINSEQ_3:25;
then A19: (f * l) . i = f . (l . i) by FUNCT_1:13;
A20: l . i in bound_QC-variables by A10, A17, A18, Th13;
then A21: l . i in dom f by FUNCT_2:def 1;
l . i in { (l . j) where j is Element of NAT : ( 1 <= j & j <= len l & l . j in bound_QC-variables ) } by A10, A17, A18, A20;
hence x in f .: { (l . i) where i is Element of NAT : ( 1 <= i & i <= len l & l . i in bound_QC-variables ) } by A16, A21, A19, FUNCT_1:def 6; :: thesis: verum
end;
A22: f .: (still_not-bound_in (P ! l)) = f .: (still_not-bound_in l) by QC_LANG3:5
.= f .: (variables_in (l,bound_QC-variables)) by QC_LANG3:2
.= variables_in ((f * l),bound_QC-variables) by A9
.= still_not-bound_in (f * l) by QC_LANG3:2
.= still_not-bound_in (P ! (f * l)) by QC_LANG3:5 ;
(ATOMIC (P,l)) . (m,f) = P ! (f * l) by Def4;
hence f .: (still_not-bound_in (P ! l)) = still_not-bound_in ((SepFunc . (P ! l)) . [m,f]) by A22, Def6; :: thesis: verum
end;
end;
A23: 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 A24: S1[r] ; :: thesis: S1[ All (x,r)]
thus S1[ All (x,r)] :: thesis: verum
proof
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 A25: [(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])
A26: [r,(m + 1),(K \/ {.x.}),(f +* (x .--> (x. m)))] in SepQuadruples p by A25, Th34;
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:8;
reconsider r99 = g . ((m + 1),fm) as Element of CQC-WFF ;
A27: (UNIVERSAL (x,g)) . (m,f) = All ((x. m),r99) by Def3;
A28: still_not-bound_in (All (x,r)) = (still_not-bound_in r) \ {x} by QC_LANG3:12;
then A29: not x. m in f .: ((still_not-bound_in r) \ {x}) by A25, Th43;
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 r99) \ {(x. m)} by A24, A26
.= still_not-bound_in (All ((x. m),r99)) by QC_LANG3:12
.= still_not-bound_in ((SepFunc . (All (x,r))) . [m,f]) by A27, Def6 ; :: thesis: verum
end;
end;
A30: now
let r, s be Element of CQC-WFF ; :: thesis: ( S1[r] & S1[s] implies S1[r '&' s] )
assume that
A31: S1[r] and
A32: S1[s] ; :: thesis: S1[r '&' s]
thus S1[r '&' s] :: thesis: verum
proof
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 A33: [(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 r9 = g . (m,f), s9 = h . ((m + (QuantNbr r)),f) as Element of CQC-WFF ;
A34: (CON (g,h,(QuantNbr r))) . (m,f) = r9 '&' s9 by Def2;
[r,m,K,f] in SepQuadruples p by A33, Th33;
then A35: f .: (still_not-bound_in r) = still_not-bound_in r9 by A31;
[s,(m + (QuantNbr r)),K,f] in SepQuadruples p by A33, Th33;
then A36: f .: (still_not-bound_in s) = still_not-bound_in s9 by A32;
thus f .: (still_not-bound_in (r '&' s)) = f .: ((still_not-bound_in r) \/ (still_not-bound_in s)) by QC_LANG3:10
.= (still_not-bound_in r9) \/ (still_not-bound_in s9) by A35, A36, RELAT_1:120
.= still_not-bound_in (r9 '&' s9) by QC_LANG3:10
.= still_not-bound_in ((SepFunc . (r '&' s)) . [m,f]) by A34, Def6 ; :: thesis: verum
end;
end;
A37: SepFunc . VERUM = [:NAT,(Funcs (bound_QC-variables,bound_QC-variables)):] --> VERUM by Def6;
A38: S1[ VERUM ]
proof end;
A39: for q being Element of CQC-WFF holds S1[q] from CQC_SIM1:sch 5(A38, A8, A2, A30, A23);
thus still_not-bound_in p = (id bound_QC-variables) .: (still_not-bound_in p) by FUNCT_1:92
.= still_not-bound_in (SepVar p) by A39, A1 ; :: thesis: verum