| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > elqaalem1 | Structured version Visualization version GIF version | ||
| Description: Lemma for elqaa 26538. 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.) |
| Ref | Expression |
|---|---|
| elqaa.1 | ⊢ (𝜑 → 𝐴 ∈ ℂ) |
| elqaa.2 | ⊢ (𝜑 → 𝐹 ∈ ((Poly‘ℚ) ∖ {0𝑝})) |
| elqaa.3 | ⊢ (𝜑 → (𝐹‘𝐴) = 0) |
| elqaa.4 | ⊢ 𝐵 = (coeff‘𝐹) |
| elqaa.5 | ⊢ 𝑁 = (𝑘 ∈ ℕ0 ↦ inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < )) |
| elqaa.6 | ⊢ 𝑅 = (seq0( · , 𝑁)‘(deg‘𝐹)) |
| Ref | Expression |
|---|---|
| elqaalem1 | ⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fveq2 6885 | . . . . . . . . 9 ⊢ (𝑘 = 𝐾 → (𝐵‘𝑘) = (𝐵‘𝐾)) | |
| 2 | 1 | oveq1d 7434 | . . . . . . . 8 ⊢ (𝑘 = 𝐾 → ((𝐵‘𝑘) · 𝑛) = ((𝐵‘𝐾) · 𝑛)) |
| 3 | 2 | eleq1d 2850 | . . . . . . 7 ⊢ (𝑘 = 𝐾 → (((𝐵‘𝑘) · 𝑛) ∈ ℤ ↔ ((𝐵‘𝐾) · 𝑛) ∈ ℤ)) |
| 4 | 3 | rabbidv 3425 | . . . . . 6 ⊢ (𝑘 = 𝐾 → {𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ} = {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}) |
| 5 | 4 | infeq1d 9445 | . . . . 5 ⊢ (𝑘 = 𝐾 → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < ) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < )) |
| 6 | elqaa.5 | . . . . 5 ⊢ 𝑁 = (𝑘 ∈ ℕ0 ↦ inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < )) | |
| 7 | ltso 11309 | . . . . . 6 ⊢ < Or ℝ | |
| 8 | 7 | infex 9462 | . . . . 5 ⊢ inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ V |
| 9 | 5, 6, 8 | fvmpt 6993 | . . . 4 ⊢ (𝐾 ∈ ℕ0 → (𝑁‘𝐾) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < )) |
| 10 | 9 | adantl 487 | . . 3 ⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝑁‘𝐾) = inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < )) |
| 11 | ssrab2 4035 | . . . . 5 ⊢ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ ℕ | |
| 12 | nnuz 12921 | . . . . 5 ⊢ ℕ = (ℤ≥‘1) | |
| 13 | 11, 12 | sseqtri 3986 | . . . 4 ⊢ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ (ℤ≥‘1) |
| 14 | elqaa.2 | . . . . . . . . 9 ⊢ (𝜑 → 𝐹 ∈ ((Poly‘ℚ) ∖ {0𝑝})) | |
| 15 | 14 | eldifad 3918 | . . . . . . . 8 ⊢ (𝜑 → 𝐹 ∈ (Poly‘ℚ)) |
| 16 | 0z 12621 | . . . . . . . . 9 ⊢ 0 ∈ ℤ | |
| 17 | zq 12998 | . . . . . . . . 9 ⊢ (0 ∈ ℤ → 0 ∈ ℚ) | |
| 18 | 16, 17 | ax-mp 5 | . . . . . . . 8 ⊢ 0 ∈ ℚ |
| 19 | elqaa.4 | . . . . . . . . 9 ⊢ 𝐵 = (coeff‘𝐹) | |
| 20 | 19 | coef2 26443 | . . . . . . . 8 ⊢ ((𝐹 ∈ (Poly‘ℚ) ∧ 0 ∈ ℚ) → 𝐵:ℕ0⟶ℚ) |
| 21 | 15, 18, 20 | sylancl 598 | . . . . . . 7 ⊢ (𝜑 → 𝐵:ℕ0⟶ℚ) |
| 22 | 21 | ffvelcdmda 7083 | . . . . . 6 ⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝐵‘𝐾) ∈ ℚ) |
| 23 | qmulz 12995 | . . . . . 6 ⊢ ((𝐵‘𝐾) ∈ ℚ → ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ) | |
| 24 | 22, 23 | syl 18 | . . . . 5 ⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ) |
| 25 | rabn0 4346 | . . . . 5 ⊢ ({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅ ↔ ∃𝑛 ∈ ℕ ((𝐵‘𝐾) · 𝑛) ∈ ℤ) | |
| 26 | 24, 25 | sylibr 237 | . . . 4 ⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅) |
| 27 | infssuzcl 12976 | . . . 4 ⊢ (({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ⊆ (ℤ≥‘1) ∧ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ≠ ∅) → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}) | |
| 28 | 13, 26, 27 | sylancr 599 | . . 3 ⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}) |
| 29 | 10, 28 | eqeltrd 2865 | . 2 ⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝑁‘𝐾) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ}) |
| 30 | oveq2 7427 | . . . 4 ⊢ (𝑛 = (𝑁‘𝐾) → ((𝐵‘𝐾) · 𝑛) = ((𝐵‘𝐾) · (𝑁‘𝐾))) | |
| 31 | 30 | eleq1d 2850 | . . 3 ⊢ (𝑛 = (𝑁‘𝐾) → (((𝐵‘𝐾) · 𝑛) ∈ ℤ ↔ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ)) |
| 32 | 31 | elrab 3652 | . 2 ⊢ ((𝑁‘𝐾) ∈ {𝑛 ∈ ℕ ∣ ((𝐵‘𝐾) · 𝑛) ∈ ℤ} ↔ ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ)) |
| 33 | 29, 32 | sylib 221 | 1 ⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1570 ∈ wcel 2146 ≠ wne 2960 ∃wrex 3091 {crab 3418 ∖ cdif 3903 ⊆ wss 3906 ∅c0 4286 {csn 4591 ↦ cmpt 5194 ⟶wf 6536 ‘cfv 6540 (class class class)co 7419 infcinf 9408 ℂcc 11117 ℝcr 11118 0cc0 11119 1c1 11120 · cmul 11124 < clt 11262 ℕcn 12252 ℕ0cn0 12523 ℤcz 12610 ℤ≥cuz 12882 ℚcq 12992 seqcseq 14059 0𝑝c0p 25883 Polycply 26396 coeffccoe 26398 degcdgr 26399 |
| 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 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2737 ax-rep 5240 ax-sep 5259 ax-nul 5271 ax-pow 5338 ax-pr 5406 ax-un 7742 ax-inf2 9617 ax-cnex 11175 ax-resscn 11176 ax-1cn 11177 ax-icn 11178 ax-addcl 11179 ax-addrcl 11180 ax-mulcl 11181 ax-mulrcl 11182 ax-mulcom 11183 ax-addass 11184 ax-mulass 11185 ax-distr 11186 ax-i2m1 11187 ax-1ne0 11188 ax-1rid 11189 ax-rnegex 11190 ax-rrecex 11191 ax-cnre 11192 ax-pre-lttri 11193 ax-pre-lttrn 11194 ax-pre-ltadd 11195 ax-pre-mulgt0 11196 ax-pre-sup 11197 |
| 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 2569 df-eu 2599 df-clab 2744 df-cleq 2757 df-clel 2840 df-nfc 2914 df-ne 2961 df-nel 3067 df-ral 3082 df-rex 3092 df-rmo 3371 df-reu 3372 df-rab 3419 df-v 3459 df-sbc 3747 df-csb 3855 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-pss 3926 df-nul 4287 df-if 4490 df-pw 4566 df-sn 4592 df-pr 4594 df-op 4598 df-uni 4875 df-int 4915 df-iun 4960 df-br 5112 df-opab 5176 df-mpt 5195 df-tr 5221 df-id 5558 df-eprel 5563 df-po 5571 df-so 5572 df-fr 5616 df-se 5617 df-we 5618 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-rn 5674 df-res 5675 df-ima 5676 df-pred 6306 df-ord 6367 df-on 6368 df-lim 6369 df-suc 6370 df-iota 6496 df-fun 6542 df-fn 6543 df-f 6544 df-f1 6545 df-fo 6546 df-f1o 6547 df-fv 6548 df-isom 6549 df-riota 7376 df-ov 7422 df-oprab 7423 df-mpo 7424 df-of 7684 df-om 7869 df-1st 7992 df-2nd 7993 df-frecs 8284 df-wrecs 8315 df-recs 8364 df-rdg 8403 df-1o 8459 df-er 8700 df-map 8832 df-pm 8833 df-en 8950 df-dom 8951 df-sdom 8952 df-fin 8953 df-sup 9409 df-inf 9410 df-oi 9479 df-card 9941 df-pnf 11264 df-mnf 11265 df-xr 11266 df-ltxr 11267 df-le 11268 df-sub 11462 df-neg 11463 df-div 11891 df-nn 12253 df-2 12322 df-3 12323 df-n0 12524 df-z 12611 df-uz 12883 df-q 12993 df-rp 13037 df-fz 13556 df-fzo 13704 df-fl 13847 df-seq 14060 df-exp 14120 df-hash 14389 df-cj 15178 df-re 15179 df-im 15180 df-sqrt 15314 df-abs 15315 df-clim 15567 df-rlim 15568 df-sum 15766 df-0p 25884 df-ply 26400 df-coe 26402 |
| This theorem is used by: elqaalem2 26536 |
| Copyright terms: Public domain | W3C validator |