Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Aether Catalog definitions — Algebra_Heisenberg125_Structure

Definition
Algebra_Heisenberg125_Structure

by raver1975 · Sep 17, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogalgebra

Definition bundle for the Aether Catalog module Algebra.Heisenberg125.Structure, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.

Definition code
-- Def bundle generated from Algebra/Heisenberg125/Structure.lean by skeleton subtraction
import Mathlib
import Definitions.Def_Algebra_Heisenberg125_Basic
/-
# Structure of `H_{p^3}`: matrix realisation, centre, commutator subgroup, exponent

This file justifies the description of `Heis p` used throughout: it *is* the
group of upper unitriangular `3 × 3` matrices over `ZMod p`, its centre and
commutator subgroup both equal `⟨v⟩ ≅ C_p`, it has order `p ^ 3` (so
`|Heis 5| = 125`) and, for odd primes `p`, exponent exactly `p`.
-/

namespace Heisenberg125

namespace Heis

variable {p : ℕ}

/-! ## Matrix realisation -/

/-- The unitriangular matrix attached to an element of `Heis p`. -/
def toMatrix (g : Heis p) : Matrix (Fin 3) (Fin 3) (ZMod p) :=
  !![1, g.a, g.c; 0, 1, g.b; 0, 0, 1]

/-- `Heis p` is the group of upper unitriangular `3 × 3` matrices over
`ZMod p`: the map `toMatrix` is a multiplicative, injective map. -/
def toMatrixHom : Heis p →* Matrix (Fin 3) (Fin 3) (ZMod p) where
  toFun := toMatrix
  map_one' := by
    ext i j
    fin_cases i <;> fin_cases j <;> simp [toMatrix]
  map_mul' g h := by
    ext i j
    fin_cases i <;> fin_cases j <;>
      simp [toMatrix, Matrix.mul_apply, Fin.sum_univ_three] <;> ring


/-! ## Centre and commutator subgroup -/





/-! ## Order and exponent -/




end Heis

end Heisenberg125

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me