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.HodgeConjecture.HeckeCycles.Finite.SchemePoints |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ConstantPointMap |
| 3 | |
| 4 | /-! # Point Retraction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PointRetraction.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite scheme over an algebraically closed field maps canonically |
| 11 | to the constant scheme of its rational points. The original rational |
| 12 | points give a section, while the fibers retain their nilpotent structure. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u |
| 17 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 18 | (T : Over (Spec (.of k))) [IsFinite T.hom] |
| 19 | |
| 20 | def labels : LocallyConstant T.left (Over.mk (𝟙 (Spec (.of k))) ⟶ T) := by |
| 21 | let : DiscreteTopology T.left := SchemePoints.CM.discreteTopology T |
| 22 | exact ⟨(SchemePoints.CM.pointsEquiv T).symm, |
| 23 | IsLocallyConstant.of_discrete _⟩ |
| 24 | |
| 25 | theorem labels_point (p : Over.mk (𝟙 (Spec (.of k))) ⟶ T) : |
| 26 | labels T (SchemePoints.CM.pointsEquiv T p) = p := |
| 27 | (SchemePoints.CM.pointsEquiv T).symm_apply_apply p |
| 28 | |
| 29 | def retraction : T ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) := |
| 30 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointInverse T (labels T) |
| 31 | |
| 32 | theorem retraction_points (p : Over.mk (𝟙 (Spec (.of k))) ⟶ T) : |
| 33 | p ≫ retraction T = |
| 34 | ConstantPointMap.CM.point (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) p := by |
| 35 | apply (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) |
| 36 | (Over.mk (𝟙 (Spec (.of k))))).injective |
| 37 | apply LocallyConstant.ext |
| 38 | intro z |
| 39 | change AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T (retraction T) (p.left z) = |
| 40 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) |
| 41 | (Sigma.ι (fun _ : Over.mk (𝟙 (Spec (.of k))) ⟶ T => Spec (.of k)) p z) |
| 42 | calc |
| 43 | _ = labels T (p.left z) := |
| 44 | congrArg (fun c : LocallyConstant T.left (Over.mk (𝟙 (Spec (.of k))) ⟶ T) => c (p.left z)) |
| 45 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint_rightInverse T (labels T)) |
| 46 | _ = labels T (SchemePoints.CM.pointsEquiv T p) := |
| 47 | congrArg (fun w => labels T (p.left w)) |
| 48 | (Subsingleton.elim (α := Spec (.of k)) z (IsLocalRing.closedPoint k)) |
| 49 | _ = p := labels_point T p |
| 50 | _ = _ := (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex_ι p z).symm |
| 51 | |
| 52 | theorem hom_ext_to_constant (I : Type u) |
| 53 | (f g : T ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I) |
| 54 | (h : ∀ p : Over.mk (𝟙 (Spec (.of k))) ⟶ T, p ≫ f = p ≫ g) : f = g := by |
| 55 | apply (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of k)) I T).injective |
| 56 | apply LocallyConstant.ext |
| 57 | intro t |
| 58 | obtain ⟨p, rfl⟩ := (SchemePoints.CM.pointsEquiv T).surjective t |
| 59 | exact congrArg (fun z : Over.mk (𝟙 (Spec (.of k))) ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I => |
| 60 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (Over.mk (𝟙 (Spec (.of k)))) z (IsLocalRing.closedPoint k)) (h p) |
| 61 | |
| 62 | theorem section_retraction : |
| 63 | ConstantPointMap.CM.ofPoints (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) T id ≫ |
| 64 | retraction T = 𝟙 _ := by |
| 65 | apply ConstantPointMap.CM.hom_ext (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) |
| 66 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T)) |
| 67 | intro p |
| 68 | exact (Category.assoc _ _ _).symm.trans |
| 69 | ((congrArg (fun z => z ≫ retraction T) |
| 70 | (ConstantPointMap.CM.point_ofPoints (Spec (.of k)) |
| 71 | (Over.mk (𝟙 (Spec (.of k))) ⟶ T) T id p)).trans |
| 72 | ((retraction_points T p).trans (Category.comp_id _).symm)) |
| 73 | |
| 74 | def pointMap {U : Over (Spec (.of k))} (f : T ⟶ U) : |
| 75 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) ⟶ |
| 76 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ U) := |
| 77 | ConstantPointMap.CM.ofPoints (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) |
| 78 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ U)) |
| 79 | (fun p => ConstantPointMap.CM.point (Spec (.of k)) |
| 80 | (Over.mk (𝟙 (Spec (.of k))) ⟶ U) (p ≫ f)) |
| 81 | |
| 82 | theorem naturality (U : Over (Spec (.of k))) [IsFinite U.hom] (f : T ⟶ U) : |
| 83 | f ≫ retraction U = retraction T ≫ pointMap T f := by |
| 84 | apply hom_ext_to_constant T (Over.mk (𝟙 (Spec (.of k))) ⟶ U) |
| 85 | intro p |
| 86 | calc |
| 87 | p ≫ f ≫ retraction U = (p ≫ f) ≫ retraction U := (Category.assoc _ _ _).symm |
| 88 | _ = ConstantPointMap.CM.point (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ U) (p ≫ f) := |
| 89 | retraction_points U (p ≫ f) |
| 90 | _ = ConstantPointMap.CM.point (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ T) p ≫ |
| 91 | pointMap T f := |
| 92 | (ConstantPointMap.CM.point_ofPoints (Spec (.of k)) |
| 93 | (Over.mk (𝟙 (Spec (.of k))) ⟶ T) |
| 94 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) (Over.mk (𝟙 (Spec (.of k))) ⟶ U)) |
| 95 | (fun p => ConstantPointMap.CM.point (Spec (.of k)) |
| 96 | (Over.mk (𝟙 (Spec (.of k))) ⟶ U) (p ≫ f)) p).symm |
| 97 | _ = (p ≫ retraction T) ≫ pointMap T f := |
| 98 | congrArg (fun z => z ≫ pointMap T f) (retraction_points T p).symm |
| 99 | _ = p ≫ retraction T ≫ pointMap T f := Category.assoc _ _ _ |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PointRetraction.CM |