let x, y be bound_QC-variable; :: thesis: for s' being QC-formula st x <> y & not x in still_not-bound_in s' holds
not x in still_not-bound_in (s' . y)
let s' be QC-formula; :: thesis: ( x <> y & not x in still_not-bound_in s' implies not x in still_not-bound_in (s' . 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 & 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: verumproof
set l =
the_arguments_of s;
A4:
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
;
A5:
s . y = (the_pred_symbol_of s) ! (Subst (the_arguments_of s),((a. 0 ) .--> y))
by A2, CQC_LANG:29;
set ll =
Subst (the_arguments_of s),
((a. 0 ) .--> y);
A6:
(
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
such that A7:
s = p ! l2
by A2, QC_LANG1:def 17;
l2 = the_arguments_of s
by A2, A7, 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
by FINSEQ_1:def 18;
A8:
s . y = p ! l3
by A2, A5, A7, QC_LANG1:def 21;
hence
s . y is
atomic
by QC_LANG1:def 17;
:: thesis: 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 A8, QC_LANG1:def 22;
:: thesis: verum
end;
then A9:
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
;
(
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 ) } )
hence
not
x in still_not-bound_in (s . y)
by A3, A4, A6, A9, QC_LANG3:8;
:: thesis: verum
end;
end; thus
S1[
VERUM ]
by CQC_LANG:28;
:: 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] ) )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] )thus
(
s is
universal &
S1[
the_scope_of s] implies
S1[
s] )
:: thesis: 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 s' implies not x in still_not-bound_in (s' . y) )
; :: thesis: verum