let p be FinSequence; for x being object holds
( p just_once_values x iff ( x in rng p & not x in rng (p |-- x) ) )
let x be object ; ( p just_once_values x iff ( x in rng p & not x in rng (p |-- x) ) )
thus
( p just_once_values x implies ( x in rng p & not x in rng (p |-- x) ) )
( x in rng p & not x in rng (p |-- x) implies p just_once_values x )
assume that
A5:
x in rng p
and
A6:
not x in rng (p |-- x)
; p just_once_values x
now for k being Nat st k in dom p & k <> x .. p holds
not p . k = xlet k be
Nat;
( k in dom p & k <> x .. p implies not p . k = x )assume that A7:
k in dom p
and A8:
k <> x .. p
and A9:
p . k = x
;
contradictionnow contradictionper cases
( k < x .. p or x .. p < k )
by A8, XXREAL_0:1;
suppose A12:
x .. p < k
;
contradictionthen consider m being
Nat such that A13:
k = (x .. p) + m
by NAT_1:10;
(x .. p) + 0 < (x .. p) + m
by A12, A13;
then
0 < m
;
then A14:
0 + 1
<= m
by NAT_1:13;
m + (x .. p) <= len p
by A7, A13, FINSEQ_3:25;
then
m <= (len p) - (x .. p)
by XREAL_1:19;
then
m <= len (p |-- x)
by A5, Def6;
then A15:
m in dom (p |-- x)
by A14, FINSEQ_3:25;
then
(p |-- x) . m = p . k
by A5, A13, Def6;
hence
contradiction
by A6, A9, A15, FUNCT_1:def 3;
verum end; end; end; hence
contradiction
;
verum end;
hence
p just_once_values x
by A5, Th27; verum