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

Theorem poslubd 18428
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 261 . . 3 ((∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
5 poslubd.k . . 3 (𝜑𝐾 ∈ Poset)
6 poslubd.s . . 3 (𝜑𝑆𝐵)
71, 2, 3, 4, 5, 6lubval 18371 . 2 (𝜑 → (𝑈𝑆) = (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))))
8 poslubd.ub . . . . 5 ((𝜑𝑥𝑆) → 𝑥 𝑇)
98ralrimiva 3133 . . . 4 (𝜑 → ∀𝑥𝑆 𝑥 𝑇)
10 poslubd.le . . . . . 6 ((𝜑𝑦𝐵 ∧ ∀𝑥𝑆 𝑥 𝑦) → 𝑇 𝑦)
11103expia 1121 . . . . 5 ((𝜑𝑦𝐵) → (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))
1211ralrimiva 3133 . . . 4 (𝜑 → ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))
139, 12jca 511 . . 3 (𝜑 → (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
14 poslubd.t . . . 4 (𝜑𝑇𝐵)
15 breq2 5128 . . . . . . . . 9 (𝑧 = 𝑇 → (𝑥 𝑧𝑥 𝑇))
1615ralbidv 3164 . . . . . . . 8 (𝑧 = 𝑇 → (∀𝑥𝑆 𝑥 𝑧 ↔ ∀𝑥𝑆 𝑥 𝑇))
17 breq1 5127 . . . . . . . . . 10 (𝑧 = 𝑇 → (𝑧 𝑦𝑇 𝑦))
1817imbi2d 340 . . . . . . . . 9 (𝑧 = 𝑇 → ((∀𝑥𝑆 𝑥 𝑦𝑧 𝑦) ↔ (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
1918ralbidv 3164 . . . . . . . 8 (𝑧 = 𝑇 → (∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦) ↔ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
2016, 19anbi12d 632 . . . . . . 7 (𝑧 = 𝑇 → ((∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))))
2120rspcev 3606 . . . . . 6 ((𝑇𝐵 ∧ (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))) → ∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
2214, 13, 21syl2anc 584 . . . . 5 (𝜑 → ∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
232, 1poslubmo 18426 . . . . . 6 ((𝐾 ∈ Poset ∧ 𝑆𝐵) → ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
245, 6, 23syl2anc 584 . . . . 5 (𝜑 → ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
25 reu5 3366 . . . . 5 (∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ∧ ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))))
2622, 24, 25sylanbrc 583 . . . 4 (𝜑 → ∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
2720riota2 7392 . . . 4 ((𝑇𝐵 ∧ ∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) → ((∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)) ↔ (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇))
2814, 26, 27syl2anc 584 . . 3 (𝜑 → ((∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)) ↔ (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇))
2913, 28mpbid 232 . 2 (𝜑 → (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇)
307, 29eqtrd 2771 1 (𝜑 → (𝑈𝑆) = 𝑇)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1086   = wceq 1540  wcel 2109  wral 3052  wrex 3061  ∃!wreu 3362  ∃*wrmo 3363  wss 3931   class class class wbr 5124  cfv 6536  crio 7366  Basecbs 17233  lecple 17283  Posetcpo 18324  lubclub 18326
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2708  ax-rep 5254  ax-sep 5271  ax-nul 5281  ax-pow 5340  ax-pr 5407
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2810  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3062  df-rmo 3364  df-reu 3365  df-rab 3421  df-v 3466  df-sbc 3771  df-csb 3880  df-dif 3934  df-un 3936  df-in 3938  df-ss 3948  df-nul 4314  df-if 4506  df-pw 4582  df-sn 4607  df-pr 4609  df-op 4613  df-uni 4889  df-iun 4974  df-br 5125  df-opab 5187  df-mpt 5207  df-id 5553  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-iota 6489  df-fun 6538  df-fn 6539  df-f 6540  df-f1 6541  df-fo 6542  df-f1o 6543  df-fv 6544  df-riota 7367  df-proset 18311  df-poset 18330  df-lub 18361
This theorem is referenced by:  poslubdg  18429  lubsscl  48901
  Copyright terms: Public domain W3C validator