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

Theorem supmax 9438
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 5106 . . . 4 (𝑧 = 𝐶 → (𝑦𝑅𝑧 ↔ 𝑦𝑅𝐶))
76rspcev 3576 . . 3 ((𝐶 ∈ 𝐵 ∧ 𝑦𝑅𝐶) → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)
84, 5, 7syl2an2r 698 . 2 ((𝜑 ∧ (𝑦 ∈ 𝐴 ∧ 𝑦𝑅𝐶)) → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)
91, 2, 3, 8eqsupd 9427 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∃wrex 3086   class class class wbr 5102   Or wor 5554  supcsup 9410
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732
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 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-po 5555  df-so 5556  df-iota 6483  df-riota 7365  df-sup 9412
This theorem is used by:  suppr  9442  gsumesum  34625  supfz  36415  mblfinlem2  38496
  Copyright terms: Public domain W3C validator