ModuleQuadraticReciprocity.lean
Nyll.ClassFieldTheory.AlgebraicNumberTheory.QuadraticReciprocity
6 declarations indexed from sourceView source ↗ Module documentation
Gauss reciprocity and its supplementary laws
This file proves Gauss reciprocity and its supplementary laws. Mathlib's Jacobi symbol has a natural-number denominator, so an integer denominator b is written canonically as jacobiSym a b.natAbs, as is forced by the principal ideal (b).
Imports1
- Mathlib.NumberTheory.LegendreSymbol.JacobiSymbol
Imported by2
Declarations
AlgebraicNumberTheory.PowerResidueSymbols.gaussReciprocity_nat
DocumentationPositive form of Gauss reciprocity for arbitrary coprime odd natural numbers (not only primes).
Source context 3 commands
Surrounding namespaces, section variables, and local commands at this declaration.
open scoped NumberTheorySymbols
namespace AlgebraicNumberTheory
namespace PowerResidueSymbols
AlgebraicNumberTheory.PowerResidueSymbols.gaussReciprocity
DocumentationGauss reciprocity. This signed formulation applies to all odd, relatively prime integers.
Source context 3 commands
Surrounding namespaces, section variables, and local commands at this declaration.
open scoped NumberTheorySymbols
namespace AlgebraicNumberTheory
namespace PowerResidueSymbols
AlgebraicNumberTheory.PowerResidueSymbols.gaussSupplement_neg_one
DocumentationThe first supplementary law, expressed by its parity exponent.
Source context 3 commands
Surrounding namespaces, section variables, and local commands at this declaration.
open scoped NumberTheorySymbols
namespace AlgebraicNumberTheory
namespace PowerResidueSymbols
AlgebraicNumberTheory.PowerResidueSymbols.gaussSupplement_two
DocumentationThe second supplementary law in residue-class form.
Source context 3 commands
Surrounding namespaces, section variables, and local commands at this declaration.
open scoped NumberTheorySymbols
namespace AlgebraicNumberTheory
namespace PowerResidueSymbols
AlgebraicNumberTheory.PowerResidueSymbols.twoSupplementSign_eq_neg_one_pow
DocumentationFor odd b, the mod-eight sign is the classical exponent (-1)^((b²-1)/8).
Source context 3 commands
Surrounding namespaces, section variables, and local commands at this declaration.
open scoped NumberTheorySymbols
namespace AlgebraicNumberTheory
namespace PowerResidueSymbols
AlgebraicNumberTheory.PowerResidueSymbols.gaussSupplement_two_pow
DocumentationThe second supplementary law, expressed by its parity exponent.
Source context 3 commands
Surrounding namespaces, section variables, and local commands at this declaration.
open scoped NumberTheorySymbols
namespace AlgebraicNumberTheory
namespace PowerResidueSymbols