Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > ILE Home > Th. List > lgsdi | Unicode version |
Description: The Legendre symbol is completely multiplicative in its right argument. Generalization of theorem 9.9(b) in [ApostolNT] p. 188 (which assumes that and are odd positive integers). (Contributed by Mario Carneiro, 5-Feb-2015.) |
Ref | Expression |
---|---|
lgsdi |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 3anrot 978 | . . . . 5 | |
2 | lgsdilem 13722 | . . . . 5 | |
3 | 1, 2 | sylanb 282 | . . . 4 |
4 | ancom 264 | . . . . 5 | |
5 | ifbi 3546 | . . . . 5 | |
6 | 4, 5 | ax-mp 5 | . . . 4 |
7 | ancom 264 | . . . . . 6 | |
8 | ifbi 3546 | . . . . . 6 | |
9 | 7, 8 | ax-mp 5 | . . . . 5 |
10 | ancom 264 | . . . . . 6 | |
11 | ifbi 3546 | . . . . . 6 | |
12 | 10, 11 | ax-mp 5 | . . . . 5 |
13 | 9, 12 | oveq12i 5865 | . . . 4 |
14 | 3, 6, 13 | 3eqtr4g 2228 | . . 3 |
15 | simpl2 996 | . . . . . . . 8 | |
16 | simpl3 997 | . . . . . . . 8 | |
17 | 15, 16 | zmulcld 9340 | . . . . . . 7 |
18 | 15 | zcnd 9335 | . . . . . . . . 9 |
19 | 16 | zcnd 9335 | . . . . . . . . 9 |
20 | simprl 526 | . . . . . . . . . 10 | |
21 | 0z 9223 | . . . . . . . . . . 11 | |
22 | zapne 9286 | . . . . . . . . . . 11 # | |
23 | 15, 21, 22 | sylancl 411 | . . . . . . . . . 10 # |
24 | 20, 23 | mpbird 166 | . . . . . . . . 9 # |
25 | simprr 527 | . . . . . . . . . 10 | |
26 | zapne 9286 | . . . . . . . . . . 11 # | |
27 | 16, 21, 26 | sylancl 411 | . . . . . . . . . 10 # |
28 | 25, 27 | mpbird 166 | . . . . . . . . 9 # |
29 | 18, 19, 24, 28 | mulap0d 8576 | . . . . . . . 8 # |
30 | zapne 9286 | . . . . . . . . 9 # | |
31 | 17, 21, 30 | sylancl 411 | . . . . . . . 8 # |
32 | 29, 31 | mpbid 146 | . . . . . . 7 |
33 | nnabscl 11064 | . . . . . . 7 | |
34 | 17, 32, 33 | syl2anc 409 | . . . . . 6 |
35 | nnuz 9522 | . . . . . 6 | |
36 | 34, 35 | eleqtrdi 2263 | . . . . 5 |
37 | simpl1 995 | . . . . . . . 8 | |
38 | eqid 2170 | . . . . . . . . 9 | |
39 | 38 | lgsfcl3 13716 | . . . . . . . 8 |
40 | 37, 15, 20, 39 | syl3anc 1233 | . . . . . . 7 |
41 | elnnuz 9523 | . . . . . . . 8 | |
42 | 41 | biimpri 132 | . . . . . . 7 |
43 | ffvelrn 5629 | . . . . . . 7 | |
44 | 40, 42, 43 | syl2an 287 | . . . . . 6 |
45 | 44 | zcnd 9335 | . . . . 5 |
46 | eqid 2170 | . . . . . . . . 9 | |
47 | 46 | lgsfcl3 13716 | . . . . . . . 8 |
48 | 37, 16, 25, 47 | syl3anc 1233 | . . . . . . 7 |
49 | ffvelrn 5629 | . . . . . . 7 | |
50 | 48, 42, 49 | syl2an 287 | . . . . . 6 |
51 | 50 | zcnd 9335 | . . . . 5 |
52 | simpr 109 | . . . . . . . . . . 11 | |
53 | 15 | ad2antrr 485 | . . . . . . . . . . 11 |
54 | 20 | ad2antrr 485 | . . . . . . . . . . 11 |
55 | 16 | ad2antrr 485 | . . . . . . . . . . 11 |
56 | 25 | ad2antrr 485 | . . . . . . . . . . 11 |
57 | pcmul 12255 | . . . . . . . . . . 11 | |
58 | 52, 53, 54, 55, 56, 57 | syl122anc 1242 | . . . . . . . . . 10 |
59 | 58 | oveq2d 5869 | . . . . . . . . 9 |
60 | 37 | ad2antrr 485 | . . . . . . . . . . . 12 |
61 | prmz 12065 | . . . . . . . . . . . . 13 | |
62 | 61 | adantl 275 | . . . . . . . . . . . 12 |
63 | lgscl 13709 | . . . . . . . . . . . 12 | |
64 | 60, 62, 63 | syl2anc 409 | . . . . . . . . . . 11 |
65 | 64 | zcnd 9335 | . . . . . . . . . 10 |
66 | pczcl 12252 | . . . . . . . . . . 11 | |
67 | 52, 55, 56, 66 | syl12anc 1231 | . . . . . . . . . 10 |
68 | pczcl 12252 | . . . . . . . . . . 11 | |
69 | 52, 53, 54, 68 | syl12anc 1231 | . . . . . . . . . 10 |
70 | 65, 67, 69 | expaddd 10611 | . . . . . . . . 9 |
71 | 59, 70 | eqtrd 2203 | . . . . . . . 8 |
72 | iftrue 3531 | . . . . . . . . 9 | |
73 | 72 | adantl 275 | . . . . . . . 8 |
74 | iftrue 3531 | . . . . . . . . . 10 | |
75 | iftrue 3531 | . . . . . . . . . 10 | |
76 | 74, 75 | oveq12d 5871 | . . . . . . . . 9 |
77 | 76 | adantl 275 | . . . . . . . 8 |
78 | 71, 73, 77 | 3eqtr4rd 2214 | . . . . . . 7 |
79 | 1t1e1 9030 | . . . . . . . . 9 | |
80 | iffalse 3534 | . . . . . . . . . 10 | |
81 | iffalse 3534 | . . . . . . . . . 10 | |
82 | 80, 81 | oveq12d 5871 | . . . . . . . . 9 |
83 | iffalse 3534 | . . . . . . . . 9 | |
84 | 79, 82, 83 | 3eqtr4a 2229 | . . . . . . . 8 |
85 | 84 | adantl 275 | . . . . . . 7 |
86 | prmdc 12084 | . . . . . . . . . 10 DECID | |
87 | exmiddc 831 | . . . . . . . . . 10 DECID | |
88 | 86, 87 | syl 14 | . . . . . . . . 9 |
89 | 42, 88 | syl 14 | . . . . . . . 8 |
90 | 89 | adantl 275 | . . . . . . 7 |
91 | 78, 85, 90 | mpjaodan 793 | . . . . . 6 |
92 | eleq1w 2231 | . . . . . . . . 9 | |
93 | oveq2 5861 | . . . . . . . . . 10 | |
94 | oveq1 5860 | . . . . . . . . . 10 | |
95 | 93, 94 | oveq12d 5871 | . . . . . . . . 9 |
96 | 92, 95 | ifbieq1d 3548 | . . . . . . . 8 |
97 | 42 | adantl 275 | . . . . . . . 8 |
98 | zexpcl 10491 | . . . . . . . . . 10 | |
99 | 64, 69, 98 | syl2anc 409 | . . . . . . . . 9 |
100 | 1zzd 9239 | . . . . . . . . 9 | |
101 | 97, 86 | syl 14 | . . . . . . . . 9 DECID |
102 | 99, 100, 101 | ifcldadc 3555 | . . . . . . . 8 |
103 | 38, 96, 97, 102 | fvmptd3 5589 | . . . . . . 7 |
104 | oveq1 5860 | . . . . . . . . . 10 | |
105 | 93, 104 | oveq12d 5871 | . . . . . . . . 9 |
106 | 92, 105 | ifbieq1d 3548 | . . . . . . . 8 |
107 | zexpcl 10491 | . . . . . . . . . 10 | |
108 | 64, 67, 107 | syl2anc 409 | . . . . . . . . 9 |
109 | 108, 100, 101 | ifcldadc 3555 | . . . . . . . 8 |
110 | 46, 106, 97, 109 | fvmptd3 5589 | . . . . . . 7 |
111 | 103, 110 | oveq12d 5871 | . . . . . 6 |
112 | eqid 2170 | . . . . . . 7 | |
113 | oveq1 5860 | . . . . . . . . 9 | |
114 | 93, 113 | oveq12d 5871 | . . . . . . . 8 |
115 | 92, 114 | ifbieq1d 3548 | . . . . . . 7 |
116 | 17 | ad2antrr 485 | . . . . . . . . . 10 |
117 | 32 | ad2antrr 485 | . . . . . . . . . 10 |
118 | pczcl 12252 | . . . . . . . . . 10 | |
119 | 52, 116, 117, 118 | syl12anc 1231 | . . . . . . . . 9 |
120 | zexpcl 10491 | . . . . . . . . 9 | |
121 | 64, 119, 120 | syl2anc 409 | . . . . . . . 8 |
122 | 121, 100, 101 | ifcldadc 3555 | . . . . . . 7 |
123 | 112, 115, 97, 122 | fvmptd3 5589 | . . . . . 6 |
124 | 91, 111, 123 | 3eqtr4rd 2214 | . . . . 5 |
125 | 36, 45, 51, 124 | prod3fmul 11504 | . . . 4 |
126 | 37, 15, 16, 20, 25, 38 | lgsdilem2 13731 | . . . . 5 |
127 | 37, 16, 15, 25, 20, 46 | lgsdilem2 13731 | . . . . . 6 |
128 | 18, 19 | mulcomd 7941 | . . . . . . . 8 |
129 | 128 | fveq2d 5500 | . . . . . . 7 |
130 | 129 | fveq2d 5500 | . . . . . 6 |
131 | 127, 130 | eqtr4d 2206 | . . . . 5 |
132 | 126, 131 | oveq12d 5871 | . . . 4 |
133 | 125, 132 | eqtr4d 2206 | . . 3 |
134 | 14, 133 | oveq12d 5871 | . 2 |
135 | 112 | lgsval4 13715 | . . 3 |
136 | 37, 17, 32, 135 | syl3anc 1233 | . 2 |
137 | 38 | lgsval4 13715 | . . . . 5 |
138 | 37, 15, 20, 137 | syl3anc 1233 | . . . 4 |
139 | 46 | lgsval4 13715 | . . . . 5 |
140 | 37, 16, 25, 139 | syl3anc 1233 | . . . 4 |
141 | 138, 140 | oveq12d 5871 | . . 3 |
142 | neg1z 9244 | . . . . . . 7 | |
143 | 142 | a1i 9 | . . . . . 6 |
144 | 1zzd 9239 | . . . . . 6 | |
145 | zdclt 9289 | . . . . . . . 8 DECID | |
146 | 15, 21, 145 | sylancl 411 | . . . . . . 7 DECID |
147 | zdclt 9289 | . . . . . . . 8 DECID | |
148 | 37, 21, 147 | sylancl 411 | . . . . . . 7 DECID |
149 | dcan2 929 | . . . . . . 7 DECID DECID DECID | |
150 | 146, 148, 149 | sylc 62 | . . . . . 6 DECID |
151 | 143, 144, 150 | ifcldcd 3561 | . . . . 5 |
152 | 151 | zcnd 9335 | . . . 4 |
153 | 40 | ffvelrnda 5631 | . . . . . . 7 |
154 | zmulcl 9265 | . . . . . . . 8 | |
155 | 154 | adantl 275 | . . . . . . 7 |
156 | 35, 144, 153, 155 | seqf 10417 | . . . . . 6 |
157 | nnabscl 11064 | . . . . . . 7 | |
158 | 15, 20, 157 | syl2anc 409 | . . . . . 6 |
159 | 156, 158 | ffvelrnd 5632 | . . . . 5 |
160 | 159 | zcnd 9335 | . . . 4 |
161 | zdclt 9289 | . . . . . . . 8 DECID | |
162 | 16, 21, 161 | sylancl 411 | . . . . . . 7 DECID |
163 | dcan2 929 | . . . . . . 7 DECID DECID DECID | |
164 | 162, 148, 163 | sylc 62 | . . . . . 6 DECID |
165 | 143, 144, 164 | ifcldcd 3561 | . . . . 5 |
166 | 165 | zcnd 9335 | . . . 4 |
167 | 48 | ffvelrnda 5631 | . . . . . . 7 |
168 | 35, 144, 167, 155 | seqf 10417 | . . . . . 6 |
169 | nnabscl 11064 | . . . . . . 7 | |
170 | 16, 25, 169 | syl2anc 409 | . . . . . 6 |
171 | 168, 170 | ffvelrnd 5632 | . . . . 5 |
172 | 171 | zcnd 9335 | . . . 4 |
173 | 152, 160, 166, 172 | mul4d 8074 | . . 3 |
174 | 141, 173 | eqtrd 2203 | . 2 |
175 | 134, 136, 174 | 3eqtr4d 2213 | 1 |
Colors of variables: wff set class |
Syntax hints: wn 3 wi 4 wa 103 wb 104 wo 703 DECID wdc 829 w3a 973 wceq 1348 wcel 2141 wne 2340 cif 3526 class class class wbr 3989 cmpt 4050 wf 5194 cfv 5198 (class class class)co 5853 cc0 7774 c1 7775 caddc 7777 cmul 7779 clt 7954 cneg 8091 # cap 8500 cn 8878 cn0 9135 cz 9212 cuz 9487 cseq 10401 cexp 10475 cabs 10961 cprime 12061 cpc 12238 clgs 13692 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 105 ax-ia2 106 ax-ia3 107 ax-in1 609 ax-in2 610 ax-io 704 ax-5 1440 ax-7 1441 ax-gen 1442 ax-ie1 1486 ax-ie2 1487 ax-8 1497 ax-10 1498 ax-11 1499 ax-i12 1500 ax-bndl 1502 ax-4 1503 ax-17 1519 ax-i9 1523 ax-ial 1527 ax-i5r 1528 ax-13 2143 ax-14 2144 ax-ext 2152 ax-coll 4104 ax-sep 4107 ax-nul 4115 ax-pow 4160 ax-pr 4194 ax-un 4418 ax-setind 4521 ax-iinf 4572 ax-cnex 7865 ax-resscn 7866 ax-1cn 7867 ax-1re 7868 ax-icn 7869 ax-addcl 7870 ax-addrcl 7871 ax-mulcl 7872 ax-mulrcl 7873 ax-addcom 7874 ax-mulcom 7875 ax-addass 7876 ax-mulass 7877 ax-distr 7878 ax-i2m1 7879 ax-0lt1 7880 ax-1rid 7881 ax-0id 7882 ax-rnegex 7883 ax-precex 7884 ax-cnre 7885 ax-pre-ltirr 7886 ax-pre-ltwlin 7887 ax-pre-lttrn 7888 ax-pre-apti 7889 ax-pre-ltadd 7890 ax-pre-mulgt0 7891 ax-pre-mulext 7892 ax-arch 7893 ax-caucvg 7894 |
This theorem depends on definitions: df-bi 116 df-stab 826 df-dc 830 df-3or 974 df-3an 975 df-tru 1351 df-fal 1354 df-xor 1371 df-nf 1454 df-sb 1756 df-eu 2022 df-mo 2023 df-clab 2157 df-cleq 2163 df-clel 2166 df-nfc 2301 df-ne 2341 df-nel 2436 df-ral 2453 df-rex 2454 df-reu 2455 df-rmo 2456 df-rab 2457 df-v 2732 df-sbc 2956 df-csb 3050 df-dif 3123 df-un 3125 df-in 3127 df-ss 3134 df-nul 3415 df-if 3527 df-pw 3568 df-sn 3589 df-pr 3590 df-op 3592 df-uni 3797 df-int 3832 df-iun 3875 df-br 3990 df-opab 4051 df-mpt 4052 df-tr 4088 df-id 4278 df-po 4281 df-iso 4282 df-iord 4351 df-on 4353 df-ilim 4354 df-suc 4356 df-iom 4575 df-xp 4617 df-rel 4618 df-cnv 4619 df-co 4620 df-dm 4621 df-rn 4622 df-res 4623 df-ima 4624 df-iota 5160 df-fun 5200 df-fn 5201 df-f 5202 df-f1 5203 df-fo 5204 df-f1o 5205 df-fv 5206 df-isom 5207 df-riota 5809 df-ov 5856 df-oprab 5857 df-mpo 5858 df-1st 6119 df-2nd 6120 df-recs 6284 df-irdg 6349 df-frec 6370 df-1o 6395 df-2o 6396 df-oadd 6399 df-er 6513 df-en 6719 df-dom 6720 df-fin 6721 df-sup 6961 df-inf 6962 df-pnf 7956 df-mnf 7957 df-xr 7958 df-ltxr 7959 df-le 7960 df-sub 8092 df-neg 8093 df-reap 8494 df-ap 8501 df-div 8590 df-inn 8879 df-2 8937 df-3 8938 df-4 8939 df-5 8940 df-6 8941 df-7 8942 df-8 8943 df-n0 9136 df-z 9213 df-uz 9488 df-q 9579 df-rp 9611 df-fz 9966 df-fzo 10099 df-fl 10226 df-mod 10279 df-seqfrec 10402 df-exp 10476 df-ihash 10710 df-cj 10806 df-re 10807 df-im 10808 df-rsqrt 10962 df-abs 10963 df-clim 11242 df-proddc 11514 df-dvds 11750 df-gcd 11898 df-prm 12062 df-phi 12165 df-pc 12239 df-lgs 13693 |
This theorem is referenced by: lgssq2 13736 lgsdinn0 13743 |
Copyright terms: Public domain | W3C validator |