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

Theorem outsidele 24162
Description: Relate OutsideOf to  Seg<_. Theorem 6.13 of [Schwabhauser] p. 45. (Contributed by Scott Fenton, 24-Oct-2013.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
outsidele  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  -> 
( POutsideOf <. A ,  B >.  ->  ( <. P ,  A >.  Seg<_  <. P ,  B >.  <-> 
A  Btwn  <. P ,  B >. ) ) )
Dummy variable  y is distinct from all other variables.

Proof of Theorem outsidele
StepHypRef Expression
1 simpl 445 . . . . . 6  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  ->  N  e.  NN )
2 simpr1 963 . . . . . 6  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  ->  P  e.  ( EE `  N ) )
3 simpr2 964 . . . . . 6  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  ->  A  e.  ( EE `  N ) )
4 simpr3 965 . . . . . 6  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  ->  B  e.  ( EE `  N ) )
5 brsegle2 24139 . . . . . 6  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N ) )  /\  ( P  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  ->  ( <. P ,  A >.  Seg<_  <. P ,  B >.  <->  E. y  e.  ( EE `  N ) ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )
61, 2, 3, 2, 4, 5syl122anc 1193 . . . . 5  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  -> 
( <. P ,  A >. 
Seg<_ 
<. P ,  B >.  <->  E. y  e.  ( EE `  N ) ( A 
Btwn  <. P ,  y
>.  /\  <. P ,  y
>.Cgr <. P ,  B >. ) ) )
76adantr 453 . . . 4  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  POutsideOf <. A ,  B >. )  ->  ( <. P ,  A >.  Seg<_  <. P ,  B >.  <->  E. y  e.  ( EE `  N ) ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )
8 simprl 734 . . . . . . . . . . 11  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  POutsideOf
<. A ,  B >. )
9 outsideofcom 24158 . . . . . . . . . . . 12  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  -> 
( POutsideOf <. A ,  B >.  <-> 
POutsideOf <. B ,  A >. ) )
109ad2antrr 708 . . . . . . . . . . 11  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  -> 
( POutsideOf <. A ,  B >.  <-> 
POutsideOf <. B ,  A >. ) )
118, 10mpbid 203 . . . . . . . . . 10  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  POutsideOf
<. B ,  A >. )
12 simpll 732 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  N  e.  NN )
13 simplr1 999 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  P  e.  ( EE `  N
) )
14 simplr3 1001 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  B  e.  ( EE `  N
) )
1512, 13, 14cgrrflxd 24018 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  <. P ,  B >.Cgr <. P ,  B >. )
1615adantr 453 . . . . . . . . . 10  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  <. P ,  B >.Cgr <. P ,  B >. )
1711, 16jca 520 . . . . . . . . 9  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  -> 
( POutsideOf <. B ,  A >.  /\  <. P ,  B >.Cgr
<. P ,  B >. ) )
18 simprrl 742 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  A  Btwn  <. P ,  y
>. )
19 simpr 449 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  y  e.  ( EE `  N
) )
20 simplr2 1000 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  A  e.  ( EE `  N
) )
21 btwncolinear1 24099 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  y  e.  ( EE `  N )  /\  A  e.  ( EE `  N
) ) )  -> 
( A  Btwn  <. P , 
y >.  ->  P  Colinear  <. y ,  A >. ) )
2212, 13, 19, 20, 21syl13anc 1186 . . . . . . . . . . . . 13  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  ( A  Btwn  <. P ,  y
>.  ->  P  Colinear  <. y ,  A >. ) )
2322adantr 453 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  -> 
( A  Btwn  <. P , 
y >.  ->  P  Colinear  <. y ,  A >. ) )
2418, 23mpd 16 . . . . . . . . . . 11  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  P  Colinear  <. y ,  A >. )
25 outsidene1 24153 . . . . . . . . . . . . . . 15  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  -> 
( POutsideOf <. A ,  B >.  ->  A  =/=  P
) )
2625ad2antrr 708 . . . . . . . . . . . . . 14  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  -> 
( POutsideOf <. A ,  B >.  ->  A  =/=  P
) )
278, 26mpd 16 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  A  =/=  P )
2827neneqd 2463 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  -.  A  =  P
)
29 df-3an 938 . . . . . . . . . . . . . 14  |-  ( ( POutsideOf <. A ,  B >.  /\  ( A  Btwn  <. P ,  y >.  /\ 
<. P ,  y >.Cgr <. P ,  B >. )  /\  P  Btwn  <. y ,  A >. )  <->  ( ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) )  /\  P  Btwn  <. y ,  A >. ) )
30 simpr2l 1016 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. )  /\  P  Btwn  <.
y ,  A >. ) )  ->  A  Btwn  <. P ,  y >. )
3112, 20, 13, 19, 30btwncomand 24045 . . . . . . . . . . . . . . 15  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. )  /\  P  Btwn  <.
y ,  A >. ) )  ->  A  Btwn  <.
y ,  P >. )
32 simpr3 965 . . . . . . . . . . . . . . 15  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. )  /\  P  Btwn  <.
y ,  A >. ) )  ->  P  Btwn  <.
y ,  A >. )
33 btwnswapid2 24048 . . . . . . . . . . . . . . . . 17  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  y  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) ) )  -> 
( ( A  Btwn  <.
y ,  P >.  /\  P  Btwn  <. y ,  A >. )  ->  A  =  P ) )
3412, 20, 19, 13, 33syl13anc 1186 . . . . . . . . . . . . . . . 16  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  (
( A  Btwn  <. y ,  P >.  /\  P  Btwn  <.
y ,  A >. )  ->  A  =  P ) )
3534adantr 453 . . . . . . . . . . . . . . 15  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. )  /\  P  Btwn  <.
y ,  A >. ) )  ->  ( ( A  Btwn  <. y ,  P >.  /\  P  Btwn  <. y ,  A >. )  ->  A  =  P ) )
3631, 32, 35mp2and 662 . . . . . . . . . . . . . 14  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. )  /\  P  Btwn  <.
y ,  A >. ) )  ->  A  =  P )
3729, 36sylan2br 464 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  (
( POutsideOf <. A ,  B >.  /\  ( A  Btwn  <. P ,  y >.  /\ 
<. P ,  y >.Cgr <. P ,  B >. ) )  /\  P  Btwn  <.
y ,  A >. ) )  ->  A  =  P )
3837expr 600 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  -> 
( P  Btwn  <. y ,  A >.  ->  A  =  P ) )
3928, 38mtod 170 . . . . . . . . . . 11  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  -.  P  Btwn  <. y ,  A >. )
40 broutsideof 24151 . . . . . . . . . . 11  |-  ( POutsideOf <. y ,  A >.  <->  ( P  Colinear  <. y ,  A >.  /\  -.  P  Btwn  <.
y ,  A >. ) )
4124, 39, 40sylanbrc 647 . . . . . . . . . 10  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  POutsideOf
<. y ,  A >. )
42 simprrr 743 . . . . . . . . . 10  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  <. P ,  y >.Cgr <. P ,  B >. )
4341, 42jca 520 . . . . . . . . 9  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  -> 
( POutsideOf <. y ,  A >.  /\  <. P ,  y
>.Cgr <. P ,  B >. ) )
44 outsideofeq 24160 . . . . . . . . . . 11  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  P  e.  ( EE `  N
) )  /\  ( B  e.  ( EE `  N )  /\  B  e.  ( EE `  N
)  /\  y  e.  ( EE `  N ) ) )  ->  (
( ( POutsideOf <. B ,  A >.  /\  <. P ,  B >.Cgr <. P ,  B >. )  /\  ( POutsideOf <. y ,  A >.  /\ 
<. P ,  y >.Cgr <. P ,  B >. ) )  ->  B  =  y ) )
4512, 13, 20, 13, 14, 14, 19, 44syl133anc 1207 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  ->  (
( ( POutsideOf <. B ,  A >.  /\  <. P ,  B >.Cgr <. P ,  B >. )  /\  ( POutsideOf <. y ,  A >.  /\ 
<. P ,  y >.Cgr <. P ,  B >. ) )  ->  B  =  y ) )
4645adantr 453 . . . . . . . . 9  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  -> 
( ( ( POutsideOf <. B ,  A >.  /\ 
<. P ,  B >.Cgr <. P ,  B >. )  /\  ( POutsideOf <. y ,  A >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) )  ->  B  =  y ) )
4717, 43, 46mp2and 662 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  B  =  y )
48 opeq2 3798 . . . . . . . . . 10  |-  ( B  =  y  ->  <. P ,  B >.  =  <. P , 
y >. )
4948breq2d 4036 . . . . . . . . 9  |-  ( B  =  y  ->  ( A  Btwn  <. P ,  B >.  <-> 
A  Btwn  <. P , 
y >. ) )
5018, 49syl5ibrcom 215 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  -> 
( B  =  y  ->  A  Btwn  <. P ,  B >. ) )
5147, 50mpd 16 . . . . . . 7  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  y  e.  ( EE `  N
) )  /\  ( POutsideOf
<. A ,  B >.  /\  ( A  Btwn  <. P , 
y >.  /\  <. P , 
y >.Cgr <. P ,  B >. ) ) )  ->  A  Btwn  <. P ,  B >. )
5251an4s 801 . . . . . 6  |-  ( ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )  /\  POutsideOf <. A ,  B >. )  /\  ( y  e.  ( EE `  N
)  /\  ( A  Btwn  <. P ,  y
>.  /\  <. P ,  y
>.Cgr <. P ,  B >. ) ) )  ->  A  Btwn  <. P ,  B >. )
5352exp32 590 . . . . 5  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  POutsideOf <. A ,  B >. )  ->  ( y  e.  ( EE `  N
)  ->  ( ( A  Btwn  <. P ,  y
>.  /\  <. P ,  y
>.Cgr <. P ,  B >. )  ->  A  Btwn  <. P ,  B >. ) ) )
5453rexlimdv 2667 . . . 4  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  POutsideOf <. A ,  B >. )  ->  ( E. y  e.  ( EE `  N
) ( A  Btwn  <. P ,  y >.  /\ 
<. P ,  y >.Cgr <. P ,  B >. )  ->  A  Btwn  <. P ,  B >. ) )
557, 54sylbid 208 . . 3  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  POutsideOf <. A ,  B >. )  ->  ( <. P ,  A >.  Seg<_  <. P ,  B >.  ->  A  Btwn  <. P ,  B >. ) )
56 btwnsegle 24147 . . . 4  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  -> 
( A  Btwn  <. P ,  B >.  ->  <. P ,  A >.  Seg<_  <. P ,  B >. ) )
5756adantr 453 . . 3  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  POutsideOf <. A ,  B >. )  ->  ( A  Btwn  <. P ,  B >.  ->  <. P ,  A >.  Seg<_  <. P ,  B >. ) )
5855, 57impbid 185 . 2  |-  ( ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  /\  POutsideOf <. A ,  B >. )  ->  ( <. P ,  A >.  Seg<_  <. P ,  B >.  <-> 
A  Btwn  <. P ,  B >. ) )
5958ex 425 1  |-  ( ( N  e.  NN  /\  ( P  e.  ( EE `  N )  /\  A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) ) )  -> 
( POutsideOf <. A ,  B >.  ->  ( <. P ,  A >.  Seg<_  <. P ,  B >.  <-> 
A  Btwn  <. P ,  B >. ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 5    -> wi 6    <-> wb 178    /\ wa 360    /\ w3a 936    = wceq 1624    e. wcel 1685    =/= wne 2447   E.wrex 2545   <.cop 3644   class class class wbr 4024   ` cfv 5221   NNcn 9741   EEcee 23923    Btwn cbtwn 23924  Cgrccgr 23925    Colinear ccolin 24067    Seg<_ csegle 24136  OutsideOfcoutsideof 24149
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1534  ax-5 1545  ax-17 1604  ax-9 1637  ax-8 1645  ax-13 1687  ax-14 1689  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1867  ax-ext 2265  ax-rep 4132  ax-sep 4142  ax-nul 4150  ax-pow 4187  ax-pr 4213  ax-un 4511  ax-inf2 7337  ax-cnex 8788  ax-resscn 8789  ax-1cn 8790  ax-icn 8791  ax-addcl 8792  ax-addrcl 8793  ax-mulcl 8794  ax-mulrcl 8795  ax-mulcom 8796  ax-addass 8797  ax-mulass 8798  ax-distr 8799  ax-i2m1 8800  ax-1ne0 8801  ax-1rid 8802  ax-rnegex 8803  ax-rrecex 8804  ax-cnre 8805  ax-pre-lttri 8806  ax-pre-lttrn 8807  ax-pre-ltadd 8808  ax-pre-mulgt0 8809  ax-pre-sup 8810
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 937  df-3an 938  df-tru 1312  df-ex 1530  df-nf 1533  df-sb 1632  df-eu 2148  df-mo 2149  df-clab 2271  df-cleq 2277  df-clel 2280  df-nfc 2409  df-ne 2449  df-nel 2450  df-ral 2549  df-rex 2550  df-reu 2551  df-rmo 2552  df-rab 2553  df-v 2791  df-sbc 2993  df-csb 3083  df-dif 3156  df-un 3158  df-in 3160  df-ss 3167  df-pss 3169  df-nul 3457  df-if 3567  df-pw 3628  df-sn 3647  df-pr 3648  df-tp 3649  df-op 3650  df-uni 3829  df-int 3864  df-iun 3908  df-br 4025  df-opab 4079  df-mpt 4080  df-tr 4115  df-eprel 4304  df-id 4308  df-po 4313  df-so 4314  df-fr 4351  df-se 4352  df-we 4353  df-ord 4394  df-on 4395  df-lim 4396  df-suc 4397  df-om 4656  df-xp 4694  df-rel 4695  df-cnv 4696  df-co 4697  df-dm 4698  df-rn 4699  df-res 4700  df-ima 4701  df-fun 5223  df-fn 5224  df-f 5225  df-f1 5226  df-fo 5227  df-f1o 5228  df-fv 5229  df-isom 5230  df-ov 5822  df-oprab 5823  df-mpt2 5824  df-1st 6083  df-2nd 6084  df-iota 6252  df-riota 6299  df-recs 6383  df-rdg 6418  df-1o 6474  df-oadd 6478  df-er 6655  df-map 6769  df-en 6859  df-dom 6860  df-sdom 6861  df-fin 6862  df-sup 7189  df-oi 7220  df-card 7567  df-pnf 8864  df-mnf 8865  df-xr 8866  df-ltxr 8867  df-le 8868  df-sub 9034  df-neg 9035  df-div 9419  df-nn 9742  df-2 9799  df-3 9800  df-n0 9961  df-z 10020  df-uz 10226  df-rp 10350  df-ico 10656  df-icc 10657  df-fz 10777  df-fzo 10865  df-seq 11041  df-exp 11099  df-hash 11332  df-cj 11578  df-re 11579  df-im 11580  df-sqr 11714  df-abs 11715  df-clim 11956  df-sum 12153  df-ee 23926  df-btwn 23927  df-cgr 23928  df-ofs 24013  df-ifs 24069  df-cgr3 24070  df-colinear 24071  df-fs 24072  df-segle 24137  df-outsideof 24150
  Copyright terms: Public domain W3C validator