let Al be QC-alphabet ; for Al2 being Al -expanding QC-alphabet
for p2 being Element of CQC-WFF Al2
for S being CQC_Substitution of Al
for S2 being CQC_Substitution of Al2
for x2 being bound_QC-variable of Al2
for x being bound_QC-variable of Al
for p being Element of CQC-WFF Al st p = p2 & S = S2 & x = x2 holds
RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
let Al2 be Al -expanding QC-alphabet ; for p2 being Element of CQC-WFF Al2
for S being CQC_Substitution of Al
for S2 being CQC_Substitution of Al2
for x2 being bound_QC-variable of Al2
for x being bound_QC-variable of Al
for p being Element of CQC-WFF Al st p = p2 & S = S2 & x = x2 holds
RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
let p2 be Element of CQC-WFF Al2; for S being CQC_Substitution of Al
for S2 being CQC_Substitution of Al2
for x2 being bound_QC-variable of Al2
for x being bound_QC-variable of Al
for p being Element of CQC-WFF Al st p = p2 & S = S2 & x = x2 holds
RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
let S be CQC_Substitution of Al; for S2 being CQC_Substitution of Al2
for x2 being bound_QC-variable of Al2
for x being bound_QC-variable of Al
for p being Element of CQC-WFF Al st p = p2 & S = S2 & x = x2 holds
RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
let S2 be CQC_Substitution of Al2; for x2 being bound_QC-variable of Al2
for x being bound_QC-variable of Al
for p being Element of CQC-WFF Al st p = p2 & S = S2 & x = x2 holds
RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
let x2 be bound_QC-variable of Al2; for x being bound_QC-variable of Al
for p being Element of CQC-WFF Al st p = p2 & S = S2 & x = x2 holds
RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
let x be bound_QC-variable of Al; for p being Element of CQC-WFF Al st p = p2 & S = S2 & x = x2 holds
RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
let p be Element of CQC-WFF Al; ( p = p2 & S = S2 & x = x2 implies RestrictSub (x,p,S) = RestrictSub (x2,p2,S2) )
assume A1:
( p = p2 & S = S2 & x = x2 )
; RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
set rset = { y where y is bound_QC-variable of Al : ( y in still_not-bound_in p & y is Element of dom S & y <> x & y <> S . y ) } ;
set rset2 = { y2 where y2 is bound_QC-variable of Al2 : ( y2 in still_not-bound_in p2 & y2 is Element of dom S2 & y2 <> x2 & y2 <> S2 . y2 ) } ;
{ y where y is bound_QC-variable of Al : ( y in still_not-bound_in p & y is Element of dom S & y <> x & y <> S . y ) } = { y2 where y2 is bound_QC-variable of Al2 : ( y2 in still_not-bound_in p2 & y2 is Element of dom S2 & y2 <> x2 & y2 <> S2 . y2 ) }
then
( S | { y where y is bound_QC-variable of Al : ( y in still_not-bound_in p & y is Element of dom S & y <> x & y <> S . y ) } = S2 | { y2 where y2 is bound_QC-variable of Al2 : ( y2 in still_not-bound_in p2 & y2 is Element of dom S2 & y2 <> x2 & y2 <> S2 . y2 ) } & S | { y where y is bound_QC-variable of Al : ( y in still_not-bound_in p & y is Element of dom S & y <> x & y <> S . y ) } = RestrictSub (x,p,S) & S2 | { y2 where y2 is bound_QC-variable of Al2 : ( y2 in still_not-bound_in p2 & y2 is Element of dom S2 & y2 <> x2 & y2 <> S2 . y2 ) } = RestrictSub (x2,p2,S2) )
by A1, SUBSTUT1:def 6;
hence
RestrictSub (x,p,S) = RestrictSub (x2,p2,S2)
; verum