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.Affine.HomSectionsEquiv |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections |
| 3 | |
| 4 | /-! # Hom Principal Ext -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomPrincipalExt |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! To compare internal-Hom sections on a principal affine subopen, |
| 11 | it suffices to evaluate on restrictions of the original sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections |
| 21 | |
| 22 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (r : Γ(X, U)) |
| 23 | (M N : X.Modules) [M.IsQuasicoherent] |
| 24 | (a b : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, AffinePrincipal.Sections.openSubset U r)) |
| 25 | |
| 26 | include hU in |
| 27 | theorem ext |
| 28 | (h : ∀ m : Γ(M, U), |
| 29 | ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N (AffinePrincipal.Sections.openSubset U r) a (M.presheaf.map (AffinePrincipal.Sections.inclusion U r).op m) = |
| 30 | ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N (AffinePrincipal.Sections.openSubset U r) b (M.presheaf.map (AffinePrincipal.Sections.inclusion U r).op m)) : |
| 31 | a = b := by |
| 32 | apply (HomSectionsEquiv.equiv (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) M N).injective |
| 33 | apply LinearMap.ext |
| 34 | intro m |
| 35 | obtain ⟨z, rfl⟩ := (AffinePrincipal.Sections.iso U hU r M).surjective m |
| 36 | induction z using TensorProduct.inductionOn with |
| 37 | | tmul s m => |
| 38 | simp only [AffinePrincipal.Sections.iso_tmul, HomSectionsEquiv.equiv_apply, |
| 39 | map_smul, h] |
| 40 | | add x y hx hy => simpa only [map_add] using congrArg₂ (· + ·) hx hy |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomPrincipalExt |