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

Theorem elqaalem1 26657
Description: Lemma for elqaa 26660. The function 𝑁 represents the denominators of the rational coefficients 𝐵. By multiplying them all together to make 𝑅, we get a number big enough to clear all the denominators and make 𝑅 · 𝐹 an integer polynomial. (Contributed by Mario Carneiro, 23-Jul-2014.) (Revised by AV, 3-Oct-2020.)
Hypotheses
Ref Expression
elqaa.1 (𝜑 → 𝐴 ∈ ℂ)
elqaa.2 (𝜑 → 𝐹 ∈ ((Poly‘ℚ) ∖ {0𝑝}))
elqaa.3 (𝜑 → (𝐹‘𝐴) = 0)
elqaa.4 𝐵 = (coeff‘𝐹)
elqaa.5 𝑁 = (𝑘 ∈ ℕ0 ↦ inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < ))
elqaa.6 𝑅 = (seq0( · , 𝑁)‘(deg‘𝐹))
Assertion
Ref Expression
elqaalem1 ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ))
Distinct variable groups:   𝑘,𝑛,𝐴   𝐵,𝑘,𝑛   𝜑,𝑘   𝑘,𝐾,𝑛   𝑘,𝑁,𝑛   𝑅,𝑘
Allowed substitution hints:   𝜑(𝑛)   𝑅(𝑛)   𝐹(𝑘, 𝑛)

