let x, y be bound_QC-variable; 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; ( 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 ;
( ( 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] )
( 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
;
not x in still_not-bound_in (s . y)
thus
not
x in still_not-bound_in (s . y)
verumproof
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:8
.=
variables_in (
(the_arguments_of s),
bound_QC-variables)
by QC_LANG3:6
.=
{ ((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 2
;
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 ) }
;
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 3;
then
x = (the_arguments_of s) . k
by A3, A7, A8, CQC_LANG:11;
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;
verum
end;
A11:
s . y = (the_pred_symbol_of s) ! (Subst ((the_arguments_of s),((a. 0) .--> y)))
by A2, CQC_LANG:29;
A12:
(
s . y is
atomic &
the_arguments_of (s . y) = Subst (
(the_arguments_of s),
((a. 0) .--> y)) )
proof
consider k being
Element of
NAT ,
p being
QC-pred_symbol of
k,
l2 being
QC-variable_list of
k such that A13:
s = p ! l2
by A2, QC_LANG1:def 17;
l2 = the_arguments_of s
by A2, A13, QC_LANG1:def 22;
then
len (the_arguments_of s) = k
by FINSEQ_1:def 18;
then
len (Subst ((the_arguments_of s),((a. 0) .--> y))) = k
by CQC_LANG:def 3;
then reconsider l3 =
Subst (
(the_arguments_of s),
((a. 0) .--> y)) as
QC-variable_list of
k by FINSEQ_1:def 18;
A14:
s . y = p ! l3
by A2, A11, A13, QC_LANG1:def 21;
hence
s . y is
atomic
by QC_LANG1:def 17;
the_arguments_of (s . y) = Subst ((the_arguments_of s),((a. 0) .--> y))
hence
the_arguments_of (s . y) = Subst (
(the_arguments_of s),
((a. 0) .--> y))
by A14, QC_LANG1:def 22;
verum
end;
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:6
.=
{ ((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 2
;
hence
not
x in still_not-bound_in (s . y)
by A4, A5, A12, A6, QC_LANG3:8;
verum
end;
end; thus
S1[
VERUM ]
by CQC_LANG:28;
( ( 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] )
( ( 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
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
universal &
S1[
the_scope_of s] implies
S1[
s] )
verum 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) )
; verum