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

Theorem sgplpte22 26138
Description: The predicate "is a degenerated segment". (For my private use only. Don't use.) (Contributed by FL, 20-May-2016.)
Hypotheses
Ref Expression
sgplpte.1  |-  P  =  (PPoints `  G )
sgplpte.3  |-  S  =  ( seg `  G
)
sgplpte.4  |-  ( ph  ->  G  e. Ibg )
sgplpte.5  |-  ( ph  ->  X  e.  P )
Assertion
Ref Expression
sgplpte22  |-  ( ph  ->  ( X S X )  =  { X } )

Proof of Theorem sgplpte22
Dummy variables  x  f  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sgplpte.3 . . . 4  |-  S  =  ( seg `  G
)
2 df-seg2 26131 . . . . . 6  |-  seg  =  ( f  e. Ibg  |->  ( x  e.  (PPoints `  f
) ,  y  e.  (PPoints `  f )  |->  if ( x  =/=  y ,  { z  e.  (PPoints `  f
)  |  ( z  e.  ( x (btw
`  f ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) ) )
32a1i 10 . . . . 5  |-  ( ph  ->  seg  =  ( f  e. Ibg  |->  ( x  e.  (PPoints `  f ) ,  y  e.  (PPoints `  f )  |->  if ( x  =/=  y ,  { z  e.  (PPoints `  f )  |  ( z  e.  ( x (btw `  f )
y )  \/  z  =  x  \/  z  =  y ) } ,  { x }
) ) ) )
4 fveq2 5525 . . . . . . 7  |-  ( f  =  G  ->  (PPoints `  f )  =  (PPoints `  G ) )
54adantl 452 . . . . . 6  |-  ( (
ph  /\  f  =  G )  ->  (PPoints `  f )  =  (PPoints `  G ) )
6 fveq2 5525 . . . . . . . . . . . 12  |-  ( f  =  G  ->  (btw `  f )  =  (btw
`  G ) )
76adantl 452 . . . . . . . . . . 11  |-  ( (
ph  /\  f  =  G )  ->  (btw `  f )  =  (btw
`  G ) )
87oveqd 5875 . . . . . . . . . 10  |-  ( (
ph  /\  f  =  G )  ->  (
x (btw `  f
) y )  =  ( x (btw `  G ) y ) )
98eleq2d 2350 . . . . . . . . 9  |-  ( (
ph  /\  f  =  G )  ->  (
z  e.  ( x (btw `  f )
y )  <->  z  e.  ( x (btw `  G ) y ) ) )
10 biidd 228 . . . . . . . . 9  |-  ( (
ph  /\  f  =  G )  ->  (
z  =  x  <->  z  =  x ) )
11 biidd 228 . . . . . . . . 9  |-  ( (
ph  /\  f  =  G )  ->  (
z  =  y  <->  z  =  y ) )
129, 10, 113orbi123d 1251 . . . . . . . 8  |-  ( (
ph  /\  f  =  G )  ->  (
( z  e.  ( x (btw `  f
) y )  \/  z  =  x  \/  z  =  y )  <-> 
( z  e.  ( x (btw `  G
) y )  \/  z  =  x  \/  z  =  y ) ) )
135, 12rabeqbidv 2783 . . . . . . 7  |-  ( (
ph  /\  f  =  G )  ->  { z  e.  (PPoints `  f
)  |  ( z  e.  ( x (btw
`  f ) y )  \/  z  =  x  \/  z  =  y ) }  =  { z  e.  (PPoints `  G )  |  ( z  e.  ( x (btw `  G )
y )  \/  z  =  x  \/  z  =  y ) } )
1413ifeq1d 3579 . . . . . 6  |-  ( (
ph  /\  f  =  G )  ->  if ( x  =/=  y ,  { z  e.  (PPoints `  f )  |  ( z  e.  ( x (btw `  f )
y )  \/  z  =  x  \/  z  =  y ) } ,  { x }
)  =  if ( x  =/=  y ,  { z  e.  (PPoints `  G )  |  ( z  e.  ( x (btw `  G )
y )  \/  z  =  x  \/  z  =  y ) } ,  { x }
) )
155, 5, 14mpt2eq123dv 5910 . . . . 5  |-  ( (
ph  /\  f  =  G )  ->  (
x  e.  (PPoints `  f
) ,  y  e.  (PPoints `  f )  |->  if ( x  =/=  y ,  { z  e.  (PPoints `  f
)  |  ( z  e.  ( x (btw
`  f ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) )  =  ( x  e.  (PPoints `  G
) ,  y  e.  (PPoints `  G )  |->  if ( x  =/=  y ,  { z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) ) )
16 sgplpte.4 . . . . 5  |-  ( ph  ->  G  e. Ibg )
17 fvex 5539 . . . . . . 7  |-  (PPoints `  G
)  e.  _V
1817, 17mpt2ex 6198 . . . . . 6  |-  ( x  e.  (PPoints `  G
) ,  y  e.  (PPoints `  G )  |->  if ( x  =/=  y ,  { z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) )  e.  _V
1918a1i 10 . . . . 5  |-  ( ph  ->  ( x  e.  (PPoints `  G ) ,  y  e.  (PPoints `  G
)  |->  if ( x  =/=  y ,  {
z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) )  e.  _V )
203, 15, 16, 19fvmptd 5606 . . . 4  |-  ( ph  ->  ( seg `  G
)  =  ( x  e.  (PPoints `  G
) ,  y  e.  (PPoints `  G )  |->  if ( x  =/=  y ,  { z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) ) )
211, 20syl5eq 2327 . . 3  |-  ( ph  ->  S  =  ( x  e.  (PPoints `  G
) ,  y  e.  (PPoints `  G )  |->  if ( x  =/=  y ,  { z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) ) )
2221oveqd 5875 . 2  |-  ( ph  ->  ( X S X )  =  ( X ( x  e.  (PPoints `  G ) ,  y  e.  (PPoints `  G
)  |->  if ( x  =/=  y ,  {
z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) ) X ) )
23 sgplpte.1 . . . . . 6  |-  P  =  (PPoints `  G )
2423eqcomi 2287 . . . . 5  |-  (PPoints `  G
)  =  P
2524a1i 10 . . . 4  |-  ( ph  ->  (PPoints `  G )  =  P )
26 biidd 228 . . . . . 6  |-  ( ph  ->  ( ( z  e.  ( x (btw `  G ) y )  \/  z  =  x  \/  z  =  y )  <->  ( z  e.  ( x (btw `  G ) y )  \/  z  =  x  \/  z  =  y ) ) )
2725, 26rabeqbidv 2783 . . . . 5  |-  ( ph  ->  { z  e.  (PPoints `  G )  |  ( z  e.  ( x (btw `  G )
y )  \/  z  =  x  \/  z  =  y ) }  =  { z  e.  P  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } )
2827ifeq1d 3579 . . . 4  |-  ( ph  ->  if ( x  =/=  y ,  { z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } )  =  if ( x  =/=  y ,  {
z  e.  P  | 
( z  e.  ( x (btw `  G
) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) )
2925, 25, 28mpt2eq123dv 5910 . . 3  |-  ( ph  ->  ( x  e.  (PPoints `  G ) ,  y  e.  (PPoints `  G
)  |->  if ( x  =/=  y ,  {
z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) )  =  ( x  e.  P ,  y  e.  P  |->  if ( x  =/=  y ,  { z  e.  P  |  ( z  e.  ( x (btw `  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  {
x } ) ) )
30 simpl 443 . . . . . 6  |-  ( ( x  =  X  /\  y  =  X )  ->  x  =  X )
31 simpr 447 . . . . . 6  |-  ( ( x  =  X  /\  y  =  X )  ->  y  =  X )
3230, 31neeq12d 2461 . . . . 5  |-  ( ( x  =  X  /\  y  =  X )  ->  ( x  =/=  y  <->  X  =/=  X ) )
3332adantl 452 . . . 4  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  -> 
( x  =/=  y  <->  X  =/=  X ) )
34 oveq12 5867 . . . . . . . 8  |-  ( ( x  =  X  /\  y  =  X )  ->  ( x (btw `  G ) y )  =  ( X (btw
`  G ) X ) )
3534eleq2d 2350 . . . . . . 7  |-  ( ( x  =  X  /\  y  =  X )  ->  ( z  e.  ( x (btw `  G
) y )  <->  z  e.  ( X (btw `  G
) X ) ) )
3635adantl 452 . . . . . 6  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  -> 
( z  e.  ( x (btw `  G
) y )  <->  z  e.  ( X (btw `  G
) X ) ) )
37 eqeq2 2292 . . . . . . 7  |-  ( x  =  X  ->  (
z  =  x  <->  z  =  X ) )
3837ad2antrl 708 . . . . . 6  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  -> 
( z  =  x  <-> 
z  =  X ) )
39 eqeq2 2292 . . . . . . . 8  |-  ( y  =  X  ->  (
z  =  y  <->  z  =  X ) )
4039adantl 452 . . . . . . 7  |-  ( ( x  =  X  /\  y  =  X )  ->  ( z  =  y  <-> 
z  =  X ) )
4140adantl 452 . . . . . 6  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  -> 
( z  =  y  <-> 
z  =  X ) )
4236, 38, 413orbi123d 1251 . . . . 5  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  -> 
( ( z  e.  ( x (btw `  G ) y )  \/  z  =  x  \/  z  =  y )  <->  ( z  e.  ( X (btw `  G ) X )  \/  z  =  X  \/  z  =  X ) ) )
4342rabbidv 2780 . . . 4  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  ->  { z  e.  P  |  ( z  e.  ( x (btw `  G ) y )  \/  z  =  x  \/  z  =  y ) }  =  {
z  e.  P  | 
( z  e.  ( X (btw `  G
) X )  \/  z  =  X  \/  z  =  X ) } )
44 sneq 3651 . . . . 5  |-  ( x  =  X  ->  { x }  =  { X } )
4544ad2antrl 708 . . . 4  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  ->  { x }  =  { X } )
4633, 43, 45ifbieq12d 3587 . . 3  |-  ( (
ph  /\  ( x  =  X  /\  y  =  X ) )  ->  if ( x  =/=  y ,  { z  e.  P  |  ( z  e.  ( x (btw `  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  {
x } )  =  if ( X  =/= 
X ,  { z  e.  P  |  ( z  e.  ( X (btw `  G ) X )  \/  z  =  X  \/  z  =  X ) } ,  { X } ) )
47 sgplpte.5 . . 3  |-  ( ph  ->  X  e.  P )
4823, 17eqeltri 2353 . . . . . 6  |-  P  e. 
_V
4948rabex 4165 . . . . 5  |-  { z  e.  P  |  ( z  e.  ( X (btw `  G ) X )  \/  z  =  X  \/  z  =  X ) }  e.  _V
50 snex 4216 . . . . 5  |-  { X }  e.  _V
5149, 50ifex 3623 . . . 4  |-  if ( X  =/=  X ,  { z  e.  P  |  ( z  e.  ( X (btw `  G ) X )  \/  z  =  X  \/  z  =  X ) } ,  { X } )  e.  _V
5251a1i 10 . . 3  |-  ( ph  ->  if ( X  =/= 
X ,  { z  e.  P  |  ( z  e.  ( X (btw `  G ) X )  \/  z  =  X  \/  z  =  X ) } ,  { X } )  e. 
_V )
5329, 46, 47, 47, 52ovmpt2d 5975 . 2  |-  ( ph  ->  ( X ( x  e.  (PPoints `  G
) ,  y  e.  (PPoints `  G )  |->  if ( x  =/=  y ,  { z  e.  (PPoints `  G
)  |  ( z  e.  ( x (btw
`  G ) y )  \/  z  =  x  \/  z  =  y ) } ,  { x } ) ) X )  =  if ( X  =/= 
X ,  { z  e.  P  |  ( z  e.  ( X (btw `  G ) X )  \/  z  =  X  \/  z  =  X ) } ,  { X } ) )
54 neirr 2451 . . 3  |-  -.  X  =/=  X
55 iffalse 3572 . . 3  |-  ( -.  X  =/=  X  ->  if ( X  =/=  X ,  { z  e.  P  |  ( z  e.  ( X (btw `  G ) X )  \/  z  =  X  \/  z  =  X ) } ,  { X } )  =  { X } )
5654, 55mp1i 11 . 2  |-  ( ph  ->  if ( X  =/= 
X ,  { z  e.  P  |  ( z  e.  ( X (btw `  G ) X )  \/  z  =  X  \/  z  =  X ) } ,  { X } )  =  { X } )
5722, 53, 563eqtrd 2319 1  |-  ( ph  ->  ( X S X )  =  { X } )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    /\ wa 358    \/ w3o 933    = wceq 1623    e. wcel 1684    =/= wne 2446   {crab 2547   _Vcvv 2788   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
This theorem is referenced by:  sgplpte21d1  26139  segline  26141  bsstrs  26146  nbssntrs  26147  segray  26155  bosser  26167  pdiveql  26168
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-3or 935  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-seg2 26131
  Copyright terms: Public domain W3C validator