Users' Mathboxes Mathbox for Jeff Hankins < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  elicc3 Structured version   Unicode version

Theorem elicc3 28535
Description: An equivalent membership condition for closed intervals. (Contributed by Jeff Hankins, 14-Jul-2009.)
Assertion
Ref Expression
elicc3  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  ( C  e.  ( A [,] B )  <->  ( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) ) ) )

Proof of Theorem elicc3
StepHypRef Expression
1 elicc1 11363 . 2  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  ( C  e.  ( A [,] B )  <->  ( C  e.  RR*  /\  A  <_  C  /\  C  <_  B
) ) )
2 simp1 988 . . . . 5  |-  ( ( C  e.  RR*  /\  A  <_  C  /\  C  <_  B )  ->  C  e.  RR* )
32a1i 11 . . . 4  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  C  /\  C  <_  B )  ->  C  e.  RR* ) )
4 xrletr 11151 . . . . . . 7  |-  ( ( A  e.  RR*  /\  C  e.  RR*  /\  B  e. 
RR* )  ->  (
( A  <_  C  /\  C  <_  B )  ->  A  <_  B
) )
54exp5o 1206 . . . . . 6  |-  ( A  e.  RR*  ->  ( C  e.  RR*  ->  ( B  e.  RR*  ->  ( A  <_  C  ->  ( C  <_  B  ->  A  <_  B ) ) ) ) )
65com23 78 . . . . 5  |-  ( A  e.  RR*  ->  ( B  e.  RR*  ->  ( C  e.  RR*  ->  ( A  <_  C  ->  ( C  <_  B  ->  A  <_  B ) ) ) ) )
76imp5q 28530 . . . 4  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  C  /\  C  <_  B )  ->  A  <_  B ) )
8 df-ne 2622 . . . . . . . . . 10  |-  ( C  =/=  A  <->  -.  C  =  A )
9 xrleltne 11141 . . . . . . . . . . 11  |-  ( ( A  e.  RR*  /\  C  e.  RR*  /\  A  <_  C )  ->  ( A  <  C  <->  C  =/=  A ) )
109biimprd 223 . . . . . . . . . 10  |-  ( ( A  e.  RR*  /\  C  e.  RR*  /\  A  <_  C )  ->  ( C  =/=  A  ->  A  <  C ) )
118, 10syl5bir 218 . . . . . . . . 9  |-  ( ( A  e.  RR*  /\  C  e.  RR*  /\  A  <_  C )  ->  ( -.  C  =  A  ->  A  <  C ) )
12113adant3r3 1198 . . . . . . . 8  |-  ( ( A  e.  RR*  /\  ( C  e.  RR*  /\  A  <_  C  /\  C  <_  B ) )  -> 
( -.  C  =  A  ->  A  <  C ) )
1312adantlr 714 . . . . . . 7  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  ( C  e.  RR*  /\  A  <_  C  /\  C  <_  B ) )  ->  ( -.  C  =  A  ->  A  < 
C ) )
14 eqcom 2445 . . . . . . . . . . . . . 14  |-  ( C  =  B  <->  B  =  C )
1514necon3bbii 2632 . . . . . . . . . . . . 13  |-  ( -.  C  =  B  <->  B  =/=  C )
16 xrleltne 11141 . . . . . . . . . . . . . 14  |-  ( ( C  e.  RR*  /\  B  e.  RR*  /\  C  <_  B )  ->  ( C  <  B  <->  B  =/=  C ) )
1716biimprd 223 . . . . . . . . . . . . 13  |-  ( ( C  e.  RR*  /\  B  e.  RR*  /\  C  <_  B )  ->  ( B  =/=  C  ->  C  <  B ) )
1815, 17syl5bi 217 . . . . . . . . . . . 12  |-  ( ( C  e.  RR*  /\  B  e.  RR*  /\  C  <_  B )  ->  ( -.  C  =  B  ->  C  <  B ) )
19183exp 1186 . . . . . . . . . . 11  |-  ( C  e.  RR*  ->  ( B  e.  RR*  ->  ( C  <_  B  ->  ( -.  C  =  B  ->  C  <  B ) ) ) )
2019com12 31 . . . . . . . . . 10  |-  ( B  e.  RR*  ->  ( C  e.  RR*  ->  ( C  <_  B  ->  ( -.  C  =  B  ->  C  <  B ) ) ) )
2120imp32 433 . . . . . . . . 9  |-  ( ( B  e.  RR*  /\  ( C  e.  RR*  /\  C  <_  B ) )  -> 
( -.  C  =  B  ->  C  <  B ) )
22213adantr2 1148 . . . . . . . 8  |-  ( ( B  e.  RR*  /\  ( C  e.  RR*  /\  A  <_  C  /\  C  <_  B ) )  -> 
( -.  C  =  B  ->  C  <  B ) )
2322adantll 713 . . . . . . 7  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  ( C  e.  RR*  /\  A  <_  C  /\  C  <_  B ) )  ->  ( -.  C  =  B  ->  C  < 
B ) )
2413, 23anim12d 563 . . . . . 6  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  ( C  e.  RR*  /\  A  <_  C  /\  C  <_  B ) )  ->  ( ( -.  C  =  A  /\  -.  C  =  B
)  ->  ( A  <  C  /\  C  < 
B ) ) )
2524ex 434 . . . . 5  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  C  /\  C  <_  B )  -> 
( ( -.  C  =  A  /\  -.  C  =  B )  ->  ( A  <  C  /\  C  <  B ) ) ) )
26 df-or 370 . . . . . 6  |-  ( ( C  =  A  \/  ( ( A  < 
C  /\  C  <  B )  \/  C  =  B ) )  <->  ( -.  C  =  A  ->  ( ( A  <  C  /\  C  <  B )  \/  C  =  B ) ) )
27 3orass 968 . . . . . 6  |-  ( ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B )  <-> 
( C  =  A  \/  ( ( A  <  C  /\  C  <  B )  \/  C  =  B ) ) )
28 pm5.6 903 . . . . . . 7  |-  ( ( ( -.  C  =  A  /\  -.  C  =  B )  ->  ( A  <  C  /\  C  <  B ) )  <->  ( -.  C  =  A  ->  ( C  =  B  \/  ( A  <  C  /\  C  <  B ) ) ) )
29 orcom 387 . . . . . . . 8  |-  ( ( C  =  B  \/  ( A  <  C  /\  C  <  B ) )  <-> 
( ( A  < 
C  /\  C  <  B )  \/  C  =  B ) )
3029imbi2i 312 . . . . . . 7  |-  ( ( -.  C  =  A  ->  ( C  =  B  \/  ( A  <  C  /\  C  <  B ) ) )  <-> 
( -.  C  =  A  ->  ( ( A  <  C  /\  C  <  B )  \/  C  =  B ) ) )
3128, 30bitri 249 . . . . . 6  |-  ( ( ( -.  C  =  A  /\  -.  C  =  B )  ->  ( A  <  C  /\  C  <  B ) )  <->  ( -.  C  =  A  ->  ( ( A  <  C  /\  C  <  B )  \/  C  =  B ) ) )
3226, 27, 313bitr4ri 278 . . . . 5  |-  ( ( ( -.  C  =  A  /\  -.  C  =  B )  ->  ( A  <  C  /\  C  <  B ) )  <->  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) )
3325, 32syl6ib 226 . . . 4  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  C  /\  C  <_  B )  -> 
( C  =  A  \/  ( A  < 
C  /\  C  <  B )  \/  C  =  B ) ) )
343, 7, 333jcad 1169 . . 3  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  C  /\  C  <_  B )  -> 
( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) ) ) )
35 simp1 988 . . . . 5  |-  ( ( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) )  ->  C  e.  RR* )
3635a1i 11 . . . 4  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) )  ->  C  e.  RR* ) )
37 xrleid 11146 . . . . . . . . 9  |-  ( A  e.  RR*  ->  A  <_  A )
3837ad3antrrr 729 . . . . . . . 8  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  A  <_  A )
39 breq2 4315 . . . . . . . 8  |-  ( C  =  A  ->  ( A  <_  C  <->  A  <_  A ) )
4038, 39syl5ibrcom 222 . . . . . . 7  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  ( C  =  A  ->  A  <_  C ) )
41 xrltle 11145 . . . . . . . . . 10  |-  ( ( A  e.  RR*  /\  C  e.  RR* )  ->  ( A  <  C  ->  A  <_  C ) )
4241adantr 465 . . . . . . . . 9  |-  ( ( ( A  e.  RR*  /\  C  e.  RR* )  /\  A  <_  B )  ->  ( A  < 
C  ->  A  <_  C ) )
4342adantllr 718 . . . . . . . 8  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  ( A  <  C  ->  A  <_  C ) )
4443adantrd 468 . . . . . . 7  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  (
( A  <  C  /\  C  <  B )  ->  A  <_  C
) )
45 simpr 461 . . . . . . . 8  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  A  <_  B )
46 breq2 4315 . . . . . . . 8  |-  ( C  =  B  ->  ( A  <_  C  <->  A  <_  B ) )
4745, 46syl5ibrcom 222 . . . . . . 7  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  ( C  =  B  ->  A  <_  C ) )
4840, 44, 473jaod 1282 . . . . . 6  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  (
( C  =  A  \/  ( A  < 
C  /\  C  <  B )  \/  C  =  B )  ->  A  <_  C ) )
4948exp31 604 . . . . 5  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  ( C  e.  RR*  ->  ( A  <_  B  ->  (
( C  =  A  \/  ( A  < 
C  /\  C  <  B )  \/  C  =  B )  ->  A  <_  C ) ) ) )
50493impd 1201 . . . 4  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) )  ->  A  <_  C ) )
51 breq1 4314 . . . . . . . 8  |-  ( C  =  A  ->  ( C  <_  B  <->  A  <_  B ) )
5245, 51syl5ibrcom 222 . . . . . . 7  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  ( C  =  A  ->  C  <_  B ) )
53 xrltle 11145 . . . . . . . . . . 11  |-  ( ( C  e.  RR*  /\  B  e.  RR* )  ->  ( C  <  B  ->  C  <_  B ) )
5453ancoms 453 . . . . . . . . . 10  |-  ( ( B  e.  RR*  /\  C  e.  RR* )  ->  ( C  <  B  ->  C  <_  B ) )
5554adantld 467 . . . . . . . . 9  |-  ( ( B  e.  RR*  /\  C  e.  RR* )  ->  (
( A  <  C  /\  C  <  B )  ->  C  <_  B
) )
5655adantll 713 . . . . . . . 8  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  C  e.  RR* )  ->  ( ( A  < 
C  /\  C  <  B )  ->  C  <_  B ) )
5756adantr 465 . . . . . . 7  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  (
( A  <  C  /\  C  <  B )  ->  C  <_  B
) )
58 xrleid 11146 . . . . . . . . 9  |-  ( B  e.  RR*  ->  B  <_  B )
5958ad3antlr 730 . . . . . . . 8  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  B  <_  B )
60 breq1 4314 . . . . . . . 8  |-  ( C  =  B  ->  ( C  <_  B  <->  B  <_  B ) )
6159, 60syl5ibrcom 222 . . . . . . 7  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  ( C  =  B  ->  C  <_  B ) )
6252, 57, 613jaod 1282 . . . . . 6  |-  ( ( ( ( A  e. 
RR*  /\  B  e.  RR* )  /\  C  e. 
RR* )  /\  A  <_  B )  ->  (
( C  =  A  \/  ( A  < 
C  /\  C  <  B )  \/  C  =  B )  ->  C  <_  B ) )
6362exp31 604 . . . . 5  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  ( C  e.  RR*  ->  ( A  <_  B  ->  (
( C  =  A  \/  ( A  < 
C  /\  C  <  B )  \/  C  =  B )  ->  C  <_  B ) ) ) )
64633impd 1201 . . . 4  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) )  ->  C  <_  B ) )
6536, 50, 643jcad 1169 . . 3  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) )  ->  ( C  e.  RR*  /\  A  <_  C  /\  C  <_  B ) ) )
6634, 65impbid 191 . 2  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( C  e.  RR*  /\  A  <_  C  /\  C  <_  B )  <->  ( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) ) ) )
671, 66bitrd 253 1  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  ( C  e.  ( A [,] B )  <->  ( C  e.  RR*  /\  A  <_  B  /\  ( C  =  A  \/  ( A  <  C  /\  C  <  B )  \/  C  =  B ) ) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    \/ wo 368    /\ wa 369    \/ w3o 964    /\ w3a 965    = wceq 1369    e. wcel 1756    =/= wne 2620   class class class wbr 4311  (class class class)co 6110   RR*cxr 9436    < clt 9437    <_ cle 9438   [,]cicc 11322
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4432  ax-nul 4440  ax-pow 4489  ax-pr 4550  ax-un 6391  ax-cnex 9357  ax-resscn 9358  ax-pre-lttri 9375  ax-pre-lttrn 9376
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2622  df-nel 2623  df-ral 2739  df-rex 2740  df-rab 2743  df-v 2993  df-sbc 3206  df-csb 3308  df-dif 3350  df-un 3352  df-in 3354  df-ss 3361  df-nul 3657  df-if 3811  df-pw 3881  df-sn 3897  df-pr 3899  df-op 3903  df-uni 4111  df-br 4312  df-opab 4370  df-mpt 4371  df-id 4655  df-po 4660  df-so 4661  df-xp 4865  df-rel 4866  df-cnv 4867  df-co 4868  df-dm 4869  df-rn 4870  df-res 4871  df-ima 4872  df-iota 5400  df-fun 5439  df-fn 5440  df-f 5441  df-f1 5442  df-fo 5443  df-f1o 5444  df-fv 5445  df-ov 6113  df-oprab 6114  df-mpt2 6115  df-er 7120  df-en 7330  df-dom 7331  df-sdom 7332  df-pnf 9439  df-mnf 9440  df-xr 9441  df-ltxr 9442  df-le 9443  df-icc 11326
This theorem is referenced by:  ivthALT  28553
  Copyright terms: Public domain W3C validator