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.Finite.FamilyPowers |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.FamilyMorphismLabels |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.MorphismFunctor |
| 4 | |
| 5 | /-! # Constant Morphism Parameters -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ConstantMorphismParameters |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Maps from a finite constant family into a pointed projective family are naturally represented by a concrete finite power of that family. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} (A : Over S) (I : Type u) [Fintype I] |
| 19 | |
| 20 | def finiteConstantMorphismParameter : Over S := FamilyPowers.finiteLabelFamilyPower A I |
| 21 | |
| 22 | def finiteConstantMorphismParameterPointEquiv (T : Over S) : |
| 23 | (T ⟶ finiteConstantMorphismParameter A I) ≃ |
| 24 | ((Over.pullback T.hom).obj (ConstantScheme.Iff.constantScheme S I) ⟶ (Over.pullback T.hom).obj A) := |
| 25 | (FamilyPowers.finiteLabelFamilyPowerPoints A I T).trans (Constant.FamilyMorphismLabels.constantFamilyMorphismLabelsEquiv A I T).symm |
| 26 | |
| 27 | theorem finiteConstantMorphismParameterPointEquiv_labels (T : Over S) |
| 28 | (p : T ⟶ finiteConstantMorphismParameter A I) : |
| 29 | Constant.FamilyMorphismLabels.constantFamilyMorphismLabelsEquiv A I T (finiteConstantMorphismParameterPointEquiv A I T p) = |
| 30 | FamilyPowers.finiteLabelFamilyPowerPoints A I T p := |
| 31 | (Constant.FamilyMorphismLabels.constantFamilyMorphismLabelsEquiv A I T).apply_symm_apply _ |
| 32 | |
| 33 | theorem finiteConstantMorphismParameterPointEquiv_natural {U T : Over S} (c : U ⟶ T) |
| 34 | (p : T ⟶ finiteConstantMorphismParameter A I) : |
| 35 | finiteConstantMorphismParameterPointEquiv A I U (c ≫ p) = |
| 36 | Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange c (finiteConstantMorphismParameterPointEquiv A I T p) := by |
| 37 | apply (Constant.FamilyMorphismLabels.constantFamilyMorphismLabelsEquiv A I U).injective |
| 38 | funext i |
| 39 | rw [finiteConstantMorphismParameterPointEquiv_labels, Constant.FamilyMorphismLabels.constantFamilyMorphismLabelsEquiv_natural, |
| 40 | finiteConstantMorphismParameterPointEquiv_labels] |
| 41 | exact FamilyPowers.finiteFamilyPowerPoints_natural A (Fintype.card I) c p (Fintype.equivFin I i) |
| 42 | |
| 43 | def finiteConstantMorphismClassifyingIso : |
| 44 | yoneda.obj (finiteConstantMorphismParameter A I) ≅ Geometric.MorphismFunctor.geometricFamilyMorphismFunctor (ConstantScheme.Iff.constantScheme S I) A := |
| 45 | NatIso.ofComponents (fun T => (finiteConstantMorphismParameterPointEquiv A I T.unop).toIso) (by |
| 46 | intro T U c |
| 47 | apply ConcreteCategory.hom_ext |
| 48 | intro p |
| 49 | exact finiteConstantMorphismParameterPointEquiv_natural A I c.unop p) |
| 50 | |
| 51 | def finiteConstantMorphismParameterProjective (P : Projective.ProjectivePresentations.ProjectivePresentation A) |
| 52 | (x : 𝟙_ (Over S) ⟶ A) [IsClosedImmersion x.left] : |
| 53 | Projective.ProjectivePresentations.ProjectivePresentation (finiteConstantMorphismParameter A I) := |
| 54 | FamilyPowers.finiteFamilyPowerProjective A P x (Fintype.card I) |
| 55 | |
| 56 | def finiteConstantUniversalMorphism : |
| 57 | (Over.pullback (finiteConstantMorphismParameter A I).hom).obj (ConstantScheme.Iff.constantScheme S I) ⟶ |
| 58 | (Over.pullback (finiteConstantMorphismParameter A I).hom).obj A := |
| 59 | finiteConstantMorphismParameterPointEquiv A I _ (𝟙 _) |
| 60 | |
| 61 | theorem finiteConstantUniversalMorphism_point {T : Over S} |
| 62 | (p : T ⟶ finiteConstantMorphismParameter A I) : |
| 63 | finiteConstantMorphismParameterPointEquiv A I T p = |
| 64 | Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange p (finiteConstantUniversalMorphism A I) := by |
| 65 | have h := finiteConstantMorphismParameterPointEquiv_natural A I p (𝟙 _) |
| 66 | rw [Category.comp_id] at h |
| 67 | exact h |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ConstantMorphismParameters |