let C be initialized ConstructorSignature; :: thesis: for f being one-to-one irrelevant valuation of C ex g being one-to-one irrelevant valuation of C st
for x, y being variable holds
( x in dom f & f . x = y -term C iff ( y in dom g & g . y = x -term C ) )
let f be one-to-one irrelevant valuation of C; :: thesis: ex g being one-to-one irrelevant valuation of C st
for x, y being variable holds
( x in dom f & f . x = y -term C iff ( y in dom g & g . y = x -term C ) )
set Y = { x where x is variable : x -term C in rng f } ;
defpred S1[ set , set ] means ex x being set st
( x in dom f & f . x = root-tree [$1,a_Term ] & $2 = root-tree [x,a_Term ] );
B1:
for x being set st x in { x where x is variable : x -term C in rng f } holds
ex y being set st S1[x,y]
consider g being Function such that
A0:
dom g = { x where x is variable : x -term C in rng f }
and
A1:
for y being set st y in { x where x is variable : x -term C in rng f } holds
S1[y,g . y]
from CLASSES1:sch 1(B1);
A2:
{ x where x is variable : x -term C in rng f } c= Vars
rng g c= QuasiTerms C
then reconsider g = g as valuation of C by A0, A2, RELSET_1:11;
A3:
g is irrelevant
g is one-to-one
proof
let z1,
z2 be
set ;
:: according to FUNCT_1:def 8 :: thesis: ( not z1 in dom g or not z2 in dom g or not g . z1 = g . z2 or z1 = z2 )
assume C4:
(
z1 in dom g &
z2 in dom g &
g . z1 = g . z2 )
;
:: thesis: z1 = z2
then reconsider z1 =
z1,
z2 =
z2 as
variable ;
consider x1 being
set such that C5:
(
x1 in dom f &
f . x1 = z1 -term C &
g . z1 = root-tree [x1,a_Term ] )
by A0, A1, C4;
consider x2 being
set such that C6:
(
x2 in dom f &
f . x2 = z2 -term C &
g . z1 = root-tree [x2,a_Term ] )
by A0, A1, C4;
reconsider x1 =
x1,
x2 =
x2 as
variable by C5, C6;
x1 -term C = x2 -term C
by C5, C6;
then
x1 = x2
by ThT0;
hence
z1 = z2
by C5, C6, ThT0;
:: thesis: verum
end;
then reconsider g = g as one-to-one irrelevant valuation of C by A3;
take
g
; :: thesis: for x, y being variable holds
( x in dom f & f . x = y -term C iff ( y in dom g & g . y = x -term C ) )
let x, y be variable; :: thesis: ( x in dom f & f . x = y -term C iff ( y in dom g & g . y = x -term C ) )
assume
( y in dom g & g . y = x -term C )
; :: thesis: ( x in dom f & f . x = y -term C )
then consider z being set such that
Z2:
( z in dom f & f . z = root-tree [y,a_Term ] & x -term C = root-tree [z,a_Term ] )
by A0, A1;
reconsider z = z as variable by Z2;
x -term C = z -term C
by Z2;
hence
( x in dom f & f . x = y -term C )
by Z2, ThT0; :: thesis: verum