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

Theorem glbfval 18605
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 3477 . 2 (𝐾 ∈ 𝑉 → 𝐾 ∈ V)
3 fveq2 6926 . . . . . . . 8 (𝑝 = 𝐾 → (Base‘𝑝) = (Base‘𝐾))
4 glbfval.b . . . . . . . 8 𝐵 = (Base‘𝐾)
53, 4eqtr4di 2822 . . . . . . 7 (𝑝 = 𝐾 → (Base‘𝑝) = 𝐵)
65pweqd 4579 . . . . . 6 (𝑝 = 𝐾 → 𝒫 (Base‘𝑝) = 𝒫 𝐵)
7 fveq2 6926 . . . . . . . . . . 11 (𝑝 = 𝐾 → (le‘𝑝) = (le‘𝐾))
8 glbfval.l . . . . . . . . . . 11 ≤ = (le‘𝐾)
97, 8eqtr4di 2822 . . . . . . . . . 10 (𝑝 = 𝐾 → (le‘𝑝) = ≤ )
109breqd 5122 . . . . . . . . 9 (𝑝 = 𝐾 → (𝑥(le‘𝑝)𝑦 ↔ 𝑥 ≤ 𝑦))
1110ralbidv 3195 . . . . . . . 8 (𝑝 = 𝐾 → (∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ↔ ∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦))
129breqd 5122 . . . . . . . . . . 11 (𝑝 = 𝐾 → (𝑧(le‘𝑝)𝑦 ↔ 𝑧 ≤ 𝑦))
1312ralbidv 3195 . . . . . . . . . 10 (𝑝 = 𝐾 → (∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 ↔ ∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦))
149breqd 5122 . . . . . . . . . 10 (𝑝 = 𝐾 → (𝑧(le‘𝑝)𝑥 ↔ 𝑧 ≤ 𝑥))
1513, 14imbi12d 347 . . . . . . . . 9 (𝑝 = 𝐾 → ((∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥) ↔ (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
165, 15raleqbidv 3341 . . . . . . . 8 (𝑝 = 𝐾 → (∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥) ↔ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
1711, 16anbi12d 644 . . . . . . 7 (𝑝 = 𝐾 → ((∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)) ↔ (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
185, 17riotaeqbidv 7421 . . . . . 6 (𝑝 = 𝐾 → (℩𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥))) = (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
196, 18mpteq12dv 5201 . . . . 5 (𝑝 = 𝐾 → (𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (℩𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)))) = (𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))))
2017reubidv 3387 . . . . . . 7 (𝑝 = 𝐾 → (∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)) ↔ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
21 reueq1 3403 . . . . . . . 8 ((Base‘𝑝) = 𝐵 → (∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)) ↔ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
225, 21syl 18 . . . . . . 7 (𝑝 = 𝐾 → (∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)) ↔ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
2320, 22bitrd 282 . . . . . 6 (𝑝 = 𝐾 → (∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)) ↔ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
2423abbidv 2835 . . . . 5 (𝑝 = 𝐾 → {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥))} = {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))})
2519, 24reseq12d 5990 . . . 4 (𝑝 = 𝐾 → ((𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (℩𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥))}) = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))}))
26 df-glb 18589 . . . 4 glb = (𝑝 ∈ V ↦ ((𝑠 ∈ 𝒫 (Base‘𝑝) ↦ (℩𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑥(le‘𝑝)𝑦 ∧ ∀𝑧 ∈ (Base‘𝑝)(∀𝑦 ∈ 𝑠 𝑧(le‘𝑝)𝑦 → 𝑧(le‘𝑝)𝑥))}))
274fvexi 6940 . . . . . . 7 𝐵 ∈ V
2827pwex 5352 . . . . . 6 𝒫 𝐵 ∈ V
2928mptex 7270 . . . . 5 (𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ∈ V
3029resex 6039 . . . 4 ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))}) ∈ V
3125, 26, 30fvmpt 7034 . . 3 (𝐾 ∈ V → (glb‘𝐾) = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))}))
32 glbfval.g . . 3 𝐺 = (glb‘𝐾)
33 glbfval.p . . . . . . 7 (𝜓 ↔ (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
3433a1i 11 . . . . . 6 (𝑥 ∈ 𝐵 → (𝜓 ↔ (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
3534riotabiia 7439 . . . . 5 (℩𝑥 ∈ 𝐵 𝜓) = (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
3635mpteq2i 5210 . . . 4 (𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 𝜓)) = (𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))))
3733reubii 3380 . . . . 5 (∃!𝑥 ∈ 𝐵 𝜓 ↔ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))
3837abbii 2836 . . . 4 {𝑠 ∣ ∃!𝑥 ∈ 𝐵 𝜓} = {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))}
3936, 38reseq12i 5987 . . 3 ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 𝜓)) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 𝜓}) = ((𝑠 ∈ 𝒫 𝐵 ↦ (℩𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥)))) ↾ {𝑠 ∣ ∃!𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑥 ≤ 𝑦 ∧ ∀𝑧 ∈ 𝐵 (∀𝑦 ∈ 𝑠 𝑧 ≤ 𝑦 → 𝑧 ≤ 𝑥))})
4031, 32, 393eqtr4g 2829 . 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 1572   ∈ wcel 2151  {cab 2747  ∀wral 3086  ∃!wreu 3369  Vcvv 3456  𝒫 cpw 4562   class class class wbr 5111   ↦ cmpt 5195   ↾ cres 5663  ‘cfv 6573  ℩crio 7417  Basecbs 17447  lecple 17495  glbcglb 18554
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7418  df-glb 18589
This theorem is used by:  glbdm  18606  glbfun  18607  glbval  18611  meet0  18648  odulub  18649  oduglb  18651
  Copyright terms: Public domain W3C validator