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 42855
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 7416 . . . . 5 (𝑛 = 𝑁 → (𝑃𝑛) = (𝑃𝑁))
21eqeq2d 2780 . . . 4 (𝑛 = 𝑁 → ((♯‘(Base‘𝑘)) = (𝑃𝑛) ↔ (♯‘(Base‘𝑘)) = (𝑃𝑁)))
32anbi1d 642 . . 3 (𝑛 = 𝑁 → (((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃) ↔ ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃)))
43rexbidv 3195 . 2 (𝑛 = 𝑁 → (∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃) ↔ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃)))
5 oveq1 7415 . . . . . . 7 (𝑝 = 𝑃 → (𝑝𝑛) = (𝑃𝑛))
65eqeq2d 2780 . . . . . 6 (𝑝 = 𝑃 → ((♯‘(Base‘𝑘)) = (𝑝𝑛) ↔ (♯‘(Base‘𝑘)) = (𝑃𝑛)))
7 eqeq2 2781 . . . . . 6 (𝑝 = 𝑃 → ((chr‘𝑘) = 𝑝 ↔ (chr‘𝑘) = 𝑃))
86, 7anbi12d 643 . . . . 5 (𝑝 = 𝑃 → (((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
98rexbidv 3195 . . . 4 (𝑝 = 𝑃 → (∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
109ralbidv 3194 . . 3 (𝑝 = 𝑃 → (∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝) ↔ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃)))
11 ax-exfinfld 42854 . . . 4 𝑝 ∈ ℙ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝)
1211a1i 11 . . 3 (𝜑 → ∀𝑝 ∈ ℙ ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑝𝑛) ∧ (chr‘𝑘) = 𝑝))
13 exfinfldd.1 . . 3 (𝜑𝑃 ∈ ℙ)
1410, 12, 13rspcdva 3591 . 2 (𝜑 → ∀𝑛 ∈ ℕ ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑛) ∧ (chr‘𝑘) = 𝑃))
15 exfinfldd.2 . 2 (𝜑𝑁 ∈ ℕ)
164, 14, 15rspcdva 3591 1 (𝜑 → ∃𝑘 ∈ Field ((♯‘(Base‘𝑘)) = (𝑃𝑁) ∧ (chr‘𝑘) = 𝑃))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400   = wceq 1567  wcel 2149  wral 3085  wrex 3095  cfv 6533  (class class class)co 7408  cn 12229  cexp 14093  chash 14362  cprime 16725  Basecbs 17265  Fieldcfield 20810  chrcchr 21616
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-ext 2741  ax-exfinfld 42854
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-sb 2098  df-clab 2748  df-cleq 2761  df-clel 2844  df-ral 3086  df-rex 3096  df-rab 3424  df-v 3465  df-dif 3916  df-un 3918  df-ss 3930  df-nul 4295  df-if 4490  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4874  df-br 5111  df-iota 6489  df-fv 6541  df-ov 7411
This theorem is referenced by:  aks5  42856
  Copyright terms: Public domain W3C validator