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

Theorem elqaalem1 26642
Description: Lemma for elqaa 26645. 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 6885 . . . . . . . . 9 (𝑘 = 𝐾 → (𝐵‘𝑘) = (𝐵‘𝐾))
21oveq1d 7435 . . . . . . . 8 (𝑘 = 𝐾 → ((𝐵‘𝑘) · 𝑛) = ((𝐵‘𝐾) · 𝑛))
32eleq1d 2846 . . . . . . 7 (𝑘 = 𝐾 → (((𝐵‘𝑘) · 𝑛) ∈ ℤ ↔ ((𝐵‘𝐾) · 𝑛) ∈ ℤ))
43rabbidv 3420 . . . . . 6 (𝑘 = 𝐾 → {𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ} = {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ})
54infeq1d 9470 . . . . 5 (𝑘 = 𝐾 → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < ) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ))
6 elqaa.5 . . . . 5 𝑁 = (𝑘 ∈ ℕ0 ↦ inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < ))
7 ltso 11390 . . . . . 6 < Or ℝ
87infex 9487 . . . . 5 inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ V
95, 6, 8fvmpt 6993 . . . 4 (𝐾 ∈ ℕ0 → (𝑁‘𝐾) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ))
109adantl 487 . . 3 ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝑁‘𝐾) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ))
11 ssrab2 4028 . . . . 5 {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ ℕ
12 nnuz 13004 . . . . 5 ℕ = (ℤ≥‘1)
1311, 12sseqtri 3979 . . . 4 {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ (ℤ≥‘1)
14 elqaa.2 . . . . . . . . 9 (𝜑 → 𝐹 ∈ ((Poly‘ℚ) ∖ {0𝑝}))
1514eldifad 3911 . . . . . . . 8 (𝜑 → 𝐹 ∈ (Poly‘ℚ))
16 0z 12704 . . . . . . . . 9 0 ∈ ℤ
17 zq 13081 . . . . . . . . 9 (0 ∈ ℤ → 0 ∈ ℚ)
1816, 17ax-mp 5 . . . . . . . 8 0 ∈ ℚ
19 elqaa.4 . . . . . . . . 9 𝐵 = (coeff‘𝐹)
2019coef2 26550 . . . . . . . 8 ((𝐹 ∈ (Poly‘ℚ) ∧ 0 ∈ ℚ) → 𝐵:ℕ0⟶ℚ)
2115, 18, 20sylancl 598 . . . . . . 7 (𝜑 → 𝐵:ℕ0⟶ℚ)
2221ffvelcdmda 7084 . . . . . 6 ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝐵‘𝐾) ∈ ℚ)
23 qmulz 13078 . . . . . 6 ((𝐵‘𝐾) ∈ ℚ → ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ)
2422, 23syl 18 . . . . 5 ((𝜑 ∧ 𝐾 ∈ ℕ0) → ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ)
25 rabn0 4339 . . . . 5 ({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅ ↔ ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ)
2624, 25sylibr 237 . . . 4 ((𝜑 ∧ 𝐾 ∈ ℕ0) → {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅)
27 infssuzcl 13059 . . . 4 (({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ (ℤ≥‘1) ∧ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅) → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ})
2813, 26, 27sylancr 599 . . 3 ((𝜑 ∧ 𝐾 ∈ ℕ0) → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ})
2910, 28eqeltrd 2861 . 2 ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝑁‘𝐾) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ})
30 oveq2 7428 . . . 4 (𝑛 = (𝑁‘𝐾) → ((𝐵‘𝐾) · 𝑛) = ((𝐵‘𝐾) · (𝑁‘𝐾)))
3130eleq1d 2846 . . 3 (𝑛 = (𝑁‘𝐾) → (((𝐵‘𝐾) · 𝑛) ∈ ℤ ↔ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ))
3231elrab 3645 . 2 ((𝑁‘𝐾) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ↔ ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ))
3329, 32sylib 221 1 ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∃wrex 3087  {crab 3413   ∖ cdif 3896   ⊆ wss 3899  ∅c0 4279  {csn 4584   ↦ cmpt 5186  ⟶wf 6534  ‘cfv 6538  (class class class)co 7420  infcinf 9433  ℂcc 11198  ℝcr 11199  0cc0 11200  1c1 11201   · cmul 11205   < clt 11343  ℕcn 12335  ℕ0cn0 12606  ℤcz 12693  ℤ≥cuz 12965  ℚcq 13075  seqcseq 14144  0𝑝c0p 25990  Polycply 26502  coeffccoe 26504  degcdgr 26505
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-inf2 9642  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277  ax-pre-sup 11278
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-of 7693  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-er 8717  df-map 8849  df-pm 8850  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-sup 9434  df-inf 9435  df-oi 9504  df-card 10020  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-div 11974  df-nn 12336  df-2 12405  df-3 12406  df-n0 12607  df-z 12694  df-uz 12966  df-q 13076  df-rp 13121  df-fz 13640  df-fzo 13789  df-fl 13932  df-seq 14145  df-exp 14205  df-hash 14475  df-cj 15266  df-re 15267  df-im 15268  df-sqrt 15402  df-abs 15403  df-clim 15655  df-rlim 15656  df-sum 15854  df-0p 25991  df-ply 26506  df-coe 26508
This theorem is used by:  elqaalem2  26643
  Copyright terms: Public domain W3C validator