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

Theorem isprm5 15257
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 15235 . 2 (𝑃 ∈ ℙ ↔ (𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃)))
2 prmuz2 15246 . . . . . . . 8 (𝑧 ∈ ℙ → 𝑧 ∈ (ℤ‘2))
32a1i 11 . . . . . . 7 (𝑃 ∈ (ℤ‘2) → (𝑧 ∈ ℙ → 𝑧 ∈ (ℤ‘2)))
4 eluz2b2 11637 . . . . . . . . . . . . 13 (𝑃 ∈ (ℤ‘2) ↔ (𝑃 ∈ ℕ ∧ 1 < 𝑃))
54simprbi 479 . . . . . . . . . . . 12 (𝑃 ∈ (ℤ‘2) → 1 < 𝑃)
6 eluzelre 11574 . . . . . . . . . . . . 13 (𝑃 ∈ (ℤ‘2) → 𝑃 ∈ ℝ)
7 eluz2nn 11602 . . . . . . . . . . . . . 14 (𝑃 ∈ (ℤ‘2) → 𝑃 ∈ ℕ)
87nngt0d 10941 . . . . . . . . . . . . 13 (𝑃 ∈ (ℤ‘2) → 0 < 𝑃)
9 ltmulgt11 10762 . . . . . . . . . . . . 13 ((𝑃 ∈ ℝ ∧ 𝑃 ∈ ℝ ∧ 0 < 𝑃) → (1 < 𝑃𝑃 < (𝑃 · 𝑃)))
106, 6, 8, 9syl3anc 1318 . . . . . . . . . . . 12 (𝑃 ∈ (ℤ‘2) → (1 < 𝑃𝑃 < (𝑃 · 𝑃)))
115, 10mpbid 221 . . . . . . . . . . 11 (𝑃 ∈ (ℤ‘2) → 𝑃 < (𝑃 · 𝑃))
126, 6remulcld 9949 . . . . . . . . . . . 12 (𝑃 ∈ (ℤ‘2) → (𝑃 · 𝑃) ∈ ℝ)
136, 12ltnled 10063 . . . . . . . . . . 11 (𝑃 ∈ (ℤ‘2) → (𝑃 < (𝑃 · 𝑃) ↔ ¬ (𝑃 · 𝑃) ≤ 𝑃))
1411, 13mpbid 221 . . . . . . . . . 10 (𝑃 ∈ (ℤ‘2) → ¬ (𝑃 · 𝑃) ≤ 𝑃)
15 oveq12 6558 . . . . . . . . . . . . 13 ((𝑧 = 𝑃𝑧 = 𝑃) → (𝑧 · 𝑧) = (𝑃 · 𝑃))
1615anidms 675 . . . . . . . . . . . 12 (𝑧 = 𝑃 → (𝑧 · 𝑧) = (𝑃 · 𝑃))
1716breq1d 4593 . . . . . . . . . . 11 (𝑧 = 𝑃 → ((𝑧 · 𝑧) ≤ 𝑃 ↔ (𝑃 · 𝑃) ≤ 𝑃))
1817notbid 307 . . . . . . . . . 10 (𝑧 = 𝑃 → (¬ (𝑧 · 𝑧) ≤ 𝑃 ↔ ¬ (𝑃 · 𝑃) ≤ 𝑃))
1914, 18syl5ibrcom 236 . . . . . . . . 9 (𝑃 ∈ (ℤ‘2) → (𝑧 = 𝑃 → ¬ (𝑧 · 𝑧) ≤ 𝑃))
2019imim2d 55 . . . . . . . 8 (𝑃 ∈ (ℤ‘2) → ((𝑧𝑃𝑧 = 𝑃) → (𝑧𝑃 → ¬ (𝑧 · 𝑧) ≤ 𝑃)))
21 con2 129 . . . . . . . 8 ((𝑧𝑃 → ¬ (𝑧 · 𝑧) ≤ 𝑃) → ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
2220, 21syl6 34 . . . . . . 7 (𝑃 ∈ (ℤ‘2) → ((𝑧𝑃𝑧 = 𝑃) → ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
233, 22imim12d 79 . . . . . 6 (𝑃 ∈ (ℤ‘2) → ((𝑧 ∈ (ℤ‘2) → (𝑧𝑃𝑧 = 𝑃)) → (𝑧 ∈ ℙ → ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))))
2423ralimdv2 2944 . . . . 5 (𝑃 ∈ (ℤ‘2) → (∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃) → ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
25 annim 440 . . . . . . . . 9 ((𝑧𝑃 ∧ ¬ 𝑧 = 𝑃) ↔ ¬ (𝑧𝑃𝑧 = 𝑃))
26 oveq12 6558 . . . . . . . . . . . . . . . . . 18 ((𝑥 = 𝑧𝑥 = 𝑧) → (𝑥 · 𝑥) = (𝑧 · 𝑧))
2726anidms 675 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑧 → (𝑥 · 𝑥) = (𝑧 · 𝑧))
2827breq1d 4593 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → ((𝑥 · 𝑥) ≤ 𝑃 ↔ (𝑧 · 𝑧) ≤ 𝑃))
29 breq1 4586 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥𝑃𝑧𝑃))
3028, 29anbi12d 743 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃) ↔ ((𝑧 · 𝑧) ≤ 𝑃𝑧𝑃)))
3130rspcev 3282 . . . . . . . . . . . . . 14 ((𝑧 ∈ (ℤ‘2) ∧ ((𝑧 · 𝑧) ≤ 𝑃𝑧𝑃)) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃))
3231ancom2s 840 . . . . . . . . . . . . 13 ((𝑧 ∈ (ℤ‘2) ∧ (𝑧𝑃 ∧ (𝑧 · 𝑧) ≤ 𝑃)) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃))
3332expr 641 . . . . . . . . . . . 12 ((𝑧 ∈ (ℤ‘2) ∧ 𝑧𝑃) → ((𝑧 · 𝑧) ≤ 𝑃 → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
3433ad2ant2lr 780 . . . . . . . . . . 11 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑧 · 𝑧) ≤ 𝑃 → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
35 simprl 790 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧𝑃)
36 eluzelz 11573 . . . . . . . . . . . . . . . 16 (𝑧 ∈ (ℤ‘2) → 𝑧 ∈ ℤ)
3736ad2antlr 759 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ∈ ℤ)
38 eluz2nn 11602 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ (ℤ‘2) → 𝑧 ∈ ℕ)
3938ad2antlr 759 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ∈ ℕ)
4039nnne0d 10942 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ≠ 0)
41 eluzelz 11573 . . . . . . . . . . . . . . . 16 (𝑃 ∈ (ℤ‘2) → 𝑃 ∈ ℤ)
4241ad2antrr 758 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℤ)
43 dvdsval2 14824 . . . . . . . . . . . . . . 15 ((𝑧 ∈ ℤ ∧ 𝑧 ≠ 0 ∧ 𝑃 ∈ ℤ) → (𝑧𝑃 ↔ (𝑃 / 𝑧) ∈ ℤ))
4437, 40, 42, 43syl3anc 1318 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧𝑃 ↔ (𝑃 / 𝑧) ∈ ℤ))
4535, 44mpbid 221 . . . . . . . . . . . . 13 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 / 𝑧) ∈ ℤ)
46 eluzelre 11574 . . . . . . . . . . . . . . . . . 18 (𝑧 ∈ (ℤ‘2) → 𝑧 ∈ ℝ)
4746ad2antlr 759 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ∈ ℝ)
4847recnd 9947 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 ∈ ℂ)
4948mulid2d 9937 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (1 · 𝑧) = 𝑧)
507ad2antrr 758 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℕ)
51 dvdsle 14870 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∈ ℤ ∧ 𝑃 ∈ ℕ) → (𝑧𝑃𝑧𝑃))
5251imp 444 . . . . . . . . . . . . . . . . 17 (((𝑧 ∈ ℤ ∧ 𝑃 ∈ ℕ) ∧ 𝑧𝑃) → 𝑧𝑃)
5337, 50, 35, 52syl21anc 1317 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧𝑃)
54 simprr 792 . . . . . . . . . . . . . . . . . 18 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ¬ 𝑧 = 𝑃)
5554neqned 2789 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧𝑃)
5655necomd 2837 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃𝑧)
576ad2antrr 758 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℝ)
5847, 57ltlend 10061 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 < 𝑃 ↔ (𝑧𝑃𝑃𝑧)))
5953, 56, 58mpbir2and 959 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑧 < 𝑃)
6049, 59eqbrtrd 4605 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (1 · 𝑧) < 𝑃)
61 1red 9934 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 1 ∈ ℝ)
6242zred 11358 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℝ)
63 nnre 10904 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ ℕ → 𝑧 ∈ ℝ)
64 nngt0 10926 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ ℕ → 0 < 𝑧)
6563, 64jca 553 . . . . . . . . . . . . . . . 16 (𝑧 ∈ ℕ → (𝑧 ∈ ℝ ∧ 0 < 𝑧))
6639, 65syl 17 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 ∈ ℝ ∧ 0 < 𝑧))
67 ltmuldiv 10775 . . . . . . . . . . . . . . 15 ((1 ∈ ℝ ∧ 𝑃 ∈ ℝ ∧ (𝑧 ∈ ℝ ∧ 0 < 𝑧)) → ((1 · 𝑧) < 𝑃 ↔ 1 < (𝑃 / 𝑧)))
6861, 62, 66, 67syl3anc 1318 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((1 · 𝑧) < 𝑃 ↔ 1 < (𝑃 / 𝑧)))
6960, 68mpbid 221 . . . . . . . . . . . . 13 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 1 < (𝑃 / 𝑧))
70 eluz2b1 11635 . . . . . . . . . . . . 13 ((𝑃 / 𝑧) ∈ (ℤ‘2) ↔ ((𝑃 / 𝑧) ∈ ℤ ∧ 1 < (𝑃 / 𝑧)))
7145, 69, 70sylanbrc 695 . . . . . . . . . . . 12 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 / 𝑧) ∈ (ℤ‘2))
7247, 47remulcld 9949 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · 𝑧) ∈ ℝ)
7339, 39nnmulcld 10945 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · 𝑧) ∈ ℕ)
74 nnrp 11718 . . . . . . . . . . . . . . . . . 18 (𝑃 ∈ ℕ → 𝑃 ∈ ℝ+)
75 nnrp 11718 . . . . . . . . . . . . . . . . . 18 ((𝑧 · 𝑧) ∈ ℕ → (𝑧 · 𝑧) ∈ ℝ+)
76 rpdivcl 11732 . . . . . . . . . . . . . . . . . 18 ((𝑃 ∈ ℝ+ ∧ (𝑧 · 𝑧) ∈ ℝ+) → (𝑃 / (𝑧 · 𝑧)) ∈ ℝ+)
7774, 75, 76syl2an 493 . . . . . . . . . . . . . . . . 17 ((𝑃 ∈ ℕ ∧ (𝑧 · 𝑧) ∈ ℕ) → (𝑃 / (𝑧 · 𝑧)) ∈ ℝ+)
7850, 73, 77syl2anc 691 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 / (𝑧 · 𝑧)) ∈ ℝ+)
7957, 72, 78lemul1d 11791 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) ↔ (𝑃 · (𝑃 / (𝑧 · 𝑧))) ≤ ((𝑧 · 𝑧) · (𝑃 / (𝑧 · 𝑧)))))
8057recnd 9947 . . . . . . . . . . . . . . . . . 18 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 ∈ ℂ)
8180, 48, 80, 48, 40, 40divmuldivd 10721 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑃 / 𝑧) · (𝑃 / 𝑧)) = ((𝑃 · 𝑃) / (𝑧 · 𝑧)))
8273nncnd 10913 . . . . . . . . . . . . . . . . . 18 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · 𝑧) ∈ ℂ)
8373nnne0d 10942 . . . . . . . . . . . . . . . . . 18 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · 𝑧) ≠ 0)
8480, 80, 82, 83divassd 10715 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑃 · 𝑃) / (𝑧 · 𝑧)) = (𝑃 · (𝑃 / (𝑧 · 𝑧))))
8581, 84eqtrd 2644 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑃 / 𝑧) · (𝑃 / 𝑧)) = (𝑃 · (𝑃 / (𝑧 · 𝑧))))
8680, 82, 83divcan2d 10682 . . . . . . . . . . . . . . . . 17 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑧 · 𝑧) · (𝑃 / (𝑧 · 𝑧))) = 𝑃)
8786eqcomd 2616 . . . . . . . . . . . . . . . 16 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → 𝑃 = ((𝑧 · 𝑧) · (𝑃 / (𝑧 · 𝑧))))
8885, 87breq12d 4596 . . . . . . . . . . . . . . 15 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃 ↔ (𝑃 · (𝑃 / (𝑧 · 𝑧))) ≤ ((𝑧 · 𝑧) · (𝑃 / (𝑧 · 𝑧)))))
8979, 88bitr4d 270 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) ↔ ((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃))
9089biimpd 218 . . . . . . . . . . . . 13 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) → ((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃))
9180, 48, 40divcan2d 10682 . . . . . . . . . . . . . 14 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑧 · (𝑃 / 𝑧)) = 𝑃)
92 dvds0lem 14830 . . . . . . . . . . . . . 14 (((𝑧 ∈ ℤ ∧ (𝑃 / 𝑧) ∈ ℤ ∧ 𝑃 ∈ ℤ) ∧ (𝑧 · (𝑃 / 𝑧)) = 𝑃) → (𝑃 / 𝑧) ∥ 𝑃)
9337, 45, 42, 91, 92syl31anc 1321 . . . . . . . . . . . . 13 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 / 𝑧) ∥ 𝑃)
9490, 93jctird 565 . . . . . . . . . . . 12 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) → (((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃 ∧ (𝑃 / 𝑧) ∥ 𝑃)))
95 oveq12 6558 . . . . . . . . . . . . . . . 16 ((𝑥 = (𝑃 / 𝑧) ∧ 𝑥 = (𝑃 / 𝑧)) → (𝑥 · 𝑥) = ((𝑃 / 𝑧) · (𝑃 / 𝑧)))
9695anidms 675 . . . . . . . . . . . . . . 15 (𝑥 = (𝑃 / 𝑧) → (𝑥 · 𝑥) = ((𝑃 / 𝑧) · (𝑃 / 𝑧)))
9796breq1d 4593 . . . . . . . . . . . . . 14 (𝑥 = (𝑃 / 𝑧) → ((𝑥 · 𝑥) ≤ 𝑃 ↔ ((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃))
98 breq1 4586 . . . . . . . . . . . . . 14 (𝑥 = (𝑃 / 𝑧) → (𝑥𝑃 ↔ (𝑃 / 𝑧) ∥ 𝑃))
9997, 98anbi12d 743 . . . . . . . . . . . . 13 (𝑥 = (𝑃 / 𝑧) → (((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃) ↔ (((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃 ∧ (𝑃 / 𝑧) ∥ 𝑃)))
10099rspcev 3282 . . . . . . . . . . . 12 (((𝑃 / 𝑧) ∈ (ℤ‘2) ∧ (((𝑃 / 𝑧) · (𝑃 / 𝑧)) ≤ 𝑃 ∧ (𝑃 / 𝑧) ∥ 𝑃)) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃))
10171, 94, 100syl6an 566 . . . . . . . . . . 11 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → (𝑃 ≤ (𝑧 · 𝑧) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
10272, 57letrid 10068 . . . . . . . . . . 11 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ((𝑧 · 𝑧) ≤ 𝑃𝑃 ≤ (𝑧 · 𝑧)))
10334, 101, 102mpjaod 395 . . . . . . . . . 10 (((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) ∧ (𝑧𝑃 ∧ ¬ 𝑧 = 𝑃)) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃))
104103ex 449 . . . . . . . . 9 ((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) → ((𝑧𝑃 ∧ ¬ 𝑧 = 𝑃) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
10525, 104syl5bir 232 . . . . . . . 8 ((𝑃 ∈ (ℤ‘2) ∧ 𝑧 ∈ (ℤ‘2)) → (¬ (𝑧𝑃𝑧 = 𝑃) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
106105rexlimdva 3013 . . . . . . 7 (𝑃 ∈ (ℤ‘2) → (∃𝑧 ∈ (ℤ‘2) ¬ (𝑧𝑃𝑧 = 𝑃) → ∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)))
107 prmz 15227 . . . . . . . . . . . . . . 15 (𝑧 ∈ ℙ → 𝑧 ∈ ℤ)
108107ad2antrl 760 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧 ∈ ℤ)
109108zred 11358 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧 ∈ ℝ)
110109, 109remulcld 9949 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑧 · 𝑧) ∈ ℝ)
111 eluzelz 11573 . . . . . . . . . . . . . . 15 (𝑥 ∈ (ℤ‘2) → 𝑥 ∈ ℤ)
112111ad3antlr 763 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑥 ∈ ℤ)
113112zred 11358 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑥 ∈ ℝ)
114113, 113remulcld 9949 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑥 · 𝑥) ∈ ℝ)
11541ad3antrrr 762 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑃 ∈ ℤ)
116115zred 11358 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑃 ∈ ℝ)
117 eluz2nn 11602 . . . . . . . . . . . . . . 15 (𝑥 ∈ (ℤ‘2) → 𝑥 ∈ ℕ)
118117ad3antlr 763 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑥 ∈ ℕ)
119 simprr 792 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧𝑥)
120 dvdsle 14870 . . . . . . . . . . . . . . 15 ((𝑧 ∈ ℤ ∧ 𝑥 ∈ ℕ) → (𝑧𝑥𝑧𝑥))
121120imp 444 . . . . . . . . . . . . . 14 (((𝑧 ∈ ℤ ∧ 𝑥 ∈ ℕ) ∧ 𝑧𝑥) → 𝑧𝑥)
122108, 118, 119, 121syl21anc 1317 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧𝑥)
123 eluzge2nn0 11603 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ (ℤ‘2) → 𝑧 ∈ ℕ0)
124123nn0ge0d 11231 . . . . . . . . . . . . . . . 16 (𝑧 ∈ (ℤ‘2) → 0 ≤ 𝑧)
1252, 124syl 17 . . . . . . . . . . . . . . 15 (𝑧 ∈ ℙ → 0 ≤ 𝑧)
126125ad2antrl 760 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 0 ≤ 𝑧)
127 nnnn0 11176 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ℕ → 𝑥 ∈ ℕ0)
128127nn0ge0d 11231 . . . . . . . . . . . . . . 15 (𝑥 ∈ ℕ → 0 ≤ 𝑥)
129118, 128syl 17 . . . . . . . . . . . . . 14 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 0 ≤ 𝑥)
130 le2msq 10802 . . . . . . . . . . . . . 14 (((𝑧 ∈ ℝ ∧ 0 ≤ 𝑧) ∧ (𝑥 ∈ ℝ ∧ 0 ≤ 𝑥)) → (𝑧𝑥 ↔ (𝑧 · 𝑧) ≤ (𝑥 · 𝑥)))
131109, 126, 113, 129, 130syl22anc 1319 . . . . . . . . . . . . 13 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑧𝑥 ↔ (𝑧 · 𝑧) ≤ (𝑥 · 𝑥)))
132122, 131mpbid 221 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑧 · 𝑧) ≤ (𝑥 · 𝑥))
133 simplrl 796 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑥 · 𝑥) ≤ 𝑃)
134110, 114, 116, 132, 133letrd 10073 . . . . . . . . . . 11 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → (𝑧 · 𝑧) ≤ 𝑃)
135 simplrr 797 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑥𝑃)
136 dvdstr 14856 . . . . . . . . . . . . 13 ((𝑧 ∈ ℤ ∧ 𝑥 ∈ ℤ ∧ 𝑃 ∈ ℤ) → ((𝑧𝑥𝑥𝑃) → 𝑧𝑃))
137108, 112, 115, 136syl3anc 1318 . . . . . . . . . . . 12 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → ((𝑧𝑥𝑥𝑃) → 𝑧𝑃))
138119, 135, 137mp2and 711 . . . . . . . . . . 11 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → 𝑧𝑃)
139134, 138jc 158 . . . . . . . . . 10 ((((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) ∧ (𝑧 ∈ ℙ ∧ 𝑧𝑥)) → ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
140 exprmfct 15254 . . . . . . . . . . 11 (𝑥 ∈ (ℤ‘2) → ∃𝑧 ∈ ℙ 𝑧𝑥)
141140ad2antlr 759 . . . . . . . . . 10 (((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) → ∃𝑧 ∈ ℙ 𝑧𝑥)
142139, 141reximddv 3001 . . . . . . . . 9 (((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) ∧ ((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃)) → ∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
143142ex 449 . . . . . . . 8 ((𝑃 ∈ (ℤ‘2) ∧ 𝑥 ∈ (ℤ‘2)) → (((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃) → ∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
144143rexlimdva 3013 . . . . . . 7 (𝑃 ∈ (ℤ‘2) → (∃𝑥 ∈ (ℤ‘2)((𝑥 · 𝑥) ≤ 𝑃𝑥𝑃) → ∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
145106, 144syld 46 . . . . . 6 (𝑃 ∈ (ℤ‘2) → (∃𝑧 ∈ (ℤ‘2) ¬ (𝑧𝑃𝑧 = 𝑃) → ∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
146 rexnal 2978 . . . . . 6 (∃𝑧 ∈ (ℤ‘2) ¬ (𝑧𝑃𝑧 = 𝑃) ↔ ¬ ∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃))
147 rexnal 2978 . . . . . 6 (∃𝑧 ∈ ℙ ¬ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃) ↔ ¬ ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
148145, 146, 1473imtr3g 283 . . . . 5 (𝑃 ∈ (ℤ‘2) → (¬ ∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃) → ¬ ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
14924, 148impcon4bid 216 . . . 4 (𝑃 ∈ (ℤ‘2) → (∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃) ↔ ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
150 prmnn 15226 . . . . . . . . 9 (𝑧 ∈ ℙ → 𝑧 ∈ ℕ)
151150nncnd 10913 . . . . . . . 8 (𝑧 ∈ ℙ → 𝑧 ∈ ℂ)
152151sqvald 12867 . . . . . . 7 (𝑧 ∈ ℙ → (𝑧↑2) = (𝑧 · 𝑧))
153152breq1d 4593 . . . . . 6 (𝑧 ∈ ℙ → ((𝑧↑2) ≤ 𝑃 ↔ (𝑧 · 𝑧) ≤ 𝑃))
154153imbi1d 330 . . . . 5 (𝑧 ∈ ℙ → (((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃) ↔ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃)))
155154ralbiia 2962 . . . 4 (∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃) ↔ ∀𝑧 ∈ ℙ ((𝑧 · 𝑧) ≤ 𝑃 → ¬ 𝑧𝑃))
156149, 155syl6bbr 277 . . 3 (𝑃 ∈ (ℤ‘2) → (∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃) ↔ ∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃)))
157156pm5.32i 667 . 2 ((𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ (ℤ‘2)(𝑧𝑃𝑧 = 𝑃)) ↔ (𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃)))
1581, 157bitri 263 1 (𝑃 ∈ ℙ ↔ (𝑃 ∈ (ℤ‘2) ∧ ∀𝑧 ∈ ℙ ((𝑧↑2) ≤ 𝑃 → ¬ 𝑧𝑃)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wne 2780  wral 2896  wrex 2897   class class class wbr 4583  cfv 5804  (class class class)co 6549  cr 9814  0cc0 9815  1c1 9816   · cmul 9820   < clt 9953  cle 9954   / cdiv 10563  cn 10897  2c2 10947  cz 11254  cuz 11563  +crp 11708  cexp 12722  cdvds 14821  cprime 15223
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-cnex 9871  ax-resscn 9872  ax-1cn 9873  ax-icn 9874  ax-addcl 9875  ax-addrcl 9876  ax-mulcl 9877  ax-mulrcl 9878  ax-mulcom 9879  ax-addass 9880  ax-mulass 9881  ax-distr 9882  ax-i2m1 9883  ax-1ne0 9884  ax-1rid 9885  ax-rnegex 9886  ax-rrecex 9887  ax-cnre 9888  ax-pre-lttri 9889  ax-pre-lttrn 9890  ax-pre-ltadd 9891  ax-pre-mulgt0 9892  ax-pre-sup 9893
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-int 4411  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-riota 6511  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-om 6958  df-1st 7059  df-2nd 7060  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-1o 7447  df-2o 7448  df-oadd 7451  df-er 7629  df-en 7842  df-dom 7843  df-sdom 7844  df-fin 7845  df-sup 8231  df-pnf 9955  df-mnf 9956  df-xr 9957  df-ltxr 9958  df-le 9959  df-sub 10147  df-neg 10148  df-div 10564  df-nn 10898  df-2 10956  df-3 10957  df-n0 11170  df-z 11255  df-uz 11564  df-rp 11709  df-fz 12198  df-seq 12664  df-exp 12723  df-cj 13687  df-re 13688  df-im 13689  df-sqrt 13823  df-abs 13824  df-dvds 14822  df-prm 15224
This theorem is referenced by:  isprm7  15258  pockthg  15448  prmlem1a  15651
  Copyright terms: Public domain W3C validator