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

Theorem supmax 8373
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 796 . . 3 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → 𝑦𝑅𝐶)
6 breq2 4657 . . . 4 (𝑧 = 𝐶 → (𝑦𝑅𝑧𝑦𝑅𝐶))
76rspcev 3309 . . 3 ((𝐶𝐵𝑦𝑅𝐶) → ∃𝑧𝐵 𝑦𝑅𝑧)
84, 5, 7syl2an2r 876 . 2 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → ∃𝑧𝐵 𝑦𝑅𝑧)
91, 2, 3, 8eqsupd 8363 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384   = wceq 1483  wcel 1990  wrex 2913   class class class wbr 4653   Or wor 5034  supcsup 8346
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-po 5035  df-so 5036  df-iota 5851  df-riota 6611  df-sup 8348
This theorem is referenced by:  suppr  8377  gsumesum  30121  supfz  31613  inffzOLD  31615  mblfinlem2  33447
  Copyright terms: Public domain W3C validator