Users' Mathboxes Mathbox for metakunt < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  exfinfldd Structured version   Visualization version   GIF version

Theorem exfinfldd 42145
Description: For any prime 𝑃 and any positive integer 𝑁 there exists a field 𝑘 such that 𝑘 contains 𝑃𝑁 elements. (Contributed by metakunt, 13-Jul-2025.)
Hypotheses
Ref Expression
exfinfldd.1 (𝜑𝑃 ∈ ℙ)
exfinfldd.2 (𝜑𝑁 ∈ ℕ)
Assertion
Ref Expression
exfinfldd (𝜑 → ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃))
Distinct variable groups:   𝑘,𝑁   𝑃,𝑘
Allowed substitution hint:   𝜑(𝑘)

Proof of Theorem exfinfldd
Dummy variables 𝑛 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 7422 . . . . 5 (𝑛 = 𝑁 → (𝑃𝑛) = (𝑃𝑁))
21eqeq2d 2745 . . . 4 (𝑛 = 𝑁 → ((♯‘(Base‘𝑘)) = (𝑃𝑛) ↔ (♯‘(Base‘𝑘)) = (𝑃𝑁)))
32anbi1d 631 . . 3 (𝑛 = 𝑁 → (((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃) ↔ ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃)))
43rexbidv 3166 . 2 (𝑛 = 𝑁 → (∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃) ↔ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃)))
5 oveq1 7421 . . . . . . 7 (𝑝 = 𝑃 → (𝑝𝑛) = (𝑃𝑛))
65eqeq2d 2745 . . . . . 6 (𝑝 = 𝑃 → ((♯‘(Base‘𝑘)) = (𝑝𝑛) ↔ (♯‘(Base‘𝑘)) = (𝑃𝑛)))
7 eqeq2 2746 . . . . . 6 (𝑝 = 𝑃 → ((chr‘𝑘) = 𝑝 ↔ (chr‘𝑘) = 𝑃))
86, 7anbi12d 632 . . . . 5 (𝑝 = 𝑃 → (((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
98rexbidv 3166 . . . 4 (𝑝 = 𝑃 → (∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
109ralbidv 3165 . . 3 (𝑝 = 𝑃 → (∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
11 ax-exfinfld 42144 . . . 4 𝑝 ∈ ℙ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝)
1211a1i 11 . . 3 (𝜑 → ∀𝑝 ∈ ℙ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝))
13 exfinfldd.1 . . 3 (𝜑𝑃 ∈ ℙ)
1410, 12, 13rspcdva 3607 . 2 (𝜑 → ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃))
15 exfinfldd.2 . 2 (𝜑𝑁 ∈ ℕ)
164, 14, 15rspcdva 3607 1 (𝜑 → ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2107  wral 3050  wrex 3059  cfv 6542  (class class class)co 7414  cn 12249  cexp 14085  chash 14352  cprime 16691  Basecbs 17230  Fieldcfield 20703  chrcchr 21479
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-ext 2706  ax-exfinfld 42144
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-sb 2064  df-clab 2713  df-cleq 2726  df-clel 2808  df-ral 3051  df-rex 3060  df-rab 3421  df-v 3466  df-dif 3936  df-un 3938  df-ss 3950  df-nul 4316  df-if 4508  df-sn 4609  df-pr 4611  df-op 4615  df-uni 4890  df-br 5126  df-iota 6495  df-fv 6550  df-ov 7417
This theorem is referenced by:  aks5  42146
  Copyright terms: Public domain W3C validator