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

Theorem supmax 9507
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 5115 . . . 4 (𝑧 = 𝐶 → (𝑦𝑅𝑧 ↔ 𝑦𝑅𝐶))
76rspcev 3582 . . 3 ((𝐶 ∈ 𝐵 ∧ 𝑦𝑅𝐶) → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)
84, 5, 7syl2an2r 698 . 2 ((𝜑 ∧ (𝑦 ∈ 𝐴 ∧ 𝑦𝑅𝐶)) → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)
91, 2, 3, 8eqsupd 9496 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  ∃wrex 3096   class class class wbr 5111   Or wor 5568  supcsup 9479
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-po 5569  df-so 5570  df-iota 6527  df-riota 7418  df-sup 9481
This theorem is used by:  suppr  9511  gsumesum  34819  supfz  36734  mblfinlem2  38870
  Copyright terms: Public domain W3C validator