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.Picard.PoincareBundle.Tensor.ExchangedRestriction |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.FiberPullbackComposition |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry |
| 4 | |
| 5 | /-! # External Tensor Symmetry -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.ExternalTensorSymmetry |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The external tensor square of a line bundle has its actual diagonal-normalized exchange symmetry. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Fibers OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry.Construction OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.LinePullback |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.FixedRestriction OAI.AlgebraicGeometry.Picard.PoincareBundle.FiberPullbackComposition |
| 20 | |
| 21 | variable {S : Scheme.{u}} (A : Over S) (L : Line.Bundles.LineBundle A.left) |
| 22 | |
| 23 | def firstIso : (Scheme.Modules.pullback (β_ A A).hom.left).obj (Line.Fibers.fiber L (fst A A)) ≅ Line.Fibers.fiber L (snd A A) := |
| 24 | Line.Fibers.fiberPullbackIso L (β_ A A).hom (fst A A) (snd A A) (braiding_hom_fst A A) |
| 25 | |
| 26 | def secondIso : (Scheme.Modules.pullback (β_ A A).hom.left).obj (Line.Fibers.fiber L (snd A A)) ≅ Line.Fibers.fiber L (fst A A) := |
| 27 | Line.Fibers.fiberPullbackIso L (β_ A A).hom (snd A A) (fst A A) (braiding_hom_snd A A) |
| 28 | |
| 29 | /-- The actual factor exchange of the external tensor square. -/ |
| 30 | def symmetry : |
| 31 | (Scheme.Modules.pullback (β_ A A).hom.left).obj (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (Line.Fibers.fiber L (fst A A)) (Line.Fibers.fiber L (snd A A))) ≅ |
| 32 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (Line.Fibers.fiber L (fst A A)) (Line.Fibers.fiber L (snd A A)) := |
| 33 | Tensor.LinePullback.pullbackIso (β_ A A).hom.left _ _ (Line.Fibers.fiber_isLine L (fst A A)) (Line.Fibers.fiber_isLine L (snd A A)) ≪≫ |
| 34 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr (firstIso A L) (secondIso A L) ≪≫ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCommIso _ _ |
| 35 | |
| 36 | /-- Restriction to the diagonal recovers the canonical identity comparison, rather than a scalar multiple. -/ |
| 37 | theorem diagonal : |
| 38 | (Scheme.Modules.pullback (AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry.Construction.groupDiagonal A).left).mapIso (symmetry A L) = |
| 39 | Tensor.FixedRestriction.comparison (AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry.Construction.groupDiagonal A).left (β_ A A).hom.left |
| 40 | (congrArg Over.Hom.left (AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry.Construction.groupDiagonal_swap A)) |
| 41 | (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (Line.Fibers.fiber L (fst A A)) (Line.Fibers.fiber L (snd A A))) := by |
| 42 | let p := AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry.Construction.groupDiagonal A |
| 43 | let g := (β_ A A).hom |
| 44 | let e₁ := Line.Fibers.fiberPullbackIso L p (fst A A) (𝟙 A) (lift_fst _ _) |
| 45 | let e₂ := Line.Fibers.fiberPullbackIso L p (snd A A) (𝟙 A) (lift_snd _ _) |
| 46 | apply Tensor.ExchangedRestriction.normalized_exchange p.left g.left |
| 47 | (congrArg Over.Hom.left (AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry.Construction.groupDiagonal_swap A)) _ _ |
| 48 | (Line.Fibers.fiber_isLine L (fst A A)) (Line.Fibers.fiber_isLine L (snd A A)) (firstIso A L) (secondIso A L) (e₁ ≪≫ e₂.symm) |
| 49 | · have h := FiberPullbackComposition.fiberIso_comp L g p p (AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry.Construction.groupDiagonal_swap A) (fst A A) (snd A A) (𝟙 A) |
| 50 | (braiding_hom_fst A A) (lift_snd _ _) (lift_fst _ _) |
| 51 | have h' := congrArg (fun q => q ≪≫ e₂.symm) h |
| 52 | simpa only [firstIso, Tensor.FixedRestriction.comparison, e₁, e₂, p, g, |
| 53 | Iso.trans_assoc, Iso.self_symm_id, Iso.trans_refl] using h' |
| 54 | · have h := FiberPullbackComposition.fiberIso_comp L g p p (AbelianScheme.IsogenyQuotient.DiagonalLineSymmetry.Construction.groupDiagonal_swap A) (snd A A) (fst A A) (𝟙 A) |
| 55 | (braiding_hom_snd A A) (lift_fst _ _) (lift_snd _ _) |
| 56 | have h' := congrArg (fun q => q ≪≫ e₁.symm) h |
| 57 | simpa only [secondIso, Tensor.FixedRestriction.comparison, e₁, e₂, p, g, |
| 58 | Iso.trans_symm, Iso.symm_symm_eq, Iso.trans_assoc, Iso.self_symm_id, Iso.trans_refl] using h' |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.ExternalTensorSymmetry |