ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  apsym Unicode version

Theorem apsym 8562
Description: Apartness is symmetric. This theorem for real numbers is part of Definition 11.2.7(v) of [HoTT], p. (varies). (Contributed by Jim Kingdon, 16-Feb-2020.)
Assertion
Ref Expression
apsym  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A #  B  <->  B #  A
) )

Proof of Theorem apsym
Dummy variables  w  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cnre 7952 . . 3  |-  ( B  e.  CC  ->  E. z  e.  RR  E. w  e.  RR  B  =  ( z  +  ( _i  x.  w ) ) )
21adantl 277 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  E. z  e.  RR  E. w  e.  RR  B  =  ( z  +  ( _i  x.  w
) ) )
3 cnre 7952 . . . . . 6  |-  ( A  e.  CC  ->  E. x  e.  RR  E. y  e.  RR  A  =  ( x  +  ( _i  x.  y ) ) )
43ad3antrrr 492 . . . . 5  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
z  e.  RR  /\  w  e.  RR )
)  /\  B  =  ( z  +  ( _i  x.  w ) ) )  ->  E. x  e.  RR  E. y  e.  RR  A  =  ( x  +  ( _i  x.  y ) ) )
5 simplrl 535 . . . . . . . . . . . 12  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  x  e.  RR )
6 simplrl 535 . . . . . . . . . . . . 13  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
z  e.  RR  /\  w  e.  RR )
)  /\  B  =  ( z  +  ( _i  x.  w ) ) )  ->  z  e.  RR )
76ad2antrr 488 . . . . . . . . . . . 12  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  z  e.  RR )
8 reaplt 8544 . . . . . . . . . . . 12  |-  ( ( x  e.  RR  /\  z  e.  RR )  ->  ( x #  z  <->  ( x  <  z  \/  z  < 
x ) ) )
95, 7, 8syl2anc 411 . . . . . . . . . . 11  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
x #  z  <->  ( x  <  z  \/  z  < 
x ) ) )
10 reaplt 8544 . . . . . . . . . . . . 13  |-  ( ( z  e.  RR  /\  x  e.  RR )  ->  ( z #  x  <->  ( z  <  x  \/  x  < 
z ) ) )
117, 5, 10syl2anc 411 . . . . . . . . . . . 12  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
z #  x  <->  ( z  <  x  \/  x  < 
z ) ) )
12 orcom 728 . . . . . . . . . . . 12  |-  ( ( x  <  z  \/  z  <  x )  <-> 
( z  <  x  \/  x  <  z ) )
1311, 12bitr4di 198 . . . . . . . . . . 11  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
z #  x  <->  ( x  <  z  \/  z  < 
x ) ) )
149, 13bitr4d 191 . . . . . . . . . 10  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
x #  z  <->  z #  x
) )
15 simplrr 536 . . . . . . . . . . . 12  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  y  e.  RR )
16 simplrr 536 . . . . . . . . . . . . 13  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
z  e.  RR  /\  w  e.  RR )
)  /\  B  =  ( z  +  ( _i  x.  w ) ) )  ->  w  e.  RR )
1716ad2antrr 488 . . . . . . . . . . . 12  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  w  e.  RR )
18 reaplt 8544 . . . . . . . . . . . 12  |-  ( ( y  e.  RR  /\  w  e.  RR )  ->  ( y #  w  <->  ( y  <  w  \/  w  < 
y ) ) )
1915, 17, 18syl2anc 411 . . . . . . . . . . 11  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
y #  w  <->  ( y  <  w  \/  w  < 
y ) ) )
20 reaplt 8544 . . . . . . . . . . . . 13  |-  ( ( w  e.  RR  /\  y  e.  RR )  ->  ( w #  y  <->  ( w  <  y  \/  y  < 
w ) ) )
2117, 15, 20syl2anc 411 . . . . . . . . . . . 12  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
w #  y  <->  ( w  <  y  \/  y  < 
w ) ) )
22 orcom 728 . . . . . . . . . . . 12  |-  ( ( y  <  w  \/  w  <  y )  <-> 
( w  <  y  \/  y  <  w ) )
2321, 22bitr4di 198 . . . . . . . . . . 11  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
w #  y  <->  ( y  <  w  \/  w  < 
y ) ) )
2419, 23bitr4d 191 . . . . . . . . . 10  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
y #  w  <->  w #  y
) )
2514, 24orbi12d 793 . . . . . . . . 9  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
( x #  z  \/  y #  w )  <->  ( z #  x  \/  w #  y
) ) )
26 apreim 8559 . . . . . . . . . 10  |-  ( ( ( x  e.  RR  /\  y  e.  RR )  /\  ( z  e.  RR  /\  w  e.  RR ) )  -> 
( ( x  +  ( _i  x.  y
) ) #  ( z  +  ( _i  x.  w ) )  <->  ( x #  z  \/  y #  w
) ) )
275, 15, 7, 17, 26syl22anc 1239 . . . . . . . . 9  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
( x  +  ( _i  x.  y ) ) #  ( z  +  ( _i  x.  w
) )  <->  ( x #  z  \/  y #  w
) ) )
28 apreim 8559 . . . . . . . . . 10  |-  ( ( ( z  e.  RR  /\  w  e.  RR )  /\  ( x  e.  RR  /\  y  e.  RR ) )  -> 
( ( z  +  ( _i  x.  w
) ) #  ( x  +  ( _i  x.  y ) )  <->  ( z #  x  \/  w #  y
) ) )
297, 17, 5, 15, 28syl22anc 1239 . . . . . . . . 9  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
( z  +  ( _i  x.  w ) ) #  ( x  +  ( _i  x.  y
) )  <->  ( z #  x  \/  w #  y
) ) )
3025, 27, 293bitr4d 220 . . . . . . . 8  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  (
( x  +  ( _i  x.  y ) ) #  ( z  +  ( _i  x.  w
) )  <->  ( z  +  ( _i  x.  w ) ) #  ( x  +  ( _i  x.  y ) ) ) )
31 simpr 110 . . . . . . . . 9  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  A  =  ( x  +  ( _i  x.  y
) ) )
32 simpllr 534 . . . . . . . . 9  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  B  =  ( z  +  ( _i  x.  w
) ) )
3331, 32breq12d 4016 . . . . . . . 8  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  ( A #  B  <->  ( x  +  ( _i  x.  y
) ) #  ( z  +  ( _i  x.  w ) ) ) )
3432, 31breq12d 4016 . . . . . . . 8  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  ( B #  A  <->  ( z  +  ( _i  x.  w
) ) #  ( x  +  ( _i  x.  y ) ) ) )
3530, 33, 343bitr4d 220 . . . . . . 7  |-  ( ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  /\  A  =  ( x  +  (
_i  x.  y )
) )  ->  ( A #  B  <->  B #  A )
)
3635ex 115 . . . . . 6  |-  ( ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
z  e.  RR  /\  w  e.  RR )
)  /\  B  =  ( z  +  ( _i  x.  w ) ) )  /\  (
x  e.  RR  /\  y  e.  RR )
)  ->  ( A  =  ( x  +  ( _i  x.  y
) )  ->  ( A #  B  <->  B #  A )
) )
3736rexlimdvva 2602 . . . . 5  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
z  e.  RR  /\  w  e.  RR )
)  /\  B  =  ( z  +  ( _i  x.  w ) ) )  ->  ( E. x  e.  RR  E. y  e.  RR  A  =  ( x  +  ( _i  x.  y
) )  ->  ( A #  B  <->  B #  A )
) )
384, 37mpd 13 . . . 4  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
z  e.  RR  /\  w  e.  RR )
)  /\  B  =  ( z  +  ( _i  x.  w ) ) )  ->  ( A #  B  <->  B #  A )
)
3938ex 115 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( z  e.  RR  /\  w  e.  RR ) )  -> 
( B  =  ( z  +  ( _i  x.  w ) )  ->  ( A #  B  <->  B #  A ) ) )
4039rexlimdvva 2602 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( E. z  e.  RR  E. w  e.  RR  B  =  ( z  +  ( _i  x.  w ) )  ->  ( A #  B  <->  B #  A ) ) )
412, 40mpd 13 1  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A #  B  <->  B #  A
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    \/ wo 708    = wceq 1353    e. wcel 2148   E.wrex 2456   class class class wbr 4003  (class class class)co 5874   CCcc 7808   RRcr 7809   _ici 7812    + caddc 7813    x. cmul 7815    < clt 7991   # cap 8537
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4121  ax-pow 4174  ax-pr 4209  ax-un 4433  ax-setind 4536  ax-cnex 7901  ax-resscn 7902  ax-1cn 7903  ax-1re 7904  ax-icn 7905  ax-addcl 7906  ax-addrcl 7907  ax-mulcl 7908  ax-mulrcl 7909  ax-addcom 7910  ax-mulcom 7911  ax-addass 7912  ax-mulass 7913  ax-distr 7914  ax-i2m1 7915  ax-0lt1 7916  ax-1rid 7917  ax-0id 7918  ax-rnegex 7919  ax-precex 7920  ax-cnre 7921  ax-pre-ltirr 7922  ax-pre-lttrn 7924  ax-pre-apti 7925  ax-pre-ltadd 7926  ax-pre-mulgt0 7927
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-nel 2443  df-ral 2460  df-rex 2461  df-reu 2462  df-rab 2464  df-v 2739  df-sbc 2963  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-pw 3577  df-sn 3598  df-pr 3599  df-op 3601  df-uni 3810  df-br 4004  df-opab 4065  df-id 4293  df-xp 4632  df-rel 4633  df-cnv 4634  df-co 4635  df-dm 4636  df-iota 5178  df-fun 5218  df-fv 5224  df-riota 5830  df-ov 5877  df-oprab 5878  df-mpo 5879  df-pnf 7993  df-mnf 7994  df-ltxr 7996  df-sub 8129  df-neg 8130  df-reap 8531  df-ap 8538
This theorem is referenced by:  addext  8566  mulext  8570  ltapii  8591  ltapd  8594  aptap  8606  apdivmuld  8769  div2subap  8793  recgt0  8806  prodgt0  8808  pwm1geoserap1  11515  absgtap  11517  geolim  11518  geolim2  11519  geo2sum2  11522  geoisum1c  11527  tanaddap  11746  egt2lt3  11786  sqrt2irraplemnn  12178  triap  14747  apdiff  14766
  Copyright terms: Public domain W3C validator