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

Theorem xrmaxleim 11599
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 9926 . . . 4 ((𝑓 ∈ ℝ*𝑔 ∈ ℝ*) → (𝑓 = 𝑔 ↔ (¬ 𝑓 < 𝑔 ∧ ¬ 𝑔 < 𝑓)))
21adantl 277 . . 3 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ (𝑓 ∈ ℝ*𝑔 ∈ ℝ*)) → (𝑓 = 𝑔 ↔ (¬ 𝑓 < 𝑔 ∧ ¬ 𝑔 < 𝑓)))
3 simplr 528 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → 𝐵 ∈ ℝ*)
4 prid2g 3739 . . . 4 (𝐵 ∈ ℝ*𝐵 ∈ {𝐴, 𝐵})
53, 4syl 14 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → 𝐵 ∈ {𝐴, 𝐵})
6 simpllr 534 . . . . . 6 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → 𝐴𝐵)
7 xrlenlt 8144 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴𝐵 ↔ ¬ 𝐵 < 𝐴))
87ad3antrrr 492 . . . . . 6 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → (𝐴𝐵 ↔ ¬ 𝐵 < 𝐴))
96, 8mpbid 147 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → ¬ 𝐵 < 𝐴)
10 breq2 4051 . . . . . . 7 (𝑦 = 𝐴 → (𝐵 < 𝑦𝐵 < 𝐴))
1110notbid 669 . . . . . 6 (𝑦 = 𝐴 → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐴))
1211adantl 277 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐴))
139, 12mpbird 167 . . . 4 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → ¬ 𝐵 < 𝑦)
14 xrltnr 9908 . . . . . 6 (𝐵 ∈ ℝ* → ¬ 𝐵 < 𝐵)
1514ad4antlr 495 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → ¬ 𝐵 < 𝐵)
16 breq2 4051 . . . . . . 7 (𝑦 = 𝐵 → (𝐵 < 𝑦𝐵 < 𝐵))
1716notbid 669 . . . . . 6 (𝑦 = 𝐵 → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐵))
1817adantl 277 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐵))
1915, 18mpbird 167 . . . 4 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → ¬ 𝐵 < 𝑦)
20 elpri 3657 . . . . 5 (𝑦 ∈ {𝐴, 𝐵} → (𝑦 = 𝐴𝑦 = 𝐵))
2120adantl 277 . . . 4 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) → (𝑦 = 𝐴𝑦 = 𝐵))
2213, 19, 21mpjaodan 800 . . 3 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) → ¬ 𝐵 < 𝑦)
232, 3, 5, 22supmaxti 7113 . 2 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → sup({𝐴, 𝐵}, ℝ*, < ) = 𝐵)
2423ex 115 1 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴𝐵 → sup({𝐴, 𝐵}, ℝ*, < ) = 𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 710   = wceq 1373  wcel 2177  {cpr 3635   class class class wbr 4047  supcsup 7091  *cxr 8113   < clt 8114  cle 8115
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 615  ax-in2 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-sep 4166  ax-pow 4222  ax-pr 4257  ax-un 4484  ax-setind 4589  ax-cnex 8023  ax-resscn 8024  ax-pre-ltirr 8044  ax-pre-apti 8047
This theorem depends on definitions:  df-bi 117  df-3or 982  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-nel 2473  df-ral 2490  df-rex 2491  df-reu 2492  df-rmo 2493  df-rab 2494  df-v 2775  df-sbc 3000  df-dif 3169  df-un 3171  df-in 3173  df-ss 3180  df-pw 3619  df-sn 3640  df-pr 3641  df-op 3643  df-uni 3853  df-br 4048  df-opab 4110  df-xp 4685  df-cnv 4687  df-iota 5237  df-riota 5906  df-sup 7093  df-pnf 8116  df-mnf 8117  df-xr 8118  df-ltxr 8119  df-le 8120
This theorem is referenced by:  xrmaxltsup  11613  xrmaxadd  11616  xrmineqinf  11624
  Copyright terms: Public domain W3C validator