MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  supmax Structured version   Visualization version   GIF version

Theorem supmax 9156
Description: The greatest element of a set is its supremum. Note that the converse is not true; the supremum might not be an element of the set considered. (Contributed by Jeff Hoffman, 17-Jun-2008.) (Proof shortened by OpenAI, 30-Mar-2020.)
Hypotheses
Ref Expression
supmax.1 (𝜑𝑅 Or 𝐴)
supmax.2 (𝜑𝐶𝐴)
supmax.3 (𝜑𝐶𝐵)
supmax.4 ((𝜑𝑦𝐵) → ¬ 𝐶𝑅𝑦)
Assertion
Ref Expression
supmax (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑦,𝐶   𝑦,𝑅   𝜑,𝑦

Proof of Theorem supmax
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 supmax.1 . 2 (𝜑𝑅 Or 𝐴)
2 supmax.2 . 2 (𝜑𝐶𝐴)
3 supmax.4 . 2 ((𝜑𝑦𝐵) → ¬ 𝐶𝑅𝑦)
4 supmax.3 . . 3 (𝜑𝐶𝐵)
5 simprr 769 . . 3 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → 𝑦𝑅𝐶)
6 breq2 5074 . . . 4 (𝑧 = 𝐶 → (𝑦𝑅𝑧𝑦𝑅𝐶))
76rspcev 3552 . . 3 ((𝐶𝐵𝑦𝑅𝐶) → ∃𝑧𝐵 𝑦𝑅𝑧)
84, 5, 7syl2an2r 681 . 2 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → ∃𝑧𝐵 𝑦𝑅𝑧)
91, 2, 3, 8eqsupd 9146 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1539  wcel 2108  wrex 3064   class class class wbr 5070   Or wor 5493  supcsup 9129
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-po 5494  df-so 5495  df-iota 6376  df-riota 7212  df-sup 9131
This theorem is referenced by:  suppr  9160  gsumesum  31927  supfz  33600  mblfinlem2  35742
  Copyright terms: Public domain W3C validator