Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  btwnconn1lem14 Structured version   Unicode version

Theorem btwnconn1lem14 26026
Description: Lemma for btwnconn1 26027. Final statement of the theorem when  B  =/=  C. (Contributed by Scott Fenton, 9-Oct-2013.)
Assertion
Ref Expression
btwnconn1lem14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) )

Proof of Theorem btwnconn1lem14
Dummy variables  b 
c  d  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 957 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  N  e.  NN )
2 simp2l 983 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  A  e.  ( EE `  N ) )
3 simp3r 986 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  D  e.  ( EE `  N ) )
4 simp3 959 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  ( C  e.  ( EE `  N
)  /\  D  e.  ( EE `  N ) ) )
5 axsegcon 25858 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. c  e.  ( EE `  N ) ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. ) )
61, 2, 3, 4, 5syl121anc 1189 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. c  e.  ( EE `  N ) ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. ) )
7 simp3l 985 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  C  e.  ( EE `  N ) )
8 axsegcon 25858 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. d  e.  ( EE `  N ) ( C  Btwn  <. A , 
d >.  /\  <. C , 
d >.Cgr <. C ,  D >. ) )
91, 2, 7, 4, 8syl121anc 1189 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. d  e.  ( EE `  N ) ( C  Btwn  <. A , 
d >.  /\  <. C , 
d >.Cgr <. C ,  D >. ) )
10 reeanv 2867 . . . 4  |-  ( E. c  e.  ( EE
`  N ) E. d  e.  ( EE
`  N ) ( ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) )  <->  ( E. c  e.  ( EE `  N ) ( D 
Btwn  <. A ,  c
>.  /\  <. D ,  c
>.Cgr <. C ,  D >. )  /\  E. d  e.  ( EE `  N
) ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )
116, 9, 10sylanbrc 646 . . 3  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. c  e.  ( EE `  N ) E. d  e.  ( EE `  N ) ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )
1211adantr 452 . 2  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  E. c  e.  ( EE `  N ) E. d  e.  ( EE `  N ) ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )
13 simpl1 960 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  N  e.  NN )
14 simpl2l 1010 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  A  e.  ( EE `  N
) )
15 simprl 733 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  c  e.  ( EE `  N
) )
16 simpl3l 1012 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  C  e.  ( EE `  N
) )
17 simpl2r 1011 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  B  e.  ( EE `  N
) )
18 axsegcon 25858 . . . . . . . . . . 11  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  c  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  ->  E. b  e.  ( EE `  N ) ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. ) )
1913, 14, 15, 16, 17, 18syl122anc 1193 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  E. b  e.  ( EE `  N
) ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. ) )
20 simprr 734 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  d  e.  ( EE `  N
) )
21 simpl3r 1013 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  D  e.  ( EE `  N
) )
22 axsegcon 25858 . . . . . . . . . . 11  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  ->  E. x  e.  ( EE `  N ) ( d  Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr <. D ,  B >. ) )
2313, 14, 20, 21, 17, 22syl122anc 1193 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  E. x  e.  ( EE `  N
) ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) )
2419, 23jca 519 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  ( E. b  e.  ( EE `  N ) ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  E. x  e.  ( EE `  N
) ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )
2524adantr 452 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( E. b  e.  ( EE `  N
) ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  E. x  e.  ( EE `  N
) ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )
26 reeanv 2867 . . . . . . . 8  |-  ( E. b  e.  ( EE
`  N ) E. x  e.  ( EE
`  N ) ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) )  <->  ( E. b  e.  ( EE `  N
) ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  E. x  e.  ( EE `  N
) ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )
2725, 26sylibr 204 . . . . . . 7  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  ->  E. b  e.  ( EE `  N ) E. x  e.  ( EE
`  N ) ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )
2813, 14, 173jca 1134 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )
2928adantr 452 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )
3016, 21, 153jca 1134 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
)  /\  c  e.  ( EE `  N ) ) )
3130adantr 452 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( C  e.  ( EE `  N
)  /\  D  e.  ( EE `  N )  /\  c  e.  ( EE `  N ) ) )
32 simplrr 738 . . . . . . . . . . . . . 14  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  d  e.  ( EE `  N ) )
33 simprl 733 . . . . . . . . . . . . . 14  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  b  e.  ( EE `  N ) )
34 simprr 734 . . . . . . . . . . . . . 14  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  x  e.  ( EE `  N ) )
3532, 33, 343jca 1134 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( d  e.  ( EE `  N
)  /\  b  e.  ( EE `  N )  /\  x  e.  ( EE `  N ) ) )
3629, 31, 353jca 1134 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
)  /\  c  e.  ( EE `  N ) )  /\  ( d  e.  ( EE `  N )  /\  b  e.  ( EE `  N
)  /\  x  e.  ( EE `  N ) ) ) )
37 simpll 731 . . . . . . . . . . . . 13  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  ->  (
( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )
38 simplr 732 . . . . . . . . . . . . 13  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  ->  (
( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) )
39 simpr 448 . . . . . . . . . . . . 13  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  ->  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )
4037, 38, 393jca 1134 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  ->  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )
41 btwnconn1lem2 26014 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
)  /\  c  e.  ( EE `  N ) )  /\  ( d  e.  ( EE `  N )  /\  b  e.  ( EE `  N
)  /\  x  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  ->  x  =  b )
4236, 40, 41syl2an 464 . . . . . . . . . . 11  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  /\  ( ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  ->  x  =  b )
43 opeq2 3977 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  b  ->  <. A ,  x >.  =  <. A , 
b >. )
4443breq2d 4216 . . . . . . . . . . . . . . . . 17  |-  ( x  =  b  ->  (
d  Btwn  <. A ,  x >. 
<->  d  Btwn  <. A , 
b >. ) )
45 opeq2 3977 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  b  ->  <. d ,  x >.  =  <. d ,  b >. )
4645breq1d 4214 . . . . . . . . . . . . . . . . 17  |-  ( x  =  b  ->  ( <. d ,  x >.Cgr <. D ,  B >.  <->  <. d ,  b >.Cgr <. D ,  B >. ) )
4744, 46anbi12d 692 . . . . . . . . . . . . . . . 16  |-  ( x  =  b  ->  (
( d  Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr <. D ,  B >. )  <->  ( d  Btwn  <. A ,  b >.  /\ 
<. d ,  b >.Cgr <. D ,  B >. ) ) )
4847anbi2d 685 . . . . . . . . . . . . . . 15  |-  ( x  =  b  ->  (
( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) )  <->  ( ( c 
Btwn  <. A ,  b
>.  /\  <. c ,  b
>.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) )
4948anbi2d 685 . . . . . . . . . . . . . 14  |-  ( x  =  b  ->  (
( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) )  /\  ( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )  <->  ( (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) ) )
5049biimpac 473 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) )  /\  ( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )  /\  x  =  b )  -> 
( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) )  /\  ( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  b >.  /\ 
<. d ,  b >.Cgr <. D ,  B >. ) ) ) )
5132, 33jca 519 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( d  e.  ( EE `  N
)  /\  b  e.  ( EE `  N ) ) )
5229, 31, 51jca32 522 . . . . . . . . . . . . . . 15  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( ( C  e.  ( EE
`  N )  /\  D  e.  ( EE `  N )  /\  c  e.  ( EE `  N
) )  /\  (
d  e.  ( EE
`  N )  /\  b  e.  ( EE `  N ) ) ) ) )
53 simpll 731 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )
54 simplr 732 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )
55 simpr 448 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  b >.  /\ 
<. d ,  b >.Cgr <. D ,  B >. ) ) )
5653, 54, 553jca 1134 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) )
57 btwnconn1lem13 26025 . . . . . . . . . . . . . . 15  |-  ( ( ( ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( ( C  e.  ( EE
`  N )  /\  D  e.  ( EE `  N )  /\  c  e.  ( EE `  N
) )  /\  (
d  e.  ( EE
`  N )  /\  b  e.  ( EE `  N ) ) ) )  /\  ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) )  ->  ( C  =  c  \/  D  =  d ) )
5852, 56, 57syl2an 464 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  /\  ( ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) )  ->  ( C  =  c  \/  D  =  d ) )
5958ex 424 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( ( ( ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( C  =  c  \/  D  =  d ) ) )
6050, 59syl5 30 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  /\  x  =  b )  -> 
( C  =  c  \/  D  =  d ) ) )
6160expdimp 427 . . . . . . . . . . 11  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  /\  ( ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  -> 
( x  =  b  ->  ( C  =  c  \/  D  =  d ) ) )
6242, 61mpd 15 . . . . . . . . . 10  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  /\  ( ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  -> 
( C  =  c  \/  D  =  d ) )
6362an4s 800 . . . . . . . . 9  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  /\  ( ( b  e.  ( EE `  N
)  /\  x  e.  ( EE `  N ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  -> 
( C  =  c  \/  D  =  d ) )
6463exp32 589 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( ( b  e.  ( EE `  N
)  /\  x  e.  ( EE `  N ) )  ->  ( (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) )  ->  ( C  =  c  \/  D  =  d ) ) ) )
6564rexlimdvv 2828 . . . . . . 7  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( E. b  e.  ( EE `  N
) E. x  e.  ( EE `  N
) ( ( c 
Btwn  <. A ,  b
>.  /\  <. c ,  b
>.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) )  ->  ( C  =  c  \/  D  =  d ) ) )
6627, 65mpd 15 . . . . . 6  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( C  =  c  \/  D  =  d ) )
67 orcom 377 . . . . . . 7  |-  ( ( C  =  c  \/  D  =  d )  <-> 
( D  =  d  \/  C  =  c ) )
68 simprrl 741 . . . . . . . . . 10  |-  ( ( ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  ->  C  Btwn  <. A ,  d
>. )
6968adantl 453 . . . . . . . . 9  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  ->  C  Btwn  <. A ,  d
>. )
70 opeq2 3977 . . . . . . . . . 10  |-  ( D  =  d  ->  <. A ,  D >.  =  <. A , 
d >. )
7170breq2d 4216 . . . . . . . . 9  |-  ( D  =  d  ->  ( C  Btwn  <. A ,  D >.  <-> 
C  Btwn  <. A , 
d >. ) )
7269, 71syl5ibrcom 214 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( D  =  d  ->  C  Btwn  <. A ,  D >. ) )
73 simprll 739 . . . . . . . . . 10  |-  ( ( ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  ->  D  Btwn  <. A ,  c
>. )
7473adantl 453 . . . . . . . . 9  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  ->  D  Btwn  <. A ,  c
>. )
75 opeq2 3977 . . . . . . . . . 10  |-  ( C  =  c  ->  <. A ,  C >.  =  <. A , 
c >. )
7675breq2d 4216 . . . . . . . . 9  |-  ( C  =  c  ->  ( D  Btwn  <. A ,  C >.  <-> 
D  Btwn  <. A , 
c >. ) )
7774, 76syl5ibrcom 214 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( C  =  c  ->  D  Btwn  <. A ,  C >. ) )
7872, 77orim12d 812 . . . . . . 7  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( ( D  =  d  \/  C  =  c )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) ) )
7967, 78syl5bi 209 . . . . . 6  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( ( C  =  c  \/  D  =  d )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) ) )
8066, 79mpd 15 . . . . 5  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) )
8180an4s 800 . . . 4  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  /\  ( ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N
) )  /\  (
( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) )
8281exp32 589 . . 3  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  ( ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N
) )  ->  (
( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) ) ) )
8382rexlimdvv 2828 . 2  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  ( E. c  e.  ( EE `  N
) E. d  e.  ( EE `  N
) ( ( D 
Btwn  <. A ,  c
>.  /\  <. D ,  c
>.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) ) )
8412, 83mpd 15 1  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    \/ wo 358    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725    =/= wne 2598   E.wrex 2698   <.cop 3809   class class class wbr 4204   ` cfv 5446   NNcn 9992   EEcee 25819    Btwn cbtwn 25820  Cgrccgr 25821
This theorem is referenced by:  btwnconn1  26027
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-inf2 7588  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059  ax-pre-sup 9060
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-int 4043  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-se 4534  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-isom 5455  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-1o 6716  df-oadd 6720  df-er 6897  df-map 7012  df-en 7102  df-dom 7103  df-sdom 7104  df-fin 7105  df-sup 7438  df-oi 7471  df-card 7818  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-div 9670  df-nn 9993  df-2 10050  df-3 10051  df-n0 10214  df-z 10275  df-uz 10481  df-rp 10605  df-ico 10914  df-icc 10915  df-fz 11036  df-fzo 11128  df-seq 11316  df-exp 11375  df-hash 11611  df-cj 11896  df-re 11897  df-im 11898  df-sqr 12032  df-abs 12033  df-clim 12274  df-sum 12472  df-ee 25822  df-btwn 25823  df-cgr 25824  df-ofs 25909  df-ifs 25965  df-cgr3 25966  df-colinear 25967  df-fs 25968
  Copyright terms: Public domain W3C validator