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

Theorem eqsupti 6957
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 469 . . . 4 (((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
3 breq1 3984 . . . . . . . . . 10 (𝑥 = 𝐶 → (𝑥𝑅𝑦𝐶𝑅𝑦))
43notbid 657 . . . . . . . . 9 (𝑥 = 𝐶 → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝐶𝑅𝑦))
54ralbidv 2465 . . . . . . . 8 (𝑥 = 𝐶 → (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ↔ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦))
6 breq2 3985 . . . . . . . . . 10 (𝑥 = 𝐶 → (𝑦𝑅𝑥𝑦𝑅𝐶))
76imbi1d 230 . . . . . . . . 9 (𝑥 = 𝐶 → ((𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)))
87ralbidv 2465 . . . . . . . 8 (𝑥 = 𝐶 → (∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)))
95, 8anbi12d 465 . . . . . . 7 (𝑥 = 𝐶 → ((∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)) ↔ (∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))))
109rspcev 2829 . . . . . 6 ((𝐶𝐴 ∧ (∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ∃𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
11103impb 1189 . . . . 5 ((𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) → ∃𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
1211adantl 275 . . . 4 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ∃𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
132, 12supval2ti 6956 . . 3 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → sup(𝐵, 𝐴, 𝑅) = (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))))
14 3simpc 986 . . . . 5 ((𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) → (∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)))
1514adantl 275 . . . 4 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → (∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)))
16 simpr1 993 . . . . 5 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → 𝐶𝐴)
172, 12supeuti 6955 . . . . 5 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ∃!𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
189riota2 5819 . . . . 5 ((𝐶𝐴 ∧ ∃!𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ((∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) ↔ (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) = 𝐶))
1916, 17, 18syl2anc 409 . . . 4 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → ((∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) ↔ (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) = 𝐶))
2015, 19mpbid 146 . . 3 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) = 𝐶)
2113, 20eqtrd 2198 . 2 ((𝜑 ∧ (𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧))) → sup(𝐵, 𝐴, 𝑅) = 𝐶)
2221ex 114 1 (𝜑 → ((𝐶𝐴 ∧ ∀𝑦𝐵 ¬ 𝐶𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝐶 → ∃𝑧𝐵 𝑦𝑅𝑧)) → sup(𝐵, 𝐴, 𝑅) = 𝐶))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  w3a 968   = wceq 1343  wcel 2136  wral 2443  wrex 2444  ∃!wreu 2445   class class class wbr 3981  crio 5796  supcsup 6943
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2296  df-ral 2448  df-rex 2449  df-reu 2450  df-rmo 2451  df-rab 2452  df-v 2727  df-sbc 2951  df-un 3119  df-sn 3581  df-pr 3582  df-op 3584  df-uni 3789  df-br 3982  df-iota 5152  df-riota 5797  df-sup 6945
This theorem is referenced by:  eqsuptid  6958  eqinfti  6981  maxabs  11147  xrmaxif  11188  suprzcl2dc  11884  bezoutlemsup  11938  suplociccex  13203
  Copyright terms: Public domain W3C validator