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 42567
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 7376 . . . . 5 (𝑛 = 𝑁 → (𝑃𝑛) = (𝑃𝑁))
21eqeq2d 2748 . . . 4 (𝑛 = 𝑁 → ((♯‘(Base‘𝑘)) = (𝑃𝑛) ↔ (♯‘(Base‘𝑘)) = (𝑃𝑁)))
32anbi1d 632 . . 3 (𝑛 = 𝑁 → (((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃) ↔ ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃)))
43rexbidv 3162 . 2 (𝑛 = 𝑁 → (∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃) ↔ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃)))
5 oveq1 7375 . . . . . . 7 (𝑝 = 𝑃 → (𝑝𝑛) = (𝑃𝑛))
65eqeq2d 2748 . . . . . 6 (𝑝 = 𝑃 → ((♯‘(Base‘𝑘)) = (𝑝𝑛) ↔ (♯‘(Base‘𝑘)) = (𝑃𝑛)))
7 eqeq2 2749 . . . . . 6 (𝑝 = 𝑃 → ((chr‘𝑘) = 𝑝 ↔ (chr‘𝑘) = 𝑃))
86, 7anbi12d 633 . . . . 5 (𝑝 = 𝑃 → (((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
98rexbidv 3162 . . . 4 (𝑝 = 𝑃 → (∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
109ralbidv 3161 . . 3 (𝑝 = 𝑃 → (∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
11 ax-exfinfld 42566 . . . 4 𝑝 ∈ ℙ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝)
1211a1i 11 . . 3 (𝜑 → ∀𝑝 ∈ ℙ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝))
13 exfinfldd.1 . . 3 (𝜑𝑃 ∈ ℙ)
1410, 12, 13rspcdva 3579 . 2 (𝜑 → ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃))
15 exfinfldd.2 . 2 (𝜑𝑁 ∈ ℕ)
164, 14, 15rspcdva 3579 1 (𝜑 → ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114  wral 3052  wrex 3062  cfv 6500  (class class class)co 7368  cn 12157  cexp 13996  chash 14265  cprime 16610  Basecbs 17148  Fieldcfield 20675  chrcchr 21468
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709  ax-exfinfld 42566
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-ral 3053  df-rex 3063  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-iota 6456  df-fv 6508  df-ov 7371
This theorem is referenced by:  aks5  42568
  Copyright terms: Public domain W3C validator