Documentation

Mathlib.Algebra.QuadraticAlgebra.Rat

Quadratic algebras over ℚ #

Every quadratic algebra over ℚ with nonzero discriminant is isomorphic to a standard form QuadraticAlgebra ℚ d 0 for a unique squarefree integer d. This classifies quadratic algebras over ℚ by squarefree integers.

Main results #

Every QuadraticAlgebra ℚ a b with nonzero discriminant is isomorphic to QuadraticAlgebra ℚ d 0 for a squarefree integer d.

theorem QuadraticAlgebra.Rat.nonempty_algEquiv_iff {d₁ d₂ : ℤ} (h₁ : Squarefree d₁) (h₂ : Squarefree d₂) :
Nonempty (QuadraticAlgebra ℚ (↑d₁) 0 ≃ₐ[ℚ] QuadraticAlgebra ℚ (↑d₂) 0) ↔ d₁ = d₂

For squarefree integers d₁, d₂, the standard forms QuadraticAlgebra ℚ d₁ 0 and QuadraticAlgebra ℚ d₂ 0 are isomorphic if and only if d₁ = d₂.