MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  poslubmo Structured version   Visualization version   GIF version

Theorem poslubmo 18044
Description: Least upper bounds in a poset are unique if they exist. (Contributed by Stefan O'Rear, 31-Jan-2015.) (Revised by NM, 16-Jun-2017.)
Hypotheses
Ref Expression
poslubmo.l = (le‘𝐾)
poslubmo.b 𝐵 = (Base‘𝐾)
Assertion
Ref Expression
poslubmo ((𝐾 ∈ Poset ∧ 𝑆𝐵) → ∃*𝑥𝐵 (∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)))
Distinct variable groups:   𝑥, ,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥,𝐾,𝑦,𝑧   𝑥,𝑆,𝑦,𝑧

Proof of Theorem poslubmo
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 simprrl 777 . . . . . 6 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → ∀𝑦𝑆 𝑦 𝑤)
2 breq2 5074 . . . . . . . . 9 (𝑧 = 𝑤 → (𝑦 𝑧𝑦 𝑤))
32ralbidv 3120 . . . . . . . 8 (𝑧 = 𝑤 → (∀𝑦𝑆 𝑦 𝑧 ↔ ∀𝑦𝑆 𝑦 𝑤))
4 breq2 5074 . . . . . . . 8 (𝑧 = 𝑤 → (𝑥 𝑧𝑥 𝑤))
53, 4imbi12d 344 . . . . . . 7 (𝑧 = 𝑤 → ((∀𝑦𝑆 𝑦 𝑧𝑥 𝑧) ↔ (∀𝑦𝑆 𝑦 𝑤𝑥 𝑤)))
6 simprlr 776 . . . . . . 7 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧))
7 simplrr 774 . . . . . . 7 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → 𝑤𝐵)
85, 6, 7rspcdva 3554 . . . . . 6 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → (∀𝑦𝑆 𝑦 𝑤𝑥 𝑤))
91, 8mpd 15 . . . . 5 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → 𝑥 𝑤)
10 simprll 775 . . . . . 6 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → ∀𝑦𝑆 𝑦 𝑥)
11 breq2 5074 . . . . . . . . 9 (𝑧 = 𝑥 → (𝑦 𝑧𝑦 𝑥))
1211ralbidv 3120 . . . . . . . 8 (𝑧 = 𝑥 → (∀𝑦𝑆 𝑦 𝑧 ↔ ∀𝑦𝑆 𝑦 𝑥))
13 breq2 5074 . . . . . . . 8 (𝑧 = 𝑥 → (𝑤 𝑧𝑤 𝑥))
1412, 13imbi12d 344 . . . . . . 7 (𝑧 = 𝑥 → ((∀𝑦𝑆 𝑦 𝑧𝑤 𝑧) ↔ (∀𝑦𝑆 𝑦 𝑥𝑤 𝑥)))
15 simprrr 778 . . . . . . 7 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧))
16 simplrl 773 . . . . . . 7 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → 𝑥𝐵)
1714, 15, 16rspcdva 3554 . . . . . 6 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → (∀𝑦𝑆 𝑦 𝑥𝑤 𝑥))
1810, 17mpd 15 . . . . 5 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → 𝑤 𝑥)
19 poslubmo.b . . . . . . . 8 𝐵 = (Base‘𝐾)
20 poslubmo.l . . . . . . . 8 = (le‘𝐾)
2119, 20posasymb 17952 . . . . . . 7 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑤𝐵) → ((𝑥 𝑤𝑤 𝑥) ↔ 𝑥 = 𝑤))
22213expb 1118 . . . . . 6 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑤𝐵)) → ((𝑥 𝑤𝑤 𝑥) ↔ 𝑥 = 𝑤))
2322ad4ant13 747 . . . . 5 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → ((𝑥 𝑤𝑤 𝑥) ↔ 𝑥 = 𝑤))
249, 18, 23mpbi2and 708 . . . 4 ((((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) ∧ ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))) → 𝑥 = 𝑤)
2524ex 412 . . 3 (((𝐾 ∈ Poset ∧ 𝑆𝐵) ∧ (𝑥𝐵𝑤𝐵)) → (((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧))) → 𝑥 = 𝑤))
2625ralrimivva 3114 . 2 ((𝐾 ∈ Poset ∧ 𝑆𝐵) → ∀𝑥𝐵𝑤𝐵 (((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧))) → 𝑥 = 𝑤))
27 breq2 5074 . . . . 5 (𝑥 = 𝑤 → (𝑦 𝑥𝑦 𝑤))
2827ralbidv 3120 . . . 4 (𝑥 = 𝑤 → (∀𝑦𝑆 𝑦 𝑥 ↔ ∀𝑦𝑆 𝑦 𝑤))
29 breq1 5073 . . . . . 6 (𝑥 = 𝑤 → (𝑥 𝑧𝑤 𝑧))
3029imbi2d 340 . . . . 5 (𝑥 = 𝑤 → ((∀𝑦𝑆 𝑦 𝑧𝑥 𝑧) ↔ (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))
3130ralbidv 3120 . . . 4 (𝑥 = 𝑤 → (∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧) ↔ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧)))
3228, 31anbi12d 630 . . 3 (𝑥 = 𝑤 → ((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ↔ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧))))
3332rmo4 3660 . 2 (∃*𝑥𝐵 (∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ↔ ∀𝑥𝐵𝑤𝐵 (((∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)) ∧ (∀𝑦𝑆 𝑦 𝑤 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑤 𝑧))) → 𝑥 = 𝑤))
3426, 33sylibr 233 1 ((𝐾 ∈ Poset ∧ 𝑆𝐵) → ∃*𝑥𝐵 (∀𝑦𝑆 𝑦 𝑥 ∧ ∀𝑧𝐵 (∀𝑦𝑆 𝑦 𝑧𝑥 𝑧)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  ∃*wrmo 3066  wss 3883   class class class wbr 5070  cfv 6418  Basecbs 16840  lecple 16895  Posetcpo 17940
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-nul 5225
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-proset 17928  df-poset 17946
This theorem is referenced by:  poslubd  18046  lubeldm2  46138
  Copyright terms: Public domain W3C validator