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

Theorem spwval3 9997
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))))
43rabbiia 2285 . . . 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 9996 . . 3 |- ((R e. U /\ A e. W) -> (R supw A) = if({x e. X | ph} =/= (/), U.{x e. X | ph}, ~PU.X))
653adant3 896 . 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}, ~PU.X))
7 rabn0 2893 . . . 4 |- ({x e. X | ph} =/= (/) <-> E.x e. X ph)
8 iftrue 2989 . . . 4 |- ({x e. X | ph} =/= (/) -> if({x e. X | ph} =/= (/), U.{x e. X | ph}, ~PU.X) = U.{x e. X | ph})
97, 8sylbir 218 . . 3 |- (E.x e. X ph -> if({x e. X | ph} =/= (/), U.{x e. X | ph}, ~PU.X) = U.{x e. X | ph})
1093ad2ant3 899 . 2 |- ((R e. U /\ A e. W /\ E.x e. X ph) -> if({x e. X | ph} =/= (/), U.{x e. X | ph}, ~PU.X) = U.{x e. X | ph})
116, 10eqtrd 1925 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 163   /\ wa 240   /\ w3a 858   = wceq 1298   e. wcel 1300   =/= wne 2017  A.wral 2105  E.wrex 2106  {crab 2108  (/)c0 2875  ifcif 2982  ~Pcpw 3032  U.cuni 3177   class class class wbr 3338  (class class class)co 4884   supw cspw 9981
This theorem is referenced by:  spwval 10002  supdef 14604
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 1304  ax-gen 1305  ax-8 1306  ax-9 1307  ax-10 1308  ax-11 1309  ax-12 1310  ax-13 1311  ax-14 1312  ax-17 1317  ax-4 1319  ax-5o 1321  ax-6o 1324  ax-9o 1481  ax-10o 1500  ax-16 1580  ax-11o 1588  ax-ext 1865  ax-sep 3438  ax-nul 3445  ax-pow 3481  ax-pr 3524  ax-un 3790
This theorem depends on definitions:  df-bi 164  df-or 241  df-an 242  df-3an 860  df-ex 1327  df-sb 1536  df-eu 1775  df-mo 1776  df-clab 1872  df-cleq 1877  df-clel 1880  df-ne 2019  df-ral 2109  df-rex 2110  df-rab 2112  df-v 2294  df-dif 2597  df-un 2600  df-in 2603  df-ss 2605  df-nul 2876  df-if 2983  df-pw 3035  df-sn 3049  df-pr 3050  df-op 3053  df-uni 3178  df-br 3339  df-opab 3396  df-id 3586  df-xp 4000  df-rel 4001  df-cnv 4002  df-co 4003  df-dm 4004  df-rn 4005  df-res 4006  df-ima 4007  df-fun 4008  df-fv 4014  df-opr 4886  df-oprab 4887  df-spw 9985
Copyright terms: Public domain