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

Theorem glbfval 18540
Description: Value of the greatest lower function of a poset. (Contributed by NM, 12-Sep-2011.) (Revised by NM, 6-Sep-2018.)
Hypotheses
Ref Expression
glbfval.b 𝐵 = (Base‘𝐾)
glbfval.l ≤ = (le‘𝐾)
glbfval.g 𝐺 = (glb‘𝐾)
glbfval.p (𝜓 ↔ (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
glbfval.k (𝜑 → 𝐾 ∈ 𝑉)
Assertion
Ref Expression
glbfval (𝜑 → 𝐺 = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 𝜓)) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 𝜓}))
Distinct variable groups:   𝑥,𝑠,𝑧,𝐵   𝑦,𝑠,𝐾,𝑥,𝑧
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧, 𝑠)   𝜓(𝑥, 𝑦, 𝑧, 𝑠)   𝐵(𝑦)   𝐺(𝑥, 𝑦, 𝑧, 𝑠)   ≤ (𝑥, 𝑦, 𝑧, 𝑠)   𝑉(𝑥, 𝑦, 𝑧, 𝑠)

Proof of Theorem glbfval
Dummy variable 𝑝 is distinct from all other variables.
StepHypRef Expression
1 glbfval.k . 2 (𝜑 → 𝐾 ∈ 𝑉)
2 elex 3471 . 2 (𝐾 ∈ 𝑉 → 𝐾 ∈ V)
3 fveq2 6885 . . . . . . . 8 (𝑝 = 𝐾 → (Base‘𝑝) = (Base‘𝐾))
4 glbfval.b . . . . . . . 8 𝐵 = (Base‘𝐾)
53, 4eqtr4di 2813 . . . . . . 7 (𝑝 = 𝐾 → (Base‘𝑝) = 𝐵)
65pweqd 4573 . . . . . 6 (𝑝 = 𝐾 → 𝒫 (Base‘𝑝) = 𝒫 𝐵)
7 fveq2 6885 . . . . . . . . . . 11 (𝑝 = 𝐾 → (le‘𝑝) = (le‘𝐾))
8 glbfval.l . . . . . . . . . . 11 ≤ = (le‘𝐾)
97, 8eqtr4di 2813 . . . . . . . . . 10 (𝑝 = 𝐾 → (le‘𝑝) = ≤ )
109breqd 5113 . . . . . . . . 9 (𝑝 = 𝐾 → (𝑥(le‘𝑝)𝑦 ↔ 𝑥 ≤ 𝑦))
1110ralbidv 3185 . . . . . . . 8 (𝑝 = 𝐾 → (∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ↔ ∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦))
129breqd 5113 . . . . . . . . . . 11 (𝑝 = 𝐾 → (𝑧(le‘𝑝)𝑦 ↔ 𝑧 ≤ 𝑦))
1312ralbidv 3185 . . . . . . . . . 10 (𝑝 = 𝐾 → (∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 ↔ ∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦))
149breqd 5113 . . . . . . . . . 10 (𝑝 = 𝐾 → (𝑧(le‘𝑝)𝑥 ↔ 𝑧 ≤ 𝑥))
1513, 14imbi12d 347 . . . . . . . . 9 (𝑝 = 𝐾 → ((∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥) ↔ (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
165, 15raleqbidv 3334 . . . . . . . 8 (𝑝 = 𝐾 → (∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥) ↔ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
1711, 16anbi12d 644 . . . . . . 7 (𝑝 = 𝐾 → ((∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)) ↔ (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
185, 17riotaeqbidv 7380 . . . . . 6 (𝑝 = 𝐾 → (℩𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥))) = (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
196, 18mpteq12dv 5191 . . . . 5 (𝑝 = 𝐾 → (𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (℩𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)))) = (𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))))
2017reubidv 3381 . . . . . . 7 (𝑝 = 𝐾 → (∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)) ↔ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
21 reueq1 3397 . . . . . . . 8 ((Base‘𝑝) = 𝐵 → (∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)) ↔ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
225, 21syl 18 . . . . . . 7 (𝑝 = 𝐾 → (∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)) ↔ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
2320, 22bitrd 282 . . . . . 6 (𝑝 = 𝐾 → (∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)) ↔ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
2423abbidv 2826 . . . . 5 (𝑝 = 𝐾 → {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥))} = {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))})
2519, 24reseq12d 5970 . . . 4 (𝑝 = 𝐾 → ((𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (℩𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥))}) = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))}))
26 df-glb 18524 . . . 4 glb = (𝑝 ∈ V ↦ ((𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (℩𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥))}))
274fvexi 6899 . . . . . . 7 𝐵 ∈ V
2827pwex 5341 . . . . . 6 𝒫 𝐵 ∈ V
2928mptex 7229 . . . . 5 (𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ∈ V
3029resex 6017 . . . 4 ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))}) ∈ V
3125, 26, 30fvmpt 6993 . . 3 (𝐾 ∈ V → (glb‘𝐾) = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))}))
32 glbfval.g . . 3 𝐺 = (glb‘𝐾)
33 glbfval.p . . . . . . 7 (𝜓 ↔ (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
3433a1i 11 . . . . . 6 (𝑥 ∈ 𝐵 → (𝜓 ↔ (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
3534riotabiia 7397 . . . . 5 (℩𝑥 ∈ 𝐵 𝜓) = (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
3635mpteq2i 5200 . . . 4 (𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 𝜓)) = (𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
3733reubii 3374 . . . . 5 (∃!𝑥 ∈ 𝐵 𝜓 ↔ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
3837abbii 2827 . . . 4 {𝑠 ∣ ∃!𝑥 ∈ 𝐵 𝜓} = {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))}
3936, 38reseq12i 5967 . . 3 ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 𝜓)) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 𝜓}) = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))})
4031, 32, 393eqtr4g 2820 . 2 (𝐾 ∈ V → 𝐺 = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 𝜓)) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 𝜓}))
411, 2, 403syl 19 1 (𝜑 → 𝐺 = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 𝜓)) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 𝜓}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {cab 2738  ∀wral 3076  ∃!wreu 3363  Vcvv 3450  𝒫 cpw 4556   class class class wbr 5102   ↦ cmpt 5185   ↾ cres 5652  ‘cfv 6538  ℩crio 7376  Basecbs 17392  lecple 17440  glbcglb 18489
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-glb 18524
This theorem is used by:  glbdm  18541  glbfun  18542  glbval  18546  meet0  18583  odulub  18584  oduglb  18586
  Copyright terms: Public domain W3C validator