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

Theorem poslubd 17752
Description: Properties which determine the least upper bound in a poset. (Contributed by Stefan O'Rear, 31-Jan-2015.)
Hypotheses
Ref Expression
poslubd.l = (le‘𝐾)
poslubd.b 𝐵 = (Base‘𝐾)
poslubd.u 𝑈 = (lub‘𝐾)
poslubd.k (𝜑𝐾 ∈ Poset)
poslubd.s (𝜑𝑆𝐵)
poslubd.t (𝜑𝑇𝐵)
poslubd.ub ((𝜑𝑥𝑆) → 𝑥 𝑇)
poslubd.le ((𝜑𝑦𝐵 ∧ ∀𝑥𝑆 𝑥 𝑦) → 𝑇 𝑦)
Assertion
Ref Expression
poslubd (𝜑 → (𝑈𝑆) = 𝑇)
Distinct variable groups:   𝑥, ,𝑦   𝑥,𝐵,𝑦   𝑥,𝐾,𝑦   𝑥,𝑆,𝑦   𝑥,𝑈,𝑦   𝑥,𝑇,𝑦   𝜑,𝑥,𝑦

Proof of Theorem poslubd
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 poslubd.b . . 3 𝐵 = (Base‘𝐾)
2 poslubd.l . . 3 = (le‘𝐾)
3 poslubd.u . . 3 𝑈 = (lub‘𝐾)
4 biid 263 . . 3 ((∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
5 poslubd.k . . 3 (𝜑𝐾 ∈ Poset)
6 poslubd.s . . 3 (𝜑𝑆𝐵)
71, 2, 3, 4, 5, 6lubval 17588 . 2 (𝜑 → (𝑈𝑆) = (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))))
8 poslubd.ub . . . . 5 ((𝜑𝑥𝑆) → 𝑥 𝑇)
98ralrimiva 3182 . . . 4 (𝜑 → ∀𝑥𝑆 𝑥 𝑇)
10 poslubd.le . . . . . 6 ((𝜑𝑦𝐵 ∧ ∀𝑥𝑆 𝑥 𝑦) → 𝑇 𝑦)
11103expia 1117 . . . . 5 ((𝜑𝑦𝐵) → (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))
1211ralrimiva 3182 . . . 4 (𝜑 → ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))
139, 12jca 514 . . 3 (𝜑 → (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
14 poslubd.t . . . 4 (𝜑𝑇𝐵)
15 breq2 5062 . . . . . . . . 9 (𝑧 = 𝑇 → (𝑥 𝑧𝑥 𝑇))
1615ralbidv 3197 . . . . . . . 8 (𝑧 = 𝑇 → (∀𝑥𝑆 𝑥 𝑧 ↔ ∀𝑥𝑆 𝑥 𝑇))
17 breq1 5061 . . . . . . . . . 10 (𝑧 = 𝑇 → (𝑧 𝑦𝑇 𝑦))
1817imbi2d 343 . . . . . . . . 9 (𝑧 = 𝑇 → ((∀𝑥𝑆 𝑥 𝑦𝑧 𝑦) ↔ (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
1918ralbidv 3197 . . . . . . . 8 (𝑧 = 𝑇 → (∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦) ↔ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
2016, 19anbi12d 632 . . . . . . 7 (𝑧 = 𝑇 → ((∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))))
2120rspcev 3622 . . . . . 6 ((𝑇𝐵 ∧ (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))) → ∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
2214, 13, 21syl2anc 586 . . . . 5 (𝜑 → ∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
232, 1poslubmo 17750 . . . . . 6 ((𝐾 ∈ Poset ∧ 𝑆𝐵) → ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
245, 6, 23syl2anc 586 . . . . 5 (𝜑 → ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
25 reu5 3430 . . . . 5 (∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ∧ ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))))
2622, 24, 25sylanbrc 585 . . . 4 (𝜑 → ∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
2720riota2 7133 . . . 4 ((𝑇𝐵 ∧ ∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) → ((∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)) ↔ (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇))
2814, 26, 27syl2anc 586 . . 3 (𝜑 → ((∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)) ↔ (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇))
2913, 28mpbid 234 . 2 (𝜑 → (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇)
307, 29eqtrd 2856 1 (𝜑 → (𝑈𝑆) = 𝑇)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1533  wcel 2110  wral 3138  wrex 3139  ∃!wreu 3140  ∃*wrmo 3141  wss 3935   class class class wbr 5058  cfv 6349  crio 7107  Basecbs 16477  lecple 16566  Posetcpo 17544  lubclub 17546
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-riota 7108  df-proset 17532  df-poset 17550  df-lub 17578
This theorem is referenced by:  poslubdg  17753
  Copyright terms: Public domain W3C validator