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

Theorem poslubd 18503
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 264 . . 3 ((∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
5 poslubd.k . . 3 (𝜑𝐾 ∈ Poset)
6 poslubd.s . . 3 (𝜑𝑆𝐵)
71, 2, 3, 4, 5, 6lubval 18446 . 2 (𝜑 → (𝑈𝑆) = (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))))
8 poslubd.ub . . . . 5 ((𝜑𝑥𝑆) → 𝑥 𝑇)
98ralrimiva 3156 . . . 4 (𝜑 → ∀𝑥𝑆 𝑥 𝑇)
10 poslubd.le . . . . . 6 ((𝜑𝑦𝐵 ∧ ∀𝑥𝑆 𝑥 𝑦) → 𝑇 𝑦)
11103expia 1139 . . . . 5 ((𝜑𝑦𝐵) → (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))
1211ralrimiva 3156 . . . 4 (𝜑 → ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))
139, 12jca 521 . . 3 (𝜑 → (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
14 poslubd.t . . . 4 (𝜑𝑇𝐵)
15 breq2 5111 . . . . . . . . 9 (𝑧 = 𝑇 → (𝑥 𝑧𝑥 𝑇))
1615ralbidv 3187 . . . . . . . 8 (𝑧 = 𝑇 → (∀𝑥𝑆 𝑥 𝑧 ↔ ∀𝑥𝑆 𝑥 𝑇))
17 breq1 5110 . . . . . . . . . 10 (𝑧 = 𝑇 → (𝑧 𝑦𝑇 𝑦))
1817imbi2d 343 . . . . . . . . 9 (𝑧 = 𝑇 → ((∀𝑥𝑆 𝑥 𝑦𝑧 𝑦) ↔ (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
1918ralbidv 3187 . . . . . . . 8 (𝑧 = 𝑇 → (∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦) ↔ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)))
2016, 19anbi12d 644 . . . . . . 7 (𝑧 = 𝑇 → ((∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))))
2120rspcev 3579 . . . . . 6 ((𝑇𝐵 ∧ (∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦))) → ∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
2214, 13, 21syl2anc 596 . . . . 5 (𝜑 → ∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
232, 1poslubmo 18501 . . . . . 6 ((𝐾 ∈ Poset ∧ 𝑆𝐵) → ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
245, 6, 23syl2anc 596 . . . . 5 (𝜑 → ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
25 reu5 3369 . . . . 5 (∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ↔ (∃𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)) ∧ ∃*𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))))
2622, 24, 25sylanbrc 595 . . . 4 (𝜑 → ∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦)))
2720riota2 7398 . . . 4 ((𝑇𝐵 ∧ ∃!𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) → ((∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)) ↔ (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇))
2814, 26, 27syl2anc 596 . . 3 (𝜑 → ((∀𝑥𝑆 𝑥 𝑇 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑇 𝑦)) ↔ (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇))
2913, 28mpbid 235 . 2 (𝜑 → (𝑧𝐵 (∀𝑥𝑆 𝑥 𝑧 ∧ ∀𝑦𝐵 (∀𝑥𝑆 𝑥 𝑦𝑧 𝑦))) = 𝑇)
307, 29eqtrd 2797 1 (𝜑 → (𝑈𝑆) = 𝑇)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401  w3a 1103   = wceq 1570  wcel 2145  wral 3078  wrex 3088  ∃!wreu 3365  ∃*wrmo 3366  wss 3902   class class class wbr 5107  cfv 6537  crio 7372  Basecbs 17305  lecple 17353  Posetcpo 18399  lubclub 18401
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2734  ax-rep 5236  ax-sep 5255  ax-nul 5267  ax-pow 5334  ax-pr 5402
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-rmo 3367  df-reu 3368  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-pw 4562  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-iun 4956  df-br 5108  df-opab 5172  df-mpt 5191  df-id 5554  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 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-riota 7373  df-proset 18386  df-poset 18405  df-lub 18436
This theorem is used by:  poslubdg  18504  lubsscl  49873
  Copyright terms: Public domain W3C validator