HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem spwval3 8650
Description: Value of a supremum.
Hypotheses
Ref Expression
spwval3.1 |- X = U.U.R
spwval3.2 |- (ph <-> (A.y e. A yRx /\ A.y e. X (A.z e. A zRy -> xRy)))
Assertion
Ref Expression
spwval3 |- ((R e. U /\ A e. W /\ E.x e. X ph) -> (R supw A) = U.{x e. X | ph})
Distinct variable groups:   x,y,z,A   x,R,y,z   x,X,y

Proof of Theorem spwval3
StepHypRef Expression
1 spwval3.1 . . . 4 |- X = U.U.R
2 spwval3.2 . . . . . 6 |- (ph <-> (A.y e. A yRx /\ A.y e. X (A.z e. A zRy -> xRy)))
32a1i 8 . . . . 5 |- (x e. X -> (ph <-> (A.y e. A yRx /\ A.y e. X (A.z e. A zRy -> xRy))))
43rabbii 1808 . . . 4 |- {x e. X | ph} = {x e. X | (A.y e. A yRx /\ A.y e. X (A.z e. A zRy -> xRy))}
51, 4spwval2 8649 . . 3 |- ((R e. U /\ A e. W) -> (R supw A) = if({x e. X | ph} =/= (/), U.{x e. X | ph}, P~U.X))
653adant3 801 . 2 |- ((R e. U /\ A e. W /\ E.x e. X ph) -> (R supw A) = if({x e. X | ph} =/= (/), U.{x e. X | ph}, P~U.X))
7 rabn0 2296 . . . 4 |- ({x e. X | ph} =/= (/) <-> E.x e. X ph)
8 iftrue 2370 . . . 4 |- ({x e. X | ph} =/= (/) -> if({x e. X | ph} =/= (/), U.{x e. X | ph}, P~U.X) = U.{x e. X | ph})
97, 8sylbir 201 . . 3 |- (E.x e. X ph -> if({x e. X | ph} =/= (/), U.{x e. X | ph}, P~U.X) = U.{x e. X | ph})
1093ad2ant3 804 . 2 |- ((R e. U /\ A e. W /\ E.x e. X ph) -> if({x e. X | ph} =/= (/), U.{x e. X | ph}, P~U.X) = U.{x e. X | ph})
116, 10eqtrd 1510 1 |- ((R e. U /\ A e. W /\ E.x e. X ph) -> (R supw A) = U.{x e. X | ph})
Colors of variables: wff set class
Syntax hints:   -> wi 3   <-> wb 146   /\ wa 223   /\ w3a 777   = wceq 958   e. wcel 960   =/= wne 1588  A.wral 1648  E.wrex 1649  {crab 1651  (/)c0 2283  ifcif 2365  P~cpw 2405  U.cuni 2507   class class class wbr 2624  (class class class)co 3969   supw cspw 8630
This theorem is referenced by:  spwval 8655
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 964  ax-gen 965  ax-8 966  ax-9 967  ax-10 968  ax-11 969  ax-12 970  ax-13 971  ax-14 972  ax-17 973  ax-4 975  ax-5o 977  ax-6o 980  ax-9o 1125  ax-10o 1142  ax-16 1212  ax-11o 1220  ax-ext 1462  ax-sep 2708  ax-pow 2748  ax-pr 2785  ax-un 2872
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-3an 779  df-ex 983  df-sb 1174  df-eu 1384  df-mo 1385  df-clab 1467  df-cleq 1472  df-clel 1475  df-ne 1590  df-ral 1652  df-rex 1653  df-rab 1655  df-v 1815  df-dif 2052  df-un 2053  df-in 2054  df-ss 2056  df-nul 2284  df-if 2366  df-pw 2406  df-sn 2416  df-pr 2417  df-op 2420  df-uni 2508  df-br 2625  df-opab 2672  df-id 2841  df-xp 3190  df-rel 3191  df-cnv 3192  df-co 3193  df-dm 3194  df-rn 3195  df-res 3196  df-ima 3197  df-fun 3198  df-fv 3204  df-opr 3971  df-oprab 3972  df-spw 8636
Copyright terms: Public domain