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

Theorem suplubti 6965
Description: A supremum is the least upper bound. See also supclti 6963 and supubti 6964. (Contributed by Jim Kingdon, 24-Nov-2021.)
Hypotheses
Ref Expression
supmoti.ti ((𝜑 ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
supclti.2 (𝜑 → ∃𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
Assertion
Ref Expression
suplubti (𝜑 → ((𝐶𝐴𝐶𝑅sup(𝐵, 𝐴, 𝑅)) → ∃𝑧𝐵 𝐶𝑅𝑧))
Distinct variable groups:   𝑢,𝐴,𝑣,𝑥   𝑦,𝐴,𝑥,𝑧   𝑥,𝐵,𝑦,𝑧   𝑢,𝑅,𝑣,𝑥   𝑦,𝑅,𝑧   𝜑,𝑢,𝑣,𝑥   𝑧,𝐶
Allowed substitution hints:   𝜑(𝑦,𝑧)   𝐵(𝑣,𝑢)   𝐶(𝑥,𝑦,𝑣,𝑢)

Proof of Theorem suplubti
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 simpr 109 . . . . . 6 ((∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)) → ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))
2 breq1 3985 . . . . . . . 8 (𝑦 = 𝑤 → (𝑦𝑅𝑥𝑤𝑅𝑥))
3 breq1 3985 . . . . . . . . 9 (𝑦 = 𝑤 → (𝑦𝑅𝑧𝑤𝑅𝑧))
43rexbidv 2467 . . . . . . . 8 (𝑦 = 𝑤 → (∃𝑧𝐵 𝑦𝑅𝑧 ↔ ∃𝑧𝐵 𝑤𝑅𝑧))
52, 4imbi12d 233 . . . . . . 7 (𝑦 = 𝑤 → ((𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧)))
65cbvralv 2692 . . . . . 6 (∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ ∀𝑤𝐴 (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧))
71, 6sylib 121 . . . . 5 ((∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)) → ∀𝑤𝐴 (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧))
87a1i 9 . . . 4 (𝑥𝐴 → ((∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)) → ∀𝑤𝐴 (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧)))
98ss2rabi 3224 . . 3 {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))} ⊆ {𝑥𝐴 ∣ ∀𝑤𝐴 (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧)}
10 supmoti.ti . . . . 5 ((𝜑 ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
11 supclti.2 . . . . 5 (𝜑 → ∃𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
1210, 11supval2ti 6960 . . . 4 (𝜑 → sup(𝐵, 𝐴, 𝑅) = (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))))
1310, 11supeuti 6959 . . . . 5 (𝜑 → ∃!𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)))
14 riotacl2 5811 . . . . 5 (∃!𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)) → (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) ∈ {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))})
1513, 14syl 14 . . . 4 (𝜑 → (𝑥𝐴 (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))) ∈ {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))})
1612, 15eqeltrd 2243 . . 3 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))})
179, 16sselid 3140 . 2 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ {𝑥𝐴 ∣ ∀𝑤𝐴 (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧)})
18 breq2 3986 . . . . . 6 (𝑥 = sup(𝐵, 𝐴, 𝑅) → (𝑤𝑅𝑥𝑤𝑅sup(𝐵, 𝐴, 𝑅)))
1918imbi1d 230 . . . . 5 (𝑥 = sup(𝐵, 𝐴, 𝑅) → ((𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧) ↔ (𝑤𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝑤𝑅𝑧)))
2019ralbidv 2466 . . . 4 (𝑥 = sup(𝐵, 𝐴, 𝑅) → (∀𝑤𝐴 (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧) ↔ ∀𝑤𝐴 (𝑤𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝑤𝑅𝑧)))
2120elrab 2882 . . 3 (sup(𝐵, 𝐴, 𝑅) ∈ {𝑥𝐴 ∣ ∀𝑤𝐴 (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧)} ↔ (sup(𝐵, 𝐴, 𝑅) ∈ 𝐴 ∧ ∀𝑤𝐴 (𝑤𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝑤𝑅𝑧)))
2221simprbi 273 . 2 (sup(𝐵, 𝐴, 𝑅) ∈ {𝑥𝐴 ∣ ∀𝑤𝐴 (𝑤𝑅𝑥 → ∃𝑧𝐵 𝑤𝑅𝑧)} → ∀𝑤𝐴 (𝑤𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝑤𝑅𝑧))
23 breq1 3985 . . . . 5 (𝑤 = 𝐶 → (𝑤𝑅sup(𝐵, 𝐴, 𝑅) ↔ 𝐶𝑅sup(𝐵, 𝐴, 𝑅)))
24 breq1 3985 . . . . . 6 (𝑤 = 𝐶 → (𝑤𝑅𝑧𝐶𝑅𝑧))
2524rexbidv 2467 . . . . 5 (𝑤 = 𝐶 → (∃𝑧𝐵 𝑤𝑅𝑧 ↔ ∃𝑧𝐵 𝐶𝑅𝑧))
2623, 25imbi12d 233 . . . 4 (𝑤 = 𝐶 → ((𝑤𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝑤𝑅𝑧) ↔ (𝐶𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝐶𝑅𝑧)))
2726rspccv 2827 . . 3 (∀𝑤𝐴 (𝑤𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝑤𝑅𝑧) → (𝐶𝐴 → (𝐶𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝐶𝑅𝑧)))
2827impd 252 . 2 (∀𝑤𝐴 (𝑤𝑅sup(𝐵, 𝐴, 𝑅) → ∃𝑧𝐵 𝑤𝑅𝑧) → ((𝐶𝐴𝐶𝑅sup(𝐵, 𝐴, 𝑅)) → ∃𝑧𝐵 𝐶𝑅𝑧))
2917, 22, 283syl 17 1 (𝜑 → ((𝐶𝐴𝐶𝑅sup(𝐵, 𝐴, 𝑅)) → ∃𝑧𝐵 𝐶𝑅𝑧))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104   = wceq 1343  wcel 2136  wral 2444  wrex 2445  ∃!wreu 2446  {crab 2448   class class class wbr 3982  crio 5797  supcsup 6947
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 2297  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452  df-rab 2453  df-v 2728  df-sbc 2952  df-un 3120  df-in 3122  df-ss 3129  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-iota 5153  df-riota 5798  df-sup 6949
This theorem is referenced by:  suplub2ti  6966  supisoti  6975  infglbti  6990  sup3exmid  8852  maxleast  11155
  Copyright terms: Public domain W3C validator