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

Theorem supmax 9487
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 785 . . 3 ((𝜑 ∧ (𝑦 ∈ 𝐴 ∧ 𝑦𝑅𝐶)) → 𝑦𝑅𝐶)
6 breq2 5110 . . . 4 (𝑧 = 𝐶 → (𝑦𝑅𝑧 ↔ 𝑦𝑅𝐶))
76rspcev 3580 . . 3 ((𝐶 ∈ 𝐵 ∧ 𝑦𝑅𝐶) → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)
84, 5, 7syl2an2r 698 . 2 ((𝜑 ∧ (𝑦 ∈ 𝐴 ∧ 𝑦𝑅𝐶)) → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)
91, 2, 3, 8eqsupd 9476 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∃wrex 3090   class class class wbr 5106   Or wor 5562  supcsup 9459
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-po 5563  df-so 5564  df-iota 6512  df-riota 7400  df-sup 9461
This theorem is used by:  suppr  9491  gsumesum  34761  supfz  36672  mblfinlem2  38768
  Copyright terms: Public domain W3C validator