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

Theorem fzo0dvdseq 11397
Description: Zero is the only one of the first 𝐴 nonnegative integers that is divisible by 𝐴. (Contributed by Stefan O'Rear, 6-Sep-2015.)
Assertion
Ref Expression
fzo0dvdseq (𝐵 ∈ (0..^𝐴) → (𝐴𝐵𝐵 = 0))

Proof of Theorem fzo0dvdseq
StepHypRef Expression
1 elfzolt2 9820 . . . . . . 7 (𝐵 ∈ (0..^𝐴) → 𝐵 < 𝐴)
2 elfzoelz 9811 . . . . . . . 8 (𝐵 ∈ (0..^𝐴) → 𝐵 ∈ ℤ)
3 elfzoel2 9810 . . . . . . . 8 (𝐵 ∈ (0..^𝐴) → 𝐴 ∈ ℤ)
4 zltnle 8998 . . . . . . . 8 ((𝐵 ∈ ℤ ∧ 𝐴 ∈ ℤ) → (𝐵 < 𝐴 ↔ ¬ 𝐴𝐵))
52, 3, 4syl2anc 406 . . . . . . 7 (𝐵 ∈ (0..^𝐴) → (𝐵 < 𝐴 ↔ ¬ 𝐴𝐵))
61, 5mpbid 146 . . . . . 6 (𝐵 ∈ (0..^𝐴) → ¬ 𝐴𝐵)
76adantr 272 . . . . 5 ((𝐵 ∈ (0..^𝐴) ∧ 𝐴𝐵) → ¬ 𝐴𝐵)
83adantr 272 . . . . . . 7 ((𝐵 ∈ (0..^𝐴) ∧ 𝐵 ≠ 0) → 𝐴 ∈ ℤ)
9 elfzonn0 9850 . . . . . . . . . 10 (𝐵 ∈ (0..^𝐴) → 𝐵 ∈ ℕ0)
109adantr 272 . . . . . . . . 9 ((𝐵 ∈ (0..^𝐴) ∧ 𝐵 ≠ 0) → 𝐵 ∈ ℕ0)
11 simpr 109 . . . . . . . . 9 ((𝐵 ∈ (0..^𝐴) ∧ 𝐵 ≠ 0) → 𝐵 ≠ 0)
12 eldifsn 3614 . . . . . . . . 9 (𝐵 ∈ (ℕ0 ∖ {0}) ↔ (𝐵 ∈ ℕ0𝐵 ≠ 0))
1310, 11, 12sylanbrc 411 . . . . . . . 8 ((𝐵 ∈ (0..^𝐴) ∧ 𝐵 ≠ 0) → 𝐵 ∈ (ℕ0 ∖ {0}))
14 dfn2 8888 . . . . . . . 8 ℕ = (ℕ0 ∖ {0})
1513, 14syl6eleqr 2206 . . . . . . 7 ((𝐵 ∈ (0..^𝐴) ∧ 𝐵 ≠ 0) → 𝐵 ∈ ℕ)
16 dvdsle 11384 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℕ) → (𝐴𝐵𝐴𝐵))
178, 15, 16syl2anc 406 . . . . . 6 ((𝐵 ∈ (0..^𝐴) ∧ 𝐵 ≠ 0) → (𝐴𝐵𝐴𝐵))
1817impancom 258 . . . . 5 ((𝐵 ∈ (0..^𝐴) ∧ 𝐴𝐵) → (𝐵 ≠ 0 → 𝐴𝐵))
197, 18mtod 635 . . . 4 ((𝐵 ∈ (0..^𝐴) ∧ 𝐴𝐵) → ¬ 𝐵 ≠ 0)
20 0z 8963 . . . . . . . 8 0 ∈ ℤ
21 zdceq 9024 . . . . . . . 8 ((𝐵 ∈ ℤ ∧ 0 ∈ ℤ) → DECID 𝐵 = 0)
2220, 21mpan2 419 . . . . . . 7 (𝐵 ∈ ℤ → DECID 𝐵 = 0)
23 nnedc 2285 . . . . . . 7 (DECID 𝐵 = 0 → (¬ 𝐵 ≠ 0 ↔ 𝐵 = 0))
2422, 23syl 14 . . . . . 6 (𝐵 ∈ ℤ → (¬ 𝐵 ≠ 0 ↔ 𝐵 = 0))
252, 24syl 14 . . . . 5 (𝐵 ∈ (0..^𝐴) → (¬ 𝐵 ≠ 0 ↔ 𝐵 = 0))
2625adantr 272 . . . 4 ((𝐵 ∈ (0..^𝐴) ∧ 𝐴𝐵) → (¬ 𝐵 ≠ 0 ↔ 𝐵 = 0))
2719, 26mpbid 146 . . 3 ((𝐵 ∈ (0..^𝐴) ∧ 𝐴𝐵) → 𝐵 = 0)
2827ex 114 . 2 (𝐵 ∈ (0..^𝐴) → (𝐴𝐵𝐵 = 0))
29 dvds0 11350 . . . 4 (𝐴 ∈ ℤ → 𝐴 ∥ 0)
303, 29syl 14 . . 3 (𝐵 ∈ (0..^𝐴) → 𝐴 ∥ 0)
31 breq2 3897 . . 3 (𝐵 = 0 → (𝐴𝐵𝐴 ∥ 0))
3230, 31syl5ibrcom 156 . 2 (𝐵 ∈ (0..^𝐴) → (𝐵 = 0 → 𝐴𝐵))
3328, 32impbid 128 1 (𝐵 ∈ (0..^𝐴) → (𝐴𝐵𝐵 = 0))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  DECID wdc 802   = wceq 1312  wcel 1461  wne 2280  cdif 3032  {csn 3491   class class class wbr 3893  (class class class)co 5726  0cc0 7541   < clt 7718  cle 7719  cn 8624  0cn0 8875  cz 8952  ..^cfzo 9806  cdvds 11335
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 586  ax-in2 587  ax-io 681  ax-5 1404  ax-7 1405  ax-gen 1406  ax-ie1 1450  ax-ie2 1451  ax-8 1463  ax-10 1464  ax-11 1465  ax-i12 1466  ax-bndl 1467  ax-4 1468  ax-13 1472  ax-14 1473  ax-17 1487  ax-i9 1491  ax-ial 1495  ax-i5r 1496  ax-ext 2095  ax-sep 4004  ax-pow 4056  ax-pr 4089  ax-un 4313  ax-setind 4410  ax-cnex 7630  ax-resscn 7631  ax-1cn 7632  ax-1re 7633  ax-icn 7634  ax-addcl 7635  ax-addrcl 7636  ax-mulcl 7637  ax-mulrcl 7638  ax-addcom 7639  ax-mulcom 7640  ax-addass 7641  ax-mulass 7642  ax-distr 7643  ax-i2m1 7644  ax-0lt1 7645  ax-1rid 7646  ax-0id 7647  ax-rnegex 7648  ax-precex 7649  ax-cnre 7650  ax-pre-ltirr 7651  ax-pre-ltwlin 7652  ax-pre-lttrn 7653  ax-pre-apti 7654  ax-pre-ltadd 7655  ax-pre-mulgt0 7656  ax-pre-mulext 7657
This theorem depends on definitions:  df-bi 116  df-dc 803  df-3or 944  df-3an 945  df-tru 1315  df-fal 1318  df-nf 1418  df-sb 1717  df-eu 1976  df-mo 1977  df-clab 2100  df-cleq 2106  df-clel 2109  df-nfc 2242  df-ne 2281  df-nel 2376  df-ral 2393  df-rex 2394  df-reu 2395  df-rmo 2396  df-rab 2397  df-v 2657  df-sbc 2877  df-csb 2970  df-dif 3037  df-un 3039  df-in 3041  df-ss 3048  df-nul 3328  df-pw 3476  df-sn 3497  df-pr 3498  df-op 3500  df-uni 3701  df-int 3736  df-iun 3779  df-br 3894  df-opab 3948  df-mpt 3949  df-id 4173  df-po 4176  df-iso 4177  df-xp 4503  df-rel 4504  df-cnv 4505  df-co 4506  df-dm 4507  df-rn 4508  df-res 4509  df-ima 4510  df-iota 5044  df-fun 5081  df-fn 5082  df-f 5083  df-fv 5087  df-riota 5682  df-ov 5729  df-oprab 5730  df-mpo 5731  df-1st 5990  df-2nd 5991  df-pnf 7720  df-mnf 7721  df-xr 7722  df-ltxr 7723  df-le 7724  df-sub 7852  df-neg 7853  df-reap 8249  df-ap 8256  df-div 8340  df-inn 8625  df-n0 8876  df-z 8953  df-uz 9223  df-q 9308  df-fz 9678  df-fzo 9807  df-dvds 11336
This theorem is referenced by:  fzocongeq  11398
  Copyright terms: Public domain W3C validator