Ramanujan's Lost Notebook Part II, Ch. 11: ch11Bezout
DefinitionRamanujanLostNotebook_PartII_ch11_ch11Bezoutnumber-theoryramanujan-lost-notebook
Canonical Bezout pair a,b with ad-bc=1. Integer subtraction and division preserve the determinant; on the representative locus the quotient is exact.
Definition code
import Mathlib import Definitions.Def_RamanujanLostNotebook_PartII_ch11_ch11Inverse noncomputable section namespace RamanujanLostNotebook.PartII /-- Canonical Bezout pair a,b with ad-bc=1. Integer subtraction and division preserve the determinant; on the representative locus the quotient is exact. -/ def ch11Bezout (c d : ℕ) : ℤ × ℤ := let a : ℤ := ch11Inverse c d (a, (a * d - 1) / (c : ℤ)) end RamanujanLostNotebook.PartII end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part II, Springer 2009, Chapter 11.