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

Theorem supsnti 6418
Description: The supremum of a singleton. (Contributed by Jim Kingdon, 26-Nov-2021.)
Hypotheses
Ref Expression
supsnti.ti ((𝜑 ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
supsnti.b (𝜑𝐵𝐴)
Assertion
Ref Expression
supsnti (𝜑 → sup({𝐵}, 𝐴, 𝑅) = 𝐵)
Distinct variable groups:   𝑢,𝐴,𝑣   𝑢,𝐵,𝑣   𝑢,𝑅,𝑣   𝜑,𝑢,𝑣

Proof of Theorem supsnti
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 supsnti.ti . 2 ((𝜑 ∧ (𝑢𝐴𝑣𝐴)) → (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
2 supsnti.b . 2 (𝜑𝐵𝐴)
3 snidg 3423 . . 3 (𝐵𝐴𝐵 ∈ {𝐵})
42, 3syl 14 . 2 (𝜑𝐵 ∈ {𝐵})
5 eqid 2081 . . . . . 6 𝐵 = 𝐵
61ralrimivva 2443 . . . . . . 7 (𝜑 → ∀𝑢𝐴𝑣𝐴 (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)))
7 eqeq1 2087 . . . . . . . . . 10 (𝑢 = 𝐵 → (𝑢 = 𝑣𝐵 = 𝑣))
8 breq1 3788 . . . . . . . . . . . 12 (𝑢 = 𝐵 → (𝑢𝑅𝑣𝐵𝑅𝑣))
98notbid 624 . . . . . . . . . . 11 (𝑢 = 𝐵 → (¬ 𝑢𝑅𝑣 ↔ ¬ 𝐵𝑅𝑣))
10 breq2 3789 . . . . . . . . . . . 12 (𝑢 = 𝐵 → (𝑣𝑅𝑢𝑣𝑅𝐵))
1110notbid 624 . . . . . . . . . . 11 (𝑢 = 𝐵 → (¬ 𝑣𝑅𝑢 ↔ ¬ 𝑣𝑅𝐵))
129, 11anbi12d 456 . . . . . . . . . 10 (𝑢 = 𝐵 → ((¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢) ↔ (¬ 𝐵𝑅𝑣 ∧ ¬ 𝑣𝑅𝐵)))
137, 12bibi12d 233 . . . . . . . . 9 (𝑢 = 𝐵 → ((𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)) ↔ (𝐵 = 𝑣 ↔ (¬ 𝐵𝑅𝑣 ∧ ¬ 𝑣𝑅𝐵))))
14 eqeq2 2090 . . . . . . . . . 10 (𝑣 = 𝐵 → (𝐵 = 𝑣𝐵 = 𝐵))
15 breq2 3789 . . . . . . . . . . . 12 (𝑣 = 𝐵 → (𝐵𝑅𝑣𝐵𝑅𝐵))
1615notbid 624 . . . . . . . . . . 11 (𝑣 = 𝐵 → (¬ 𝐵𝑅𝑣 ↔ ¬ 𝐵𝑅𝐵))
17 breq1 3788 . . . . . . . . . . . 12 (𝑣 = 𝐵 → (𝑣𝑅𝐵𝐵𝑅𝐵))
1817notbid 624 . . . . . . . . . . 11 (𝑣 = 𝐵 → (¬ 𝑣𝑅𝐵 ↔ ¬ 𝐵𝑅𝐵))
1916, 18anbi12d 456 . . . . . . . . . 10 (𝑣 = 𝐵 → ((¬ 𝐵𝑅𝑣 ∧ ¬ 𝑣𝑅𝐵) ↔ (¬ 𝐵𝑅𝐵 ∧ ¬ 𝐵𝑅𝐵)))
2014, 19bibi12d 233 . . . . . . . . 9 (𝑣 = 𝐵 → ((𝐵 = 𝑣 ↔ (¬ 𝐵𝑅𝑣 ∧ ¬ 𝑣𝑅𝐵)) ↔ (𝐵 = 𝐵 ↔ (¬ 𝐵𝑅𝐵 ∧ ¬ 𝐵𝑅𝐵))))
2113, 20rspc2v 2713 . . . . . . . 8 ((𝐵𝐴𝐵𝐴) → (∀𝑢𝐴𝑣𝐴 (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)) → (𝐵 = 𝐵 ↔ (¬ 𝐵𝑅𝐵 ∧ ¬ 𝐵𝑅𝐵))))
222, 2, 21syl2anc 403 . . . . . . 7 (𝜑 → (∀𝑢𝐴𝑣𝐴 (𝑢 = 𝑣 ↔ (¬ 𝑢𝑅𝑣 ∧ ¬ 𝑣𝑅𝑢)) → (𝐵 = 𝐵 ↔ (¬ 𝐵𝑅𝐵 ∧ ¬ 𝐵𝑅𝐵))))
236, 22mpd 13 . . . . . 6 (𝜑 → (𝐵 = 𝐵 ↔ (¬ 𝐵𝑅𝐵 ∧ ¬ 𝐵𝑅𝐵)))
245, 23mpbii 146 . . . . 5 (𝜑 → (¬ 𝐵𝑅𝐵 ∧ ¬ 𝐵𝑅𝐵))
2524simpld 110 . . . 4 (𝜑 → ¬ 𝐵𝑅𝐵)
2625adantr 270 . . 3 ((𝜑𝑥 ∈ {𝐵}) → ¬ 𝐵𝑅𝐵)
27 elsni 3416 . . . . . 6 (𝑥 ∈ {𝐵} → 𝑥 = 𝐵)
2827breq2d 3797 . . . . 5 (𝑥 ∈ {𝐵} → (𝐵𝑅𝑥𝐵𝑅𝐵))
2928notbid 624 . . . 4 (𝑥 ∈ {𝐵} → (¬ 𝐵𝑅𝑥 ↔ ¬ 𝐵𝑅𝐵))
3029adantl 271 . . 3 ((𝜑𝑥 ∈ {𝐵}) → (¬ 𝐵𝑅𝑥 ↔ ¬ 𝐵𝑅𝐵))
3126, 30mpbird 165 . 2 ((𝜑𝑥 ∈ {𝐵}) → ¬ 𝐵𝑅𝑥)
321, 2, 4, 31supmaxti 6417 1 (𝜑 → sup({𝐵}, 𝐴, 𝑅) = 𝐵)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 102  wb 103   = wceq 1284  wcel 1433  wral 2348  {csn 3398   class class class wbr 3785  supcsup 6395
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-fal 1290  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-reu 2355  df-rmo 2356  df-rab 2357  df-v 2603  df-sbc 2816  df-un 2977  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-br 3786  df-iota 4887  df-riota 5488  df-sup 6397
This theorem is referenced by:  infsnti  6443
  Copyright terms: Public domain W3C validator