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.AbelianModuli.HilbertConstruction.Tensor.Powers |
| 2 | |
| 3 | /-! # Unit Tensor Power -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.UnitTensorPower |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The structure module represents each of its tensor powers. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Powers |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (X : Scheme.{u}) (n : ℕ) |
| 21 | |
| 22 | def unitTensorMultilinear : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) n (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) where |
| 23 | app U := MultilinearMap.mkPiAlgebra Γ(X, U) (Fin n) Γ(X, U) |
| 24 | naturality {U V} h s := by |
| 25 | change X.presheaf.map h.op (∏ i, s i) = ∏ i, X.presheaf.map h.op (s i) |
| 26 | exact map_prod (X.presheaf.map h.op).hom _ _ |
| 27 | |
| 28 | def unitMultilinearToHom {P : X.Modules} (β : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) n P) : |
| 29 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ P where |
| 30 | val.app U := ModuleCat.ofHom (LinearMap.toSpanSingleton Γ(X, U.unop) Γ(P, U.unop) |
| 31 | (β.app U.unop (fun _ => (1 : Γ(X, U.unop))))) |
| 32 | val.naturality {U V} h := by |
| 33 | apply ModuleCat.hom_ext |
| 34 | apply LinearMap.ext |
| 35 | intro r |
| 36 | change Γ(X, U.unop) at r |
| 37 | change (show Γ(X, V.unop) from X.presheaf.map h r) • |
| 38 | β.app V.unop (fun _ => (1 : Γ(X, V.unop))) = |
| 39 | P.val.map h (r • β.app U.unop (fun _ => (1 : Γ(X, U.unop)))) |
| 40 | erw [P.val.map_smul] |
| 41 | apply congrArg ((show Γ(X, V.unop) from X.presheaf.map h r) • ·) |
| 42 | have hn := (β.naturality h.unop (fun _ => (1 : Γ(X, U.unop)))).symm |
| 43 | change β.app V.unop (fun _ => X.presheaf.map h (1 : Γ(X, U.unop))) = _ at hn |
| 44 | erw [map_one] at hn |
| 45 | exact hn |
| 46 | |
| 47 | theorem unitTensorMultilinear_postcomp {P : X.Modules} |
| 48 | (β : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) n P) : |
| 49 | (unitTensorMultilinear X n).postcomp (unitMultilinearToHom X n β) = β := by |
| 50 | apply AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.ext |
| 51 | intro U |
| 52 | apply MultilinearMap.ext |
| 53 | intro s |
| 54 | change (Fin n → Γ(X, U)) at s |
| 55 | change (∏ i, s i) • β.app U (fun _ => (1 : Γ(X, U))) = β.app U s |
| 56 | have h := ((β.app U).map_smul_univ s (fun _ => (1 : Γ(X, U)))).symm |
| 57 | change (∏ i, s i) • β.app U (fun _ => (1 : Γ(X, U))) = β.app U (fun i => s i * 1) at h |
| 58 | exact h.trans (congrArg (β.app U) (funext (fun i => mul_one (s i)))) |
| 59 | |
| 60 | theorem unitMultilinearToHom_postcomp {P : X.Modules} (f : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ P) : |
| 61 | unitMultilinearToHom X n ((unitTensorMultilinear X n).postcomp f) = f := by |
| 62 | apply Scheme.Modules.hom_ext |
| 63 | intro U |
| 64 | apply ConcreteCategory.hom_ext |
| 65 | intro r |
| 66 | change Γ(X, U) at r |
| 67 | have hprod : (unitTensorMultilinear X n).app U (fun _ => (1 : Γ(X, U))) = |
| 68 | (1 : Γ(X, U)) := by |
| 69 | change (∏ _ : Fin n, (1 : Γ(X, U))) = 1 |
| 70 | exact Finset.prod_const_one |
| 71 | change r • f.app U ((unitTensorMultilinear X n).app U (fun _ => (1 : Γ(X, U)))) = _ |
| 72 | erw [hprod] |
| 73 | exact (f.app_smul r (1 : Γ(X, U))).symm.trans |
| 74 | (congrArg (fun a : Γ(X, U) => f.app U a) (mul_one r)) |
| 75 | |
| 76 | theorem unit_isTensorPower : AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) n (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := by |
| 77 | refine ⟨unitTensorMultilinear X n, fun P => ⟨?_, ?_⟩⟩ |
| 78 | · intro f g h |
| 79 | have h' := congrArg (unitMultilinearToHom X n) h |
| 80 | simpa only [unitMultilinearToHom_postcomp] using h' |
| 81 | · intro β |
| 82 | exact ⟨unitMultilinearToHom X n β, unitTensorMultilinear_postcomp X n β⟩ |
| 83 | |
| 84 | end Construction |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.UnitTensorPower |