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

Theorem isprm 10885
Description: The predicate "is a prime number". A prime number is a positive integer with exactly two positive divisors. (Contributed by Paul Chapman, 22-Jun-2011.)
Assertion
Ref Expression
isprm (𝑃 ∈ ℙ ↔ (𝑃 ∈ ℕ ∧ {𝑛 ∈ ℕ ∣ 𝑛𝑃} ≈ 2𝑜))
Distinct variable group:   𝑃,𝑛

Proof of Theorem isprm
Dummy variable 𝑝 is distinct from all other variables.
StepHypRef Expression
1 breq2 3818 . . . 4 (𝑝 = 𝑃 → (𝑛𝑝𝑛𝑃))
21rabbidv 2603 . . 3 (𝑝 = 𝑃 → {𝑛 ∈ ℕ ∣ 𝑛𝑝} = {𝑛 ∈ ℕ ∣ 𝑛𝑃})
32breq1d 3824 . 2 (𝑝 = 𝑃 → ({𝑛 ∈ ℕ ∣ 𝑛𝑝} ≈ 2𝑜 ↔ {𝑛 ∈ ℕ ∣ 𝑛𝑃} ≈ 2𝑜))
4 df-prm 10884 . 2 ℙ = {𝑝 ∈ ℕ ∣ {𝑛 ∈ ℕ ∣ 𝑛𝑝} ≈ 2𝑜}
53, 4elrab2 2764 1 (𝑃 ∈ ℙ ↔ (𝑃 ∈ ℕ ∧ {𝑛 ∈ ℕ ∣ 𝑛𝑃} ≈ 2𝑜))
Colors of variables: wff set class
Syntax hints:  wa 102  wb 103   = wceq 1287  wcel 1436  {crab 2359   class class class wbr 3814  2𝑜c2o 6110  cen 6388  cn 8334  cdvds 10590  cprime 10883
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 663  ax-5 1379  ax-7 1380  ax-gen 1381  ax-ie1 1425  ax-ie2 1426  ax-8 1438  ax-10 1439  ax-11 1440  ax-i12 1441  ax-bndl 1442  ax-4 1443  ax-17 1462  ax-i9 1466  ax-ial 1470  ax-i5r 1471  ax-ext 2067
This theorem depends on definitions:  df-bi 115  df-3an 924  df-tru 1290  df-nf 1393  df-sb 1690  df-clab 2072  df-cleq 2078  df-clel 2081  df-nfc 2214  df-ral 2360  df-rab 2364  df-v 2616  df-un 2990  df-sn 3431  df-pr 3432  df-op 3434  df-br 3815  df-prm 10884
This theorem is referenced by:  prmnn  10886  1nprm  10890  isprm2  10893
  Copyright terms: Public domain W3C validator