Metamath Proof Explorer


Theorem mul0or

Description: If a product is zero, one of its factors must be zero. Theorem I.11 of Apostol p. 18. (Contributed by NM, 9-Oct-1999) (Revised by Mario Carneiro, 27-May-2016)

Ref Expression
Assertion mul0or ABAB=0A=0B=0

Proof

Step Hyp Ref Expression
1 simpr ABB
2 1 adantr ABB0B
3 2 mul02d ABB00B=0
4 3 eqeq2d ABB0AB=0BAB=0
5 simpl ABA
6 5 adantr ABB0A
7 0cnd ABB00
8 simpr ABB0B0
9 6 7 2 8 mulcan2d ABB0AB=0BA=0
10 4 9 bitr3d ABB0AB=0A=0
11 10 biimpd ABB0AB=0A=0
12 11 impancom ABAB=0B0A=0
13 12 necon1bd ABAB=0¬A=0B=0
14 13 orrd ABAB=0A=0B=0
15 14 ex ABAB=0A=0B=0
16 1 mul02d AB0B=0
17 oveq1 A=0AB=0B
18 17 eqeq1d A=0AB=00B=0
19 16 18 syl5ibrcom ABA=0AB=0
20 5 mul01d ABA0=0
21 oveq2 B=0AB=A0
22 21 eqeq1d B=0AB=0A0=0
23 20 22 syl5ibrcom ABB=0AB=0
24 19 23 jaod ABA=0B=0AB=0
25 15 24 impbid ABAB=0A=0B=0