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

Theorem nnwof 4609
Description: Well-ordering principle: any non-empty set of natural numbers has a least element. This version allows x and y to be present in A as long as they are effectively not free.
Hypotheses
Ref Expression
nnwof.1 |- (z e. A -> A.x z e. A)
nnwof.2 |- (z e. A -> A.y z e. A)
Assertion
Ref Expression
nnwof |- ((A (_ NN /\ A =/= (/)) -> E.x e. A A.y e. A x <_ y)
Distinct variable group(s):   x,y,z   z,A

Proof of Theorem nnwof
StepHypRef Expression
1 nnwo 4607 . 2 |- ((A (_ NN /\ A =/= (/)) -> E.w e. A A.v e. A w <_ v)
2 ax-17 925 . . . . . . . . . 10 |- (z e. v -> A.y z e. v)
3 nnwof.2 . . . . . . . . . 10 |- (z e. A -> A.y z e. A)
42, 3hbel 1172 . . . . . . . . 9 |- (v e. A -> A.y v e. A)
5 ax-17 925 . . . . . . . . 9 |- (w <_ v -> A.y w <_ v)
64, 5hbim 702 . . . . . . . 8 |- ((v e. A -> w <_ v) -> A.y(v e. A -> w <_ v))
7 ax-17 925 . . . . . . . 8 |- ((y e. A -> w <_ y) -> A.v(y e. A -> w <_ y))
8 eleq1 1149 . . . . . . . . 9 |- (v = y -> (v e. A <-> y e. A))
9 breq2 2066 . . . . . . . . 9 |- (v = y -> (w <_ v <-> w <_ y))
108, 9imbi12d 474 . . . . . . . 8 |- (v = y -> ((v e. A -> w <_ v) <-> (y e. A -> w <_ y)))
116, 7, 10cbval 848 . . . . . . 7 |- (A.v(v e. A -> w <_ v) <-> A.y(y e. A -> w <_ y))
1211anbi2i 367 . . . . . 6 |- ((w e. A /\ A.v(v e. A -> w <_ v)) <-> (w e. A /\ A.y(y e. A -> w <_ y)))
1312biex 733 . . . . 5 |- (E.w(w e. A /\ A.v(v e. A -> w <_ v)) <-> E.w(w e. A /\ A.y(y e. A -> w <_ y)))
14 ax-17 925 . . . . . . . 8 |- (z e. w -> A.x z e. w)
15 nnwof.1 . . . . . . . 8 |- (z e. A -> A.x z e. A)
1614, 15hbel 1172 . . . . . . 7 |- (w e. A -> A.x w e. A)
17 ax-17 925 . . . . . . . . . 10 |- (z e. y -> A.x z e. y)
1817, 15hbel 1172 . . . . . . . . 9 |- (y e. A -> A.x y e. A)
19 ax-17 925 . . . . . . . . 9 |- (w <_ y -> A.x w <_ y)
2018, 19hbim 702 . . . . . . . 8 |- ((y e. A -> w <_ y) -> A.x(y e. A -> w <_ y))
2120hbal 700 . . . . . . 7 |- (A.y(y e. A -> w <_ y) -> A.xA.y(y e. A -> w <_ y))
2216, 21hban 704 . . . . . 6 |- ((w e. A /\ A.y(y e. A -> w <_ y)) -> A.x(w e. A /\ A.y(y e. A -> w <_ y)))
23 ax-17 925 . . . . . 6 |- ((x e. A /\ A.y(y e. A -> x <_ y)) -> A.w(x e. A /\ A.y(y e. A -> x <_ y)))
24 eleq1 1149 . . . . . . 7 |- (w = x -> (w e. A <-> x e. A))
25 breq1 2065 . . . . . . . . 9 |- (w = x -> (w <_ y <-> x <_ y))
2625imbi2d 464 . . . . . . . 8 |- (w = x -> ((y e. A -> w <_ y) <-> (y e. A -> x <_ y)))
2726bialdv 935 . . . . . . 7 |- (w = x -> (A.y(y e. A -> w <_ y) <-> A.y(y e. A -> x <_ y)))
2824, 27anbi12d 476 . . . . . 6 |- (w = x -> ((w e. A /\ A.y(y e. A -> w <_ y)) <-> (x e. A /\ A.y(y e. A -> x <_ y))))
2922, 23, 28cbvex 849 . . . . 5 |- (E.w(w e. A /\ A.y(y e. A -> w <_ y)) <-> E.x(x e. A /\ A.y(y e. A -> x <_ y)))
3013, 29bitr 151 . . . 4 |- (E.w(w e. A /\ A.v(v e. A -> w <_ v)) <-> E.x(x e. A /\ A.y(y e. A -> x <_ y)))
31 df-rex 1206 . . . 4 |- (E.w e. A A.v(v e. A -> w <_ v) <-> E.w(w e. A /\ A.v(v e. A -> w <_ v)))
32 df-rex 1206 . . . 4 |- (E.x e. A A.y(y e. A -> x <_ y) <-> E.x(x e. A /\ A.y(y e. A -> x <_ y)))
3330, 31, 323bitr4 158 . . 3 |- (E.w e. A A.v(v e. A -> w <_ v) <-> E.x e. A A.y(y e. A -> x <_ y))
34 df-ral 1205 . . . 4 |- (A.v e. A w <_ v <-> A.v(v e. A -> w <_ v))
3534birex 1224 . . 3 |- (E.w e. A A.v e. A w <_ v <-> E.w e. A A.v(v e. A -> w <_ v))
36 df-ral 1205 . . . 4 |- (A.y e. A x <_ y <-> A.y(y e. A -> x <_ y))
3736birex 1224 . . 3 |- (E.x e. A A.y e. A x <_ y <-> E.x e. A A.y(y e. A -> x <_ y))
3833, 35, 373bitr4 158 . 2 |- (E.w e. A A.v e. A w <_ v <-> E.x e. A A.y e. A x <_ y)
391, 38sylib 173 1 |- ((A (_ NN /\ A =/= (/)) -> E.x e. A A.y e. A x <_ y)
Colors of variables: wff set class
Syntax hints:   -> wi 2   /\ wa 196  A.wal 672  E.wex 678   = weq 797   e. wel 803   e. wcel 1092   =/= wne 1190  A.wral 1201  E.wrex 1202   (_ wss 1487  (/)c0 1707   class class class wbr 2054   <_ cle 4092  NNcn 4093
This theorem is referenced by:  nnwos 4610
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-un 1076  ax-pow 1077  ax-reg 1078  ax-inf 1079
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-3or 582  df-3an 583  df-ex 679  df-sb 853  df-eu 1009  df-mo 1010  df-clab 1093  df-cleq 1097  df-clel 1099  df-ne 1192  df-ral 1205  df-rex 1206  df-reu 1207  df-rab 1208  df-v 1349  df-sbc 1441  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-pss 1494  df-nul 1708  df-if 1777  df-pw 1799  df-sn 1811  df-pr 1812  df-tp 1814  df-op 1815  df-uni 1920  df-int 1966  df-iun 1996  df-tr 2042  df-br 2063  df-opab 2098  df-eprel 2122  df-id 2125  df-po 2128  df-so 2138  df-fr 2169  df-we 2186  df-ord 2202  df-on 2203  df-lim 2204  df-suc 2205  df-om 2373  df-xp 2424  df-rel 2425  df-cnv 2426  df-co 2427  df-dm 2428  df-rn 2429  df-res 2430  df-ima 2431  df-fun 2432  df-fn 2433  df-f 2434  df-f1 2435  df-fv 2438  df-rdg 2970  df-opr 3003  df-oprab 3004  df-1o 3104  df-oadd 3106  df-omul 3107  df-er 3200  df-ec 3202  df-qs 3205  df-ni 3794  df-pli 3795  df-mi 3796  df-lti 3797  df-plpq 3829  df-mpq 3830  df-enq 3831  df-nq 3832  df-plq 3833  df-mq 3834  df-rq 3835  df-ltq 3836  df-1q 3837  df-np 3880  df-1p 3881  df-plp 3882  df-mp 3883  df-ltp 3884  df-plpr 3958  df-mpr 3959  df-enr 3960  df-nr 3961  df-plr 3962  df-mr 3963  df-ltr 3964  df-0r 3965  df-1r 3966  df-m1r 3967  df-c 4034  df-0 4035  df-1 4036  df-r 4038  df-plus 4039  df-mul 4040  df-lt 4041  df-sub 4133  df-neg 4135  df-le 4277  df-n 4423  df-n0 4535  df-z 4564
metamath.org