let l be quasi-loci; :: thesis: for x being variable holds
( l ^ <*x*> is quasi-loci iff ( not x in rng l & vars x c= rng l ) )
let x be variable; :: thesis: ( l ^ <*x*> is quasi-loci iff ( not x in rng l & vars x c= rng l ) )
A1:
(l ^ <*x*>) . (1 + (len l)) = x
by FINSEQ_1:59;
A2: dom (l ^ <*x*>) =
Seg ((len l) + (len <*x*>))
by FINSEQ_1:def 7
.=
Seg ((len l) + 1)
by FINSEQ_1:56
;
( 1 <= 1 + (len l) & 1 + (len l) <= 1 + (len l) )
by NAT_1:11;
then A3:
1 + (len l) in dom (l ^ <*x*>)
by A2;
A4:
dom l = Seg (len l)
by FINSEQ_1:def 3;
hereby :: thesis: ( not x in rng l & vars x c= rng l implies l ^ <*x*> is quasi-loci )
assume B1:
l ^ <*x*> is
quasi-loci
;
:: thesis: ( not x in rng l & vars x c= rng l )thus
not
x in rng l
:: thesis: vars x c= rng lproof
assume
x in rng l
;
:: thesis: contradiction
then consider a being
set such that B2:
(
a in dom l &
x = l . a )
by FUNCT_1:def 5;
reconsider a =
a as
Element of
NAT by B2;
B3:
(l ^ <*x*>) . a = x
by B2, FINSEQ_1:def 7;
(
a <= len l &
len l < 1
+ (len l) &
dom l c= dom (l ^ <*x*>) )
by A4, B2, FINSEQ_1:3, FINSEQ_1:39, NAT_1:13;
hence
contradiction
by A1, A3, B1, B3, B2, FUNCT_1:def 8;
:: thesis: verum
end; thus
vars x c= rng l
:: thesis: verum
end;
assume D1:
( not x in rng l & vars x c= rng l )
; :: thesis: l ^ <*x*> is quasi-loci
EE:
l ^ <*x*> is one-to-one
hence
l ^ <*x*> is quasi-loci
by EE, Th32; :: thesis: verum