Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TateCoordinates |
| 2 | |
| 3 | /-! # Exact Residue Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ExactResidueCoordinates.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Residue coordinates for a surjective linear map whose kernel is the |
| 11 | uniformly scaled integral lattice. The coordinate formula retains the |
| 12 | original linear map, and is used below for restricted Tate evaluation. |
| 13 | -/ |
| 14 | |
| 15 | variable (q : ℕ) [Fact q.Prime] {d : ℕ} |
| 16 | {V U : Type*} [AddCommGroup V] [Module ℤ_[q] V] [AddCommGroup U] [Module ℤ_[q] U] |
| 17 | (b : Module.Basis (Fin d) ℤ_[q] V) (h : ℕ) |
| 18 | (f : V →ₗ[ℤ_[q]] U) (hf : Function.Surjective f) |
| 19 | (hker : f.ker = IsogenyQuotient.Basis.Construction.basisDiagonalSubmodule q b (fun _ => h)) |
| 20 | |
| 21 | def exactResidueCoordinates : U ≃+ (Fin d → ZMod (q ^ h)) := |
| 22 | ((f.quotKerEquivOfSurjective hf).toAddEquiv.symm.trans |
| 23 | (QuotientAddGroup.quotientAddEquivOfEq (congrArg Submodule.toAddSubgroup hker))).trans |
| 24 | (IsogenyQuotient.Basis.Construction.basisDiagonalQuotientEquiv q b (fun _ => h)) |
| 25 | |
| 26 | theorem exactResidueCoordinates_apply (x : V) : |
| 27 | exactResidueCoordinates q b h f hf hker (f x) = IsogenyQuotient.Basis.Construction.basisCoordinateResidues q b (fun _ => h) x := by |
| 28 | have hx : f.quotKerEquivOfSurjective hf (Submodule.Quotient.mk x) = f x := rfl |
| 29 | rw [← hx] |
| 30 | change IsogenyQuotient.Basis.Construction.basisDiagonalQuotientEquiv q b (fun _ => h) |
| 31 | ((QuotientAddGroup.quotientAddEquivOfEq (congrArg Submodule.toAddSubgroup hker)) |
| 32 | ((f.quotKerEquivOfSurjective hf).symm |
| 33 | (f.quotKerEquivOfSurjective hf (Submodule.Quotient.mk x)))) = _ |
| 34 | rw [LinearEquiv.symm_apply_apply] |
| 35 | rfl |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ExactResidueCoordinates.Construction |