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

Theorem xrmaxleim 11013
Description: Value of maximum when we know which extended real is larger. (Contributed by Jim Kingdon, 25-Apr-2023.)
Assertion
Ref Expression
xrmaxleim ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴𝐵 → sup({𝐴, 𝐵}, ℝ*, < ) = 𝐵))

Proof of Theorem xrmaxleim
Dummy variables 𝑓 𝑔 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xrlttri3 9583 . . . 4 ((𝑓 ∈ ℝ*𝑔 ∈ ℝ*) → (𝑓 = 𝑔 ↔ (¬ 𝑓 < 𝑔 ∧ ¬ 𝑔 < 𝑓)))
21adantl 275 . . 3 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ (𝑓 ∈ ℝ*𝑔 ∈ ℝ*)) → (𝑓 = 𝑔 ↔ (¬ 𝑓 < 𝑔 ∧ ¬ 𝑔 < 𝑓)))
3 simplr 519 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → 𝐵 ∈ ℝ*)
4 prid2g 3628 . . . 4 (𝐵 ∈ ℝ*𝐵 ∈ {𝐴, 𝐵})
53, 4syl 14 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → 𝐵 ∈ {𝐴, 𝐵})
6 simpllr 523 . . . . . 6 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → 𝐴𝐵)
7 xrlenlt 7829 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴𝐵 ↔ ¬ 𝐵 < 𝐴))
87ad3antrrr 483 . . . . . 6 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → (𝐴𝐵 ↔ ¬ 𝐵 < 𝐴))
96, 8mpbid 146 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → ¬ 𝐵 < 𝐴)
10 breq2 3933 . . . . . . 7 (𝑦 = 𝐴 → (𝐵 < 𝑦𝐵 < 𝐴))
1110notbid 656 . . . . . 6 (𝑦 = 𝐴 → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐴))
1211adantl 275 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐴))
139, 12mpbird 166 . . . 4 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → ¬ 𝐵 < 𝑦)
14 xrltnr 9566 . . . . . 6 (𝐵 ∈ ℝ* → ¬ 𝐵 < 𝐵)
1514ad4antlr 486 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → ¬ 𝐵 < 𝐵)
16 breq2 3933 . . . . . . 7 (𝑦 = 𝐵 → (𝐵 < 𝑦𝐵 < 𝐵))
1716notbid 656 . . . . . 6 (𝑦 = 𝐵 → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐵))
1817adantl 275 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐵))
1915, 18mpbird 166 . . . 4 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → ¬ 𝐵 < 𝑦)
20 elpri 3550 . . . . 5 (𝑦 ∈ {𝐴, 𝐵} → (𝑦 = 𝐴𝑦 = 𝐵))
2120adantl 275 . . . 4 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) → (𝑦 = 𝐴𝑦 = 𝐵))
2213, 19, 21mpjaodan 787 . . 3 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) → ¬ 𝐵 < 𝑦)
232, 3, 5, 22supmaxti 6891 . 2 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → sup({𝐴, 𝐵}, ℝ*, < ) = 𝐵)
2423ex 114 1 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴𝐵 → sup({𝐴, 𝐵}, ℝ*, < ) = 𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 697   = wceq 1331  wcel 1480  {cpr 3528   class class class wbr 3929  supcsup 6869  *cxr 7799   < clt 7800  cle 7801
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-setind 4452  ax-cnex 7711  ax-resscn 7712  ax-pre-ltirr 7732  ax-pre-apti 7735
This theorem depends on definitions:  df-bi 116  df-3or 963  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ne 2309  df-nel 2404  df-ral 2421  df-rex 2422  df-reu 2423  df-rmo 2424  df-rab 2425  df-v 2688  df-sbc 2910  df-dif 3073  df-un 3075  df-in 3077  df-ss 3084  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-br 3930  df-opab 3990  df-xp 4545  df-cnv 4547  df-iota 5088  df-riota 5730  df-sup 6871  df-pnf 7802  df-mnf 7803  df-xr 7804  df-ltxr 7805  df-le 7806
This theorem is referenced by:  xrmaxltsup  11027  xrmaxadd  11030  xrmineqinf  11038
  Copyright terms: Public domain W3C validator