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.AlgebraicGeometry.SheafCohomology.Projective.GlobalTensorSectionCoherence |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorSectionBilinear |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 4 | |
| 5 | /-! # Tensor Section Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.TensorSectionMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Tensoring by an actual section, and its global coefficient in a specified frame. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory MonoidalCategory Opposite OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | attribute [local instance] SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 22 | |
| 23 | def structureLeftUnitor {X : Scheme.{u}} (M : X.Modules) : |
| 24 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⊗ M ≅ M := |
| 25 | ((SheafCohomology.Projective.TensorSections.monoidalUnitObjIso X).symm ⊗ᵢ Iso.refl M) ≪≫ λ_ M |
| 26 | |
| 27 | theorem structureLeftUnitor_tensorSection_top {X : Scheme.{u}} (M : X.Modules) |
| 28 | (r : Γ(X, ⊤)) (x : Γ(M, ⊤)) : |
| 29 | (structureLeftUnitor M).hom.val.app (op ⊤) (SheafCohomology.Projective.TensorSections.tensorSection (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) M ⊤ r x) = r • x := by |
| 30 | have h1 : (structureLeftUnitor M).hom.val.app (op ⊤) |
| 31 | (SheafCohomology.Projective.TensorSections.tensorSection (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) M ⊤ (1 : Γ(X, ⊤)) x) = x := by |
| 32 | change (λ_ M).hom.val.app (op ⊤) |
| 33 | (((SheafCohomology.Projective.TensorSections.monoidalUnitObjIso X).inv ⊗ₘ 𝟙 M).val.app (op ⊤) |
| 34 | (SheafCohomology.Projective.TensorSections.tensorSection (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) M ⊤ (1 : Γ(X, ⊤)) x)) = x |
| 35 | exact (congrArg ((λ_ M).hom.val.app (op ⊤)) |
| 36 | (SheafCohomology.Projective.TensorFrameSections.tensorSection_map (SheafCohomology.Projective.TensorSections.monoidalUnitObjIso X).inv (𝟙 M) ⊤ (1 : Γ(X, ⊤)) x)).trans |
| 37 | (SheafCohomology.Projective.GlobalTensorSectionCoherence.leftUnitor_tensorSection_top M x) |
| 38 | have hr : (r : Γ(AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X, ⊤)) = r • (1 : Γ(X, ⊤)) := (mul_one r).symm |
| 39 | calc |
| 40 | _ = (structureLeftUnitor M).hom.val.app (op ⊤) |
| 41 | (SheafCohomology.Projective.TensorSections.tensorSection (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) M ⊤ (r • (1 : Γ(X, ⊤))) x) := |
| 42 | congrArg (fun t => (structureLeftUnitor M).hom.val.app (op ⊤) |
| 43 | (SheafCohomology.Projective.TensorSections.tensorSection (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) M ⊤ t x)) hr |
| 44 | _ = _ := by rw [SheafCohomology.Projective.TensorSectionBilinear.tensorSection_smul_left, map_smul, h1] |
| 45 | |
| 46 | def tensorSectionMap {X : Scheme.{u}} {P : X.Modules} |
| 47 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ P) (M : X.Modules) : M ⟶ P ⊗ M := |
| 48 | (structureLeftUnitor M).inv ≫ (s ⊗ₘ 𝟙 M) |
| 49 | |
| 50 | theorem tensorSectionMap_top {X : Scheme.{u}} {P : X.Modules} |
| 51 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ P) (M : X.Modules) (x : Γ(M, ⊤)) : |
| 52 | (tensorSectionMap s M).app ⊤ x = |
| 53 | SheafCohomology.Projective.TensorSections.tensorSection P M ⊤ (s.app ⊤ (1 : Γ(X, ⊤))) x := by |
| 54 | have h := congrArg ((structureLeftUnitor M).inv.app ⊤) |
| 55 | (structureLeftUnitor_tensorSection_top M 1 x) |
| 56 | rw [one_smul] at h |
| 57 | have hi : (structureLeftUnitor M).inv.app ⊤ x = |
| 58 | SheafCohomology.Projective.TensorSections.tensorSection (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) M ⊤ (1 : Γ(X, ⊤)) x := by |
| 59 | exact h.symm.trans (SheafCohomology.Projective.SectionIdentities.Scheme.Modules.iso_inv_hom_app_applyT |
| 60 | (structureLeftUnitor M).symm (op ⊤) _) |
| 61 | change (s ⊗ₘ 𝟙 M).val.app (op ⊤) ((structureLeftUnitor M).inv.app ⊤ x) = _ |
| 62 | rw [hi] |
| 63 | exact SheafCohomology.Projective.TensorFrameSections.tensorSection_map s (𝟙 M) ⊤ (1 : Γ(X, ⊤)) x |
| 64 | |
| 65 | theorem tensorSectionMap_globalSections_injective_of_frame |
| 66 | {X : Scheme.{u}} {P : X.Modules} (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ P) (M : X.Modules) |
| 67 | (e : P ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 68 | (hr : Function.Injective (fun x : Γ(M, ⊤) => |
| 69 | (show Γ(X, ⊤) from (s ≫ e.hom).app ⊤ (1 : Γ(X, ⊤))) • x)) : |
| 70 | Function.Injective ((tensorSectionMap s M).app ⊤) := by |
| 71 | let d : P ⊗ M ≅ M := (e ⊗ᵢ Iso.refl M) ≪≫ structureLeftUnitor M |
| 72 | have hd (x : Γ(M, ⊤)) : |
| 73 | d.hom.app ⊤ ((tensorSectionMap s M).app ⊤ x) = |
| 74 | (show Γ(X, ⊤) from (s ≫ e.hom).app ⊤ (1 : Γ(X, ⊤))) • x := by |
| 75 | rw [tensorSectionMap_top] |
| 76 | change (structureLeftUnitor M).hom.val.app (op ⊤) |
| 77 | ((e.hom ⊗ₘ 𝟙 M).val.app (op ⊤) (SheafCohomology.Projective.TensorSections.tensorSection P M ⊤ _ x)) = _ |
| 78 | rw [SheafCohomology.Projective.TensorFrameSections.tensorSection_map] |
| 79 | exact structureLeftUnitor_tensorSection_top M _ x |
| 80 | intro x y h |
| 81 | apply hr |
| 82 | exact (hd x).symm.trans ((congrArg (d.hom.app ⊤) h).trans (hd y)) |
| 83 | |
| 84 | end Construction |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.TensorSectionMap |