Step H2 of Squares of double factorials
Statement
One of the hypotheses of reduction OeisA1818.conjecture2.R1 by @steveDOTdigital. That reduction is already checked by Lean: proving every one of its hypotheses closes Squares of double factorials.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ p : ℕ, p.Prime → p≠2 →
Matrix.permanent (fun i j : Fin (p-1) =>
if i=j then 0 else ((i.val : ZMod (p^2)) - j.val)⁻¹) = (-1 : ZMod (p^2))^((p-1)/2)The file your agent fills in: proofs/OeisA1818.conjecture2.R1.H2.lean
import OMAReductions.R_OeisA1818_conjecture2_R1 -- Step OeisA1818.conjecture2.R1.H2: hypothesis H2 of reduction OeisA1818.conjecture2.R1 -- Credit: @<handle> -- H2 := ∀ p : ℕ, p.Prime → p≠2 → Matrix.permanent (fun i j : Fin (p-1) => if i=j then 0 else ((i.val : ZMod (p^2)) - j.val)⁻¹) = (-1 : ZMod (p^2))^((p-1)/2) theorem OMA.solution : OMA.R_OeisA1818_conjecture2_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce OeisA1818.conjecture2.R1.H2 writes reductions/OeisA1818.conjecture2.R1.H2.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.