Users' Mathboxes Mathbox for Jeff Hoffman < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  nndivsub Structured version   Visualization version   GIF version

Theorem nndivsub 36755
Description: Please add description here. (Contributed by Jeff Hoffman, 17-Jun-2008.)
Assertion
Ref Expression
nndivsub (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴 / 𝐶) ∈ ℕ ∧ 𝐴 < 𝐵)) → ((𝐵 / 𝐶) ∈ ℕ ↔ ((𝐵𝐴) / 𝐶) ∈ ℕ))

Proof of Theorem nndivsub
StepHypRef Expression
1 nnre 12203 . . . . . . . . 9 (𝐴 ∈ ℕ → 𝐴 ∈ ℝ)
2 nnre 12203 . . . . . . . . 9 (𝐵 ∈ ℕ → 𝐵 ∈ ℝ)
3 nnre 12203 . . . . . . . . . 10 (𝐶 ∈ ℕ → 𝐶 ∈ ℝ)
4 nngt0 12230 . . . . . . . . . 10 (𝐶 ∈ ℕ → 0 < 𝐶)
53, 4jca 518 . . . . . . . . 9 (𝐶 ∈ ℕ → (𝐶 ∈ ℝ ∧ 0 < 𝐶))
6 ltdiv1 12042 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ (𝐶 ∈ ℝ ∧ 0 < 𝐶)) → (𝐴 < 𝐵 ↔ (𝐴 / 𝐶) < (𝐵 / 𝐶)))
71, 2, 5, 6syl3an 1169 . . . . . . . 8 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐴 < 𝐵 ↔ (𝐴 / 𝐶) < (𝐵 / 𝐶)))
8 nnsub 12243 . . . . . . . 8 (((𝐴 / 𝐶) ∈ ℕ ∧ (𝐵 / 𝐶) ∈ ℕ) → ((𝐴 / 𝐶) < (𝐵 / 𝐶) ↔ ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))
97, 8sylan9bb 516 . . . . . . 7 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴 / 𝐶) ∈ ℕ ∧ (𝐵 / 𝐶) ∈ ℕ)) → (𝐴 < 𝐵 ↔ ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))
109biimpd 231 . . . . . 6 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴 / 𝐶) ∈ ℕ ∧ (𝐵 / 𝐶) ∈ ℕ)) → (𝐴 < 𝐵 → ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))
1110exp32 423 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → ((𝐴 / 𝐶) ∈ ℕ → ((𝐵 / 𝐶) ∈ ℕ → (𝐴 < 𝐵 → ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))))
1211com34 91 . . . 4 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → ((𝐴 / 𝐶) ∈ ℕ → (𝐴 < 𝐵 → ((𝐵 / 𝐶) ∈ ℕ → ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))))
1312imp32 421 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴 / 𝐶) ∈ ℕ ∧ 𝐴 < 𝐵)) → ((𝐵 / 𝐶) ∈ ℕ → ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))
14 nnaddcl 12219 . . . . . 6 ((((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ ∧ (𝐴 / 𝐶) ∈ ℕ) → (((𝐵 / 𝐶) − (𝐴 / 𝐶)) + (𝐴 / 𝐶)) ∈ ℕ)
1514expcom 416 . . . . 5 ((𝐴 / 𝐶) ∈ ℕ → (((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ → (((𝐵 / 𝐶) − (𝐴 / 𝐶)) + (𝐴 / 𝐶)) ∈ ℕ))
16 nnsscn 12201 . . . . . . . . . . 11 ℕ ⊆ ℂ
17 nnne0 12233 . . . . . . . . . . 11 (𝐶 ∈ ℕ → 𝐶 ≠ 0)
18 divcl 11837 . . . . . . . . . . 11 ((𝐴 ∈ ℂ ∧ 𝐶 ∈ ℂ ∧ 𝐶 ≠ 0) → (𝐴 / 𝐶) ∈ ℂ)
1916, 17, 18nnssi2 36753 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐴 / 𝐶) ∈ ℂ)
20 divcl 11837 . . . . . . . . . . 11 ((𝐵 ∈ ℂ ∧ 𝐶 ∈ ℂ ∧ 𝐶 ≠ 0) → (𝐵 / 𝐶) ∈ ℂ)
2116, 17, 20nnssi2 36753 . . . . . . . . . 10 ((𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐵 / 𝐶) ∈ ℂ)
2219, 21anim12i 621 . . . . . . . . 9 (((𝐴 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ (𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ)) → ((𝐴 / 𝐶) ∈ ℂ ∧ (𝐵 / 𝐶) ∈ ℂ))
23223impdir 1361 . . . . . . . 8 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → ((𝐴 / 𝐶) ∈ ℂ ∧ (𝐵 / 𝐶) ∈ ℂ))
24 npcan 11425 . . . . . . . . 9 (((𝐵 / 𝐶) ∈ ℂ ∧ (𝐴 / 𝐶) ∈ ℂ) → (((𝐵 / 𝐶) − (𝐴 / 𝐶)) + (𝐴 / 𝐶)) = (𝐵 / 𝐶))
2524ancoms 461 . . . . . . . 8 (((𝐴 / 𝐶) ∈ ℂ ∧ (𝐵 / 𝐶) ∈ ℂ) → (((𝐵 / 𝐶) − (𝐴 / 𝐶)) + (𝐴 / 𝐶)) = (𝐵 / 𝐶))
2623, 25syl 17 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (((𝐵 / 𝐶) − (𝐴 / 𝐶)) + (𝐴 / 𝐶)) = (𝐵 / 𝐶))
2726eleq1d 2837 . . . . . 6 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → ((((𝐵 / 𝐶) − (𝐴 / 𝐶)) + (𝐴 / 𝐶)) ∈ ℕ ↔ (𝐵 / 𝐶) ∈ ℕ))
2827biimpd 231 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → ((((𝐵 / 𝐶) − (𝐴 / 𝐶)) + (𝐴 / 𝐶)) ∈ ℕ → (𝐵 / 𝐶) ∈ ℕ))
2915, 28sylan9r 515 . . . 4 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ (𝐴 / 𝐶) ∈ ℕ) → (((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ → (𝐵 / 𝐶) ∈ ℕ))
3029adantrr 725 . . 3 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴 / 𝐶) ∈ ℕ ∧ 𝐴 < 𝐵)) → (((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ → (𝐵 / 𝐶) ∈ ℕ))
3113, 30impbid 214 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴 / 𝐶) ∈ ℕ ∧ 𝐴 < 𝐵)) → ((𝐵 / 𝐶) ∈ ℕ ↔ ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))
32 nncn 12204 . . . . . 6 (𝐵 ∈ ℕ → 𝐵 ∈ ℂ)
33323ad2ant2 1143 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → 𝐵 ∈ ℂ)
34 nncn 12204 . . . . . 6 (𝐴 ∈ ℕ → 𝐴 ∈ ℂ)
35343ad2ant1 1142 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → 𝐴 ∈ ℂ)
36 nncn 12204 . . . . . . 7 (𝐶 ∈ ℕ → 𝐶 ∈ ℂ)
3736, 17jca 518 . . . . . 6 (𝐶 ∈ ℕ → (𝐶 ∈ ℂ ∧ 𝐶 ≠ 0))
38373ad2ant3 1144 . . . . 5 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (𝐶 ∈ ℂ ∧ 𝐶 ≠ 0))
39 divsubdir 11870 . . . . 5 ((𝐵 ∈ ℂ ∧ 𝐴 ∈ ℂ ∧ (𝐶 ∈ ℂ ∧ 𝐶 ≠ 0)) → ((𝐵𝐴) / 𝐶) = ((𝐵 / 𝐶) − (𝐴 / 𝐶)))
4033, 35, 38, 39syl3anc 1382 . . . 4 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → ((𝐵𝐴) / 𝐶) = ((𝐵 / 𝐶) − (𝐴 / 𝐶)))
4140eleq1d 2837 . . 3 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) → (((𝐵𝐴) / 𝐶) ∈ ℕ ↔ ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))
4241adantr 483 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴 / 𝐶) ∈ ℕ ∧ 𝐴 < 𝐵)) → (((𝐵𝐴) / 𝐶) ∈ ℕ ↔ ((𝐵 / 𝐶) − (𝐴 / 𝐶)) ∈ ℕ))
4331, 42bitr4d 284 1 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ ∧ 𝐶 ∈ ℕ) ∧ ((𝐴 / 𝐶) ∈ ℕ ∧ 𝐴 < 𝐵)) → ((𝐵 / 𝐶) ∈ ℕ ↔ ((𝐵𝐴) / 𝐶) ∈ ℕ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1095   = wceq 1550  wcel 2132  wne 2947   class class class wbr 5090  (class class class)co 7381  cc 11057  cr 11058  0cc0 11059   + caddc 11062   < clt 11202  cmin 11400   / cdiv 11830  cn 12196
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1805  ax-4 1819  ax-5 1920  ax-6 1977  ax-7 2018  ax-8 2134  ax-9 2142  ax-10 2165  ax-11 2181  ax-12 2202  ax-ext 2724  ax-sep 5236  ax-nul 5246  ax-pow 5312  ax-pr 5380  ax-un 7703  ax-resscn 11116  ax-1cn 11117  ax-icn 11118  ax-addcl 11119  ax-addrcl 11120  ax-mulcl 11121  ax-mulrcl 11122  ax-mulcom 11123  ax-addass 11124  ax-mulass 11125  ax-distr 11126  ax-i2m1 11127  ax-1ne0 11128  ax-1rid 11129  ax-rnegex 11130  ax-rrecex 11131  ax-cnre 11132  ax-pre-lttri 11133  ax-pre-lttrn 11134  ax-pre-ltadd 11135  ax-pre-mulgt0 11136
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3or 1096  df-3an 1097  df-tru 1553  df-fal 1563  df-ex 1790  df-nf 1794  df-sb 2081  df-mo 2556  df-eu 2586  df-clab 2731  df-cleq 2744  df-clel 2827  df-nfc 2901  df-ne 2948  df-nel 3052  df-ral 3067  df-rex 3077  df-rmo 3357  df-reu 3358  df-rab 3405  df-v 3446  df-sbc 3736  df-csb 3844  df-dif 3898  df-un 3900  df-in 3902  df-ss 3912  df-pss 3915  df-nul 4277  df-if 4471  df-pw 4547  df-sn 4573  df-pr 4575  df-op 4579  df-uni 4856  df-iun 4941  df-br 5091  df-opab 5153  df-mpt 5172  df-tr 5198  df-id 5531  df-eprel 5536  df-po 5544  df-so 5545  df-fr 5589  df-we 5591  df-xp 5642  df-rel 5643  df-cnv 5644  df-co 5645  df-dm 5646  df-rn 5647  df-res 5648  df-ima 5649  df-pred 6273  df-ord 6334  df-on 6335  df-lim 6336  df-suc 6337  df-iota 6462  df-fun 6508  df-fn 6509  df-f 6510  df-f1 6511  df-fo 6512  df-f1o 6513  df-fv 6514  df-riota 7338  df-ov 7384  df-oprab 7385  df-mpo 7386  df-om 7832  df-2nd 7956  df-frecs 8246  df-wrecs 8277  df-recs 8326  df-rdg 8365  df-er 8662  df-en 8913  df-dom 8914  df-sdom 8915  df-pnf 11204  df-mnf 11205  df-xr 11206  df-ltxr 11207  df-le 11208  df-sub 11402  df-neg 11403  df-div 11831  df-nn 12197
This theorem is referenced by:  ee7.2aOLD  36759
  Copyright terms: Public domain W3C validator