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

Theorem supmaxti 6859
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 506 . . 3 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → 𝑦𝑅𝐶)
6 breq2 3903 . . . 4 (𝑥 = 𝐶 → (𝑦𝑅𝑥𝑦𝑅𝐶))
76rspcev 2763 . . 3 ((𝐶𝐵𝑦𝑅𝐶) → ∃𝑥𝐵 𝑦𝑅𝑥)
84, 5, 7syl2an2r 569 . 2 ((𝜑 ∧ (𝑦𝐴𝑦𝑅𝐶)) → ∃𝑥𝐵 𝑦𝑅𝑥)
91, 2, 3, 8eqsuptid 6852 1 (𝜑 → sup(𝐵, 𝐴, 𝑅) = 𝐶)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104   = wceq 1316  wcel 1465  wrex 2394   class class class wbr 3899  supcsup 6837
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 588  ax-in2 589  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099
This theorem depends on definitions:  df-bi 116  df-3an 949  df-tru 1319  df-fal 1322  df-nf 1422  df-sb 1721  df-eu 1980  df-mo 1981  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398  df-rex 2399  df-reu 2400  df-rmo 2401  df-rab 2402  df-v 2662  df-sbc 2883  df-un 3045  df-sn 3503  df-pr 3504  df-op 3506  df-uni 3707  df-br 3900  df-iota 5058  df-riota 5698  df-sup 6839
This theorem is referenced by:  supsnti  6860  sup3exmid  8683  maxleim  10945  xrmaxleim  10981  supfz  13164
  Copyright terms: Public domain W3C validator