![]() |
Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > ILE Home > Th. List > dvdsflip | GIF version |
Description: An involution of the divisors of a number. (Contributed by Stefan O'Rear, 12-Sep-2015.) (Proof shortened by Mario Carneiro, 13-May-2016.) |
Ref | Expression |
---|---|
dvdsflip.a | ⊢ 𝐴 = {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁} |
dvdsflip.f | ⊢ 𝐹 = (𝑦 ∈ 𝐴 ↦ (𝑁 / 𝑦)) |
Ref | Expression |
---|---|
dvdsflip | ⊢ (𝑁 ∈ ℕ → 𝐹:𝐴–1-1-onto→𝐴) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | dvdsflip.f | . 2 ⊢ 𝐹 = (𝑦 ∈ 𝐴 ↦ (𝑁 / 𝑦)) | |
2 | dvdsflip.a | . . . . 5 ⊢ 𝐴 = {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁} | |
3 | 2 | eleq2i 2181 | . . . 4 ⊢ (𝑦 ∈ 𝐴 ↔ 𝑦 ∈ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁}) |
4 | dvdsdivcl 11396 | . . . 4 ⊢ ((𝑁 ∈ ℕ ∧ 𝑦 ∈ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁}) → (𝑁 / 𝑦) ∈ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁}) | |
5 | 3, 4 | sylan2b 283 | . . 3 ⊢ ((𝑁 ∈ ℕ ∧ 𝑦 ∈ 𝐴) → (𝑁 / 𝑦) ∈ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁}) |
6 | 5, 2 | syl6eleqr 2208 | . 2 ⊢ ((𝑁 ∈ ℕ ∧ 𝑦 ∈ 𝐴) → (𝑁 / 𝑦) ∈ 𝐴) |
7 | 2 | eleq2i 2181 | . . . 4 ⊢ (𝑧 ∈ 𝐴 ↔ 𝑧 ∈ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁}) |
8 | dvdsdivcl 11396 | . . . 4 ⊢ ((𝑁 ∈ ℕ ∧ 𝑧 ∈ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁}) → (𝑁 / 𝑧) ∈ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁}) | |
9 | 7, 8 | sylan2b 283 | . . 3 ⊢ ((𝑁 ∈ ℕ ∧ 𝑧 ∈ 𝐴) → (𝑁 / 𝑧) ∈ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁}) |
10 | 9, 2 | syl6eleqr 2208 | . 2 ⊢ ((𝑁 ∈ ℕ ∧ 𝑧 ∈ 𝐴) → (𝑁 / 𝑧) ∈ 𝐴) |
11 | ssrab2 3148 | . . . . . . 7 ⊢ {𝑥 ∈ ℕ ∣ 𝑥 ∥ 𝑁} ⊆ ℕ | |
12 | 2, 11 | eqsstri 3095 | . . . . . 6 ⊢ 𝐴 ⊆ ℕ |
13 | 12 | sseli 3059 | . . . . 5 ⊢ (𝑦 ∈ 𝐴 → 𝑦 ∈ ℕ) |
14 | 12 | sseli 3059 | . . . . 5 ⊢ (𝑧 ∈ 𝐴 → 𝑧 ∈ ℕ) |
15 | 13, 14 | anim12i 334 | . . . 4 ⊢ ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴) → (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) |
16 | nncn 8638 | . . . . . . 7 ⊢ (𝑁 ∈ ℕ → 𝑁 ∈ ℂ) | |
17 | 16 | adantr 272 | . . . . . 6 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → 𝑁 ∈ ℂ) |
18 | nncn 8638 | . . . . . . 7 ⊢ (𝑦 ∈ ℕ → 𝑦 ∈ ℂ) | |
19 | 18 | ad2antrl 479 | . . . . . 6 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → 𝑦 ∈ ℂ) |
20 | nncn 8638 | . . . . . . 7 ⊢ (𝑧 ∈ ℕ → 𝑧 ∈ ℂ) | |
21 | 20 | ad2antll 480 | . . . . . 6 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → 𝑧 ∈ ℂ) |
22 | simprr 504 | . . . . . . 7 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → 𝑧 ∈ ℕ) | |
23 | 22 | nnap0d 8676 | . . . . . 6 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → 𝑧 # 0) |
24 | 17, 19, 21, 23 | divmulap3d 8498 | . . . . 5 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → ((𝑁 / 𝑧) = 𝑦 ↔ 𝑁 = (𝑦 · 𝑧))) |
25 | simprl 503 | . . . . . . 7 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → 𝑦 ∈ ℕ) | |
26 | 25 | nnap0d 8676 | . . . . . 6 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → 𝑦 # 0) |
27 | 17, 21, 19, 26 | divmulap2d 8497 | . . . . 5 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → ((𝑁 / 𝑦) = 𝑧 ↔ 𝑁 = (𝑦 · 𝑧))) |
28 | 24, 27 | bitr4d 190 | . . . 4 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ)) → ((𝑁 / 𝑧) = 𝑦 ↔ (𝑁 / 𝑦) = 𝑧)) |
29 | 15, 28 | sylan2 282 | . . 3 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴)) → ((𝑁 / 𝑧) = 𝑦 ↔ (𝑁 / 𝑦) = 𝑧)) |
30 | eqcom 2117 | . . 3 ⊢ (𝑦 = (𝑁 / 𝑧) ↔ (𝑁 / 𝑧) = 𝑦) | |
31 | eqcom 2117 | . . 3 ⊢ (𝑧 = (𝑁 / 𝑦) ↔ (𝑁 / 𝑦) = 𝑧) | |
32 | 29, 30, 31 | 3bitr4g 222 | . 2 ⊢ ((𝑁 ∈ ℕ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴)) → (𝑦 = (𝑁 / 𝑧) ↔ 𝑧 = (𝑁 / 𝑦))) |
33 | 1, 6, 10, 32 | f1o2d 5929 | 1 ⊢ (𝑁 ∈ ℕ → 𝐹:𝐴–1-1-onto→𝐴) |
Colors of variables: wff set class |
Syntax hints: → wi 4 ∧ wa 103 ↔ wb 104 = wceq 1314 ∈ wcel 1463 {crab 2394 class class class wbr 3895 ↦ cmpt 3949 –1-1-onto→wf1o 5080 (class class class)co 5728 ℂcc 7545 · cmul 7552 / cdiv 8345 ℕcn 8630 ∥ cdvds 11341 |
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 1406 ax-7 1407 ax-gen 1408 ax-ie1 1452 ax-ie2 1453 ax-8 1465 ax-10 1466 ax-11 1467 ax-i12 1468 ax-bndl 1469 ax-4 1470 ax-13 1474 ax-14 1475 ax-17 1489 ax-i9 1493 ax-ial 1497 ax-i5r 1498 ax-ext 2097 ax-sep 4006 ax-pow 4058 ax-pr 4091 ax-un 4315 ax-setind 4412 ax-cnex 7636 ax-resscn 7637 ax-1cn 7638 ax-1re 7639 ax-icn 7640 ax-addcl 7641 ax-addrcl 7642 ax-mulcl 7643 ax-mulrcl 7644 ax-addcom 7645 ax-mulcom 7646 ax-addass 7647 ax-mulass 7648 ax-distr 7649 ax-i2m1 7650 ax-0lt1 7651 ax-1rid 7652 ax-0id 7653 ax-rnegex 7654 ax-precex 7655 ax-cnre 7656 ax-pre-ltirr 7657 ax-pre-ltwlin 7658 ax-pre-lttrn 7659 ax-pre-apti 7660 ax-pre-ltadd 7661 ax-pre-mulgt0 7662 ax-pre-mulext 7663 |
This theorem depends on definitions: df-bi 116 df-3or 946 df-3an 947 df-tru 1317 df-fal 1320 df-nf 1420 df-sb 1719 df-eu 1978 df-mo 1979 df-clab 2102 df-cleq 2108 df-clel 2111 df-nfc 2244 df-ne 2283 df-nel 2378 df-ral 2395 df-rex 2396 df-reu 2397 df-rmo 2398 df-rab 2399 df-v 2659 df-sbc 2879 df-dif 3039 df-un 3041 df-in 3043 df-ss 3050 df-pw 3478 df-sn 3499 df-pr 3500 df-op 3502 df-uni 3703 df-int 3738 df-br 3896 df-opab 3950 df-mpt 3951 df-id 4175 df-po 4178 df-iso 4179 df-xp 4505 df-rel 4506 df-cnv 4507 df-co 4508 df-dm 4509 df-rn 4510 df-iota 5046 df-fun 5083 df-fn 5084 df-f 5085 df-f1 5086 df-fo 5087 df-f1o 5088 df-fv 5089 df-riota 5684 df-ov 5731 df-oprab 5732 df-mpo 5733 df-pnf 7726 df-mnf 7727 df-xr 7728 df-ltxr 7729 df-le 7730 df-sub 7858 df-neg 7859 df-reap 8255 df-ap 8262 df-div 8346 df-inn 8631 df-n0 8882 df-z 8959 df-dvds 11342 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |