MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  4001lem2 Structured version   Visualization version   Unicode version

Theorem 4001lem2 15161
Description: Lemma for 4001prm 15164. Calculate a power mod. In decimal, we calculate  2 ^ 4 0 0  =  ( 2 ^ 2 0 0 ) ^ 2  ==  9 0 2 ^ 2  =  2 0 3 N  + 
1 4 0 1 and  2 ^ 8 0 0  =  ( 2 ^ 4 0 0 ) ^ 2  ==  1 4 0 1 ^ 2  =  4 9 0 N  +  2 3 1 1  ==  2 3 1 1. (Contributed by Mario Carneiro, 3-Mar-2014.) (Revised by Mario Carneiro, 20-Apr-2015.)
Hypothesis
Ref Expression
4001prm.1  |-  N  = ;;; 4 0 0 1
Assertion
Ref Expression
4001lem2  |-  ( ( 2 ^;; 8 0 0 )  mod 
N )  =  (;;; 2 3 1 1  mod 
N )

Proof of Theorem 4001lem2
StepHypRef Expression
1 4001prm.1 . . 3  |-  N  = ;;; 4 0 0 1
2 4nn0 10916 . . . . . 6  |-  4  e.  NN0
3 0nn0 10912 . . . . . 6  |-  0  e.  NN0
42, 3deccl 11093 . . . . 5  |- ; 4 0  e.  NN0
54, 3deccl 11093 . . . 4  |- ;; 4 0 0  e.  NN0
6 1nn 10647 . . . 4  |-  1  e.  NN
75, 6decnncl 11092 . . 3  |- ;;; 4 0 0 1  e.  NN
81, 7eqeltri 2535 . 2  |-  N  e.  NN
9 2nn 10795 . 2  |-  2  e.  NN
10 9nn0 10921 . . . . 5  |-  9  e.  NN0
112, 10deccl 11093 . . . 4  |- ; 4 9  e.  NN0
1211, 3deccl 11093 . . 3  |- ;; 4 9 0  e.  NN0
1312nn0zi 10990 . 2  |- ;; 4 9 0  e.  ZZ
14 1nn0 10913 . . . . 5  |-  1  e.  NN0
1514, 2deccl 11093 . . . 4  |- ; 1 4  e.  NN0
1615, 3deccl 11093 . . 3  |- ;; 1 4 0  e.  NN0
1716, 14deccl 11093 . 2  |- ;;; 1 4 0 1  e.  NN0
18 2nn0 10914 . . . . 5  |-  2  e.  NN0
19 3nn0 10915 . . . . 5  |-  3  e.  NN0
2018, 19deccl 11093 . . . 4  |- ; 2 3  e.  NN0
2120, 14deccl 11093 . . 3  |- ;; 2 3 1  e.  NN0
2221, 14deccl 11093 . 2  |- ;;; 2 3 1 1  e.  NN0
2318, 3deccl 11093 . . . 4  |- ; 2 0  e.  NN0
2423, 3deccl 11093 . . 3  |- ;; 2 0 0  e.  NN0
2523, 19deccl 11093 . . . 4  |- ;; 2 0 3  e.  NN0
2625nn0zi 10990 . . 3  |- ;; 2 0 3  e.  ZZ
2710, 3deccl 11093 . . . 4  |- ; 9 0  e.  NN0
2827, 18deccl 11093 . . 3  |- ;; 9 0 2  e.  NN0
2914001lem1 15160 . . 3  |-  ( ( 2 ^;; 2 0 0 )  mod 
N )  =  (;; 9 0 2  mod 
N )
30 eqid 2461 . . . 4  |- ;; 2 0 0  = ;; 2 0 0
31 eqid 2461 . . . . . . 7  |- ; 2 0  = ; 2 0
32 2t2e4 10787 . . . . . . . . 9  |-  ( 2  x.  2 )  =  4
3332oveq1i 6324 . . . . . . . 8  |-  ( ( 2  x.  2 )  +  0 )  =  ( 4  +  0 )
34 4cn 10714 . . . . . . . . 9  |-  4  e.  CC
3534addid1i 9845 . . . . . . . 8  |-  ( 4  +  0 )  =  4
3633, 35eqtri 2483 . . . . . . 7  |-  ( ( 2  x.  2 )  +  0 )  =  4
37 2cn 10707 . . . . . . . . 9  |-  2  e.  CC
3837mul01i 9848 . . . . . . . 8  |-  ( 2  x.  0 )  =  0
393dec0h 11095 . . . . . . . 8  |-  0  = ; 0 0
4038, 39eqtri 2483 . . . . . . 7  |-  ( 2  x.  0 )  = ; 0
0
4118, 18, 3, 31, 3, 3, 36, 40decmul2c 11127 . . . . . 6  |-  ( 2  x. ; 2 0 )  = ; 4
0
4241oveq1i 6324 . . . . 5  |-  ( ( 2  x. ; 2 0 )  +  0 )  =  (; 4
0  +  0 )
434nn0cni 10909 . . . . . 6  |- ; 4 0  e.  CC
4443addid1i 9845 . . . . 5  |-  (; 4 0  +  0 )  = ; 4 0
4542, 44eqtri 2483 . . . 4  |-  ( ( 2  x. ; 2 0 )  +  0 )  = ; 4 0
4618, 23, 3, 30, 3, 3, 45, 40decmul2c 11127 . . 3  |-  ( 2  x. ;; 2 0 0 )  = ;; 4 0 0
47 eqid 2461 . . . . 5  |- ;;; 1 4 0 1  = ;;; 1 4 0 1
48 6nn0 10918 . . . . . . 7  |-  6  e.  NN0
4914, 48deccl 11093 . . . . . 6  |- ; 1 6  e.  NN0
50 eqid 2461 . . . . . 6  |- ;; 4 0 0  = ;; 4 0 0
51 eqid 2461 . . . . . . 7  |- ;; 1 4 0  = ;; 1 4 0
52 eqid 2461 . . . . . . . 8  |- ; 1 4  = ; 1 4
53 4p2e6 10772 . . . . . . . 8  |-  ( 4  +  2 )  =  6
5414, 2, 18, 52, 53decaddi 11123 . . . . . . 7  |-  (; 1 4  +  2 )  = ; 1 6
55 00id 9833 . . . . . . 7  |-  ( 0  +  0 )  =  0
5615, 3, 18, 3, 51, 31, 54, 55decadd 11120 . . . . . 6  |-  (;; 1 4 0  + ; 2 0 )  = ;; 1 6 0
57 eqid 2461 . . . . . . 7  |- ; 4 0  = ; 4 0
5849nn0cni 10909 . . . . . . . 8  |- ; 1 6  e.  CC
5958addid1i 9845 . . . . . . 7  |-  (; 1 6  +  0 )  = ; 1 6
60 eqid 2461 . . . . . . . 8  |- ;; 2 0 3  = ;; 2 0 3
61 ax-1cn 9622 . . . . . . . . . 10  |-  1  e.  CC
6261addid1i 9845 . . . . . . . . 9  |-  ( 1  +  0 )  =  1
6314dec0h 11095 . . . . . . . . 9  |-  1  = ; 0 1
6462, 63eqtri 2483 . . . . . . . 8  |-  ( 1  +  0 )  = ; 0
1
6561addid2i 9846 . . . . . . . . . 10  |-  ( 0  +  1 )  =  1
6665, 63eqtri 2483 . . . . . . . . 9  |-  ( 0  +  1 )  = ; 0
1
67 4t2e8 10791 . . . . . . . . . . . 12  |-  ( 4  x.  2 )  =  8
6834, 37, 67mulcomli 9675 . . . . . . . . . . 11  |-  ( 2  x.  4 )  =  8
6968, 55oveq12i 6326 . . . . . . . . . 10  |-  ( ( 2  x.  4 )  +  ( 0  +  0 ) )  =  ( 8  +  0 )
70 8cn 10722 . . . . . . . . . . 11  |-  8  e.  CC
7170addid1i 9845 . . . . . . . . . 10  |-  ( 8  +  0 )  =  8
7269, 71eqtri 2483 . . . . . . . . 9  |-  ( ( 2  x.  4 )  +  ( 0  +  0 ) )  =  8
7334mul02i 9847 . . . . . . . . . . 11  |-  ( 0  x.  4 )  =  0
7473oveq1i 6324 . . . . . . . . . 10  |-  ( ( 0  x.  4 )  +  1 )  =  ( 0  +  1 )
7574, 65, 633eqtri 2487 . . . . . . . . 9  |-  ( ( 0  x.  4 )  +  1 )  = ; 0
1
7618, 3, 3, 14, 31, 66, 2, 14, 3, 72, 75decmac 11118 . . . . . . . 8  |-  ( (; 2
0  x.  4 )  +  ( 0  +  1 ) )  = ; 8
1
77 2p1e3 10761 . . . . . . . . 9  |-  ( 2  +  1 )  =  3
78 3cn 10711 . . . . . . . . . 10  |-  3  e.  CC
79 4t3e12 11151 . . . . . . . . . 10  |-  ( 4  x.  3 )  = ; 1
2
8034, 78, 79mulcomli 9675 . . . . . . . . 9  |-  ( 3  x.  4 )  = ; 1
2
8114, 18, 77, 80decsuc 11102 . . . . . . . 8  |-  ( ( 3  x.  4 )  +  1 )  = ; 1
3
8223, 19, 3, 14, 60, 64, 2, 19, 14, 76, 81decmac 11118 . . . . . . 7  |-  ( (;; 2 0 3  x.  4 )  +  ( 1  +  0 ) )  = ;; 8 1 3
8325nn0cni 10909 . . . . . . . . . 10  |- ;; 2 0 3  e.  CC
8483mul01i 9848 . . . . . . . . 9  |-  (;; 2 0 3  x.  0 )  =  0
8584oveq1i 6324 . . . . . . . 8  |-  ( (;; 2 0 3  x.  0 )  +  6 )  =  ( 0  +  6 )
86 6cn 10718 . . . . . . . . 9  |-  6  e.  CC
8786addid2i 9846 . . . . . . . 8  |-  ( 0  +  6 )  =  6
8848dec0h 11095 . . . . . . . 8  |-  6  = ; 0 6
8985, 87, 883eqtri 2487 . . . . . . 7  |-  ( (;; 2 0 3  x.  0 )  +  6 )  = ; 0 6
902, 3, 14, 48, 57, 59, 25, 48, 3, 82, 89decma2c 11119 . . . . . 6  |-  ( (;; 2 0 3  x. ; 4
0 )  +  (; 1
6  +  0 ) )  = ;;; 8 1 3 6
9184oveq1i 6324 . . . . . . 7  |-  ( (;; 2 0 3  x.  0 )  +  0 )  =  ( 0  +  0 )
9291, 55, 393eqtri 2487 . . . . . 6  |-  ( (;; 2 0 3  x.  0 )  +  0 )  = ; 0 0
934, 3, 49, 3, 50, 56, 25, 3, 3, 90, 92decma2c 11119 . . . . 5  |-  ( (;; 2 0 3  x. ;; 4 0 0 )  +  (;; 1 4 0  + ; 2 0 ) )  = ;;;; 8 1 3 6 0
9455, 39eqtri 2483 . . . . . . 7  |-  ( 0  +  0 )  = ; 0
0
9537mulid1i 9670 . . . . . . . . 9  |-  ( 2  x.  1 )  =  2
9695, 55oveq12i 6326 . . . . . . . 8  |-  ( ( 2  x.  1 )  +  ( 0  +  0 ) )  =  ( 2  +  0 )
9737addid1i 9845 . . . . . . . 8  |-  ( 2  +  0 )  =  2
9896, 97eqtri 2483 . . . . . . 7  |-  ( ( 2  x.  1 )  +  ( 0  +  0 ) )  =  2
9961mul02i 9847 . . . . . . . . 9  |-  ( 0  x.  1 )  =  0
10099oveq1i 6324 . . . . . . . 8  |-  ( ( 0  x.  1 )  +  0 )  =  ( 0  +  0 )
101100, 55, 393eqtri 2487 . . . . . . 7  |-  ( ( 0  x.  1 )  +  0 )  = ; 0
0
10218, 3, 3, 3, 31, 94, 14, 3, 3, 98, 101decmac 11118 . . . . . 6  |-  ( (; 2
0  x.  1 )  +  ( 0  +  0 ) )  = ; 2
0
10378mulid1i 9670 . . . . . . . 8  |-  ( 3  x.  1 )  =  3
104103oveq1i 6324 . . . . . . 7  |-  ( ( 3  x.  1 )  +  1 )  =  ( 3  +  1 )
105 3p1e4 10763 . . . . . . 7  |-  ( 3  +  1 )  =  4
1062dec0h 11095 . . . . . . 7  |-  4  = ; 0 4
107104, 105, 1063eqtri 2487 . . . . . 6  |-  ( ( 3  x.  1 )  +  1 )  = ; 0
4
10823, 19, 3, 14, 60, 63, 14, 2, 3, 102, 107decmac 11118 . . . . 5  |-  ( (;; 2 0 3  x.  1 )  +  1 )  = ;; 2 0 4
1095, 14, 16, 14, 1, 47, 25, 2, 23, 93, 108decma2c 11119 . . . 4  |-  ( (;; 2 0 3  x.  N )  + ;;; 1 4 0 1 )  = ;;;;; 8 1 3 6 0 4
110 eqid 2461 . . . . 5  |- ;; 9 0 2  = ;; 9 0 2
111 8nn0 10920 . . . . . . 7  |-  8  e.  NN0
11214, 111deccl 11093 . . . . . 6  |- ; 1 8  e.  NN0
113112, 3deccl 11093 . . . . 5  |- ;; 1 8 0  e.  NN0
114 eqid 2461 . . . . . 6  |- ; 9 0  = ; 9 0
115 eqid 2461 . . . . . 6  |- ;; 1 8 0  = ;; 1 8 0
116112nn0cni 10909 . . . . . . . 8  |- ; 1 8  e.  CC
117116addid1i 9845 . . . . . . 7  |-  (; 1 8  +  0 )  = ; 1 8
118 1p2e3 10762 . . . . . . . . 9  |-  ( 1  +  2 )  =  3
11919dec0h 11095 . . . . . . . . 9  |-  3  = ; 0 3
120118, 119eqtri 2483 . . . . . . . 8  |-  ( 1  +  2 )  = ; 0
3
121 9t9e81 11181 . . . . . . . . . 10  |-  ( 9  x.  9 )  = ; 8
1
122121oveq1i 6324 . . . . . . . . 9  |-  ( ( 9  x.  9 )  +  0 )  =  (; 8 1  +  0 )
123111, 14deccl 11093 . . . . . . . . . . 11  |- ; 8 1  e.  NN0
124123nn0cni 10909 . . . . . . . . . 10  |- ; 8 1  e.  CC
125124addid1i 9845 . . . . . . . . 9  |-  (; 8 1  +  0 )  = ; 8 1
126122, 125eqtri 2483 . . . . . . . 8  |-  ( ( 9  x.  9 )  +  0 )  = ; 8
1
127 9cn 10724 . . . . . . . . . . 11  |-  9  e.  CC
128127mul02i 9847 . . . . . . . . . 10  |-  ( 0  x.  9 )  =  0
129128oveq1i 6324 . . . . . . . . 9  |-  ( ( 0  x.  9 )  +  3 )  =  ( 0  +  3 )
13078addid2i 9846 . . . . . . . . 9  |-  ( 0  +  3 )  =  3
131129, 130eqtri 2483 . . . . . . . 8  |-  ( ( 0  x.  9 )  +  3 )  =  3
13210, 3, 3, 19, 114, 120, 10, 126, 131decma 11117 . . . . . . 7  |-  ( (; 9
0  x.  9 )  +  ( 1  +  2 ) )  = ;; 8 1 3
133 9t2e18 11174 . . . . . . . . 9  |-  ( 9  x.  2 )  = ; 1
8
134127, 37, 133mulcomli 9675 . . . . . . . 8  |-  ( 2  x.  9 )  = ; 1
8
135 1p1e2 10750 . . . . . . . 8  |-  ( 1  +  1 )  =  2
136 8p8e16 11140 . . . . . . . 8  |-  ( 8  +  8 )  = ; 1
6
13714, 111, 111, 134, 135, 48, 136decaddci 11124 . . . . . . 7  |-  ( ( 2  x.  9 )  +  8 )  = ; 2
6
13827, 18, 14, 111, 110, 117, 10, 48, 18, 132, 137decmac 11118 . . . . . 6  |-  ( (;; 9 0 2  x.  9 )  +  (; 1
8  +  0 ) )  = ;;; 8 1 3 6
13928nn0cni 10909 . . . . . . . . 9  |- ;; 9 0 2  e.  CC
140139mul01i 9848 . . . . . . . 8  |-  (;; 9 0 2  x.  0 )  =  0
141140oveq1i 6324 . . . . . . 7  |-  ( (;; 9 0 2  x.  0 )  +  0 )  =  ( 0  +  0 )
142141, 55, 393eqtri 2487 . . . . . 6  |-  ( (;; 9 0 2  x.  0 )  +  0 )  = ; 0 0
14310, 3, 112, 3, 114, 115, 28, 3, 3, 138, 142decma2c 11119 . . . . 5  |-  ( (;; 9 0 2  x. ; 9
0 )  + ;; 1 8 0 )  = ;;;; 8 1 3 6 0
144133oveq1i 6324 . . . . . . . . . 10  |-  ( ( 9  x.  2 )  +  0 )  =  (; 1 8  +  0 )
145144, 117eqtri 2483 . . . . . . . . 9  |-  ( ( 9  x.  2 )  +  0 )  = ; 1
8
14637mul02i 9847 . . . . . . . . . 10  |-  ( 0  x.  2 )  =  0
147146, 39eqtri 2483 . . . . . . . . 9  |-  ( 0  x.  2 )  = ; 0
0
14818, 10, 3, 114, 3, 3, 145, 147decmul1c 11126 . . . . . . . 8  |-  (; 9 0  x.  2 )  = ;; 1 8 0
149148oveq1i 6324 . . . . . . 7  |-  ( (; 9
0  x.  2 )  +  0 )  =  (;; 1 8 0  +  0 )
150113nn0cni 10909 . . . . . . . 8  |- ;; 1 8 0  e.  CC
151150addid1i 9845 . . . . . . 7  |-  (;; 1 8 0  +  0 )  = ;; 1 8 0
152149, 151eqtri 2483 . . . . . 6  |-  ( (; 9
0  x.  2 )  +  0 )  = ;; 1 8 0
15332, 106eqtri 2483 . . . . . 6  |-  ( 2  x.  2 )  = ; 0
4
15418, 27, 18, 110, 2, 3, 152, 153decmul1c 11126 . . . . 5  |-  (;; 9 0 2  x.  2 )  = ;;; 1 8 0 4
15528, 27, 18, 110, 2, 113, 143, 154decmul2c 11127 . . . 4  |-  (;; 9 0 2  x. ;; 9 0 2 )  = ;;;;; 8 1 3 6 0 4
156109, 155eqtr4i 2486 . . 3  |-  ( (;; 2 0 3  x.  N )  + ;;; 1 4 0 1 )  =  (;; 9 0 2  x. ;; 9 0 2 )
1578, 9, 24, 26, 28, 17, 29, 46, 156mod2xi 15089 . 2  |-  ( ( 2 ^;; 4 0 0 )  mod 
N )  =  (;;; 1 4 0 1  mod 
N )
15868oveq1i 6324 . . . . . . 7  |-  ( ( 2  x.  4 )  +  0 )  =  ( 8  +  0 )
159158, 71eqtri 2483 . . . . . 6  |-  ( ( 2  x.  4 )  +  0 )  =  8
16018, 2, 3, 57, 3, 3, 159, 40decmul2c 11127 . . . . 5  |-  ( 2  x. ; 4 0 )  = ; 8
0
161160oveq1i 6324 . . . 4  |-  ( ( 2  x. ; 4 0 )  +  0 )  =  (; 8
0  +  0 )
162111, 3deccl 11093 . . . . . 6  |- ; 8 0  e.  NN0
163162nn0cni 10909 . . . . 5  |- ; 8 0  e.  CC
164163addid1i 9845 . . . 4  |-  (; 8 0  +  0 )  = ; 8 0
165161, 164eqtri 2483 . . 3  |-  ( ( 2  x. ; 4 0 )  +  0 )  = ; 8 0
16618, 4, 3, 50, 3, 3, 165, 40decmul2c 11127 . 2  |-  ( 2  x. ;; 4 0 0 )  = ;; 8 0 0
167 eqid 2461 . . . 4  |- ;;; 2 3 1 1  = ;;; 2 3 1 1
16818, 111deccl 11093 . . . . 5  |- ; 2 8  e.  NN0
169 eqid 2461 . . . . . 6  |- ;; 2 3 1  = ;; 2 3 1
170 eqid 2461 . . . . . 6  |- ; 4 9  = ; 4 9
171 7nn0 10919 . . . . . . 7  |-  7  e.  NN0
172 7p1e8 10767 . . . . . . 7  |-  ( 7  +  1 )  =  8
173 eqid 2461 . . . . . . . 8  |- ; 2 3  = ; 2 3
174 4p3e7 10773 . . . . . . . . 9  |-  ( 4  +  3 )  =  7
17534, 78, 174addcomli 9850 . . . . . . . 8  |-  ( 3  +  4 )  =  7
17618, 19, 2, 173, 175decaddi 11123 . . . . . . 7  |-  (; 2 3  +  4 )  = ; 2 7
17718, 171, 172, 176decsuc 11102 . . . . . 6  |-  ( (; 2
3  +  4 )  +  1 )  = ; 2
8
178 9p1e10 10769 . . . . . . 7  |-  ( 9  +  1 )  =  10
179127, 61, 178addcomli 9850 . . . . . 6  |-  ( 1  +  9 )  =  10
18020, 14, 2, 10, 169, 170, 177, 179decaddc2 11122 . . . . 5  |-  (;; 2 3 1  + ; 4 9 )  = ;; 2 8 0
181168nn0cni 10909 . . . . . . 7  |- ; 2 8  e.  CC
182181addid1i 9845 . . . . . 6  |-  (; 2 8  +  0 )  = ; 2 8
183 eqid 2461 . . . . . . 7  |- ;; 4 9 0  = ;; 4 9 0
18418dec0h 11095 . . . . . . . 8  |-  2  = ; 0 2
18597, 184eqtri 2483 . . . . . . 7  |-  ( 2  +  0 )  = ; 0
2
186130oveq2i 6325 . . . . . . . . 9  |-  ( ( 4  x.  4 )  +  ( 0  +  3 ) )  =  ( ( 4  x.  4 )  +  3 )
187 4t4e16 11152 . . . . . . . . . 10  |-  ( 4  x.  4 )  = ; 1
6
188 6p3e9 10780 . . . . . . . . . 10  |-  ( 6  +  3 )  =  9
18914, 48, 19, 187, 188decaddi 11123 . . . . . . . . 9  |-  ( ( 4  x.  4 )  +  3 )  = ; 1
9
190186, 189eqtri 2483 . . . . . . . 8  |-  ( ( 4  x.  4 )  +  ( 0  +  3 ) )  = ; 1
9
191 9t4e36 11176 . . . . . . . . . 10  |-  ( 9  x.  4 )  = ; 3
6
192191oveq1i 6324 . . . . . . . . 9  |-  ( ( 9  x.  4 )  +  0 )  =  (; 3 6  +  0 )
19319, 48deccl 11093 . . . . . . . . . . 11  |- ; 3 6  e.  NN0
194193nn0cni 10909 . . . . . . . . . 10  |- ; 3 6  e.  CC
195194addid1i 9845 . . . . . . . . 9  |-  (; 3 6  +  0 )  = ; 3 6
196192, 195eqtri 2483 . . . . . . . 8  |-  ( ( 9  x.  4 )  +  0 )  = ; 3
6
1972, 10, 3, 3, 170, 94, 2, 48, 19, 190, 196decmac 11118 . . . . . . 7  |-  ( (; 4
9  x.  4 )  +  ( 0  +  0 ) )  = ;; 1 9 6
19873oveq1i 6324 . . . . . . . 8  |-  ( ( 0  x.  4 )  +  2 )  =  ( 0  +  2 )
19937addid2i 9846 . . . . . . . 8  |-  ( 0  +  2 )  =  2
200198, 199, 1843eqtri 2487 . . . . . . 7  |-  ( ( 0  x.  4 )  +  2 )  = ; 0
2
20111, 3, 3, 18, 183, 185, 2, 18, 3, 197, 200decmac 11118 . . . . . 6  |-  ( (;; 4 9 0  x.  4 )  +  ( 2  +  0 ) )  = ;;; 1 9 6 2
20212nn0cni 10909 . . . . . . . . 9  |- ;; 4 9 0  e.  CC
203202mul01i 9848 . . . . . . . 8  |-  (;; 4 9 0  x.  0 )  =  0
204203oveq1i 6324 . . . . . . 7  |-  ( (;; 4 9 0  x.  0 )  +  8 )  =  ( 0  +  8 )
20570addid2i 9846 . . . . . . 7  |-  ( 0  +  8 )  =  8
206111dec0h 11095 . . . . . . 7  |-  8  = ; 0 8
207204, 205, 2063eqtri 2487 . . . . . 6  |-  ( (;; 4 9 0  x.  0 )  +  8 )  = ; 0 8
2082, 3, 18, 111, 57, 182, 12, 111, 3, 201, 207decma2c 11119 . . . . 5  |-  ( (;; 4 9 0  x. ; 4
0 )  +  (; 2
8  +  0 ) )  = ;;;; 1 9 6 2 8
209203oveq1i 6324 . . . . . 6  |-  ( (;; 4 9 0  x.  0 )  +  0 )  =  ( 0  +  0 )
210209, 55, 393eqtri 2487 . . . . 5  |-  ( (;; 4 9 0  x.  0 )  +  0 )  = ; 0 0
2114, 3, 168, 3, 50, 180, 12, 3, 3, 208, 210decma2c 11119 . . . 4  |-  ( (;; 4 9 0  x. ;; 4 0 0 )  +  (;; 2 3 1  + ; 4 9 ) )  = ;;;;; 1 9 6 2 8 0
21234mulid1i 9670 . . . . . . . 8  |-  ( 4  x.  1 )  =  4
213212, 55oveq12i 6326 . . . . . . 7  |-  ( ( 4  x.  1 )  +  ( 0  +  0 ) )  =  ( 4  +  0 )
214213, 35eqtri 2483 . . . . . 6  |-  ( ( 4  x.  1 )  +  ( 0  +  0 ) )  =  4
215127mulid1i 9670 . . . . . . . 8  |-  ( 9  x.  1 )  =  9
216215oveq1i 6324 . . . . . . 7  |-  ( ( 9  x.  1 )  +  0 )  =  ( 9  +  0 )
217127addid1i 9845 . . . . . . 7  |-  ( 9  +  0 )  =  9
21810dec0h 11095 . . . . . . 7  |-  9  = ; 0 9
219216, 217, 2183eqtri 2487 . . . . . 6  |-  ( ( 9  x.  1 )  +  0 )  = ; 0
9
2202, 10, 3, 3, 170, 94, 14, 10, 3, 214, 219decmac 11118 . . . . 5  |-  ( (; 4
9  x.  1 )  +  ( 0  +  0 ) )  = ; 4
9
22199oveq1i 6324 . . . . . 6  |-  ( ( 0  x.  1 )  +  1 )  =  ( 0  +  1 )
222221, 65, 633eqtri 2487 . . . . 5  |-  ( ( 0  x.  1 )  +  1 )  = ; 0
1
22311, 3, 3, 14, 183, 63, 14, 14, 3, 220, 222decmac 11118 . . . 4  |-  ( (;; 4 9 0  x.  1 )  +  1 )  = ;; 4 9 1
2245, 14, 21, 14, 1, 167, 12, 14, 11, 211, 223decma2c 11119 . . 3  |-  ( (;; 4 9 0  x.  N )  + ;;; 2 3 1 1 )  = ;;;;;; 1 9 6 2 8 0 1
22515nn0cni 10909 . . . . . . 7  |- ; 1 4  e.  CC
226225addid1i 9845 . . . . . 6  |-  (; 1 4  +  0 )  = ; 1 4
227 5nn0 10917 . . . . . . . 8  |-  5  e.  NN0
228227, 48deccl 11093 . . . . . . 7  |- ; 5 6  e.  NN0
229228, 3deccl 11093 . . . . . 6  |- ;; 5 6 0  e.  NN0
230 eqid 2461 . . . . . . . 8  |- ;; 5 6 0  = ;; 5 6 0
231228nn0cni 10909 . . . . . . . . 9  |- ; 5 6  e.  CC
232231addid2i 9846 . . . . . . . 8  |-  ( 0  + ; 5 6 )  = ; 5
6
2333, 14, 228, 3, 63, 230, 232, 62decadd 11120 . . . . . . 7  |-  ( 1  + ;; 5 6 0 )  = ;; 5 6 1
234231addid1i 9845 . . . . . . . 8  |-  (; 5 6  +  0 )  = ; 5 6
235 5cn 10716 . . . . . . . . . . 11  |-  5  e.  CC
236235addid1i 9845 . . . . . . . . . 10  |-  ( 5  +  0 )  =  5
237227dec0h 11095 . . . . . . . . . 10  |-  5  = ; 0 5
238236, 237eqtri 2483 . . . . . . . . 9  |-  ( 5  +  0 )  = ; 0
5
23961mulid1i 9670 . . . . . . . . . . 11  |-  ( 1  x.  1 )  =  1
240239, 55oveq12i 6326 . . . . . . . . . 10  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  ( 1  +  0 )
241240, 62eqtri 2483 . . . . . . . . 9  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  1
242212oveq1i 6324 . . . . . . . . . 10  |-  ( ( 4  x.  1 )  +  5 )  =  ( 4  +  5 )
243 5p4e9 10777 . . . . . . . . . . 11  |-  ( 5  +  4 )  =  9
244235, 34, 243addcomli 9850 . . . . . . . . . 10  |-  ( 4  +  5 )  =  9
245242, 244, 2183eqtri 2487 . . . . . . . . 9  |-  ( ( 4  x.  1 )  +  5 )  = ; 0
9
24614, 2, 3, 227, 52, 238, 14, 10, 3, 241, 245decmac 11118 . . . . . . . 8  |-  ( (; 1
4  x.  1 )  +  ( 5  +  0 ) )  = ; 1
9
24799oveq1i 6324 . . . . . . . . 9  |-  ( ( 0  x.  1 )  +  6 )  =  ( 0  +  6 )
248247, 87, 883eqtri 2487 . . . . . . . 8  |-  ( ( 0  x.  1 )  +  6 )  = ; 0
6
24915, 3, 227, 48, 51, 234, 14, 48, 3, 246, 248decmac 11118 . . . . . . 7  |-  ( (;; 1 4 0  x.  1 )  +  (; 5
6  +  0 ) )  = ;; 1 9 6
250239oveq1i 6324 . . . . . . . 8  |-  ( ( 1  x.  1 )  +  1 )  =  ( 1  +  1 )
251250, 135, 1843eqtri 2487 . . . . . . 7  |-  ( ( 1  x.  1 )  +  1 )  = ; 0
2
25216, 14, 228, 14, 47, 233, 14, 18, 3, 249, 251decmac 11118 . . . . . 6  |-  ( (;;; 1 4 0 1  x.  1 )  +  ( 1  + ;; 5 6 0 ) )  = ;;; 1 9 6 2
25334mulid2i 9671 . . . . . . . . . . 11  |-  ( 1  x.  4 )  =  4
254253, 65oveq12i 6326 . . . . . . . . . 10  |-  ( ( 1  x.  4 )  +  ( 0  +  1 ) )  =  ( 4  +  1 )
255 4p1e5 10764 . . . . . . . . . 10  |-  ( 4  +  1 )  =  5
256254, 255eqtri 2483 . . . . . . . . 9  |-  ( ( 1  x.  4 )  +  ( 0  +  1 ) )  =  5
257187oveq1i 6324 . . . . . . . . . 10  |-  ( ( 4  x.  4 )  +  0 )  =  (; 1 6  +  0 )
258257, 59eqtri 2483 . . . . . . . . 9  |-  ( ( 4  x.  4 )  +  0 )  = ; 1
6
25914, 2, 3, 3, 52, 94, 2, 48, 14, 256, 258decmac 11118 . . . . . . . 8  |-  ( (; 1
4  x.  4 )  +  ( 0  +  0 ) )  = ; 5
6
26073oveq1i 6324 . . . . . . . . 9  |-  ( ( 0  x.  4 )  +  0 )  =  ( 0  +  0 )
261260, 55, 393eqtri 2487 . . . . . . . 8  |-  ( ( 0  x.  4 )  +  0 )  = ; 0
0
26215, 3, 3, 3, 51, 94, 2, 3, 3, 259, 261decmac 11118 . . . . . . 7  |-  ( (;; 1 4 0  x.  4 )  +  ( 0  +  0 ) )  = ;; 5 6 0
263253oveq1i 6324 . . . . . . . 8  |-  ( ( 1  x.  4 )  +  4 )  =  ( 4  +  4 )
264 4p4e8 10774 . . . . . . . 8  |-  ( 4  +  4 )  =  8
265263, 264, 2063eqtri 2487 . . . . . . 7  |-  ( ( 1  x.  4 )  +  4 )  = ; 0
8
26616, 14, 3, 2, 47, 106, 2, 111, 3, 262, 265decmac 11118 . . . . . 6  |-  ( (;;; 1 4 0 1  x.  4 )  +  4 )  = ;;; 5 6 0 8
26714, 2, 14, 2, 52, 226, 17, 111, 229, 252, 266decma2c 11119 . . . . 5  |-  ( (;;; 1 4 0 1  x. ; 1
4 )  +  (; 1
4  +  0 ) )  = ;;;; 1 9 6 2 8
26817nn0cni 10909 . . . . . . . 8  |- ;;; 1 4 0 1  e.  CC
269268mul01i 9848 . . . . . . 7  |-  (;;; 1 4 0 1  x.  0 )  =  0
270269oveq1i 6324 . . . . . 6  |-  ( (;;; 1 4 0 1  x.  0 )  +  0 )  =  ( 0  +  0 )
271270, 55, 393eqtri 2487 . . . . 5  |-  ( (;;; 1 4 0 1  x.  0 )  +  0 )  = ; 0 0
27215, 3, 15, 3, 51, 51, 17, 3, 3, 267, 271decma2c 11119 . . . 4  |-  ( (;;; 1 4 0 1  x. ;; 1 4 0 )  + ;; 1 4 0 )  = ;;;;; 1 9 6 2 8 0
273268mulid1i 9670 . . . 4  |-  (;;; 1 4 0 1  x.  1 )  = ;;; 1 4 0 1
27417, 16, 14, 47, 14, 16, 272, 273decmul2c 11127 . . 3  |-  (;;; 1 4 0 1  x. ;;; 1 4 0 1 )  = ;;;;;; 1 9 6 2 8 0 1
275224, 274eqtr4i 2486 . 2  |-  ( (;; 4 9 0  x.  N )  + ;;; 2 3 1 1 )  =  (;;; 1 4 0 1  x. ;;; 1 4 0 1 )
2768, 9, 5, 13, 17, 22, 157, 166, 275mod2xi 15089 1  |-  ( ( 2 ^;; 8 0 0 )  mod 
N )  =  (;;; 2 3 1 1  mod 
N )
Colors of variables: wff setvar class
Syntax hints:    = wceq 1454  (class class class)co 6314   0cc0 9564   1c1 9565    + caddc 9567    x. cmul 9569   NNcn 10636   2c2 10686   3c3 10687   4c4 10688   5c5 10689   6c6 10690   7c7 10691   8c8 10692   9c9 10693   10c10 10694  ;cdc 11079    mod cmo 12127   ^cexp 12303
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1679  ax-4 1692  ax-5 1768  ax-6 1815  ax-7 1861  ax-8 1899  ax-9 1906  ax-10 1925  ax-11 1930  ax-12 1943  ax-13 2101  ax-ext 2441  ax-sep 4538  ax-nul 4547  ax-pow 4594  ax-pr 4652  ax-un 6609  ax-cnex 9620  ax-resscn 9621  ax-1cn 9622  ax-icn 9623  ax-addcl 9624  ax-addrcl 9625  ax-mulcl 9626  ax-mulrcl 9627  ax-mulcom 9628  ax-addass 9629  ax-mulass 9630  ax-distr 9631  ax-i2m1 9632  ax-1ne0 9633  ax-1rid 9634  ax-rnegex 9635  ax-rrecex 9636  ax-cnre 9637  ax-pre-lttri 9638  ax-pre-lttrn 9639  ax-pre-ltadd 9640  ax-pre-mulgt0 9641  ax-pre-sup 9642
This theorem depends on definitions:  df-bi 190  df-or 376  df-an 377  df-3or 992  df-3an 993  df-tru 1457  df-ex 1674  df-nf 1678  df-sb 1808  df-eu 2313  df-mo 2314  df-clab 2448  df-cleq 2454  df-clel 2457  df-nfc 2591  df-ne 2634  df-nel 2635  df-ral 2753  df-rex 2754  df-reu 2755  df-rmo 2756  df-rab 2757  df-v 3058  df-sbc 3279  df-csb 3375  df-dif 3418  df-un 3420  df-in 3422  df-ss 3429  df-pss 3431  df-nul 3743  df-if 3893  df-pw 3964  df-sn 3980  df-pr 3982  df-tp 3984  df-op 3986  df-uni 4212  df-iun 4293  df-br 4416  df-opab 4475  df-mpt 4476  df-tr 4511  df-eprel 4763  df-id 4767  df-po 4773  df-so 4774  df-fr 4811  df-we 4813  df-xp 4858  df-rel 4859  df-cnv 4860  df-co 4861  df-dm 4862  df-rn 4863  df-res 4864  df-ima 4865  df-pred 5398  df-ord 5444  df-on 5445  df-lim 5446  df-suc 5447  df-iota 5564  df-fun 5602  df-fn 5603  df-f 5604  df-f1 5605  df-fo 5606  df-f1o 5607  df-fv 5608  df-riota 6276  df-ov 6317  df-oprab 6318  df-mpt2 6319  df-om 6719  df-2nd 6820  df-wrecs 7053  df-recs 7115  df-rdg 7153  df-er 7388  df-en 7595  df-dom 7596  df-sdom 7597  df-sup 7981  df-inf 7982  df-pnf 9702  df-mnf 9703  df-xr 9704  df-ltxr 9705  df-le 9706  df-sub 9887  df-neg 9888  df-div 10297  df-nn 10637  df-2 10695  df-3 10696  df-4 10697  df-5 10698  df-6 10699  df-7 10700  df-8 10701  df-9 10702  df-10 10703  df-n0 10898  df-z 10966  df-dec 11080  df-uz 11188  df-rp 11331  df-fl 12059  df-mod 12128  df-seq 12245  df-exp 12304
This theorem is referenced by:  4001lem3  15162  4001lem4  15163
  Copyright terms: Public domain W3C validator