Skip to the content.
← Ch. 7: Group Theorems Table of contents Ch. 9: Ring Theorems →

Learning objectives. By the end of this chapter, translate the ring axioms into a Lean structure built on top of CommGroup, build both a commutative (Int, Fin 3) and a genuinely noncommutative ($2\times 2$ matrices) example from scratch, and recognize when a finite carrier lets decide replace a hand-written proof.

Sections

  1. The mathematical definition
  2. CommGroup: extending Group with one extra axiom
  3. Ring: bundling an additive CommGroup with multiplication
  4. Example: the integers as a ring
  5. Example: a finite commutative ring, $\mathbb{Z}/3\mathbb{Z}$
  6. Accessing nested fields
  7. Example: 2×2 matrices — a genuinely noncommutative ring
  8. Exercises

← Ch. 7: Group Theorems Table of contents Ch. 9: Ring Theorems →
Try Lean
Lean playground · v1.4.18