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.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTopFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopHomology |
| 3 | |
| 4 | /-! # Additive Top Fraction Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTopFractionCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The additive residue input is the original single-degree class, |
| 11 | expressed through its canonical coefficient and unshifted coordinates. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 16 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 17 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 18 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 19 | (hp : IsPullback f Y.hom X.hom |
| 20 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 21 | (U : X.left.affineOpens) (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 22 | (a : Fin g → Γ(X.left,U.val)) |
| 23 | |
| 24 | def ordinaryClass (r : WittVector p k) := |
| 25 | (PrincipalTopHomology.coefficientIso p k n X U g a g).hom |
| 26 | (PrincipalTopFraction.ordinaryClass p k n X Y f hp U g a r) |
| 27 | |
| 28 | def singleClass (r : WittVector p k) := |
| 29 | (PrincipalTopHomology.originalIso p k n X U g a g).inv |
| 30 | (ordinaryClass p k n X Y f hp U g a r) |
| 31 | |
| 32 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] [SmoothOfRelativeDimension g X.hom] in |
| 33 | theorem input_coordinates (r : WittVector p k) : |
| 34 | (PrincipalTopHomology.originalIso p k n X U g a g).hom |
| 35 | (AdditiveTopFraction.input p k n X Y f hp U g a r) = |
| 36 | ordinaryClass p k n X Y f hp U g a r := by |
| 37 | have h := ConcreteCategory.congr_hom |
| 38 | (PrincipalTopHomology.input_coordinates p k n X U g a g) |
| 39 | (PrincipalTopFraction.singleClass p k n X Y f hp U g a r) |
| 40 | change (PrincipalTopHomology.originalIso p k n X U g a g).hom |
| 41 | (AdditiveTopFraction.input p k n X Y f hp U g a r) = |
| 42 | (PrincipalTopHomology.coefficientIso p k n X U g a g).hom |
| 43 | ((PrincipalTopHomology.nativeIso p k n X U g a g).hom |
| 44 | ((PrincipalTopHomology.nativeIso p k n X U g a g).inv |
| 45 | (PrincipalTopFraction.ordinaryClass p k n X Y f hp U g a r))) at h |
| 46 | rw [Iso.inv_hom_id_apply] at h |
| 47 | exact h |
| 48 | |
| 49 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] [SmoothOfRelativeDimension g X.hom] in |
| 50 | theorem input_eq (r : WittVector p k) : |
| 51 | AdditiveTopFraction.input p k n X Y f hp U g a r = |
| 52 | singleClass p k n X Y f hp U g a r := by |
| 53 | apply (ConcreteCategory.bijective_of_isIso |
| 54 | (PrincipalTopHomology.originalIso p k n X U g a g).hom).injective |
| 55 | rw [input_coordinates, singleClass, Iso.inv_hom_id_apply] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTopFractionCoordinates |