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

Theorem outsideoftr 24128
Description: Transitivity law for outsideness. Theorem 6.7 of [Schwabhauser] p. 44. (Contributed by Scott Fenton, 18-Oct-2013.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
outsideoftr  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( POutsideOf <. A ,  B >.  /\  POutsideOf <. B ,  C >. )  ->  POutsideOf <. A ,  C >. ) )

Proof of Theorem outsideoftr
StepHypRef Expression
1 simpll 733 . . . . 5  |-  ( ( ( A  =/=  P  /\  B  =/=  P
)  /\  ( B  =/=  P  /\  C  =/= 
P ) )  ->  A  =/=  P )
2 simplr 734 . . . . 5  |-  ( ( ( A  =/=  P  /\  B  =/=  P
)  /\  ( B  =/=  P  /\  C  =/= 
P ) )  ->  B  =/=  P )
3 simprr 736 . . . . 5  |-  ( ( ( A  =/=  P  /\  B  =/=  P
)  /\  ( B  =/=  P  /\  C  =/= 
P ) )  ->  C  =/=  P )
41, 2, 33jca 1137 . . . 4  |-  ( ( ( A  =/=  P  /\  B  =/=  P
)  /\  ( B  =/=  P  /\  C  =/= 
P ) )  -> 
( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
) )
5 simplr1 1002 . . . . . 6  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
) )  /\  (
( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )  ->  A  =/=  P
)
6 simplr3 1004 . . . . . 6  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
) )  /\  (
( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )  ->  C  =/=  P
)
7 df-3an 941 . . . . . . . . . . . 12  |-  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >.  /\  B  Btwn  <. P ,  C >. )  <->  ( (
( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >. )  /\  B  Btwn  <. P ,  C >. ) )
8 simp1 960 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  N  e.  NN )
9 simp3r 989 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  P  e.  ( EE `  N ) )
10 simp2l 986 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  A  e.  ( EE `  N ) )
11 simp2r 987 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  B  e.  ( EE `  N ) )
12 simp3l 988 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  C  e.  ( EE `  N ) )
13 simpr2 967 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >.  /\  B  Btwn  <. P ,  C >. ) )  ->  A  Btwn  <. P ,  B >. )
14 simpr3 968 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >.  /\  B  Btwn  <. P ,  C >. ) )  ->  B  Btwn  <. P ,  C >. )
158, 9, 10, 11, 12, 13, 14btwnexchand 24025 . . . . . . . . . . . . 13  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >.  /\  B  Btwn  <. P ,  C >. ) )  ->  A  Btwn  <. P ,  C >. )
1615orcd 383 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >.  /\  B  Btwn  <. P ,  C >. ) )  -> 
( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) )
177, 16sylan2br 464 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  A  Btwn  <. P ,  B >. )  /\  B  Btwn  <. P ,  C >. ) )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) )
1817expr 601 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >. ) )  ->  ( B  Btwn  <. P ,  C >.  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
19 simprlr 742 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  A  Btwn  <. P ,  B >. )  /\  C  Btwn  <. P ,  B >. ) )  ->  A  Btwn  <. P ,  B >. )
20 simprr 736 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  A  Btwn  <. P ,  B >. )  /\  C  Btwn  <. P ,  B >. ) )  ->  C  Btwn  <. P ,  B >. )
21 btwnconn3 24102 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  ->  ( ( A 
Btwn  <. P ,  B >.  /\  C  Btwn  <. P ,  B >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
228, 9, 10, 12, 11, 21syl122anc 1196 . . . . . . . . . . . . 13  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( A 
Btwn  <. P ,  B >.  /\  C  Btwn  <. P ,  B >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
2322adantr 453 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  A  Btwn  <. P ,  B >. )  /\  C  Btwn  <. P ,  B >. ) )  ->  ( ( A  Btwn  <. P ,  B >.  /\  C  Btwn  <. P ,  B >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
2419, 20, 23mp2and 663 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  A  Btwn  <. P ,  B >. )  /\  C  Btwn  <. P ,  B >. ) )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) )
2524expr 601 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >. ) )  ->  ( C  Btwn  <. P ,  B >.  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
2618, 25jaod 371 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  A  Btwn  <. P ,  B >. ) )  ->  ( ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
2726expr 601 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
) )  ->  ( A  Btwn  <. P ,  B >.  ->  ( ( B 
Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) ) )
28 simpll2 1000 . . . . . . . . . . . . . 14  |-  ( ( ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >. )  /\  B  Btwn  <. P ,  C >. )  ->  B  =/=  P )
2928adantl 454 . . . . . . . . . . . . 13  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  B  Btwn  <. P ,  A >. )  /\  B  Btwn  <. P ,  C >. ) )  ->  B  =/=  P )
3029necomd 2504 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  B  Btwn  <. P ,  A >. )  /\  B  Btwn  <. P ,  C >. ) )  ->  P  =/=  B )
31 simprlr 742 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  B  Btwn  <. P ,  A >. )  /\  B  Btwn  <. P ,  C >. ) )  ->  B  Btwn  <. P ,  A >. )
32 simprr 736 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  B  Btwn  <. P ,  A >. )  /\  B  Btwn  <. P ,  C >. ) )  ->  B  Btwn  <. P ,  C >. )
33 btwnconn1 24100 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( A  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) ) )  ->  ( ( P  =/=  B  /\  B  Btwn  <. P ,  A >.  /\  B  Btwn  <. P ,  C >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
348, 9, 11, 10, 12, 33syl122anc 1196 . . . . . . . . . . . . 13  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( P  =/=  B  /\  B  Btwn  <. P ,  A >.  /\  B  Btwn  <. P ,  C >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
3534adantr 453 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  B  Btwn  <. P ,  A >. )  /\  B  Btwn  <. P ,  C >. ) )  ->  ( ( P  =/=  B  /\  B  Btwn  <. P ,  A >.  /\  B  Btwn  <. P ,  C >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
3630, 31, 32, 35mp3and 1285 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  B  Btwn  <. P ,  A >. )  /\  B  Btwn  <. P ,  C >. ) )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) )
3736expr 601 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >. ) )  ->  ( B  Btwn  <. P ,  C >.  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
38 df-3an 941 . . . . . . . . . . . 12  |-  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >.  /\  C  Btwn  <. P ,  B >. )  <->  ( (
( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >. )  /\  C  Btwn  <. P ,  B >. ) )
39 simpr3 968 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >.  /\  C  Btwn  <. P ,  B >. ) )  ->  C  Btwn  <. P ,  B >. )
40 simpr2 967 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >.  /\  C  Btwn  <. P ,  B >. ) )  ->  B  Btwn  <. P ,  A >. )
418, 9, 12, 11, 10, 39, 40btwnexchand 24025 . . . . . . . . . . . . 13  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >.  /\  C  Btwn  <. P ,  B >. ) )  ->  C  Btwn  <. P ,  A >. )
4241olcd 384 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >.  /\  C  Btwn  <. P ,  B >. ) )  -> 
( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) )
4338, 42sylan2br 464 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  /\  B  Btwn  <. P ,  A >. )  /\  C  Btwn  <. P ,  B >. ) )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) )
4443expr 601 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >. ) )  ->  ( C  Btwn  <. P ,  B >.  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
4537, 44jaod 371 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
P  /\  B  =/=  P  /\  C  =/=  P
)  /\  B  Btwn  <. P ,  A >. ) )  ->  ( ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
4645expr 601 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
) )  ->  ( B  Btwn  <. P ,  A >.  ->  ( ( B 
Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) ) )
4727, 46jaod 371 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
) )  ->  (
( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  ->  ( ( B 
Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) ) )
4847imp32 424 . . . . . 6  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
) )  /\  (
( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )  ->  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) )
495, 6, 483jca 1137 . . . . 5  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  /\  ( A  =/=  P  /\  B  =/=  P  /\  C  =/=  P
) )  /\  (
( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )  ->  ( A  =/= 
P  /\  C  =/=  P  /\  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) )
5049exp31 590 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( A  =/=  P  /\  B  =/=  P  /\  C  =/= 
P )  ->  (
( ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) )  -> 
( A  =/=  P  /\  C  =/=  P  /\  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) ) ) )
514, 50syl5 30 . . 3  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( ( A  =/=  P  /\  B  =/=  P )  /\  ( B  =/=  P  /\  C  =/=  P
) )  ->  (
( ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) )  -> 
( A  =/=  P  /\  C  =/=  P  /\  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) ) ) )
5251imp3a 422 . 2  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( ( ( A  =/=  P  /\  B  =/=  P
)  /\  ( B  =/=  P  /\  C  =/= 
P ) )  /\  ( ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )  ->  ( A  =/= 
P  /\  C  =/=  P  /\  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) ) )
53 broutsideof2 24121 . . . . 5  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  -> 
( POutsideOf <. A ,  B >.  <-> 
( A  =/=  P  /\  B  =/=  P  /\  ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) ) ) )
548, 9, 10, 11, 53syl13anc 1189 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( POutsideOf <. A ,  B >. 
<->  ( A  =/=  P  /\  B  =/=  P  /\  ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) ) ) )
55 broutsideof2 24121 . . . . 5  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) ) )  -> 
( POutsideOf <. B ,  C >.  <-> 
( B  =/=  P  /\  C  =/=  P  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) ) )
568, 9, 11, 12, 55syl13anc 1189 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( POutsideOf <. B ,  C >. 
<->  ( B  =/=  P  /\  C  =/=  P  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) ) )
5754, 56anbi12d 694 . . 3  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( POutsideOf <. A ,  B >.  /\  POutsideOf <. B ,  C >. )  <->  ( ( A  =/=  P  /\  B  =/=  P  /\  ( A 
Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) )  /\  ( B  =/=  P  /\  C  =/=  P  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) ) ) )
58 df-3an 941 . . . . 5  |-  ( ( A  =/=  P  /\  B  =/=  P  /\  ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) )  <->  ( ( A  =/=  P  /\  B  =/=  P )  /\  ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) ) )
59 df-3an 941 . . . . 5  |-  ( ( B  =/=  P  /\  C  =/=  P  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) )  <->  ( ( B  =/=  P  /\  C  =/=  P )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )
6058, 59anbi12i 681 . . . 4  |-  ( ( ( A  =/=  P  /\  B  =/=  P  /\  ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) )  /\  ( B  =/=  P  /\  C  =/=  P  /\  ( B 
Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )  <-> 
( ( ( A  =/=  P  /\  B  =/=  P )  /\  ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) )  /\  ( ( B  =/= 
P  /\  C  =/=  P )  /\  ( B 
Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) ) )
61 an4 800 . . . 4  |-  ( ( ( ( A  =/= 
P  /\  B  =/=  P )  /\  ( B  =/=  P  /\  C  =/=  P ) )  /\  ( ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )  <-> 
( ( ( A  =/=  P  /\  B  =/=  P )  /\  ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) )  /\  ( ( B  =/= 
P  /\  C  =/=  P )  /\  ( B 
Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) ) )
6260, 61bitr4i 245 . . 3  |-  ( ( ( A  =/=  P  /\  B  =/=  P  /\  ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. ) )  /\  ( B  =/=  P  /\  C  =/=  P  /\  ( B 
Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) )  <-> 
( ( ( A  =/=  P  /\  B  =/=  P )  /\  ( B  =/=  P  /\  C  =/=  P ) )  /\  ( ( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) ) )
6357, 62syl6bb 254 . 2  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( POutsideOf <. A ,  B >.  /\  POutsideOf <. B ,  C >. )  <->  ( ( ( A  =/=  P  /\  B  =/=  P )  /\  ( B  =/=  P  /\  C  =/=  P
) )  /\  (
( A  Btwn  <. P ,  B >.  \/  B  Btwn  <. P ,  A >. )  /\  ( B  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  B >. ) ) ) ) )
64 broutsideof2 24121 . . 3  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) ) )  -> 
( POutsideOf <. A ,  C >.  <-> 
( A  =/=  P  /\  C  =/=  P  /\  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) ) )
658, 9, 10, 12, 64syl13anc 1189 . 2  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( POutsideOf <. A ,  C >. 
<->  ( A  =/=  P  /\  C  =/=  P  /\  ( A  Btwn  <. P ,  C >.  \/  C  Btwn  <. P ,  A >. ) ) ) )
6652, 63, 653imtr4d 261 1  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  P  e.  ( EE `  N ) ) )  ->  ( ( POutsideOf <. A ,  B >.  /\  POutsideOf <. B ,  C >. )  ->  POutsideOf <. A ,  C >. ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    <-> wb 178    \/ wo 359    /\ wa 360    /\ w3a 939    e. wcel 1621    =/= wne 2421   <.cop 3617   class class class wbr 3997   ` cfv 4673   NNcn 9714   EEcee 23892    Btwn cbtwn 23893  OutsideOfcoutsideof 24118
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2239  ax-rep 4105  ax-sep 4115  ax-nul 4123  ax-pow 4160  ax-pr 4186  ax-un 4484  ax-inf2 7310  ax-cnex 8761  ax-resscn 8762  ax-1cn 8763  ax-icn 8764  ax-addcl 8765  ax-addrcl 8766  ax-mulcl 8767  ax-mulrcl 8768  ax-mulcom 8769  ax-addass 8770  ax-mulass 8771  ax-distr 8772  ax-i2m1 8773  ax-1ne0 8774  ax-1rid 8775  ax-rnegex 8776  ax-rrecex 8777  ax-cnre 8778  ax-pre-lttri 8779  ax-pre-lttrn 8780  ax-pre-ltadd 8781  ax-pre-mulgt0 8782  ax-pre-sup 8783
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2122  df-mo 2123  df-clab 2245  df-cleq 2251  df-clel 2254  df-nfc 2383  df-ne 2423  df-nel 2424  df-ral 2523  df-rex 2524  df-reu 2525  df-rmo 2526  df-rab 2527  df-v 2765  df-sbc 2967  df-csb 3057  df-dif 3130  df-un 3132  df-in 3134  df-ss 3141  df-pss 3143  df-nul 3431  df-if 3540  df-pw 3601  df-sn 3620  df-pr 3621  df-tp 3622  df-op 3623  df-uni 3802  df-int 3837  df-iun 3881  df-br 3998  df-opab 4052  df-mpt 4053  df-tr 4088  df-eprel 4277  df-id 4281  df-po 4286  df-so 4287  df-fr 4324  df-se 4325  df-we 4326  df-ord 4367  df-on 4368  df-lim 4369  df-suc 4370  df-om 4629  df-xp 4675  df-rel 4676  df-cnv 4677  df-co 4678  df-dm 4679  df-rn 4680  df-res 4681  df-ima 4682  df-fun 4683  df-fn 4684  df-f 4685  df-f1 4686  df-fo 4687  df-f1o 4688  df-fv 4689  df-isom 4690  df-ov 5795  df-oprab 5796  df-mpt2 5797  df-1st 6056  df-2nd 6057  df-iota 6225  df-riota 6272  df-recs 6356  df-rdg 6391  df-1o 6447  df-oadd 6451  df-er 6628  df-map 6742  df-en 6832  df-dom 6833  df-sdom 6834  df-fin 6835  df-sup 7162  df-oi 7193  df-card 7540  df-pnf 8837  df-mnf 8838  df-xr 8839  df-ltxr 8840  df-le 8841  df-sub 9007  df-neg 9008  df-div 9392  df-n 9715  df-2 9772  df-3 9773  df-n0 9934  df-z 9993  df-uz 10199  df-rp 10323  df-ico 10629  df-icc 10630  df-fz 10750  df-fzo 10838  df-seq 11014  df-exp 11072  df-hash 11305  df-cj 11550  df-re 11551  df-im 11552  df-sqr 11686  df-abs 11687  df-clim 11928  df-sum 12125  df-ee 23895  df-btwn 23896  df-cgr 23897  df-ofs 23982  df-ifs 24038  df-cgr3 24039  df-colinear 24040  df-fs 24041  df-outsideof 24119
  Copyright terms: Public domain W3C validator