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.Constant.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Morphisms |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RepresentingIsoPoints |
| 4 | |
| 5 | /-! # Base Change Labels -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.BaseChangeLabels |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical base-change isomorphism for a constant scheme preserves each actual labeled section. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S T : Scheme.{u}} (f : T ⟶ S) (I : Type u) |
| 18 | |
| 19 | theorem constantSchemeBaseChangeIso_index (z : (ConstantScheme.Iff.constantScheme T I).left) : |
| 20 | ConstantScheme.Iff.constantSchemeIndex S I |
| 21 | (((BaseChange.constantSchemeBaseChangeIso f I).hom.left ≫ pullback.fst (ConstantScheme.Iff.constantScheme S I).hom f) z) = |
| 22 | ConstantScheme.Iff.constantSchemeIndex T I z := by |
| 23 | have h := RepresentingIsoPoints.representingIso_homEquiv (BaseChange.constantSetRepresentable T I) |
| 24 | (BaseChange.constantSetPullbackRepresentable f I) (𝟙 (ConstantScheme.Iff.constantScheme T I)) |
| 25 | rw [Category.id_comp] at h |
| 26 | exact congrArg (fun a : LocallyConstant (ConstantScheme.Iff.constantScheme T I).left I => a z) h |
| 27 | |
| 28 | theorem constantSchemeBaseChangeIso_projection_over : |
| 29 | ((BaseChange.constantSchemeBaseChangeIso f I).hom.left ≫ pullback.fst (ConstantScheme.Iff.constantScheme S I).hom f) ≫ |
| 30 | (ConstantScheme.Iff.constantScheme S I).hom = (ConstantScheme.Iff.constantScheme T I).hom ≫ f := by |
| 31 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 32 | exact congrArg (fun a => a ≫ f) (BaseChange.constantSchemeBaseChangeIso f I).hom.w |
| 33 | |
| 34 | theorem constantSchemeBaseChangeIso_label_fst (i : I) : |
| 35 | (ConstantScheme.Morphisms.constantSchemeLabelPoint T I i ≫ (BaseChange.constantSchemeBaseChangeIso f I).hom).left ≫ |
| 36 | pullback.fst (ConstantScheme.Iff.constantScheme S I).hom f = f ≫ (ConstantScheme.Morphisms.constantSchemeLabelPoint S I i).left := by |
| 37 | let q : T ⟶ (ConstantScheme.Iff.constantScheme S I).left := |
| 38 | (ConstantScheme.Morphisms.constantSchemeLabelPoint T I i).left ≫ |
| 39 | (BaseChange.constantSchemeBaseChangeIso f I).hom.left ≫ pullback.fst (ConstantScheme.Iff.constantScheme S I).hom f |
| 40 | have hq : q ≫ (ConstantScheme.Iff.constantScheme S I).hom = f := by |
| 41 | change ((ConstantScheme.Morphisms.constantSchemeLabelPoint T I i).left ≫ |
| 42 | ((BaseChange.constantSchemeBaseChangeIso f I).hom.left ≫ pullback.fst (ConstantScheme.Iff.constantScheme S I).hom f)) ≫ |
| 43 | (ConstantScheme.Iff.constantScheme S I).hom = f |
| 44 | rw [Category.assoc, constantSchemeBaseChangeIso_projection_over, ← Category.assoc] |
| 45 | exact (congrArg (fun a : T ⟶ T => a ≫ f) (ConstantScheme.Morphisms.constantSchemeLabelPoint T I i).w).trans (Category.id_comp f) |
| 46 | have hi : ∀ z : T, ConstantScheme.Iff.constantSchemeIndex S I (q z) = i := by |
| 47 | intro z |
| 48 | exact (constantSchemeBaseChangeIso_index f I ((ConstantScheme.Morphisms.constantSchemeLabelPoint T I i).left z)).trans |
| 49 | (ConstantScheme.Iff.constantSchemeIndex_ι i z) |
| 50 | have h := ConstantScheme.Iff.constantScheme_factor q i hi |
| 51 | rw [hq] at h |
| 52 | exact (Category.assoc _ _ _).trans h |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.BaseChangeLabels |