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

Definition df-lub 18073
Description: Define the least upper bound (LUB) of a set of (poset) elements. The domain is restricted to exclude sets 𝑠 for which the LUB doesn't exist uniquely. (Contributed by NM, 12-Sep-2011.) (Revised by NM, 6-Sep-2018.)
Assertion
Ref Expression
df-lub lub = (𝑝 ∈ V ↦ ((𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧))}))
Distinct variable group:   𝑠,𝑝,𝑥,𝑦,𝑧

Detailed syntax breakdown of Definition df-lub
StepHypRef Expression
1 club 18036 . 2 class lub
2 vp . . 3 setvar 𝑝
3 cvv 3433 . . 3 class V
4 vs . . . . 5 setvar 𝑠
52cv 1538 . . . . . . 7 class 𝑝
6 cbs 16921 . . . . . . 7 class Base
75, 6cfv 6437 . . . . . 6 class (Base‘𝑝)
87cpw 4534 . . . . 5 class 𝒫 (Base‘𝑝)
9 vy . . . . . . . . . 10 setvar 𝑦
109cv 1538 . . . . . . . . 9 class 𝑦
11 vx . . . . . . . . . 10 setvar 𝑥
1211cv 1538 . . . . . . . . 9 class 𝑥
13 cple 16978 . . . . . . . . . 10 class le
145, 13cfv 6437 . . . . . . . . 9 class (le‘𝑝)
1510, 12, 14wbr 5075 . . . . . . . 8 wff 𝑦(le‘𝑝)𝑥
164cv 1538 . . . . . . . 8 class 𝑠
1715, 9, 16wral 3065 . . . . . . 7 wff 𝑦𝑠 𝑦(le‘𝑝)𝑥
18 vz . . . . . . . . . . . 12 setvar 𝑧
1918cv 1538 . . . . . . . . . . 11 class 𝑧
2010, 19, 14wbr 5075 . . . . . . . . . 10 wff 𝑦(le‘𝑝)𝑧
2120, 9, 16wral 3065 . . . . . . . . 9 wff 𝑦𝑠 𝑦(le‘𝑝)𝑧
2212, 19, 14wbr 5075 . . . . . . . . 9 wff 𝑥(le‘𝑝)𝑧
2321, 22wi 4 . . . . . . . 8 wff (∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧)
2423, 18, 7wral 3065 . . . . . . 7 wff 𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧)
2517, 24wa 396 . . . . . 6 wff (∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧))
2625, 11, 7crio 7240 . . . . 5 class (𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧)))
274, 8, 26cmpt 5158 . . . 4 class (𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧))))
2825, 11, 7wreu 3067 . . . . 5 wff ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧))
2928, 4cab 2716 . . . 4 class {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧))}
3027, 29cres 5592 . . 3 class ((𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧))})
312, 3, 30cmpt 5158 . 2 class (𝑝 ∈ V ↦ ((𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧))}))
321, 31wceq 1539 1 wff lub = (𝑝 ∈ V ↦ ((𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑥 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦𝑠 𝑦(le‘𝑝)𝑧𝑥(le‘𝑝)𝑧))}))
Colors of variables: wff setvar class
This definition is referenced by:  lubfval  18077
  Copyright terms: Public domain W3C validator