MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  isprm5 Structured version   Visualization version   GIF version

Theorem isprm5 16053
Description: One need only check prime divisors of 𝑃 up to 𝑃 in order to ensure primality. (Contributed by Mario Carneiro, 18-Feb-2014.)
Assertion
Ref Expression
isprm5 (𝑃 ∈ ℙ ↔ (𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃)))
Distinct variable group:   𝑧,𝑃

Proof of Theorem isprm5
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 isprm4 16030 . 2 (𝑃 ∈ ℙ ↔ (𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃)))
2 prmuz2 16042 . . . . . . . 8 (𝑧 ∈ ℙ → 𝑧 ∈ (ℤ‘2))
32a1i 11 . . . . . . 7 (𝑃 ∈ (ℤ‘2) → (𝑧 ∈ ℙ → 𝑧 ∈ (ℤ‘2)))
4 eluz2gt1 12323 . . . . . . . . . . . 12 (𝑃 ∈ (ℤ‘2) → 1 < 𝑃)
5 eluzelre 12257 . . . . . . . . . . . . 13 (𝑃 ∈ (ℤ‘2) → 𝑃 ∈ ℝ)
6 eluz2nn 12287 . . . . . . . . . . . . . 14 (𝑃 ∈ (ℤ‘2) → 𝑃 ∈ ℕ)
76nngt0d 11689 . . . . . . . . . . . . 13 (𝑃 ∈ (ℤ‘2) → 0 < 𝑃)
8 ltmulgt11 11502 . . . . . . . . . . . . 13 ((𝑃 ∈ ℝ ∧ 𝑃 ∈ ℝ ∧ 0 < 𝑃) → (1 < 𝑃𝑃 < (𝑃 · 𝑃)))
95, 5, 7, 8syl3anc 1367 . . . . . . . . . . . 12 (𝑃 ∈ (ℤ‘2) → (1 < 𝑃𝑃 < (𝑃 · 𝑃)))
104, 9mpbid 234 . . . . . . . . . . 11 (𝑃 ∈ (ℤ‘2) → 𝑃 < (𝑃 · 𝑃))
115, 5remulcld 10673 . . . . . . . . . . . 12 (𝑃 ∈ (ℤ‘2) → (𝑃 · 𝑃) ∈ ℝ)
125, 11ltnled 10789 . . . . . . . . . . 11 (𝑃 ∈ (ℤ‘2) → (𝑃 < (𝑃 · 𝑃) ↔ ¬ (𝑃 · 𝑃) ≤ 𝑃))
1310, 12mpbid 234 . . . . . . . . . 10 (𝑃 ∈ (ℤ‘2) → ¬ (𝑃 · 𝑃) ≤ 𝑃)
14 oveq12 7167 . . . . . . . . . . . . 13 ((𝑧 = 𝑃𝑧 = 𝑃) → (𝑧 · 𝑧) = (𝑃 · 𝑃))
1514anidms 569 . . . . . . . . . . . 12 (𝑧 = 𝑃 → (𝑧 · 𝑧) = (𝑃 · 𝑃))
1615breq1d 5078 . . . . . . . . . . 11 (𝑧 = 𝑃 → ((𝑧 · 𝑧) ≤ 𝑃 ↔ (𝑃 · 𝑃) ≤ 𝑃))
1716notbid 320 . . . . . . . . . 10 (𝑧 = 𝑃 → (¬ (𝑧 · 𝑧) ≤ 𝑃 ↔ ¬ (𝑃 · 𝑃) ≤ 𝑃))
1813, 17syl5ibrcom 249 . . . . . . . . 9 (𝑃 ∈ (ℤ‘2) → (𝑧 = 𝑃 → ¬ (𝑧 · 𝑧) ≤ 𝑃))
1918imim2d 57 . . . . . . . 8 (𝑃 ∈ (ℤ‘2) → ((𝑧𝑃𝑧 = 𝑃) → (𝑧𝑃 → ¬ (𝑧 · 𝑧) ≤ 𝑃)))
20 con2 137 . . . . . . . 8 ((𝑧𝑃 → ¬ (𝑧 · 𝑧) ≤ 𝑃) → ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
2119, 20syl6 35 . . . . . . 7 (𝑃 ∈ (ℤ‘2) → ((𝑧𝑃𝑧 = 𝑃) → ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
223, 21imim12d 81 . . . . . 6 (𝑃 ∈ (ℤ‘2) → ((𝑧 ∈ (ℤ‘2) → (𝑧𝑃𝑧 = 𝑃)) → (𝑧 ∈ ℙ → ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))))
2322ralimdv2 3178 . . . . 5 (𝑃 ∈ (ℤ‘2) → (∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃) → ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
24 annim 406 . . . . . . . . 9 ((𝑧𝑃 ∧ ¬ 𝑧 = 𝑃) ↔ ¬ (𝑧𝑃𝑧 = 𝑃))
25 oveq12 7167 . . . . . . . . . . . . . . . . . 18 ((𝑥 = 𝑧𝑥 = 𝑧) → (𝑥 · 𝑥) = (𝑧 · 𝑧))
2625anidms 569 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑧 → (𝑥 · 𝑥) = (𝑧 · 𝑧))
2726breq1d 5078 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → ((𝑥 · 𝑥) ≤ 𝑃 ↔ (𝑧 · 𝑧) ≤ 𝑃))
28 breq1 5071 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥𝑃𝑧𝑃))
2927, 28anbi12d 632 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃) ↔ ((𝑧 · 𝑧) ≤ 𝑃𝑧𝑃)))
3029rspcev 3625 . . . . . . . . . . . . . 14 ((𝑧 ∈ (ℤ‘2) ∧ ((𝑧 · 𝑧) ≤ 𝑃𝑧𝑃)) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃))
3130ancom2s 648 . . . . . . . . . . . . 13 ((𝑧 ∈ (ℤ‘2) ∧ (𝑧𝑃 ∧ (𝑧 · 𝑧) ≤ 𝑃)) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃))
3231expr 459 . . . . . . . . . . . 12 ((𝑧 ∈ (ℤ‘2) ∧ 𝑧𝑃) → ((𝑧 · 𝑧) ≤ 𝑃 → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
3332ad2ant2lr 746 . . . . . . . . . . 11 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑧 · 𝑧) ≤ 𝑃 → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
34 simprl 769 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧𝑃)
35 eluzelz 12256 . . . . . . . . . . . . . . . 16 (𝑧 ∈ (ℤ‘2) → 𝑧 ∈ ℤ)
3635ad2antlr 725 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ∈ ℤ)
37 eluz2nn 12287 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ (ℤ‘2) → 𝑧 ∈ ℕ)
3837ad2antlr 725 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ∈ ℕ)
3938nnne0d 11690 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ≠ 0)
40 eluzelz 12256 . . . . . . . . . . . . . . . 16 (𝑃 ∈ (ℤ‘2) → 𝑃 ∈ ℤ)
4140ad2antrr 724 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℤ)
42 dvdsval2 15612 . . . . . . . . . . . . . . 15 ((𝑧 ∈ ℤ ∧ 𝑧 ≠ 0 ∧ 𝑃 ∈ ℤ) → (𝑧𝑃 ↔ (𝑃 / 𝑧) ∈ ℤ))
4336, 39, 41, 42syl3anc 1367 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧𝑃 ↔ (𝑃 / 𝑧) ∈ ℤ))
4434, 43mpbid 234 . . . . . . . . . . . . 13 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 / 𝑧) ∈ ℤ)
45 eluzelre 12257 . . . . . . . . . . . . . . . . . 18 (𝑧 ∈ (ℤ‘2) → 𝑧 ∈ ℝ)
4645ad2antlr 725 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ∈ ℝ)
4746recnd 10671 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ∈ ℂ)
4847mulid2d 10661 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (1 · 𝑧) = 𝑧)
495ad2antrr 724 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℝ)
506ad2antrr 724 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℕ)
51 dvdsle 15662 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∈ ℤ ∧ 𝑃 ∈ ℕ) → (𝑧𝑃𝑧𝑃))
5251imp 409 . . . . . . . . . . . . . . . . 17 (((𝑧 ∈ ℤ ∧ 𝑃 ∈ ℕ) ∧ 𝑧𝑃) → 𝑧𝑃)
5336, 50, 34, 52syl21anc 835 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧𝑃)
54 simprr 771 . . . . . . . . . . . . . . . . . 18 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ¬ 𝑧 = 𝑃)
5554neqned 3025 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧𝑃)
5655necomd 3073 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃𝑧)
5746, 49, 53, 56leneltd 10796 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 < 𝑃)
5848, 57eqbrtrd 5090 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (1 · 𝑧) < 𝑃)
59 1red 10644 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 1 ∈ ℝ)
6041zred 12090 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℝ)
61 nnre 11647 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ ℕ → 𝑧 ∈ ℝ)
62 nngt0 11671 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ ℕ → 0 < 𝑧)
6361, 62jca 514 . . . . . . . . . . . . . . . 16 (𝑧 ∈ ℕ → (𝑧 ∈ ℝ ∧ 0 < 𝑧))
6438, 63syl 17 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 ∈ ℝ ∧ 0 < 𝑧))
65 ltmuldiv 11515 . . . . . . . . . . . . . . 15 ((1 ∈ ℝ ∧ 𝑃 ∈ ℝ ∧ (𝑧 ∈ ℝ ∧ 0 < 𝑧)) → ((1 · 𝑧) < 𝑃 ↔ 1 < (𝑃 / 𝑧)))
6659, 60, 64, 65syl3anc 1367 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((1 · 𝑧) < 𝑃 ↔ 1 < (𝑃 / 𝑧)))
6758, 66mpbid 234 . . . . . . . . . . . . 13 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 1 < (𝑃 / 𝑧))
68 eluz2b1 12322 . . . . . . . . . . . . 13 ((𝑃 / 𝑧) ∈ (ℤ‘2) ↔ ((𝑃 / 𝑧) ∈ ℤ ∧ 1 < (𝑃 / 𝑧)))
6944, 67, 68sylanbrc 585 . . . . . . . . . . . 12 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 / 𝑧) ∈ (ℤ‘2))
7046, 46remulcld 10673 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · 𝑧) ∈ ℝ)
7138, 38nnmulcld 11693 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · 𝑧) ∈ ℕ)
72 nnrp 12403 . . . . . . . . . . . . . . . . . 18 (𝑃 ∈ ℕ → 𝑃 ∈ ℝ+)
73 nnrp 12403 . . . . . . . . . . . . . . . . . 18 ((𝑧 · 𝑧) ∈ ℕ → (𝑧 · 𝑧) ∈ ℝ+)
74 rpdivcl 12417 . . . . . . . . . . . . . . . . . 18 ((𝑃 ∈ ℝ+ ∧ (𝑧 · 𝑧) ∈ ℝ+) → (𝑃 / (𝑧 · 𝑧)) ∈ ℝ+)
7572, 73, 74syl2an 597 . . . . . . . . . . . . . . . . 17 ((𝑃 ∈ ℕ ∧ (𝑧 · 𝑧) ∈ ℕ) → (𝑃 / (𝑧 · 𝑧)) ∈ ℝ+)
7650, 71, 75syl2anc 586 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 / (𝑧 · 𝑧)) ∈ ℝ+)
7749, 70, 76lemul1d 12477 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) ↔ (𝑃 · (𝑃 / (𝑧 · 𝑧))) ≤ ((𝑧 · 𝑧) · (𝑃 / (𝑧 · 𝑧)))))
7849recnd 10671 . . . . . . . . . . . . . . . . . 18 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℂ)
7978, 47, 78, 47, 39, 39divmuldivd 11459 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑃 / 𝑧) · (𝑃 / 𝑧)) = ((𝑃 · 𝑃) / (𝑧 · 𝑧)))
8071nncnd 11656 . . . . . . . . . . . . . . . . . 18 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · 𝑧) ∈ ℂ)
8171nnne0d 11690 . . . . . . . . . . . . . . . . . 18 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · 𝑧) ≠ 0)
8278, 78, 80, 81divassd 11453 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑃 · 𝑃) / (𝑧 · 𝑧)) = (𝑃 · (𝑃 / (𝑧 · 𝑧))))
8379, 82eqtrd 2858 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑃 / 𝑧) · (𝑃 / 𝑧)) = (𝑃 · (𝑃 / (𝑧 · 𝑧))))
8478, 80, 81divcan2d 11420 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑧 · 𝑧) · (𝑃 / (𝑧 · 𝑧))) = 𝑃)
8584eqcomd 2829 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 = ((𝑧 · 𝑧) · (𝑃 / (𝑧 · 𝑧))))
8683, 85breq12d 5081 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃 ↔ (𝑃 · (𝑃 / (𝑧 · 𝑧))) ≤ ((𝑧 · 𝑧) · (𝑃 / (𝑧 · 𝑧)))))
8777, 86bitr4d 284 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) ↔ ((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃))
8887biimpd 231 . . . . . . . . . . . . 13 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) → ((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃))
8978, 47, 39divcan2d 11420 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · (𝑃 / 𝑧)) = 𝑃)
90 dvds0lem 15622 . . . . . . . . . . . . . 14 (((𝑧 ∈ ℤ ∧ (𝑃 / 𝑧) ∈ ℤ ∧ 𝑃 ∈ ℤ) ∧ (𝑧 · (𝑃 / 𝑧)) = 𝑃) → (𝑃 / 𝑧) ∥ 𝑃)
9136, 44, 41, 89, 90syl31anc 1369 . . . . . . . . . . . . 13 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 / 𝑧) ∥ 𝑃)
9288, 91jctird 529 . . . . . . . . . . . 12 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) → (((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃 ∧ (𝑃 / 𝑧) ∥ 𝑃)))
93 oveq12 7167 . . . . . . . . . . . . . . . 16 ((𝑥 = (𝑃 / 𝑧) ∧ 𝑥 = (𝑃 / 𝑧)) → (𝑥 · 𝑥) = ((𝑃 / 𝑧) · (𝑃 / 𝑧)))
9493anidms 569 . . . . . . . . . . . . . . 15 (𝑥 = (𝑃 / 𝑧) → (𝑥 · 𝑥) = ((𝑃 / 𝑧) · (𝑃 / 𝑧)))
9594breq1d 5078 . . . . . . . . . . . . . 14 (𝑥 = (𝑃 / 𝑧) → ((𝑥 · 𝑥) ≤ 𝑃 ↔ ((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃))
96 breq1 5071 . . . . . . . . . . . . . 14 (𝑥 = (𝑃 / 𝑧) → (𝑥𝑃 ↔ (𝑃 / 𝑧) ∥ 𝑃))
9795, 96anbi12d 632 . . . . . . . . . . . . 13 (𝑥 = (𝑃 / 𝑧) → (((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃) ↔ (((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃 ∧ (𝑃 / 𝑧) ∥ 𝑃)))
9897rspcev 3625 . . . . . . . . . . . 12 (((𝑃 / 𝑧) ∈ (ℤ‘2) ∧ (((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃 ∧ (𝑃 / 𝑧) ∥ 𝑃)) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃))
9969, 92, 98syl6an 682 . . . . . . . . . . 11 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
10070, 49letrid 10794 . . . . . . . . . . 11 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑧 · 𝑧) ≤ 𝑃𝑃 ≤ (𝑧 · 𝑧)))
10133, 99, 100mpjaod 856 . . . . . . . . . 10 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃))
102101ex 415 . . . . . . . . 9 ((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) → ((𝑧𝑃 ∧ ¬ 𝑧 = 𝑃) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
10324, 102syl5bir 245 . . . . . . . 8 ((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) → (¬ (𝑧𝑃𝑧 = 𝑃) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
104103rexlimdva 3286 . . . . . . 7 (𝑃 ∈ (ℤ‘2) → (∃𝑧 ∈ (ℤ‘2) ¬ (𝑧𝑃𝑧 = 𝑃) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
105 prmz 16021 . . . . . . . . . . . . . . 15 (𝑧 ∈ ℙ → 𝑧 ∈ ℤ)
106105ad2antrl 726 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧 ∈ ℤ)
107106zred 12090 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧 ∈ ℝ)
108107, 107remulcld 10673 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑧 · 𝑧) ∈ ℝ)
109 eluzelz 12256 . . . . . . . . . . . . . . 15 (𝑥 ∈ (ℤ‘2) → 𝑥 ∈ ℤ)
110109ad3antlr 729 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑥 ∈ ℤ)
111110zred 12090 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑥 ∈ ℝ)
112111, 111remulcld 10673 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑥 · 𝑥) ∈ ℝ)
11340ad3antrrr 728 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑃 ∈ ℤ)
114113zred 12090 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑃 ∈ ℝ)
115 eluz2nn 12287 . . . . . . . . . . . . . . 15 (𝑥 ∈ (ℤ‘2) → 𝑥 ∈ ℕ)
116115ad3antlr 729 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑥 ∈ ℕ)
117 simprr 771 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧𝑥)
118 dvdsle 15662 . . . . . . . . . . . . . . 15 ((𝑧 ∈ ℤ ∧ 𝑥 ∈ ℕ) → (𝑧𝑥𝑧𝑥))
119118imp 409 . . . . . . . . . . . . . 14 (((𝑧 ∈ ℤ ∧ 𝑥 ∈ ℕ) ∧ 𝑧𝑥) → 𝑧𝑥)
120106, 116, 117, 119syl21anc 835 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧𝑥)
121 eluzge2nn0 12290 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ (ℤ‘2) → 𝑧 ∈ ℕ0)
122121nn0ge0d 11961 . . . . . . . . . . . . . . . 16 (𝑧 ∈ (ℤ‘2) → 0 ≤ 𝑧)
1232, 122syl 17 . . . . . . . . . . . . . . 15 (𝑧 ∈ ℙ → 0 ≤ 𝑧)
124123ad2antrl 726 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 0 ≤ 𝑧)
125 nnnn0 11907 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ℕ → 𝑥 ∈ ℕ0)
126125nn0ge0d 11961 . . . . . . . . . . . . . . 15 (𝑥 ∈ ℕ → 0 ≤ 𝑥)
127116, 126syl 17 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 0 ≤ 𝑥)
128 le2msq 11542 . . . . . . . . . . . . . 14 (((𝑧 ∈ ℝ ∧ 0 ≤ 𝑧) ∧ (𝑥 ∈ ℝ ∧ 0 ≤ 𝑥)) → (𝑧𝑥 ↔ (𝑧 · 𝑧) ≤ (𝑥 · 𝑥)))
129107, 124, 111, 127, 128syl22anc 836 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑧𝑥 ↔ (𝑧 · 𝑧) ≤ (𝑥 · 𝑥)))
130120, 129mpbid 234 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑧 · 𝑧) ≤ (𝑥 · 𝑥))
131 simplrl 775 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑥 · 𝑥) ≤ 𝑃)
132108, 112, 114, 130, 131letrd 10799 . . . . . . . . . . 11 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑧 · 𝑧) ≤ 𝑃)
133 simplrr 776 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑥𝑃)
134 dvdstr 15648 . . . . . . . . . . . . 13 ((𝑧 ∈ ℤ ∧ 𝑥 ∈ ℤ ∧ 𝑃 ∈ ℤ) → ((𝑧𝑥𝑥𝑃) → 𝑧𝑃))
135106, 110, 113, 134syl3anc 1367 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → ((𝑧𝑥𝑥𝑃) → 𝑧𝑃))
136117, 133, 135mp2and 697 . . . . . . . . . . 11 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧𝑃)
137132, 136jc 163 . . . . . . . . . 10 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
138 exprmfct 16050 . . . . . . . . . . 11 (𝑥 ∈ (ℤ‘2) → ∃𝑧 ∈ ℙ 𝑧𝑥)
139138ad2antlr 725 . . . . . . . . . 10 (((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) → ∃𝑧 ∈ ℙ 𝑧𝑥)
140137, 139reximddv 3277 . . . . . . . . 9 (((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) → ∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
141140ex 415 . . . . . . . 8 ((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) → (((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃) → ∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
142141rexlimdva 3286 . . . . . . 7 (𝑃 ∈ (ℤ‘2) → (∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃) → ∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
143104, 142syld 47 . . . . . 6 (𝑃 ∈ (ℤ‘2) → (∃𝑧 ∈ (ℤ‘2) ¬ (𝑧𝑃𝑧 = 𝑃) → ∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
144 rexnal 3240 . . . . . 6 (∃𝑧 ∈ (ℤ‘2) ¬ (𝑧𝑃𝑧 = 𝑃) ↔ ¬ ∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃))
145 rexnal 3240 . . . . . 6 (∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃) ↔ ¬ ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
146143, 144, 1453imtr3g 297 . . . . 5 (𝑃 ∈ (ℤ‘2) → (¬ ∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃) → ¬ ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
14723, 146impcon4bid 229 . . . 4 (𝑃 ∈ (ℤ‘2) → (∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃) ↔ ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
148 prmnn 16020 . . . . . . . . 9 (𝑧 ∈ ℙ → 𝑧 ∈ ℕ)
149148nncnd 11656 . . . . . . . 8 (𝑧 ∈ ℙ → 𝑧 ∈ ℂ)
150149sqvald 13510 . . . . . . 7 (𝑧 ∈ ℙ → (𝑧↑2) = (𝑧 · 𝑧))
151150breq1d 5078 . . . . . 6 (𝑧 ∈ ℙ → ((𝑧↑2) ≤ 𝑃 ↔ (𝑧 · 𝑧) ≤ 𝑃))
152151imbi1d 344 . . . . 5 (𝑧 ∈ ℙ → (((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃) ↔ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
153152ralbiia 3166 . . . 4 (∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃) ↔ ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
154147, 153syl6bbr 291 . . 3 (𝑃 ∈ (ℤ‘2) → (∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃) ↔ ∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃)))
155154pm5.32i 577 . 2 ((𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃)) ↔ (𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃)))
1561, 155bitri 277 1 (𝑃 ∈ ℙ ↔ (𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wne 3018  wral 3140  wrex 3141   class class class wbr 5068  cfv 6357  (class class class)co 7158  cr 10538  0cc0 10539  1c1 10540   · cmul 10544   < clt 10677  cle 10678   / cdiv 11299  cn 11640  2c2 11695  cz 11984  cuz 12246  +crp 12392  cexp 13432  cdvds 15609  cprime 16017
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-cnex 10595  ax-resscn 10596  ax-1cn 10597  ax-icn 10598  ax-addcl 10599  ax-addrcl 10600  ax-mulcl 10601  ax-mulrcl 10602  ax-mulcom 10603  ax-addass 10604  ax-mulass 10605  ax-distr 10606  ax-i2m1 10607  ax-1ne0 10608  ax-1rid 10609  ax-rnegex 10610  ax-rrecex 10611  ax-cnre 10612  ax-pre-lttri 10613  ax-pre-lttrn 10614  ax-pre-ltadd 10615  ax-pre-mulgt0 10616  ax-pre-sup 10617
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-nel 3126  df-ral 3145  df-rex 3146  df-reu 3147  df-rmo 3148  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-pred 6150  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-riota 7116  df-ov 7161  df-oprab 7162  df-mpo 7163  df-om 7583  df-1st 7691  df-2nd 7692  df-wrecs 7949  df-recs 8010  df-rdg 8048  df-1o 8104  df-2o 8105  df-er 8291  df-en 8512  df-dom 8513  df-sdom 8514  df-fin 8515  df-sup 8908  df-pnf 10679  df-mnf 10680  df-xr 10681  df-ltxr 10682  df-le 10683  df-sub 10874  df-neg 10875  df-div 11300  df-nn 11641  df-2 11703  df-3 11704  df-n0 11901  df-z 11985  df-uz 12247  df-rp 12393  df-fz 12896  df-seq 13373  df-exp 13433  df-cj 14460  df-re 14461  df-im 14462  df-sqrt 14596  df-abs 14597  df-dvds 15610  df-prm 16018
This theorem is referenced by:  isprm7  16054  pockthg  16244  prmlem1a  16442
  Copyright terms: Public domain W3C validator