Metamath Proof Explorer


Theorem elaa2

Description: Elementhood in the set of nonzero algebraic numbers: when A is nonzero, the polynomial f can be chosen with a nonzero constant term. (Contributed by Glauco Siliprandi, 5-Apr-2020) (Proof shortened by AV, 1-Oct-2020)

Ref Expression
Assertion elaa2 A 𝔸 0 A f Poly coeff f 0 0 f A = 0

Proof

Step Hyp Ref Expression
1 aasscn 𝔸
2 eldifi A 𝔸 0 A 𝔸
3 1 2 sselid A 𝔸 0 A
4 elaa A 𝔸 A g Poly 0 𝑝 g A = 0
5 2 4 sylib A 𝔸 0 A g Poly 0 𝑝 g A = 0
6 5 simprd A 𝔸 0 g Poly 0 𝑝 g A = 0
7 2 3ad2ant1 A 𝔸 0 g Poly 0 𝑝 g A = 0 A 𝔸
8 eldifsni A 𝔸 0 A 0
9 8 3ad2ant1 A 𝔸 0 g Poly 0 𝑝 g A = 0 A 0
10 eldifi g Poly 0 𝑝 g Poly
11 10 3ad2ant2 A 𝔸 0 g Poly 0 𝑝 g A = 0 g Poly
12 eldifsni g Poly 0 𝑝 g 0 𝑝
13 12 3ad2ant2 A 𝔸 0 g Poly 0 𝑝 g A = 0 g 0 𝑝
14 simp3 A 𝔸 0 g Poly 0 𝑝 g A = 0 g A = 0
15 fveq2 m = n coeff g m = coeff g n
16 15 neeq1d m = n coeff g m 0 coeff g n 0
17 16 cbvrabv m 0 | coeff g m 0 = n 0 | coeff g n 0
18 17 infeq1i sup m 0 | coeff g m 0 < = sup n 0 | coeff g n 0 <
19 fvoveq1 j = k coeff g j + sup m 0 | coeff g m 0 < = coeff g k + sup m 0 | coeff g m 0 <
20 19 cbvmptv j 0 coeff g j + sup m 0 | coeff g m 0 < = k 0 coeff g k + sup m 0 | coeff g m 0 <
21 eqid z k = 0 deg g sup m 0 | coeff g m 0 < j 0 coeff g j + sup m 0 | coeff g m 0 < k z k = z k = 0 deg g sup m 0 | coeff g m 0 < j 0 coeff g j + sup m 0 | coeff g m 0 < k z k
22 7 9 11 13 14 18 20 21 elaa2lem A 𝔸 0 g Poly 0 𝑝 g A = 0 f Poly coeff f 0 0 f A = 0
23 22 rexlimdv3a A 𝔸 0 g Poly 0 𝑝 g A = 0 f Poly coeff f 0 0 f A = 0
24 6 23 mpd A 𝔸 0 f Poly coeff f 0 0 f A = 0
25 3 24 jca A 𝔸 0 A f Poly coeff f 0 0 f A = 0
26 simpl f Poly coeff f 0 0 f Poly
27 fveq2 f = 0 𝑝 coeff f = coeff 0 𝑝
28 coe0 coeff 0 𝑝 = 0 × 0
29 27 28 eqtrdi f = 0 𝑝 coeff f = 0 × 0
30 29 fveq1d f = 0 𝑝 coeff f 0 = 0 × 0 0
31 0nn0 0 0
32 fvconst2g 0 0 0 0 0 × 0 0 = 0
33 31 31 32 mp2an 0 × 0 0 = 0
34 30 33 eqtrdi f = 0 𝑝 coeff f 0 = 0
35 34 adantl f Poly coeff f 0 0 f = 0 𝑝 coeff f 0 = 0
36 neneq coeff f 0 0 ¬ coeff f 0 = 0
37 36 ad2antlr f Poly coeff f 0 0 f = 0 𝑝 ¬ coeff f 0 = 0
38 35 37 pm2.65da f Poly coeff f 0 0 ¬ f = 0 𝑝
39 velsn f 0 𝑝 f = 0 𝑝
40 38 39 sylnibr f Poly coeff f 0 0 ¬ f 0 𝑝
41 26 40 eldifd f Poly coeff f 0 0 f Poly 0 𝑝
42 41 adantrr f Poly coeff f 0 0 f A = 0 f Poly 0 𝑝
43 simprr f Poly coeff f 0 0 f A = 0 f A = 0
44 42 43 jca f Poly coeff f 0 0 f A = 0 f Poly 0 𝑝 f A = 0
45 44 reximi2 f Poly coeff f 0 0 f A = 0 f Poly 0 𝑝 f A = 0
46 45 anim2i A f Poly coeff f 0 0 f A = 0 A f Poly 0 𝑝 f A = 0
47 elaa A 𝔸 A f Poly 0 𝑝 f A = 0
48 46 47 sylibr A f Poly coeff f 0 0 f A = 0 A 𝔸
49 simpr A f Poly coeff f 0 0 f A = 0 f Poly coeff f 0 0 f A = 0
50 nfv f A
51 nfre1 f f Poly coeff f 0 0 f A = 0
52 50 51 nfan f A f Poly coeff f 0 0 f A = 0
53 nfv f ¬ A 0
54 simpl3r A f Poly coeff f 0 0 f A = 0 A = 0 f A = 0
55 fveq2 A = 0 f A = f 0
56 eqid coeff f = coeff f
57 56 coefv0 f Poly f 0 = coeff f 0
58 55 57 sylan9eqr f Poly A = 0 f A = coeff f 0
59 58 adantlr f Poly coeff f 0 0 A = 0 f A = coeff f 0
60 simplr f Poly coeff f 0 0 A = 0 coeff f 0 0
61 59 60 eqnetrd f Poly coeff f 0 0 A = 0 f A 0
62 61 neneqd f Poly coeff f 0 0 A = 0 ¬ f A = 0
63 62 adantlrr f Poly coeff f 0 0 f A = 0 A = 0 ¬ f A = 0
64 63 3adantl1 A f Poly coeff f 0 0 f A = 0 A = 0 ¬ f A = 0
65 54 64 pm2.65da A f Poly coeff f 0 0 f A = 0 ¬ A = 0
66 elsng A A 0 A = 0
67 66 biimpa A A 0 A = 0
68 67 3ad2antl1 A f Poly coeff f 0 0 f A = 0 A 0 A = 0
69 65 68 mtand A f Poly coeff f 0 0 f A = 0 ¬ A 0
70 69 3exp A f Poly coeff f 0 0 f A = 0 ¬ A 0
71 70 adantr A f Poly coeff f 0 0 f A = 0 f Poly coeff f 0 0 f A = 0 ¬ A 0
72 52 53 71 rexlimd A f Poly coeff f 0 0 f A = 0 f Poly coeff f 0 0 f A = 0 ¬ A 0
73 49 72 mpd A f Poly coeff f 0 0 f A = 0 ¬ A 0
74 48 73 eldifd A f Poly coeff f 0 0 f A = 0 A 𝔸 0
75 25 74 impbii A 𝔸 0 A f Poly coeff f 0 0 f A = 0