ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  algcvgblem Unicode version

Theorem algcvgblem 11124
Description: Lemma for algcvgb 11125. (Contributed by Paul Chapman, 31-Mar-2011.)
Assertion
Ref Expression
algcvgblem  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( N  =/=  0  ->  N  <  M )  <->  ( ( M  =/=  0  ->  N  <  M )  /\  ( M  =  0  ->  N  =  0 ) ) ) )

Proof of Theorem algcvgblem
StepHypRef Expression
1 nn0z 8740 . . . . . . . . 9  |-  ( N  e.  NN0  ->  N  e.  ZZ )
2 0z 8731 . . . . . . . . 9  |-  0  e.  ZZ
3 zdceq 8792 . . . . . . . . 9  |-  ( ( N  e.  ZZ  /\  0  e.  ZZ )  -> DECID  N  =  0 )
41, 2, 3sylancl 404 . . . . . . . 8  |-  ( N  e.  NN0  -> DECID  N  =  0
)
54dcned 2261 . . . . . . 7  |-  ( N  e.  NN0  -> DECID  N  =/=  0
)
6 imordc 834 . . . . . . 7  |-  (DECID  N  =/=  0  ->  ( ( N  =/=  0  ->  N  <  M )  <->  ( -.  N  =/=  0  \/  N  <  M ) ) )
75, 6syl 14 . . . . . 6  |-  ( N  e.  NN0  ->  ( ( N  =/=  0  ->  N  <  M )  <->  ( -.  N  =/=  0  \/  N  <  M ) ) )
87adantl 271 . . . . 5  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( N  =/=  0  ->  N  <  M )  <->  ( -.  N  =/=  0  \/  N  <  M ) ) )
9 nn0z 8740 . . . . . . . . . . . . . 14  |-  ( M  e.  NN0  ->  M  e.  ZZ )
10 zltnle 8766 . . . . . . . . . . . . . 14  |-  ( ( 0  e.  ZZ  /\  M  e.  ZZ )  ->  ( 0  <  M  <->  -.  M  <_  0 ) )
112, 9, 10sylancr 405 . . . . . . . . . . . . 13  |-  ( M  e.  NN0  ->  ( 0  <  M  <->  -.  M  <_  0 ) )
1211adantr 270 . . . . . . . . . . . 12  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( 0  <  M  <->  -.  M  <_  0 ) )
13 nn0le0eq0 8671 . . . . . . . . . . . . . 14  |-  ( M  e.  NN0  ->  ( M  <_  0  <->  M  = 
0 ) )
1413notbid 627 . . . . . . . . . . . . 13  |-  ( M  e.  NN0  ->  ( -.  M  <_  0  <->  -.  M  =  0 ) )
1514adantr 270 . . . . . . . . . . . 12  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( -.  M  <_ 
0  <->  -.  M  = 
0 ) )
1612, 15bitrd 186 . . . . . . . . . . 11  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( 0  <  M  <->  -.  M  =  0 ) )
17 df-ne 2256 . . . . . . . . . . 11  |-  ( M  =/=  0  <->  -.  M  =  0 )
1816, 17syl6bbr 196 . . . . . . . . . 10  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( 0  <  M  <->  M  =/=  0 ) )
1918anbi2d 452 . . . . . . . . 9  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( -.  N  =/=  0  /\  0  <  M )  <->  ( -.  N  =/=  0  /\  M  =/=  0 ) ) )
201adantl 271 . . . . . . . . . . . . . 14  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  ->  N  e.  ZZ )
2120, 2, 3sylancl 404 . . . . . . . . . . . . 13  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> DECID  N  =  0 )
22 nnedc 2260 . . . . . . . . . . . . 13  |-  (DECID  N  =  0  ->  ( -.  N  =/=  0  <->  N  = 
0 ) )
2321, 22syl 14 . . . . . . . . . . . 12  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( -.  N  =/=  0  <->  N  =  0
) )
24 breq1 3840 . . . . . . . . . . . 12  |-  ( N  =  0  ->  ( N  <  M  <->  0  <  M ) )
2523, 24syl6bi 161 . . . . . . . . . . 11  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( -.  N  =/=  0  ->  ( N  <  M  <->  0  <  M
) ) )
26 bi2 128 . . . . . . . . . . 11  |-  ( ( N  <  M  <->  0  <  M )  ->  ( 0  <  M  ->  N  <  M ) )
2725, 26syl6 33 . . . . . . . . . 10  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( -.  N  =/=  0  ->  ( 0  <  M  ->  N  <  M ) ) )
2827impd 251 . . . . . . . . 9  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( -.  N  =/=  0  /\  0  <  M )  ->  N  <  M ) )
2919, 28sylbird 168 . . . . . . . 8  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( -.  N  =/=  0  /\  M  =/=  0 )  ->  N  <  M ) )
3029expd 254 . . . . . . 7  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( -.  N  =/=  0  ->  ( M  =/=  0  ->  N  < 
M ) ) )
31 ax-1 5 . . . . . . 7  |-  ( N  <  M  ->  ( M  =/=  0  ->  N  <  M ) )
3230, 31jctir 306 . . . . . 6  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( -.  N  =/=  0  ->  ( M  =/=  0  ->  N  <  M ) )  /\  ( N  <  M  -> 
( M  =/=  0  ->  N  <  M ) ) ) )
33 jaob 666 . . . . . 6  |-  ( ( ( -.  N  =/=  0  \/  N  < 
M )  ->  ( M  =/=  0  ->  N  <  M ) )  <->  ( ( -.  N  =/=  0  ->  ( M  =/=  0  ->  N  <  M ) )  /\  ( N  <  M  ->  ( M  =/=  0  ->  N  <  M ) ) ) )
3432, 33sylibr 132 . . . . 5  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( -.  N  =/=  0  \/  N  <  M )  ->  ( M  =/=  0  ->  N  <  M ) ) )
358, 34sylbid 148 . . . 4  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( N  =/=  0  ->  N  <  M )  ->  ( M  =/=  0  ->  N  < 
M ) ) )
36 nn0ge0 8668 . . . . . . . 8  |-  ( N  e.  NN0  ->  0  <_  N )
3736adantl 271 . . . . . . 7  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
0  <_  N )
38 nn0re 8652 . . . . . . . 8  |-  ( N  e.  NN0  ->  N  e.  RR )
39 nn0re 8652 . . . . . . . 8  |-  ( M  e.  NN0  ->  M  e.  RR )
40 0re 7467 . . . . . . . . 9  |-  0  e.  RR
41 lelttr 7552 . . . . . . . . 9  |-  ( ( 0  e.  RR  /\  N  e.  RR  /\  M  e.  RR )  ->  (
( 0  <_  N  /\  N  <  M )  ->  0  <  M
) )
4240, 41mp3an1 1260 . . . . . . . 8  |-  ( ( N  e.  RR  /\  M  e.  RR )  ->  ( ( 0  <_  N  /\  N  <  M
)  ->  0  <  M ) )
4338, 39, 42syl2anr 284 . . . . . . 7  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( 0  <_  N  /\  N  <  M
)  ->  0  <  M ) )
4437, 43mpand 420 . . . . . 6  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( N  <  M  ->  0  <  M ) )
4544, 18sylibd 147 . . . . 5  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( N  <  M  ->  M  =/=  0 ) )
4645imim2d 53 . . . 4  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( N  =/=  0  ->  N  <  M )  ->  ( N  =/=  0  ->  M  =/=  0 ) ) )
4735, 46jcad 301 . . 3  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( N  =/=  0  ->  N  <  M )  ->  ( ( M  =/=  0  ->  N  <  M )  /\  ( N  =/=  0  ->  M  =/=  0 ) ) ) )
48 pm3.34 338 . . 3  |-  ( ( ( M  =/=  0  ->  N  <  M )  /\  ( N  =/=  0  ->  M  =/=  0 ) )  -> 
( N  =/=  0  ->  N  <  M ) )
4947, 48impbid1 140 . 2  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( N  =/=  0  ->  N  <  M )  <->  ( ( M  =/=  0  ->  N  <  M )  /\  ( N  =/=  0  ->  M  =/=  0 ) ) ) )
50 con34bdc 803 . . . . 5  |-  (DECID  N  =  0  ->  ( ( M  =  0  ->  N  =  0 )  <->  ( -.  N  =  0  ->  -.  M  =  0 ) ) )
5121, 50syl 14 . . . 4  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( M  =  0  ->  N  = 
0 )  <->  ( -.  N  =  0  ->  -.  M  =  0 ) ) )
52 df-ne 2256 . . . . 5  |-  ( N  =/=  0  <->  -.  N  =  0 )
5352, 17imbi12i 237 . . . 4  |-  ( ( N  =/=  0  ->  M  =/=  0 )  <->  ( -.  N  =  0  ->  -.  M  =  0 ) )
5451, 53syl6bbr 196 . . 3  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( M  =  0  ->  N  = 
0 )  <->  ( N  =/=  0  ->  M  =/=  0 ) ) )
5554anbi2d 452 . 2  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( ( M  =/=  0  ->  N  <  M )  /\  ( M  =  0  ->  N  =  0 ) )  <-> 
( ( M  =/=  0  ->  N  <  M )  /\  ( N  =/=  0  ->  M  =/=  0 ) ) ) )
5649, 55bitr4d 189 1  |-  ( ( M  e.  NN0  /\  N  e.  NN0 )  -> 
( ( N  =/=  0  ->  N  <  M )  <->  ( ( M  =/=  0  ->  N  <  M )  /\  ( M  =  0  ->  N  =  0 ) ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 102    <-> wb 103    \/ wo 664  DECID wdc 780    = wceq 1289    e. wcel 1438    =/= wne 2255   class class class wbr 3837   RRcr 7328   0cc0 7329    < clt 7501    <_ cle 7502   NN0cn0 8643   ZZcz 8720
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 579  ax-in2 580  ax-io 665  ax-5 1381  ax-7 1382  ax-gen 1383  ax-ie1 1427  ax-ie2 1428  ax-8 1440  ax-10 1441  ax-11 1442  ax-i12 1443  ax-bndl 1444  ax-4 1445  ax-13 1449  ax-14 1450  ax-17 1464  ax-i9 1468  ax-ial 1472  ax-i5r 1473  ax-ext 2070  ax-sep 3949  ax-pow 4001  ax-pr 4027  ax-un 4251  ax-setind 4343  ax-cnex 7415  ax-resscn 7416  ax-1cn 7417  ax-1re 7418  ax-icn 7419  ax-addcl 7420  ax-addrcl 7421  ax-mulcl 7422  ax-addcom 7424  ax-addass 7426  ax-distr 7428  ax-i2m1 7429  ax-0lt1 7430  ax-0id 7432  ax-rnegex 7433  ax-cnre 7435  ax-pre-ltirr 7436  ax-pre-ltwlin 7437  ax-pre-lttrn 7438  ax-pre-apti 7439  ax-pre-ltadd 7440
This theorem depends on definitions:  df-bi 115  df-dc 781  df-3or 925  df-3an 926  df-tru 1292  df-fal 1295  df-nf 1395  df-sb 1693  df-eu 1951  df-mo 1952  df-clab 2075  df-cleq 2081  df-clel 2084  df-nfc 2217  df-ne 2256  df-nel 2351  df-ral 2364  df-rex 2365  df-reu 2366  df-rab 2368  df-v 2621  df-sbc 2839  df-dif 2999  df-un 3001  df-in 3003  df-ss 3010  df-pw 3427  df-sn 3447  df-pr 3448  df-op 3450  df-uni 3649  df-int 3684  df-br 3838  df-opab 3892  df-id 4111  df-xp 4434  df-rel 4435  df-cnv 4436  df-co 4437  df-dm 4438  df-iota 4967  df-fun 5004  df-fv 5010  df-riota 5590  df-ov 5637  df-oprab 5638  df-mpt2 5639  df-pnf 7503  df-mnf 7504  df-xr 7505  df-ltxr 7506  df-le 7507  df-sub 7634  df-neg 7635  df-inn 8395  df-n0 8644  df-z 8721
This theorem is referenced by:  algcvgb  11125
  Copyright terms: Public domain W3C validator