ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  supmaxti GIF version

Theorem supmaxti 6899
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 Jim Kingdon, 24-Nov-2021.)
Hypotheses
Ref Expression
supmaxti.ti ((𝜑 ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
supmaxti.2 (𝜑𝐶𝐴)
supmaxti.3 (𝜑𝐶𝐵)
supmaxti.4 ((𝜑𝑦𝐵) → ¬ 𝐶𝑅𝑦)
Assertion
Ref Expression
supmaxti (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Distinct variable groups:   𝑢,𝐴,𝑣,𝑦   𝑢,𝐵,𝑣,𝑦   𝑢,𝐶,𝑣,𝑦   𝑢,𝑅,𝑣,𝑦   𝜑,𝑢,𝑣,𝑦

Proof of Theorem supmaxti
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 supmaxti.ti . 2 ((𝜑 ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
2 supmaxti.2 . 2 (𝜑𝐶𝐴)
3 supmaxti.4 . 2 ((𝜑𝑦𝐵) → ¬ 𝐶𝑅𝑦)
4 supmaxti.3 . . 3 (𝜑𝐶𝐵)
5 simprr 522 . . 3 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → 𝑦𝑅𝐶)
6 breq2 3941 . . . 4 (𝑥 = 𝐶 → (𝑦𝑅𝑥𝑦𝑅𝐶))
76rspcev 2793 . . 3 ((𝐶𝐵𝑦𝑅𝐶) → ∃𝑥𝐵 𝑦𝑅𝑥)
84, 5, 7syl2an2r 585 . 2 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → ∃𝑥𝐵 𝑦𝑅𝑥)
91, 2, 3, 8eqsuptid 6892 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104   = wceq 1332  wcel 1481  wrex 2418   class class class wbr 3937  supcsup 6877
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-reu 2424  df-rmo 2425  df-rab 2426  df-v 2691  df-sbc 2914  df-un 3080  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-br 3938  df-iota 5096  df-riota 5738  df-sup 6879
This theorem is referenced by:  supsnti  6900  sup3exmid  8739  maxleim  11009  xrmaxleim  11045  supfz  13428
  Copyright terms: Public domain W3C validator