Users' Mathboxes Mathbox for Frédéric Liné < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  isray2 Unicode version

Theorem isray2 26153
Description: A degenerated ray. (For my private use only. Don't use.) (Contributed by FL, 13-Apr-2016.)
Hypotheses
Ref Expression
isray2.1  |-  P  =  (PPoints `  G )
isray2.3  |-  R  =  (ray `  G )
isray2.5  |-  ( ph  ->  G  e. Ibg )
isray2.6  |-  ( ph  ->  X  e.  P )
Assertion
Ref Expression
isray2  |-  ( ph  ->  ( X R X )  =  { X } )

Proof of Theorem isray2
Dummy variables  x  f  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isray2.3 . . . 4  |-  R  =  (ray `  G )
2 df-ray2 26152 . . . . . 6  |- ray  =  ( f  e. Ibg  |->  ( x  e.  (PPoints `  f
) ,  y  e.  (PPoints `  f )  |->  if ( x  =/=  y ,  ( ( x ( seg `  f
) y )  u. 
{ z  e.  (PPoints `  f )  |  y  e.  ( x (btw
`  f ) z ) } ) ,  { x } ) ) )
32a1i 10 . . . . 5  |-  ( ph  -> ray  =  ( f  e. Ibg  |->  ( x  e.  (PPoints `  f ) ,  y  e.  (PPoints `  f
)  |->  if ( x  =/=  y ,  ( ( x ( seg `  f ) y )  u.  { z  e.  (PPoints `  f )  |  y  e.  (
x (btw `  f
) z ) } ) ,  { x } ) ) ) )
4 fveq2 5525 . . . . . . . 8  |-  ( f  =  G  ->  (PPoints `  f )  =  (PPoints `  G ) )
5 isray2.1 . . . . . . . 8  |-  P  =  (PPoints `  G )
64, 5syl6eqr 2333 . . . . . . 7  |-  ( f  =  G  ->  (PPoints `  f )  =  P )
76adantl 452 . . . . . 6  |-  ( (
ph  /\  f  =  G )  ->  (PPoints `  f )  =  P )
8 fveq2 5525 . . . . . . . . . 10  |-  ( f  =  G  ->  ( seg `  f )  =  ( seg `  G
) )
98oveqd 5875 . . . . . . . . 9  |-  ( f  =  G  ->  (
x ( seg `  f
) y )  =  ( x ( seg `  G ) y ) )
10 fveq2 5525 . . . . . . . . . . . 12  |-  ( f  =  G  ->  (btw `  f )  =  (btw
`  G ) )
1110oveqd 5875 . . . . . . . . . . 11  |-  ( f  =  G  ->  (
x (btw `  f
) z )  =  ( x (btw `  G ) z ) )
1211eleq2d 2350 . . . . . . . . . 10  |-  ( f  =  G  ->  (
y  e.  ( x (btw `  f )
z )  <->  y  e.  ( x (btw `  G ) z ) ) )
134, 12rabeqbidv 2783 . . . . . . . . 9  |-  ( f  =  G  ->  { z  e.  (PPoints `  f
)  |  y  e.  ( x (btw `  f ) z ) }  =  { z  e.  (PPoints `  G
)  |  y  e.  ( x (btw `  G ) z ) } )
149, 13uneq12d 3330 . . . . . . . 8  |-  ( f  =  G  ->  (
( x ( seg `  f ) y )  u.  { z  e.  (PPoints `  f )  |  y  e.  (
x (btw `  f
) z ) } )  =  ( ( x ( seg `  G
) y )  u. 
{ z  e.  (PPoints `  G )  |  y  e.  ( x (btw
`  G ) z ) } ) )
1514ifeq1d 3579 . . . . . . 7  |-  ( f  =  G  ->  if ( x  =/=  y ,  ( ( x ( seg `  f
) y )  u. 
{ z  e.  (PPoints `  f )  |  y  e.  ( x (btw
`  f ) z ) } ) ,  { x } )  =  if ( x  =/=  y ,  ( ( x ( seg `  G ) y )  u.  { z  e.  (PPoints `  G )  |  y  e.  (
x (btw `  G
) z ) } ) ,  { x } ) )
1615adantl 452 . . . . . 6  |-  ( (
ph  /\  f  =  G )  ->  if ( x  =/=  y ,  ( ( x ( seg `  f
) y )  u. 
{ z  e.  (PPoints `  f )  |  y  e.  ( x (btw
`  f ) z ) } ) ,  { x } )  =  if ( x  =/=  y ,  ( ( x ( seg `  G ) y )  u.  { z  e.  (PPoints `  G )  |  y  e.  (
x (btw `  G
) z ) } ) ,  { x } ) )
177, 7, 16mpt2eq123dv 5910 . . . . 5  |-  ( (
ph  /\  f  =  G )  ->  (
x  e.  (PPoints `  f
) ,  y  e.  (PPoints `  f )  |->  if ( x  =/=  y ,  ( ( x ( seg `  f
) y )  u. 
{ z  e.  (PPoints `  f )  |  y  e.  ( x (btw
`  f ) z ) } ) ,  { x } ) )  =  ( x  e.  P ,  y  e.  P  |->  if ( x  =/=  y ,  ( ( x ( seg `  G ) y )  u.  {
z  e.  (PPoints `  G
)  |  y  e.  ( x (btw `  G ) z ) } ) ,  {
x } ) ) )
18 isray2.5 . . . . 5  |-  ( ph  ->  G  e. Ibg )
19 fvex 5539 . . . . . . . 8  |-  (PPoints `  G
)  e.  _V
205, 19eqeltri 2353 . . . . . . 7  |-  P  e. 
_V
2120, 20mpt2ex 6198 . . . . . 6  |-  ( x  e.  P ,  y  e.  P  |->  if ( x  =/=  y ,  ( ( x ( seg `  G ) y )  u.  {
z  e.  (PPoints `  G
)  |  y  e.  ( x (btw `  G ) z ) } ) ,  {
x } ) )  e.  _V
2221a1i 10 . . . . 5  |-  ( ph  ->  ( x  e.  P ,  y  e.  P  |->  if ( x  =/=  y ,  ( ( x ( seg `  G
) y )  u. 
{ z  e.  (PPoints `  G )  |  y  e.  ( x (btw
`  G ) z ) } ) ,  { x } ) )  e.  _V )
233, 17, 18, 22fvmptd 5606 . . . 4  |-  ( ph  ->  (ray `  G )  =  ( x  e.  P ,  y  e.  P  |->  if ( x  =/=  y ,  ( ( x ( seg `  G ) y )  u.  { z  e.  (PPoints `  G )  |  y  e.  (
x (btw `  G
) z ) } ) ,  { x } ) ) )
241, 23syl5eq 2327 . . 3  |-  ( ph  ->  R  =  ( x  e.  P ,  y  e.  P  |->  if ( x  =/=  y ,  ( ( x ( seg `  G ) y )  u.  {
z  e.  (PPoints `  G
)  |  y  e.  ( x (btw `  G ) z ) } ) ,  {
x } ) ) )
25 simpl 443 . . . . . 6  |-  ( ( x  =  X  /\  y  =  X )  ->  x  =  X )
26 simpr 447 . . . . . 6  |-  ( ( x  =  X  /\  y  =  X )  ->  y  =  X )
2725, 26neeq12d 2461 . . . . 5  |-  ( ( x  =  X  /\  y  =  X )  ->  ( x  =/=  y  <->  X  =/=  X ) )
28 oveq12 5867 . . . . . 6  |-  ( ( x  =  X  /\  y  =  X )  ->  ( x ( seg `  G ) y )  =  ( X ( seg `  G ) X ) )
29 oveq1 5865 . . . . . . . . 9  |-  ( x  =  X  ->  (
x (btw `  G
) z )  =  ( X (btw `  G ) z ) )
3029adantr 451 . . . . . . . 8  |-  ( ( x  =  X  /\  y  =  X )  ->  ( x (btw `  G ) z )  =  ( X (btw
`  G ) z ) )
3126, 30eleq12d 2351 . . . . . . 7  |-  ( ( x  =  X  /\  y  =  X )  ->  ( y  e.  ( x (btw `  G
) z )  <->  X  e.  ( X (btw `  G
) z ) ) )
3231rabbidv 2780 . . . . . 6  |-  ( ( x  =  X  /\  y  =  X )  ->  { z  e.  (PPoints `  G )  |  y  e.  ( x (btw
`  G ) z ) }  =  {
z  e.  (PPoints `  G
)  |  X  e.  ( X (btw `  G ) z ) } )
3328, 32uneq12d 3330 . . . . 5  |-  ( ( x  =  X  /\  y  =  X )  ->  ( ( x ( seg `  G ) y )  u.  {
z  e.  (PPoints `  G
)  |  y  e.  ( x (btw `  G ) z ) } )  =  ( ( X ( seg `  G ) X )  u.  { z  e.  (PPoints `  G )  |  X  e.  ( X (btw `  G )
z ) } ) )
34 sneq 3651 . . . . . 6  |-  ( x  =  X  ->  { x }  =  { X } )
3534adantr 451 . . . . 5  |-  ( ( x  =  X  /\  y  =  X )  ->  { x }  =  { X } )
3627, 33, 35ifbieq12d 3587 . . . 4  |-  ( ( x  =  X  /\  y  =  X )  ->  if ( x  =/=  y ,  ( ( x ( seg `  G
) y )  u. 
{ z  e.  (PPoints `  G )  |  y  e.  ( x (btw
`  G ) z ) } ) ,  { x } )  =  if ( X  =/=  X ,  ( ( X ( seg `  G ) X )  u.  { z  e.  (PPoints `  G )  |  X  e.  ( X (btw `  G )
z ) } ) ,  { X }
) )
3736adantl 452 . . 3  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  ->  if ( x  =/=  y ,  ( ( x ( seg `  G
) y )  u. 
{ z  e.  (PPoints `  G )  |  y  e.  ( x (btw
`  G ) z ) } ) ,  { x } )  =  if ( X  =/=  X ,  ( ( X ( seg `  G ) X )  u.  { z  e.  (PPoints `  G )  |  X  e.  ( X (btw `  G )
z ) } ) ,  { X }
) )
38 isray2.6 . . 3  |-  ( ph  ->  X  e.  P )
39 ovex 5883 . . . . . 6  |-  ( X ( seg `  G
) X )  e. 
_V
4019rabex 4165 . . . . . 6  |-  { z  e.  (PPoints `  G
)  |  X  e.  ( X (btw `  G ) z ) }  e.  _V
4139, 40unex 4518 . . . . 5  |-  ( ( X ( seg `  G
) X )  u. 
{ z  e.  (PPoints `  G )  |  X  e.  ( X (btw `  G ) z ) } )  e.  _V
42 snex 4216 . . . . 5  |-  { X }  e.  _V
4341, 42ifex 3623 . . . 4  |-  if ( X  =/=  X , 
( ( X ( seg `  G ) X )  u.  {
z  e.  (PPoints `  G
)  |  X  e.  ( X (btw `  G ) z ) } ) ,  { X } )  e.  _V
4443a1i 10 . . 3  |-  ( ph  ->  if ( X  =/= 
X ,  ( ( X ( seg `  G
) X )  u. 
{ z  e.  (PPoints `  G )  |  X  e.  ( X (btw `  G ) z ) } ) ,  { X } )  e.  _V )
4524, 37, 38, 38, 44ovmpt2d 5975 . 2  |-  ( ph  ->  ( X R X )  =  if ( X  =/=  X , 
( ( X ( seg `  G ) X )  u.  {
z  e.  (PPoints `  G
)  |  X  e.  ( X (btw `  G ) z ) } ) ,  { X } ) )
46 neirr 2451 . . 3  |-  -.  X  =/=  X
47 iffalse 3572 . . 3  |-  ( -.  X  =/=  X  ->  if ( X  =/=  X ,  ( ( X ( seg `  G
) X )  u. 
{ z  e.  (PPoints `  G )  |  X  e.  ( X (btw `  G ) z ) } ) ,  { X } )  =  { X } )
4846, 47mp1i 11 . 2  |-  ( ph  ->  if ( X  =/= 
X ,  ( ( X ( seg `  G
) X )  u. 
{ z  e.  (PPoints `  G )  |  X  e.  ( X (btw `  G ) z ) } ) ,  { X } )  =  { X } )
4945, 48eqtrd 2315 1  |-  ( ph  ->  ( X R X )  =  { X } )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 358    = wceq 1623    e. wcel 1684    =/= wne 2446   {crab 2547   _Vcvv 2788    u. cun 3150   ifcif 3565   {csn 3640    e. cmpt 4077   ` cfv 5255  (class class class)co 5858    e. cmpt2 5860  PPointscpoints 26056  btwcbtw 26106  Ibgcibg 26107   segcseg 26130  raycray2 26151
This theorem is referenced by:  segray  26155  rayline  26156
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-ray2 26152
  Copyright terms: Public domain W3C validator