let f be CR_Sequence; :: thesis: for m being natural number st 0 < m & m <= len f holds
f | m is CR_Sequence
let m be natural number ; :: thesis: ( 0 < m & m <= len f implies f | m is CR_Sequence )
assume AS:
( m > 0 & m <= len f )
; :: thesis: f | m is CR_Sequence
reconsider fm = f | m as FinSequence of INT by intint;
C:
len fm = m
by AS, FINSEQ_1:80;
now let i',
j' be
natural number ;
:: thesis: ( i' in dom fm & j' in dom fm & i' <> j' implies fm . i',fm . j' are_relative_prime )assume B1:
(
i' in dom fm &
j' in dom fm &
i' <> j' )
;
:: thesis: fm . i',fm . j' are_relative_prime reconsider i =
i',
j =
j' as
Element of
NAT by ORDINAL1:def 13;
B2:
(
i in dom f &
j in dom f )
by H, B1;
B4:
f . i = fm . i
by B1, FUNCT_1:70;
f . j = fm . j
by B1, FUNCT_1:70;
hence
fm . i',
fm . j' are_relative_prime
by B1, B2, B4, DefCR;
:: thesis: verum end;
hence
f | m is CR_Sequence
by B, C, DefCR, AS, FINSEQ_1:def 3, PARTFUN3:def 1; :: thesis: verum