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

Theorem nnm00 6125
Description: The product of two natural numbers is zero iff at least one of them is zero. (Contributed by Jim Kingdon, 11-Nov-2004.)
Assertion
Ref Expression
nnm00  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( A  .o  B )  =  (/)  <->  ( A  =  (/)  \/  B  =  (/) ) ) )

Proof of Theorem nnm00
StepHypRef Expression
1 simpl 107 . . . . . . 7  |-  ( ( A  =  (/)  /\  B  =  (/) )  ->  A  =  (/) )
2 simpl 107 . . . . . . 7  |-  ( ( A  =  (/)  /\  (/)  e.  B
)  ->  A  =  (/) )
31, 2jaoi 668 . . . . . 6  |-  ( ( ( A  =  (/)  /\  B  =  (/) )  \/  ( A  =  (/)  /\  (/)  e.  B ) )  ->  A  =  (/) )
43orcd 684 . . . . 5  |-  ( ( ( A  =  (/)  /\  B  =  (/) )  \/  ( A  =  (/)  /\  (/)  e.  B ) )  ->  ( A  =  (/)  \/  B  =  (/) ) )
54a1i 9 . . . 4  |-  ( ( ( A  e.  om  /\  B  e.  om )  /\  ( A  .o  B
)  =  (/) )  -> 
( ( ( A  =  (/)  /\  B  =  (/) )  \/  ( A  =  (/)  /\  (/)  e.  B
) )  ->  ( A  =  (/)  \/  B  =  (/) ) ) )
6 simpr 108 . . . . . . 7  |-  ( (
(/)  e.  A  /\  B  =  (/) )  ->  B  =  (/) )
76olcd 685 . . . . . 6  |-  ( (
(/)  e.  A  /\  B  =  (/) )  -> 
( A  =  (/)  \/  B  =  (/) ) )
87a1i 9 . . . . 5  |-  ( ( ( A  e.  om  /\  B  e.  om )  /\  ( A  .o  B
)  =  (/) )  -> 
( ( (/)  e.  A  /\  B  =  (/) )  -> 
( A  =  (/)  \/  B  =  (/) ) ) )
9 simplr 496 . . . . . . 7  |-  ( ( ( ( A  e. 
om  /\  B  e.  om )  /\  ( A  .o  B )  =  (/) )  /\  ( (/) 
e.  A  /\  (/)  e.  B
) )  ->  ( A  .o  B )  =  (/) )
10 nnmordi 6112 . . . . . . . . . . . . 13  |-  ( ( ( B  e.  om  /\  A  e.  om )  /\  (/)  e.  A )  ->  ( (/)  e.  B  ->  ( A  .o  (/) )  e.  ( A  .o  B
) ) )
1110expimpd 355 . . . . . . . . . . . 12  |-  ( ( B  e.  om  /\  A  e.  om )  ->  ( ( (/)  e.  A  /\  (/)  e.  B )  ->  ( A  .o  (/) )  e.  ( A  .o  B ) ) )
1211ancoms 264 . . . . . . . . . . 11  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( (/)  e.  A  /\  (/)  e.  B )  ->  ( A  .o  (/) )  e.  ( A  .o  B ) ) )
13 nnm0 6077 . . . . . . . . . . . . 13  |-  ( A  e.  om  ->  ( A  .o  (/) )  =  (/) )
1413adantr 270 . . . . . . . . . . . 12  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  .o  (/) )  =  (/) )
1514eleq1d 2147 . . . . . . . . . . 11  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( A  .o  (/) )  e.  ( A  .o  B )  <->  (/)  e.  ( A  .o  B ) ) )
1612, 15sylibd 147 . . . . . . . . . 10  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( (/)  e.  A  /\  (/)  e.  B )  ->  (/)  e.  ( A  .o  B ) ) )
1716adantr 270 . . . . . . . . 9  |-  ( ( ( A  e.  om  /\  B  e.  om )  /\  ( A  .o  B
)  =  (/) )  -> 
( ( (/)  e.  A  /\  (/)  e.  B )  ->  (/)  e.  ( A  .o  B ) ) )
1817imp 122 . . . . . . . 8  |-  ( ( ( ( A  e. 
om  /\  B  e.  om )  /\  ( A  .o  B )  =  (/) )  /\  ( (/) 
e.  A  /\  (/)  e.  B
) )  ->  (/)  e.  ( A  .o  B ) )
19 n0i 3256 . . . . . . . 8  |-  ( (/)  e.  ( A  .o  B
)  ->  -.  ( A  .o  B )  =  (/) )
2018, 19syl 14 . . . . . . 7  |-  ( ( ( ( A  e. 
om  /\  B  e.  om )  /\  ( A  .o  B )  =  (/) )  /\  ( (/) 
e.  A  /\  (/)  e.  B
) )  ->  -.  ( A  .o  B
)  =  (/) )
219, 20pm2.21dd 582 . . . . . 6  |-  ( ( ( ( A  e. 
om  /\  B  e.  om )  /\  ( A  .o  B )  =  (/) )  /\  ( (/) 
e.  A  /\  (/)  e.  B
) )  ->  ( A  =  (/)  \/  B  =  (/) ) )
2221ex 113 . . . . 5  |-  ( ( ( A  e.  om  /\  B  e.  om )  /\  ( A  .o  B
)  =  (/) )  -> 
( ( (/)  e.  A  /\  (/)  e.  B )  ->  ( A  =  (/)  \/  B  =  (/) ) ) )
238, 22jaod 669 . . . 4  |-  ( ( ( A  e.  om  /\  B  e.  om )  /\  ( A  .o  B
)  =  (/) )  -> 
( ( ( (/)  e.  A  /\  B  =  (/) )  \/  ( (/) 
e.  A  /\  (/)  e.  B
) )  ->  ( A  =  (/)  \/  B  =  (/) ) ) )
24 0elnn 4358 . . . . . . 7  |-  ( A  e.  om  ->  ( A  =  (/)  \/  (/)  e.  A
) )
25 0elnn 4358 . . . . . . 7  |-  ( B  e.  om  ->  ( B  =  (/)  \/  (/)  e.  B
) )
2624, 25anim12i 331 . . . . . 6  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( A  =  (/)  \/  (/)  e.  A )  /\  ( B  =  (/)  \/  (/)  e.  B ) ) )
27 anddi 767 . . . . . 6  |-  ( ( ( A  =  (/)  \/  (/)  e.  A )  /\  ( B  =  (/)  \/  (/)  e.  B
) )  <->  ( (
( A  =  (/)  /\  B  =  (/) )  \/  ( A  =  (/)  /\  (/)  e.  B ) )  \/  ( ( (/)  e.  A  /\  B  =  (/) )  \/  ( (/) 
e.  A  /\  (/)  e.  B
) ) ) )
2826, 27sylib 120 . . . . 5  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( ( A  =  (/)  /\  B  =  (/) )  \/  ( A  =  (/)  /\  (/)  e.  B
) )  \/  (
( (/)  e.  A  /\  B  =  (/) )  \/  ( (/)  e.  A  /\  (/)  e.  B ) ) ) )
2928adantr 270 . . . 4  |-  ( ( ( A  e.  om  /\  B  e.  om )  /\  ( A  .o  B
)  =  (/) )  -> 
( ( ( A  =  (/)  /\  B  =  (/) )  \/  ( A  =  (/)  /\  (/)  e.  B
) )  \/  (
( (/)  e.  A  /\  B  =  (/) )  \/  ( (/)  e.  A  /\  (/)  e.  B ) ) ) )
305, 23, 29mpjaod 670 . . 3  |-  ( ( ( A  e.  om  /\  B  e.  om )  /\  ( A  .o  B
)  =  (/) )  -> 
( A  =  (/)  \/  B  =  (/) ) )
3130ex 113 . 2  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( A  .o  B )  =  (/)  ->  ( A  =  (/)  \/  B  =  (/) ) ) )
32 oveq1 5539 . . . . . 6  |-  ( A  =  (/)  ->  ( A  .o  B )  =  ( (/)  .o  B
) )
33 nnm0r 6081 . . . . . 6  |-  ( B  e.  om  ->  ( (/) 
.o  B )  =  (/) )
3432, 33sylan9eqr 2135 . . . . 5  |-  ( ( B  e.  om  /\  A  =  (/) )  -> 
( A  .o  B
)  =  (/) )
3534ex 113 . . . 4  |-  ( B  e.  om  ->  ( A  =  (/)  ->  ( A  .o  B )  =  (/) ) )
3635adantl 271 . . 3  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  =  (/)  ->  ( A  .o  B
)  =  (/) ) )
37 oveq2 5540 . . . . . 6  |-  ( B  =  (/)  ->  ( A  .o  B )  =  ( A  .o  (/) ) )
3837, 13sylan9eqr 2135 . . . . 5  |-  ( ( A  e.  om  /\  B  =  (/) )  -> 
( A  .o  B
)  =  (/) )
3938ex 113 . . . 4  |-  ( A  e.  om  ->  ( B  =  (/)  ->  ( A  .o  B )  =  (/) ) )
4039adantr 270 . . 3  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( B  =  (/)  ->  ( A  .o  B
)  =  (/) ) )
4136, 40jaod 669 . 2  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( A  =  (/)  \/  B  =  (/) )  ->  ( A  .o  B )  =  (/) ) )
4231, 41impbid 127 1  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( A  .o  B )  =  (/)  <->  ( A  =  (/)  \/  B  =  (/) ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 102    <-> wb 103    \/ wo 661    = wceq 1284    e. wcel 1433   (/)c0 3251   omcom 4331  (class class class)co 5532    .o comu 6022
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 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-13 1444  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-coll 3893  ax-sep 3896  ax-nul 3904  ax-pow 3948  ax-pr 3964  ax-un 4188  ax-setind 4280  ax-iinf 4329
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-fal 1290  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ne 2246  df-ral 2353  df-rex 2354  df-reu 2355  df-rab 2357  df-v 2603  df-sbc 2816  df-csb 2909  df-dif 2975  df-un 2977  df-in 2979  df-ss 2986  df-nul 3252  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-int 3637  df-iun 3680  df-br 3786  df-opab 3840  df-mpt 3841  df-tr 3876  df-id 4048  df-iord 4121  df-on 4123  df-suc 4126  df-iom 4332  df-xp 4369  df-rel 4370  df-cnv 4371  df-co 4372  df-dm 4373  df-rn 4374  df-res 4375  df-ima 4376  df-iota 4887  df-fun 4924  df-fn 4925  df-f 4926  df-f1 4927  df-fo 4928  df-f1o 4929  df-fv 4930  df-ov 5535  df-oprab 5536  df-mpt2 5537  df-1st 5787  df-2nd 5788  df-recs 5943  df-irdg 5980  df-oadd 6028  df-omul 6029
This theorem is referenced by:  enq0tr  6624  nqnq0pi  6628
  Copyright terms: Public domain W3C validator