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

Theorem supmaxti 6884
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 521 . . 3 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → 𝑦𝑅𝐶)
6 breq2 3928 . . . 4 (𝑥 = 𝐶 → (𝑦𝑅𝑥𝑦𝑅𝐶))
76rspcev 2784 . . 3 ((𝐶𝐵𝑦𝑅𝐶) → ∃𝑥𝐵 𝑦𝑅𝑥)
84, 5, 7syl2an2r 584 . 2 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → ∃𝑥𝐵 𝑦𝑅𝑥)
91, 2, 3, 8eqsuptid 6877 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104   = wceq 1331  wcel 1480  wrex 2415   class class class wbr 3924  supcsup 6862
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-reu 2421  df-rmo 2422  df-rab 2423  df-v 2683  df-sbc 2905  df-un 3070  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-br 3925  df-iota 5083  df-riota 5723  df-sup 6864
This theorem is referenced by:  supsnti  6885  sup3exmid  8708  maxleim  10970  xrmaxleim  11006  supfz  13226
  Copyright terms: Public domain W3C validator