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

Theorem supub 4560
Description: A supremum is an upper bound.
Hypothesis
Ref Expression
supmo.1 |- R Or A
Assertion
Ref Expression
supub |- (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> (C e. B -> -. sup(B, A, R)RC))
Distinct variable groups:   x,y,z,A   x,R,y,z   x,B,y,z

Proof of Theorem supub
StepHypRef Expression
1 breq2 2618 . . . . 5 |- (w = C -> (sup(B, A, R)Rw <-> sup(B, A, R)RC))
21negbid 610 . . . 4 |- (w = C -> (-. sup(B, A, R)Rw <-> -. sup(B, A, R)RC))
32imbi2d 611 . . 3 |- (w = C -> ((E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> -. sup(B, A, R)Rw) <-> (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> -. sup(B, A, R)RC)))
4 breq2 2618 . . . . . 6 |- (y = w -> (sup(B, A, R)Ry <-> sup(B, A, R)Rw))
54negbid 610 . . . . 5 |- (y = w -> (-. sup(B, A, R)Ry <-> -. sup(B, A, R)Rw))
65rcla4v 1869 . . . 4 |- (w e. B -> (A.y e. B -. sup(B, A, R)Ry -> -. sup(B, A, R)Rw))
7 df-sup 4554 . . . . . . 7 |- sup(B, A, R) = U.{x e. A | (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz))}
87eqcomi 1476 . . . . . 6 |- U.{x e. A | (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz))} = sup(B, A, R)
9 breq1 2617 . . . . . . . . . . 11 |- (x = sup(B, A, R) -> (xRy <-> sup(B, A, R)Ry))
109negbid 610 . . . . . . . . . 10 |- (x = sup(B, A, R) -> (-. xRy <-> -. sup(B, A, R)Ry))
1110ralbidv 1660 . . . . . . . . 9 |- (x = sup(B, A, R) -> (A.y e. B -. xRy <-> A.y e. B -. sup(B, A, R)Ry))
12 breq2 2618 . . . . . . . . . . 11 |- (x = sup(B, A, R) -> (yRx <-> yRsup(B, A, R)))
1312imbi1d 612 . . . . . . . . . 10 |- (x = sup(B, A, R) -> ((yRx -> E.z e. B yRz) <-> (yRsup(B, A, R) -> E.z e. B yRz)))
1413ralbidv 1660 . . . . . . . . 9 |- (x = sup(B, A, R) -> (A.y e. A (yRx -> E.z e. B yRz) <-> A.y e. A (yRsup(B, A, R) -> E.z e. B yRz)))
1511, 14anbi12d 627 . . . . . . . 8 |- (x = sup(B, A, R) -> ((A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) <-> (A.y e. B -. sup(B, A, R)Ry /\ A.y e. A (yRsup(B, A, R) -> E.z e. B yRz))))
1615reuuni2 2879 . . . . . . 7 |- ((sup(B, A, R) e. A /\ E!x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz))) -> ((A.y e. B -. sup(B, A, R)Ry /\ A.y e. A (yRsup(B, A, R) -> E.z e. B yRz)) <-> U.{x e. A | (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz))} = sup(B, A, R)))
17 supmo.1 . . . . . . . 8 |- R Or A
1817supcl 4559 . . . . . . 7 |- (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> sup(B, A, R) e. A)
1917supeu 4558 . . . . . . 7 |- (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> E!x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)))
2016, 18, 19sylanc 471 . . . . . 6 |- (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> ((A.y e. B -. sup(B, A, R)Ry /\ A.y e. A (yRsup(B, A, R) -> E.z e. B yRz)) <-> U.{x e. A | (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz))} = sup(B, A, R)))
218, 20mpbiri 194 . . . . 5 |- (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> (A.y e. B -. sup(B, A, R)Ry /\ A.y e. A (yRsup(B, A, R) -> E.z e. B yRz)))
2221pm3.26d 321 . . . 4 |- (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> A.y e. B -. sup(B, A, R)Ry)
236, 22syl5 21 . . 3 |- (w e. B -> (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> -. sup(B, A, R)Rw))
243, 23vtoclga 1848 . 2 |- (C e. B -> (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> -. sup(B, A, R)RC))
2524com12 11 1 |- (E.x e. A (A.y e. B -. xRy /\ A.y e. A (yRx -> E.z e. B yRz)) -> (C e. B -> -. sup(B, A, R)RC))
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 146   /\ wa 223   = wceq 954   e. wcel 956  A.wral 1642  E.wrex 1643  E!wreu 1644  {crab 1645  U.cuni 2498   class class class wbr 2614   Or wor 2834  supcsup 4553
This theorem is referenced by:  supubi 4565  supmax 4569  suprub 6011  supxrun 6040  supxrub 6053  gelsupvalOLD 10354
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 960  ax-gen 961  ax-8 962  ax-10 964  ax-11 965  ax-12 966  ax-13 967  ax-14 968  ax-17 969  ax-4 971  ax-5o 973  ax-6o 976  ax-9o 1121  ax-10o 1138  ax-16 1208  ax-11o 1216  ax-ext 1457  ax-sep 2698  ax-pow 2737  ax-un 2861
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-3or 775  df-3an 776  df-ex 979  df-sb 1170  df-eu 1380  df-mo 1381  df-clab 1462  df-cleq 1467  df-clel 1470  df-ne 1584  df-ral 1646  df-rex 1647  df-reu 1648  df-rab 1649  df-v 1808  df-dif 2045  df-un 2046  df-in 2047  df-ss 2049  df-nul 2277  df-pw 2398  df-sn 2408  df-pr 2409  df-op 2412  df-uni 2499  df-br 2615  df-po 2835  df-so 2845  df-sup 4554
Copyright terms: Public domain