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

Theorem eqsupti 6973
Description: Sufficient condition for an element to be equal to the supremum. (Contributed by Jim Kingdon, 23-Nov-2021.)
Hypothesis
Ref Expression
supmoti.ti ((𝜑 ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
Assertion
Ref Expression
eqsupti (𝜑 → ((𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) → sup(𝐵, 𝐴, 𝑅) = 𝐶))
Distinct variable groups:   𝑢,𝐴,𝑣,𝑦,𝑧   𝑦,𝐵,𝑧   𝑢,𝑅,𝑣,𝑦,𝑧   𝜑,𝑢,𝑣   𝑦,𝑢,𝑣,𝐶   𝑢,𝐵,𝑣,𝑧
Allowed substitution hints:   𝜑(𝑦,𝑧)   𝐶(𝑧)

Proof of Theorem eqsupti
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 supmoti.ti . . . . 5 ((𝜑 ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
21adantlr 474 . . . 4 (((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
3 breq1 3992 . . . . . . . . . 10 (𝑥 = 𝐶 → (𝑥𝑅𝑦𝐶𝑅𝑦))
43notbid 662 . . . . . . . . 9 (𝑥 = 𝐶 → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝐶𝑅𝑦))
54ralbidv 2470 . . . . . . . 8 (𝑥 = 𝐶 → (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ↔ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦))
6 breq2 3993 . . . . . . . . . 10 (𝑥 = 𝐶 → (𝑦𝑅𝑥𝑦𝑅𝐶))
76imbi1d 230 . . . . . . . . 9 (𝑥 = 𝐶 → ((𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)))
87ralbidv 2470 . . . . . . . 8 (𝑥 = 𝐶 → (∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)))
95, 8anbi12d 470 . . . . . . 7 (𝑥 = 𝐶 → ((∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)) ↔ (∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))))
109rspcev 2834 . . . . . 6 ((𝐶𝐴 ∧ (∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ∃𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
11103impb 1194 . . . . 5 ((𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) → ∃𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
1211adantl 275 . . . 4 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ∃𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
132, 12supval2ti 6972 . . 3 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → sup(𝐵, 𝐴, 𝑅) = (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))))
14 3simpc 991 . . . . 5 ((𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) → (∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)))
1514adantl 275 . . . 4 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → (∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)))
16 simpr1 998 . . . . 5 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → 𝐶𝐴)
172, 12supeuti 6971 . . . . 5 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ∃!𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
189riota2 5831 . . . . 5 ((𝐶𝐴 ∧ ∃!𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ((∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) ↔ (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) = 𝐶))
1916, 17, 18syl2anc 409 . . . 4 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ((∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) ↔ (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) = 𝐶))
2015, 19mpbid 146 . . 3 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) = 𝐶)
2113, 20eqtrd 2203 . 2 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → sup(𝐵, 𝐴, 𝑅) = 𝐶)
2221ex 114 1 (𝜑 → ((𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) → sup(𝐵, 𝐴, 𝑅) = 𝐶))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  w3a 973   = wceq 1348  wcel 2141  wral 2448  wrex 2449  ∃!wreu 2450   class class class wbr 3989  crio 5808  supcsup 6959
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-reu 2455  df-rmo 2456  df-rab 2457  df-v 2732  df-sbc 2956  df-un 3125  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-iota 5160  df-riota 5809  df-sup 6961
This theorem is referenced by:  eqsuptid  6974  eqinfti  6997  maxabs  11173  xrmaxif  11214  suprzcl2dc  11910  bezoutlemsup  11964  suplociccex  13397
  Copyright terms: Public domain W3C validator