let x, y be bound_QC-variable; :: thesis: for s9 being QC-formula st x <> y & not x in still_not-bound_in s9 holds
not x in still_not-bound_in (s9 . y)

let s9 be QC-formula; :: thesis: ( x <> y & not x in still_not-bound_in s9 implies not x in still_not-bound_in (s9 . y) )
defpred S1[ Element of QC-WFF ] means ( x <> y & not x in still_not-bound_in $1 implies not x in still_not-bound_in ($1 . y) );
A1: now
let s be Element of QC-WFF ; :: thesis: ( ( s is atomic implies S1[s] ) & S1[ VERUM ] & ( s is negative & S1[ the_argument_of s] implies S1[s] ) & ( s is conjunctive & S1[ the_left_argument_of s] & S1[ the_right_argument_of s] implies S1[s] ) & ( s is universal & S1[ the_scope_of s] implies S1[s] ) )
thus ( s is atomic implies S1[s] ) :: thesis: ( S1[ VERUM ] & ( s is negative & S1[ the_argument_of s] implies S1[s] ) & ( s is conjunctive & S1[ the_left_argument_of s] & S1[ the_right_argument_of s] implies S1[s] ) & ( s is universal & S1[ the_scope_of s] implies S1[s] ) )
proof
assume that
A2: s is atomic and
A3: x <> y and
A4: not x in still_not-bound_in s ; :: thesis: not x in still_not-bound_in (s . y)
thus not x in still_not-bound_in (s . y) :: thesis: verum
proof
set l = the_arguments_of s;
set ll = Subst ((the_arguments_of s),((a. 0) .--> y));
A5: still_not-bound_in s = still_not-bound_in (the_arguments_of s) by A2, QC_LANG3:4
.= variables_in ((the_arguments_of s),bound_QC-variables) by QC_LANG3:2
.= { ((the_arguments_of s) . k) where k is Element of NAT : ( 1 <= k & k <= len (the_arguments_of s) & (the_arguments_of s) . k in bound_QC-variables ) } by QC_LANG3:def 1 ;
A6: ( x in { ((Subst ((the_arguments_of s),((a. 0) .--> y))) . k) where k is Element of NAT : ( 1 <= k & k <= len (Subst ((the_arguments_of s),((a. 0) .--> y))) & (Subst ((the_arguments_of s),((a. 0) .--> y))) . k in bound_QC-variables ) } implies x in { ((the_arguments_of s) . i) where i is Element of NAT : ( 1 <= i & i <= len (the_arguments_of s) & (the_arguments_of s) . i in bound_QC-variables ) } )
proof
assume x in { ((Subst ((the_arguments_of s),((a. 0) .--> y))) . k) where k is Element of NAT : ( 1 <= k & k <= len (Subst ((the_arguments_of s),((a. 0) .--> y))) & (Subst ((the_arguments_of s),((a. 0) .--> y))) . k in bound_QC-variables ) } ; :: thesis: x in { ((the_arguments_of s) . i) where i is Element of NAT : ( 1 <= i & i <= len (the_arguments_of s) & (the_arguments_of s) . i in bound_QC-variables ) }
then consider k being Element of NAT such that
A7: x = (Subst ((the_arguments_of s),((a. 0) .--> y))) . k and
A8: 1 <= k and
A9: k <= len (Subst ((the_arguments_of s),((a. 0) .--> y))) and
(Subst ((the_arguments_of s),((a. 0) .--> y))) . k in bound_QC-variables ;
A10: k <= len (the_arguments_of s) by A9, CQC_LANG:def 1;
then x = (the_arguments_of s) . k by A3, A7, A8, CQC_LANG:3;
hence x in { ((the_arguments_of s) . i) where i is Element of NAT : ( 1 <= i & i <= len (the_arguments_of s) & (the_arguments_of s) . i in bound_QC-variables ) } by A8, A10; :: thesis: verum
end;
A11: s . y = (the_pred_symbol_of s) ! (Subst ((the_arguments_of s),((a. 0) .--> y))) by A2, CQC_LANG:16;
A12: ( s . y is atomic & the_arguments_of (s . y) = Subst ((the_arguments_of s),((a. 0) .--> y)) ) then still_not-bound_in (the_arguments_of (s . y)) = variables_in ((Subst ((the_arguments_of s),((a. 0) .--> y))),bound_QC-variables) by QC_LANG3:2
.= { ((Subst ((the_arguments_of s),((a. 0) .--> y))) . k) where k is Element of NAT : ( 1 <= k & k <= len (Subst ((the_arguments_of s),((a. 0) .--> y))) & (Subst ((the_arguments_of s),((a. 0) .--> y))) . k in bound_QC-variables ) } by QC_LANG3:def 1 ;
hence not x in still_not-bound_in (s . y) by A4, A5, A12, A6, QC_LANG3:4; :: thesis: verum
end;
end;
thus S1[ VERUM ] by CQC_LANG:15; :: thesis: ( ( s is negative & S1[ the_argument_of s] implies S1[s] ) & ( s is conjunctive & S1[ the_left_argument_of s] & S1[ the_right_argument_of s] implies S1[s] ) & ( s is universal & S1[ the_scope_of s] implies S1[s] ) )
thus ( s is negative & S1[ the_argument_of s] implies S1[s] ) :: thesis: ( ( s is conjunctive & S1[ the_left_argument_of s] & S1[ the_right_argument_of s] implies S1[s] ) & ( s is universal & S1[ the_scope_of s] implies S1[s] ) )
proof end;
thus ( s is conjunctive & S1[ the_left_argument_of s] & S1[ the_right_argument_of s] implies S1[s] ) :: thesis: ( s is universal & S1[ the_scope_of s] implies S1[s] )
proof end;
thus ( s is universal & S1[ the_scope_of s] implies S1[s] ) :: thesis: verum
proof end;
end;
for s being Element of QC-WFF holds S1[s] from QC_LANG1:sch 2(A1);
hence ( x <> y & not x in still_not-bound_in s9 implies not x in still_not-bound_in (s9 . y) ) ; :: thesis: verum