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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/Picard/DualPullback/UnitComp.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.Evaluation |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.RestrictionUnit |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineRankOne |
| 10 | |
| 11 | /-! # Section Identities -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.SectionIdentities |
| 14 | |
| 15 | open _root_.AlgebraicGeometry |
| 16 | open _root_.AlgebraicGeometry.Scheme |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | /-! Component identities for module isomorphisms and chosen section maps. -/ |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | open _root_.CategoryTheory Opposite |
| 23 | universe u |
| 24 | namespace Scheme.Modules |
| 25 | |
| 26 | noncomputable def topSectionHom {X : Scheme.{u}} (M : X.Modules) |
| 27 | (x : Γ(M, (⊤ : X.Opens))) : Invertible.Scheme.Modules.unitObj X ⟶ M := |
| 28 | M.unitHomEquiv.symm (AffineRankOne.globalSectionFamily M x) |
| 29 | |
| 30 | @[simp] |
| 31 | theorem topSectionHom_app_top_apply_one {X : Scheme.{u}} (M : X.Modules) |
| 32 | (x : Γ(M, (⊤ : X.Opens))) : |
| 33 | (topSectionHom M x).val.app (op ⊤) (show Γ(X, ⊤) from 1) = x := by |
| 34 | change (AffineRankOne.globalGeneratorHom M x).val.app (op ⊤) |
| 35 | (show Γ(X, ⊤) from 1) = x |
| 36 | rw [AffineRankOne.globalGeneratorHom_top, one_smul] |
| 37 | |
| 38 | theorem restrictUnitIso_inv_app_applyP {A B : Scheme.{u}} (g : A ⟶ B) |
| 39 | [IsOpenImmersion g] (W : A.Opens) (x : Γ(A, W)) : |
| 40 | ((restrictUnitIso g).inv.val.app (op W)).hom' x = (g.appIso W).inv x := rfl |
| 41 | |
| 42 | theorem iso_inv_hom_app_applyT {X : Scheme.{u}} {M N : X.Modules} |
| 43 | (e : M ≅ N) (U : X.Opensᵒᵖ) (x : N.val.obj U) : |
| 44 | e.hom.val.app U (e.inv.val.app U x) = x := |
| 45 | ConcreteCategory.congr_hom (congrArg (fun f => f.val.app U) e.inv_hom_id) x |
| 46 | |
| 47 | local instance (X : Scheme.{u}) : |
| 48 | ∀ U, IsMulCommutative (X.ringCatSheaf.obj.obj U) := fun U => by |
| 49 | change IsMulCommutative (X.presheaf.obj U) |
| 50 | exact IsMulCommutative.of_comm fun a b => mul_comm a b |
| 51 | |
| 52 | theorem dualOverIsoOfIso_inv_terminal_apply_oneT {X : Scheme.{u}} |
| 53 | (M : X.Modules) (U : X.Opens) |
| 54 | (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 55 | (Dual.SheafOfModules.dualOverIsoOfIso |
| 56 | X.ringCatSheaf M U e).inv.val.app |
| 57 | (op (Over.mk (𝟙 U))) (show Γ(X, U) from 1) = e.hom := by |
| 58 | apply SheafOfModules.hom_ext |
| 59 | apply PresheafOfModules.hom_ext |
| 60 | intro W |
| 61 | apply ModuleCat.hom_ext |
| 62 | apply LinearMap.ext |
| 63 | intro x |
| 64 | change (show Γ(X, W.unop.left) from e.hom.val.app W x) * |
| 65 | X.presheaf.map W.unop.hom.op 1 = e.hom.val.app W x |
| 66 | rw [map_one, mul_one] |
| 67 | |
| 68 | end Scheme.Modules |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.SectionIdentities |