let n be Element of NAT ; :: thesis: for p being Element of CQC-WFF st ( for q being Element of CQC-WFF st q is_subformula_of p holds
QuantNbr q = n ) holds
n = 0

let p be Element of CQC-WFF ; :: thesis: ( ( for q being Element of CQC-WFF st q is_subformula_of p holds
QuantNbr q = n ) implies n = 0 )

assume A1: for q being Element of CQC-WFF st q is_subformula_of p holds
QuantNbr q = n ; :: thesis: n = 0
defpred S1[ Element of CQC-WFF ] means ( $1 is_subformula_of p implies QuantNbr $1 = 0 );
A2: for x being bound_QC-variable
for r being Element of CQC-WFF st S1[r] holds
S1[ All (x,r)]
proof
let x be bound_QC-variable; :: thesis: for r being Element of CQC-WFF st S1[r] holds
S1[ All (x,r)]

let r be Element of CQC-WFF ; :: thesis: ( S1[r] implies S1[ All (x,r)] )
assume S1[r] ; :: thesis: S1[ All (x,r)]
now end;
hence S1[ All (x,r)] ; :: thesis: verum
end;
A5: for r, s being Element of CQC-WFF st S1[r] & S1[s] holds
S1[r '&' s]
proof end;
for r being Element of CQC-WFF st S1[r] holds
S1[ 'not' r]
proof end;
then A11: for r, s being Element of CQC-WFF
for x being bound_QC-variable
for k being Element of NAT
for l being CQC-variable_list of k
for P being QC-pred_symbol of k holds
( S1[ VERUM ] & S1[P ! l] & ( S1[r] implies S1[ 'not' r] ) & ( S1[r] & S1[s] implies S1[r '&' s] ) & ( S1[r] implies S1[ All (x,r)] ) ) by A5, A2, CQC_SIM1:14, CQC_SIM1:15;
A12: for r being Element of CQC-WFF holds S1[r] from CQC_LANG:sch 1(A11);
QuantNbr p = n by A1;
hence n = 0 by A12; :: thesis: verum