Documentation

TauCeti.NumberTheory.NumberField.QuadraticAlgebra

Quadratic algebras as number fields #

A rational quadratic algebra whose defining polynomial has no rational root is a number field. The nonsquare hypothesis for an integer parameter transfers to its rational cast, and holds automatically for a negative integer parameter.

A negative integer is not a square.

A nonsquare integer remains nonsquare in the rationals.

instance QuadraticAlgebra.instNumberField {a b : ℚ} [Fact (∀ (r : ℚ), r ^ 2 ≠ a + b * r)] :

A rational quadratic algebra with no rational root is a number field.