let p, q, r be FinSequence; ( q in ProperPrefixes p & r in ProperPrefixes p implies q,r are_c=-comparable )
assume
q in ProperPrefixes p
; ( not r in ProperPrefixes p or q,r are_c=-comparable )
then A2:
ex q1 being FinSequence st
( q = q1 & q1 is_a_proper_prefix_of p )
by Def4;
assume
r in ProperPrefixes p
; q,r are_c=-comparable
then A4:
ex r1 being FinSequence st
( r = r1 & r1 is_a_proper_prefix_of p )
by Def4;
q is_a_prefix_of p
by A2, XBOOLE_0:def 8;
then consider n being Element of NAT such that
A6:
q = p | (Seg n)
by Def1;
r is_a_prefix_of p
by A4, XBOOLE_0:def 8;
then consider k being Element of NAT such that
A8:
r = p | (Seg k)
by Def1;
A9:
( n <= k implies q,r are_c=-comparable )
( k <= n implies q,r are_c=-comparable )
hence
q,r are_c=-comparable
by A9; verum