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

Theorem xrmaxleim 11409
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 9872 . . . 4 ((𝑓 ∈ ℝ*𝑔 ∈ ℝ*) → (𝑓 = 𝑔 ↔ (¬ 𝑓 < 𝑔 ∧ ¬ 𝑔 < 𝑓)))
21adantl 277 . . 3 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ (𝑓 ∈ ℝ*𝑔 ∈ ℝ*)) → (𝑓 = 𝑔 ↔ (¬ 𝑓 < 𝑔 ∧ ¬ 𝑔 < 𝑓)))
3 simplr 528 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → 𝐵 ∈ ℝ*)
4 prid2g 3727 . . . 4 (𝐵 ∈ ℝ*𝐵 ∈ {𝐴, 𝐵})
53, 4syl 14 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → 𝐵 ∈ {𝐴, 𝐵})
6 simpllr 534 . . . . . 6 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → 𝐴𝐵)
7 xrlenlt 8091 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴𝐵 ↔ ¬ 𝐵 < 𝐴))
87ad3antrrr 492 . . . . . 6 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → (𝐴𝐵 ↔ ¬ 𝐵 < 𝐴))
96, 8mpbid 147 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → ¬ 𝐵 < 𝐴)
10 breq2 4037 . . . . . . 7 (𝑦 = 𝐴 → (𝐵 < 𝑦𝐵 < 𝐴))
1110notbid 668 . . . . . 6 (𝑦 = 𝐴 → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐴))
1211adantl 277 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐴))
139, 12mpbird 167 . . . 4 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐴) → ¬ 𝐵 < 𝑦)
14 xrltnr 9854 . . . . . 6 (𝐵 ∈ ℝ* → ¬ 𝐵 < 𝐵)
1514ad4antlr 495 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → ¬ 𝐵 < 𝐵)
16 breq2 4037 . . . . . . 7 (𝑦 = 𝐵 → (𝐵 < 𝑦𝐵 < 𝐵))
1716notbid 668 . . . . . 6 (𝑦 = 𝐵 → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐵))
1817adantl 277 . . . . 5 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → (¬ 𝐵 < 𝑦 ↔ ¬ 𝐵 < 𝐵))
1915, 18mpbird 167 . . . 4 (((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) ∧ 𝑦 = 𝐵) → ¬ 𝐵 < 𝑦)
20 elpri 3645 . . . . 5 (𝑦 ∈ {𝐴, 𝐵} → (𝑦 = 𝐴𝑦 = 𝐵))
2120adantl 277 . . . 4 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) → (𝑦 = 𝐴𝑦 = 𝐵))
2213, 19, 21mpjaodan 799 . . 3 ((((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) ∧ 𝑦 ∈ {𝐴, 𝐵}) → ¬ 𝐵 < 𝑦)
232, 3, 5, 22supmaxti 7070 . 2 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴𝐵) → sup({𝐴, 𝐵}, ℝ*, < ) = 𝐵)
2423ex 115 1 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴𝐵 → sup({𝐴, 𝐵}, ℝ*, < ) = 𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 709   = wceq 1364  wcel 2167  {cpr 3623   class class class wbr 4033  supcsup 7048  *cxr 8060   < clt 8061  cle 8062
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 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-13 2169  ax-14 2170  ax-ext 2178  ax-sep 4151  ax-pow 4207  ax-pr 4242  ax-un 4468  ax-setind 4573  ax-cnex 7970  ax-resscn 7971  ax-pre-ltirr 7991  ax-pre-apti 7994
This theorem depends on definitions:  df-bi 117  df-3or 981  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1475  df-sb 1777  df-eu 2048  df-mo 2049  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ne 2368  df-nel 2463  df-ral 2480  df-rex 2481  df-reu 2482  df-rmo 2483  df-rab 2484  df-v 2765  df-sbc 2990  df-dif 3159  df-un 3161  df-in 3163  df-ss 3170  df-pw 3607  df-sn 3628  df-pr 3629  df-op 3631  df-uni 3840  df-br 4034  df-opab 4095  df-xp 4669  df-cnv 4671  df-iota 5219  df-riota 5877  df-sup 7050  df-pnf 8063  df-mnf 8064  df-xr 8065  df-ltxr 8066  df-le 8067
This theorem is referenced by:  xrmaxltsup  11423  xrmaxadd  11426  xrmineqinf  11434
  Copyright terms: Public domain W3C validator