Description: If A is not a nonpositive integer and N is a nonnegative integer, then A + N is also not a nonpositive integer. (Contributed by Mario Carneiro, 6-Jul-2017)
Ref | Expression | ||
---|---|---|---|
Hypotheses | dmgmn0.a | |
|
dmgmaddnn0.n | |
||
Assertion | dmgmaddnn0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | dmgmn0.a | |
|
2 | dmgmaddnn0.n | |
|
3 | 1 | eldifad | |
4 | 2 | nn0cnd | |
5 | 3 4 | addcld | |
6 | eldmgm | |
|
7 | 1 6 | sylib | |
8 | 7 | simprd | |
9 | 3 4 | negdi2d | |
10 | 9 | oveq1d | |
11 | 3 | negcld | |
12 | 11 4 | npcand | |
13 | 10 12 | eqtrd | |
14 | 13 | adantr | |
15 | simpr | |
|
16 | 2 | adantr | |
17 | 15 16 | nn0addcld | |
18 | 14 17 | eqeltrrd | |
19 | 8 18 | mtand | |
20 | eldmgm | |
|
21 | 5 19 20 | sylanbrc | |