Metamath Proof Explorer


Theorem znadd

Description: The additive structure of Z/nZ is the same as the quotient ring it is based on. (Contributed by Mario Carneiro, 15-Jun-2015) (Revised by AV, 13-Jun-2019)

Ref Expression
Hypotheses znval2.s
|- S = ( RSpan ` ZZring )
znval2.u
|- U = ( ZZring /s ( ZZring ~QG ( S ` { N } ) ) )
znval2.y
|- Y = ( Z/nZ ` N )
Assertion znadd
|- ( N e. NN0 -> ( +g ` U ) = ( +g ` Y ) )

Proof

Step Hyp Ref Expression
1 znval2.s
 |-  S = ( RSpan ` ZZring )
2 znval2.u
 |-  U = ( ZZring /s ( ZZring ~QG ( S ` { N } ) ) )
3 znval2.y
 |-  Y = ( Z/nZ ` N )
4 df-plusg
 |-  +g = Slot 2
5 2nn
 |-  2 e. NN
6 2lt10
 |-  2 < ; 1 0
7 1 2 3 4 5 6 znbaslem
 |-  ( N e. NN0 -> ( +g ` U ) = ( +g ` Y ) )