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.ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnitCoefficient |
| 2 | |
| 3 | /-! # Tensor Section Frame Coefficients -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorSectionFrameCoefficients.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A tensor-frame coefficient can be read in any compatible line-bundle trivialization. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory Opposite |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | local instance tensorSectionFrameCoefficientsMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 16 | AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 17 | |
| 18 | theorem tensorSectionGlobalCoefficient_of_frame |
| 19 | {X : Scheme.{u}} (M : X.Modules) {P Q : X.Modules} |
| 20 | (a : 𝟙_ X.Modules ⟶ P) (U : X.Opens) |
| 21 | [IsIso ((Scheme.Modules.pullback U.ι).map a)] (e : M ⊗ P ≅ Q) |
| 22 | (f : Q.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 23 | (s : Γ(Q, ⊤)) (hs : AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationCoefficient Q U f s = 1) |
| 24 | (m : Γ(M, U)) |
| 25 | (hm : e.hom.app U ((TensorSectionFrame.Construction.tensorByUnitSection M a).app U m) = |
| 26 | Q.presheaf.map (homOfLE (le_top : U ≤ ⊤)).op s) |
| 27 | (x : Γ(M ⊗ P, ⊤)) : |
| 28 | TensorSectionRestriction.Construction.tensorSectionGlobalCoefficient M a U x = |
| 29 | AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationCoefficient Q U f (e.hom.app ⊤ x) • m := by |
| 30 | apply (TensorSectionFrame.Construction.tensorSectionFrameAppEquiv M a U).injective |
| 31 | have : IsIso (e.hom.app U) := TensorSectionFrame.Construction.moduleMap_app_isIso_of_pullback e.hom U |
| 32 | apply (ConcreteCategory.bijective_of_isIso (e.hom.app U)).injective |
| 33 | have ht : (TensorSectionFrame.Construction.tensorSectionFrameAppEquiv M a U) (TensorSectionRestriction.Construction.tensorSectionGlobalCoefficient M a U x) = |
| 34 | (M ⊗ P).presheaf.map (homOfLE (le_top : U ≤ ⊤)).op x := |
| 35 | (TensorSectionFrame.Construction.tensorSectionFrameAppEquiv M a U).apply_symm_apply _ |
| 36 | rw [ht, LinearEquiv.map_smul] |
| 37 | have hn := PresheafOfModules.naturality_apply e.hom.val |
| 38 | (homOfLE (le_top : U ≤ ⊤)).op x |
| 39 | have he := (e.hom.val.app (op U)).hom.map_smul |
| 40 | (AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationCoefficient Q U f (e.hom.app ⊤ x)) |
| 41 | ((TensorSectionFrame.Construction.tensorSectionFrameAppEquiv M a U) m) |
| 42 | have hh := AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.restrict_eq_coefficient_smul_generator Q U f s (e.hom.app ⊤ x) hs |
| 43 | exact hn.trans (hh.trans ((congrArg (fun y : Γ(Q, U) => |
| 44 | AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationCoefficient Q U f (e.hom.app ⊤ x) • y) hm).symm.trans he.symm)) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorSectionFrameCoefficients.Construction |