Proof of Theorem elqaalem1
StepHypRef Expression
1 fveq2 6896 . . . . . . . . 9 (𝑘 = 𝐾 → (𝐵‘𝑘) = (𝐵‘𝐾))
21oveq1d 7445 . . . . . . . 8 (𝑘 = 𝐾 → ((𝐵‘𝑘) · 𝑛) = ((𝐵‘𝐾) · 𝑛))
32eleq1d 2849 . . . . . . 7 (𝑘 = 𝐾 → (((𝐵‘𝑘) · 𝑛) ∈ ℤ ↔ ((𝐵‘𝐾) · 𝑛) ∈ ℤ))
43rabbidv 3423 . . . . . 6 (𝑘 = 𝐾 → {𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ} = {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ})
54infeq1d 9483 . . . . 5 (𝑘 = 𝐾 → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < ) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ))
6 elqaa.5 . . . . 5 𝑁 = (𝑘 ∈ ℕ0 ↦ inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < ))
7 ltso 11403 . . . . . 6 < Or ℝ
87infex 9500 . . . . 5 inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ V
95, 6, 8fvmpt 7004 . . . 4 (𝐾 ∈ ℕ0 → (𝑁‘𝐾) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ))
109adantl 487 . . 3 ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝑁‘𝐾) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ))
11 ssrab2 4008 . . . . 5 {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ ℕ
12 nnuz 13017 . . . . 5 ℕ = (ℤ≥‘1)
1311, 12sseqtri 3961 . . . 4 {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ (ℤ≥‘1)
14 elqaa.2 . . . . . . . . 9 (𝜑 → 𝐹 ∈ ((Poly‘ℚ) ∖ {0𝑝}))
1514eldifad 4054 . . . . . . . 8 (𝜑 → 𝐹 ∈ (Poly‘ℚ))
16 0z 12717 . . . . . . . . 9 0 ∈ ℤ
17 zq 13094 . . . . . . . . 9 (0 ∈ ℤ → 0 ∈ ℚ)
1816, 17ax-mp 5 . . . . . . . 8 0 ∈ ℚ
19 elqaa.4 . . . . . . . . 9 𝐵 = (coeff‘𝐹)
2019coef2 26565 . . . . . . . 8 ((𝐹 ∈ (Poly‘ℚ) ∧ 0 ∈ ℚ) → 𝐵:ℕ0⟶ℚ)
2115, 18, 20sylancl 598 . . . . . . 7 (𝜑 → 𝐵:ℕ0⟶ℚ)
2221ffvelcdmda 7095 . . . . . 6 ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝐵‘𝐾) ∈ ℚ)
23 qmulz 13091 . . . . . 6 ((𝐵‘𝐾) ∈ ℚ → ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ)
2422, 23syl 18 . . . . 5 ((𝜑 ∧ 𝐾 ∈ ℕ0) → ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ)
25 rabn0 4342 . . . . 5 ({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅ ↔ ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ)
2624, 25sylibr 237 . . . 4 ((𝜑 ∧ 𝐾 ∈ ℕ0) → {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅)
27 infssuzcl 13072 . . . 4 (({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ (ℤ≥‘1) ∧ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅) → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ})
2813, 26, 27sylancr 599 . . 3 ((𝜑 ∧ 𝐾 ∈ ℕ0) → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ})
2910, 28eqeltrd 2864 . 2 ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝑁‘𝐾) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ})
30 oveq2 7438 . . . 4 (𝑛 = (𝑁‘𝐾) → ((𝐵‘𝐾) · 𝑛) = ((𝐵‘𝐾) · (𝑁‘𝐾)))
3130eleq1d 2849 . . 3 (𝑛 = (𝑁‘𝐾) → (((𝐵‘𝐾) · 𝑛) ∈ ℤ ↔ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ))
3231elrab 3648 . 2 ((𝑁‘𝐾) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ↔ ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ))
3329, 32sylib 221 1 ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146   ≠ wne 2959  ∃wrex 3090  {crab 3416   ⊆ wss 3900   ∖ cdif 4048  ∅c0 4281  {csn 4588   ↦ cmpt 5189  ⟶wf 6543  ‘cfv 6547  (class class class)co 7430  infcinf 9446  ℂcc 11211  ℝcr 11212  0cc0 11213  1c1 11214   · cmul 11218   < clt 11356  ℕcn 12348  ℕ0cn0 12619  ℤcz 12706  ℤ≥cuz 12978  ℚcq 13088  seqcseq 14157  0𝑝c0p 26005  Polycply 26517  coeffccoe 26519  degcdgr 26520
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761  ax-inf2 9655  ax-cnex 11269  ax-resscn 11270  ax-1cn 11271  ax-icn 11272  ax-addcl 11273  ax-addrcl 11274  ax-mulcl 11275  ax-mulrcl 11276  ax-mulcom 11277  ax-addass 11278  ax-mulass 11279  ax-distr 11280  ax-i2m1 11281  ax-1ne0 11282  ax-1rid 11283  ax-rnegex 11284  ax-rrecex 11285  ax-cnre 11286  ax-pre-lttri 11287  ax-pre-lttrn 11288  ax-pre-ltadd 11289  ax-pre-mulgt0 11290  ax-pre-sup 11291
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6311  df-ord 6372  df-on 6373  df-lim 6374  df-suc 6375  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-isom 6556  df-riota 7387  df-ov 7433  df-oprab 7434  df-mpo 7435  df-of 7703  df-om 7888  df-1st 8011  df-2nd 8012  df-frecs 8313  df-wrecs 8344  df-recs 8393  df-rdg 8432  df-1o 8490  df-er 8731  df-map 8863  df-pm 8864  df-en 8988  df-dom 8989  df-sdom 8990  df-fin 8991  df-sup 9447  df-inf 9448  df-oi 9517  df-card 10033  df-pnf 11358  df-mnf 11359  df-xr 11360  df-ltxr 11361  df-le 11362  df-sub 11556  df-neg 11557  df-div 11987  df-nn 12349  df-2 12418  df-3 12419  df-n0 12620  df-z 12707  df-uz 12979  df-q 13089  df-rp 13134  df-fz 13653  df-fzo 13802  df-fl 13945  df-seq 14158  df-exp 14218  df-hash 14488  df-cj 15281  df-re 15282  df-im 15283  df-sqrt 15417  df-abs 15418  df-clim 15670  df-rlim 15671  df-sum 15869  df-0p 26006  df-ply 26521  df-coe 26523
This theorem is used by:  elqaalem2  26658
  Copyright terms: Public domain W3C validator