Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > zmodidfzoimp | Structured version Visualization version GIF version |
Description: Identity law for modulo restricted to integers. (Contributed by AV, 27-Oct-2018.) |
Ref | Expression |
---|---|
zmodidfzoimp | ⊢ (𝑀 ∈ (0..^𝑁) → (𝑀 mod 𝑁) = 𝑀) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elfzo0 13418 | . . 3 ⊢ (𝑀 ∈ (0..^𝑁) ↔ (𝑀 ∈ ℕ0 ∧ 𝑁 ∈ ℕ ∧ 𝑀 < 𝑁)) | |
2 | nn0z 12335 | . . . . 5 ⊢ (𝑀 ∈ ℕ0 → 𝑀 ∈ ℤ) | |
3 | 2 | anim1i 615 | . . . 4 ⊢ ((𝑀 ∈ ℕ0 ∧ 𝑁 ∈ ℕ) → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℕ)) |
4 | 3 | 3adant3 1131 | . . 3 ⊢ ((𝑀 ∈ ℕ0 ∧ 𝑁 ∈ ℕ ∧ 𝑀 < 𝑁) → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℕ)) |
5 | 1, 4 | sylbi 216 | . 2 ⊢ (𝑀 ∈ (0..^𝑁) → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℕ)) |
6 | zmodidfzo 13610 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℕ) → ((𝑀 mod 𝑁) = 𝑀 ↔ 𝑀 ∈ (0..^𝑁))) | |
7 | 6 | biimprd 247 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℕ) → (𝑀 ∈ (0..^𝑁) → (𝑀 mod 𝑁) = 𝑀)) |
8 | 5, 7 | mpcom 38 | 1 ⊢ (𝑀 ∈ (0..^𝑁) → (𝑀 mod 𝑁) = 𝑀) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 ∧ w3a 1086 = wceq 1542 ∈ wcel 2110 class class class wbr 5079 (class class class)co 7269 0cc0 10864 < clt 11002 ℕcn 11965 ℕ0cn0 12225 ℤcz 12311 ..^cfzo 13373 mod cmo 13579 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1975 ax-7 2015 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2158 ax-12 2175 ax-ext 2711 ax-sep 5227 ax-nul 5234 ax-pow 5292 ax-pr 5356 ax-un 7580 ax-cnex 10920 ax-resscn 10921 ax-1cn 10922 ax-icn 10923 ax-addcl 10924 ax-addrcl 10925 ax-mulcl 10926 ax-mulrcl 10927 ax-mulcom 10928 ax-addass 10929 ax-mulass 10930 ax-distr 10931 ax-i2m1 10932 ax-1ne0 10933 ax-1rid 10934 ax-rnegex 10935 ax-rrecex 10936 ax-cnre 10937 ax-pre-lttri 10938 ax-pre-lttrn 10939 ax-pre-ltadd 10940 ax-pre-mulgt0 10941 ax-pre-sup 10942 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1545 df-fal 1555 df-ex 1787 df-nf 1791 df-sb 2072 df-mo 2542 df-eu 2571 df-clab 2718 df-cleq 2732 df-clel 2818 df-nfc 2891 df-ne 2946 df-nel 3052 df-ral 3071 df-rex 3072 df-reu 3073 df-rmo 3074 df-rab 3075 df-v 3433 df-sbc 3721 df-csb 3838 df-dif 3895 df-un 3897 df-in 3899 df-ss 3909 df-pss 3911 df-nul 4263 df-if 4466 df-pw 4541 df-sn 4568 df-pr 4570 df-tp 4572 df-op 4574 df-uni 4846 df-iun 4932 df-br 5080 df-opab 5142 df-mpt 5163 df-tr 5197 df-id 5489 df-eprel 5495 df-po 5503 df-so 5504 df-fr 5544 df-we 5546 df-xp 5595 df-rel 5596 df-cnv 5597 df-co 5598 df-dm 5599 df-rn 5600 df-res 5601 df-ima 5602 df-pred 6200 df-ord 6267 df-on 6268 df-lim 6269 df-suc 6270 df-iota 6389 df-fun 6433 df-fn 6434 df-f 6435 df-f1 6436 df-fo 6437 df-f1o 6438 df-fv 6439 df-riota 7226 df-ov 7272 df-oprab 7273 df-mpo 7274 df-om 7702 df-1st 7818 df-2nd 7819 df-frecs 8082 df-wrecs 8113 df-recs 8187 df-rdg 8226 df-er 8473 df-en 8709 df-dom 8710 df-sdom 8711 df-sup 9171 df-inf 9172 df-pnf 11004 df-mnf 11005 df-xr 11006 df-ltxr 11007 df-le 11008 df-sub 11199 df-neg 11200 df-div 11625 df-nn 11966 df-n0 12226 df-z 12312 df-uz 12574 df-rp 12722 df-fz 13231 df-fzo 13374 df-fl 13502 df-mod 13580 |
This theorem is referenced by: modfzo0difsn 13653 modlteq 13655 addmodlteq 13656 cshwidxmodr 14507 cshwidx0 14509 cshweqrep 14524 cshw1 14525 cshwshashlem1 16787 smndex1igid 18533 eucrctshift 28595 cshwrnid 31221 cycpmfv1 31368 cycpmfv2 31369 |
Copyright terms: Public domain | W3C validator |