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

Theorem supmax 8931
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 771 . . 3 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → 𝑦𝑅𝐶)
6 breq2 5070 . . . 4 (𝑧 = 𝐶 → (𝑦𝑅𝑧𝑦𝑅𝐶))
76rspcev 3623 . . 3 ((𝐶𝐵𝑦𝑅𝐶) → ∃𝑧𝐵 𝑦𝑅𝑧)
84, 5, 7syl2an2r 683 . 2 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → ∃𝑧𝐵 𝑦𝑅𝑧)
91, 2, 3, 8eqsupd 8921 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1537  wcel 2114  wrex 3139   class class class wbr 5066   Or wor 5473  supcsup 8904
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-po 5474  df-so 5475  df-iota 6314  df-riota 7114  df-sup 8906
This theorem is referenced by:  suppr  8935  gsumesum  31318  supfz  32960  mblfinlem2  34945
  Copyright terms: Public domain W3C validator