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.ReferenceFamily.Complex.ComplexLevel |
| 2 | |
| 3 | /-! # Level Labels -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.LevelLabels |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An arbitrary prescribed ordering of the actual complex torsion |
| 10 | points extends to a native full level on every test scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Complex.ComplexLevel |
| 16 | |
| 17 | variable {g N : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 18 | |
| 19 | def fullLevelPointEquiv (l : A.FullLevel N) : |
| 20 | Multiplicative (Fin (2 * g) → ZMod N) ≃* A.torsionPoints N (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) := |
| 21 | (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Complex.ComplexLevel.constantValuesEquiv _).trans ((l.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase))).groupIsoToMulEquiv) |
| 22 | |
| 23 | def relabelFullLevel (l : A.FullLevel N) |
| 24 | (ec : Multiplicative (Fin (2 * g) → ZMod N) ≃* |
| 25 | A.torsionPoints N (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) : A.FullLevel N := |
| 26 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.GroupIsomorphisms.constantGroupIsoOfLabels |
| 27 | (LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase (ec.trans (fullLevelPointEquiv A l).symm)) ≪≫ l |
| 28 | |
| 29 | theorem relabelFullLevel_points (l : A.FullLevel N) |
| 30 | (ec : Multiplicative (Fin (2 * g) → ZMod N) ≃* |
| 31 | A.torsionPoints N (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) : |
| 32 | fullLevelPointEquiv A (relabelFullLevel A l ec) = ec := by |
| 33 | apply MulEquiv.ext |
| 34 | intro a |
| 35 | change l.hom.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) |
| 36 | (LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ((fullLevelPointEquiv A l).symm (ec a))) = ec a |
| 37 | exact (fullLevelPointEquiv A l).apply_symm_apply (ec a) |
| 38 | |
| 39 | theorem exists_fullLevel_with_labels |
| 40 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) [NeZero N] |
| 41 | (ec : Multiplicative (Fin (2 * g) → ZMod N) ≃* |
| 42 | A.torsionPoints N (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) : |
| 43 | ∃ l : A.FullLevel N, fullLevelPointEquiv A l = ec := |
| 44 | ⟨relabelFullLevel A (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Complex.ComplexLevel.fullLevel A P N) ec, |
| 45 | relabelFullLevel_points A (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Complex.ComplexLevel.fullLevel A P N) ec⟩ |
| 46 | |
| 47 | theorem fullLevelMap_ext_on_complex {d : ℕ} (l : A.FullLevel N) |
| 48 | {α β : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor d N AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ A.torsionFunctor N} |
| 49 | (h : ∀ a : Multiplicative (Fin (2 * d) → ZMod N), |
| 50 | α.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) (LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase a) = |
| 51 | β.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) (LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase a)) : α = β := by |
| 52 | have he : α ≫ l.inv = β ≫ l.inv := by |
| 53 | apply AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.GroupMaps.constantGroupMap_ext |
| 54 | intro z |
| 55 | apply MonoidHom.ext |
| 56 | intro a |
| 57 | change LocallyConstant.toFun (l.inv.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) |
| 58 | (α.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) (LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase a))) z = |
| 59 | LocallyConstant.toFun (l.inv.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) |
| 60 | (β.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) (LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase a))) z |
| 61 | rw [h a] |
| 62 | have hc := congrArg (fun t => t ≫ l.hom) he |
| 63 | simpa only [Category.assoc, l.inv_hom_id, Category.comp_id] using hc |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.RepresentationTheory.Theta.Geometric.LevelLabels |