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.AffinePrincipal.PrincipalComplex |
| 2 | |
| 3 | /-! # Hom -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Hom.Comparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The affine internal-Hom comparison respects the actual principal |
| 10 | restriction through the canonical tensor extension of its arguments. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomEvaluation |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (r : Γ(X, U)) |
| 23 | |
| 24 | abbrev tensorFunctor := PrincipalComplex.tensorFunctor U r |
| 25 | |
| 26 | def chartIso (M : X.Modules) [M.IsQuasicoherent] : |
| 27 | (tensorFunctor U r).obj ((AffineOpen.InternalHom.sections U hU).obj M) ≅ |
| 28 | (AffineOpen.InternalHom.sections (Sections.openSubset U r) (hU.basicOpen r)).obj M := |
| 29 | (tensorFunctor U r).mapIso (Affine.ChartSections.iso U hU M).symm ≪≫ |
| 30 | (Sections.iso U hU r M).toModuleIso ≪≫ |
| 31 | Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) M |
| 32 | |
| 33 | theorem chartIso_tmul (M : X.Modules) [M.IsQuasicoherent] |
| 34 | (a : Γ(X, Sections.openSubset U r)) (m : Γ(M, U)) : |
| 35 | (chartIso U hU r M).hom (a ⊗ₜ[Γ(X, U)] (Affine.ChartSections.iso U hU M).hom m) = |
| 36 | (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) M).hom |
| 37 | (a • M.presheaf.map (Sections.inclusion U r).op m) := by |
| 38 | change (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) M).hom |
| 39 | (Sections.iso U hU r M |
| 40 | (((Affine.ChartSections.iso U hU M).inv.hom.baseChange Γ(X, Sections.openSubset U r)) |
| 41 | (a ⊗ₜ[Γ(X, U)] (Affine.ChartSections.iso U hU M).hom m))) = _ |
| 42 | rw [LinearMap.baseChange_tmul, Iso.hom_inv_id_apply, Sections.iso_tmul] |
| 43 | |
| 44 | variable (M N : X.Modules) [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 45 | |
| 46 | theorem comparison_tmul (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U)) |
| 47 | (a : Γ(X, Sections.openSubset U r)) (x : (AffineOpen.InternalHom.sections U hU).obj M) : |
| 48 | Affine.HomEvaluation.chartEvaluation M N (Sections.openSubset U r) (hU.basicOpen r) |
| 49 | ((ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N).presheaf.map (Sections.inclusion U r).op q) |
| 50 | ((chartIso U hU r M).hom (a ⊗ₜ[Γ(X, U)] x)) = |
| 51 | (chartIso U hU r N).hom (a ⊗ₜ[Γ(X, U)] Affine.HomEvaluation.chartEvaluation M N U hU q x) := by |
| 52 | obtain ⟨m, rfl⟩ := (ConcreteCategory.bijective_of_isIso (Affine.ChartSections.iso U hU M).hom).surjective x |
| 53 | simp only [chartIso_tmul, Affine.HomEvaluation.chart_comparison_apply, map_smul] |
| 54 | rw [Affine.HomEvaluation.restriction] |
| 55 | |
| 56 | theorem comparison_square (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U)) : |
| 57 | (chartIso U hU r M).hom ≫ |
| 58 | Affine.HomEvaluation.chartEvaluation M N (Sections.openSubset U r) (hU.basicOpen r) |
| 59 | ((ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N).presheaf.map (Sections.inclusion U r).op q) = |
| 60 | (tensorFunctor U r).map (Affine.HomEvaluation.chartEvaluation M N U hU q) ≫ (chartIso U hU r N).hom := by |
| 61 | apply ConcreteCategory.hom_ext |
| 62 | intro z |
| 63 | induction z using TensorProduct.inductionOn with |
| 64 | | tmul a x => exact comparison_tmul U hU r M N q a x |
| 65 | | add x y hx hy => simpa only [map_add] using congrArg₂ (· + ·) hx hy |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Hom.Comparison |