This is a Lean formalization of Granville's results on the p-divisibility of the integer Moore determinant and on iterated Fermat quotients.
- The iterated Fermat quotients
F⁽ʲ⁾ₖ(x)are integers, for everyj ≤ p - 1. j! F⁽ʲ⁾ₖ(x) ≡ x qₚ(x)ʲ (mod p), for everyj ≤ p - 2.(p-1)! F⁽ᵖ⁻¹⁾₀(x) ≡ x qₚ(x)^(p-1) - x qₚ(x) (mod p), the exceptional casej = p - 1.- The p-adic valuation of the Moore determinant
det Mₚ(x₁, …, x_d)is at leastC(d+1, 3). - That valuation equals
C(d+1, 3)exactly whenqₚ(x₁), …, qₚ(x_d)are pairwise distinct modulop.
See §Formal Challenge for a formal certificate.
This depends on Mathlib.
A formal challenge file certifying that this repository does formalize the results
claimed above is located at Challenge/Basic.lean. This file only
depends on the dependency above. It contains formal statements of
§Main Results with sorry as proof.
This repository can be verified against the formal challenge with the Lean
comparator on a Linux machine. First, follow the instructions in
https://github.com/leanprover/comparator to install comparator. Then, run the following command:
lake env comparator Comparator/comparator.json
This repository has been locally verified with the comparator.