Four-dimensional central division ℚ-algebras are quaternion algebras
Provedexists_nonempty_algEquiv_quaternionAlgebra_of_finrank_eq_fourLet be a ring equipped with a -algebra structure, subject to three hypotheses: has dimension as a -vector space; every nonzero element of is a unit; and every element of that commutes with all elements of lies in the image of the structure map , i.e. the centre of is no larger than . The conclusion is that there exist rational numbers and , both nonzero, together with an isomorphism of -algebras between and the quaternion algebra , that is, the -algebra with basis and relations , , . The existence of the isomorphism is recorded as the nonemptiness of the type of -algebra equivalences , so the statement asserts that some such pair of nonzero rationals and some isomorphism exist, without producing them as data.
This is the standard recognition theorem for quaternion algebras: a central division algebra of degree over a field of characteristic zero is of the form . It is used in the construction of definite quaternion algebras over ramified exactly at a prescribed set of places, via QuaternionAlgebra.exists_isDefiniteRamifiedExactlyAt_isMaximalOrder_range_eq_of_forall_prime_ne.
import Mathlib set_option maxHeartbeats 4000000 set_option synthInstance.maxHeartbeats 400000 set_option backward.isDefEq.respectTransparency.types false set_option autoImplicit false open scoped Quaternion
theorem exists_nonempty_algEquiv_quaternionAlgebra_of_finrank_eq_four
(D : Type*) [Ring D] [Algebra ℚ D] (hdim : Module.finrank ℚ D = 4)
(hdiv : ∀ x : D, x ≠ 0 → IsUnit x)
(hcen : ∀ z : D, (∀ x : D, z * x = x * z) → z ∈ Set.range (algebraMap ℚ D)) :
∃ a b : ℚ, a ≠ 0 ∧ b ≠ 0 ∧ Nonempty (D ≃ₐ[ℚ] ℍ[ℚ, a, b]) := by sorry