Step * 1 1 1 1 1 1 1 2 2 of Lemma Euler-Fermat


1. {2...}
2. : ℕ+
3. CoPrime(n,a)
4. Πx ∈ map(λi.(ai mod n);residues-mod(n)). = Πx ∈ residues-mod(n). x ∈ ℤ
5. Πx ∈ residues-mod(n). (ax mod n) = Πx ∈ residues-mod(n). x ∈ ℤ
6. {x:ℤCoPrime(n,x)} 
7. {x:ℤCoPrime(n,x)}  List
8. : ℤ
9. ∀a,b:ℤ.
     ((a ≡ mod n)
      (accumulate (with value and list item x):
          c
         over list:
           v
         with starting value:
          a) ≡ accumulate (with value and list item x):
                c
               over list:
                 v
               with starting value:
                b) mod n))
⊢ accumulate (with value and list item x):
   c
  over list:
    v
  with starting value:
   (au mod n) M) ≡ accumulate (with value and list item x):
                      c
                     over list:
                       v
                     with starting value:
                      (u M) a) mod n
BY
(BHyp (-1) THEN Auto) }

1
1. {2...}
2. : ℕ+
3. CoPrime(n,a)
4. Πx ∈ map(λi.(ai mod n);residues-mod(n)). = Πx ∈ residues-mod(n). x ∈ ℤ
5. Πx ∈ residues-mod(n). (ax mod n) = Πx ∈ residues-mod(n). x ∈ ℤ
6. {x:ℤCoPrime(n,x)} 
7. {x:ℤCoPrime(n,x)}  List
8. : ℤ
9. ∀a,b:ℤ.
     ((a ≡ mod n)
      (accumulate (with value and list item x):
          c
         over list:
           v
         with starting value:
          a) ≡ accumulate (with value and list item x):
                c
               over list:
                 v
               with starting value:
                b) mod n))
⊢ ((au mod n) M) ≡ ((u M) a) mod n


Latex:


Latex:

1.  n  :  \{2...\}
2.  a  :  \mBbbN{}\msupplus{}
3.  CoPrime(n,a)
4.  \mPi{}x  \mmember{}  map(\mlambda{}i.(ai  mod  n);residues-mod(n)).  x  =  \mPi{}x  \mmember{}  residues-mod(n).  x
5.  \mPi{}x  \mmember{}  residues-mod(n).  (ax  mod  n)  =  \mPi{}x  \mmember{}  residues-mod(n).  x
6.  u  :  \{x:\mBbbZ{}|  CoPrime(n,x)\} 
7.  v  :  \{x:\mBbbZ{}|  CoPrime(n,x)\}    List
8.  M  :  \mBbbZ{}
9.  \mforall{}a,b:\mBbbZ{}.
          ((a  \mequiv{}  b  mod  n)
          {}\mRightarrow{}  (accumulate  (with  value  c  and  list  item  x):
                    x  *  c
                  over  list:
                      v
                  with  starting  value:
                    a)  \mequiv{}  accumulate  (with  value  c  and  list  item  x):
                                x  *  c
                              over  list:
                                  v
                              with  starting  value:
                                b)  mod  n))
\mvdash{}  accumulate  (with  value  c  and  list  item  x):
      x  *  c
    over  list:
        v
    with  starting  value:
      (au  mod  n)  *  M)  \mequiv{}  accumulate  (with  value  c  and  list  item  x):
                                            x  *  c
                                          over  list:
                                              v
                                          with  starting  value:
                                            (u  *  M)  *  a)  mod  n


By


Latex:
(BHyp  (-1)  THEN  Auto)




Home Index