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.Dual.CommonOpenDerivationExtension |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.OpenMapLaws |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleHomDerivation |
| 4 | |
| 5 | /-! # Affine Derivation Presheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.AffineDerivationPresheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual affine fiber rings and the linear restriction maps on |
| 14 | their derivations respect identities and successive open restrictions. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | attribute [local implicit_reducible] CommonOpenFiber.dualCommonOpenFiber CommonOpenFiber.dualAffineCommonOpenFiber |
| 19 | |
| 20 | variable (k : Type) [Field k] (X : Over (Spec (.of (DualNumber k)))) |
| 21 | |
| 22 | theorem dualAffineCommonOpenMap_id (V : X.left.affineOpens) : |
| 23 | CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X (le_refl V.1) = 𝟙 (CommonOpenFiber.dualAffineCommonOpenFiber k X V) := by |
| 24 | change (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map (OpenChart.dualFamilyOpenMap k X (le_refl V.1)) = 𝟙 _ |
| 25 | rw [OpenMapLaws.dualFamilyOpenMap_id, CategoryTheory.Functor.map_id] |
| 26 | |
| 27 | theorem dualAffineCommonOpenMap_comp {U V W : X.left.affineOpens} (h : U.1 ≤ V.1) (j : V.1 ≤ W.1) : |
| 28 | CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X h ≫ CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X j = |
| 29 | CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X (h.trans j) := by |
| 30 | change (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map (OpenChart.dualFamilyOpenMap k X h) ≫ |
| 31 | (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map (OpenChart.dualFamilyOpenMap k X j) = |
| 32 | (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map (OpenChart.dualFamilyOpenMap k X (h.trans j)) |
| 33 | rw [← CategoryTheory.Functor.map_comp, OpenMapLaws.dualFamilyOpenMap_comp] |
| 34 | |
| 35 | theorem dualAffineCommonOpenAlgebraMap_id (V : X.left.affineOpens) : |
| 36 | CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X (le_refl V.1) = |
| 37 | AlgHom.id k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (CommonOpenFiber.dualAffineCommonOpenFiber k X V)) := by |
| 38 | unfold CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap |
| 39 | rw [dualAffineCommonOpenMap_id, HilbertConstruction.Affine.OverFunctoriality.affineOverMap_id] |
| 40 | |
| 41 | theorem dualAffineCommonOpenAlgebraMap_comp {U V W : X.left.affineOpens} |
| 42 | (h : U.1 ≤ V.1) (j : V.1 ≤ W.1) : |
| 43 | CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X (h.trans j) = |
| 44 | (CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h).comp (CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X j) := by |
| 45 | unfold CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap |
| 46 | rw [← dualAffineCommonOpenMap_comp k X h j, HilbertConstruction.Affine.OverFunctoriality.affineOverMap_comp] |
| 47 | |
| 48 | theorem dualCommonOpenDerivationRestriction_id (V : X.left.affineOpens) : |
| 49 | CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X (le_refl V.1) = LinearMap.id := by |
| 50 | have hq := dualAffineCommonOpenAlgebraMap_id k X V |
| 51 | have he : (AlgHom.id k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (CommonOpenFiber.dualAffineCommonOpenFiber k X V))).toRingHom.Etale := |
| 52 | hq ▸ CommonOpenDerivationExtension.dualAffineCommonOpenAlgebraMap_etale k X (le_refl V.1) |
| 53 | exact (EtaleHomDerivation.etaleAlgHomDerivationLinear_congr _ _ _ he hq).trans (EtaleHomDerivation.etaleAlgHomDerivationLinear_id he) |
| 54 | |
| 55 | theorem dualCommonOpenDerivationRestriction_comp {U V W : X.left.affineOpens} |
| 56 | (h : U.1 ≤ V.1) (j : V.1 ≤ W.1) : |
| 57 | (CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X h).comp (CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X j) = |
| 58 | CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X (h.trans j) := by |
| 59 | have hq := dualAffineCommonOpenAlgebraMap_comp k X h j |
| 60 | have he : ((CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h).comp |
| 61 | (CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X j)).toRingHom.Etale := |
| 62 | hq ▸ CommonOpenDerivationExtension.dualAffineCommonOpenAlgebraMap_etale k X (h.trans j) |
| 63 | exact (EtaleHomDerivation.etaleAlgHomDerivationLinear_comp (CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X j) |
| 64 | (CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h) (CommonOpenDerivationExtension.dualAffineCommonOpenAlgebraMap_etale k X j) |
| 65 | (CommonOpenDerivationExtension.dualAffineCommonOpenAlgebraMap_etale k X h) he).symm.trans |
| 66 | (EtaleHomDerivation.etaleAlgHomDerivationLinear_congr _ _ _ he hq).symm |
| 67 | |
| 68 | end |
| 69 | |
| 70 | /-! The actual special fibers of affine opens form a scheme diagram. |
| 71 | Their transition-derivation modules form a presheaf with the constructed |
| 72 | etale restriction maps. No sheaf or deformation classification is assumed. -/ |
| 73 | |
| 74 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 75 | |
| 76 | variable (k : Type) [Field k] (X : Over (Spec (.of (DualNumber k)))) |
| 77 | |
| 78 | def dualAffineOpenFiberDiagram : X.left.affineOpens ⥤ Over (Spec (.of k)) where |
| 79 | obj V := CommonOpenFiber.dualAffineCommonOpenFiber k X V |
| 80 | map f := CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X f.le |
| 81 | map_id V := dualAffineCommonOpenMap_id k X V |
| 82 | map_comp f g := (dualAffineCommonOpenMap_comp k X f.le g.le).symm |
| 83 | |
| 84 | def dualAffineDerivationPresheaf : X.left.affineOpensᵒᵖ ⥤ ModuleCat k where |
| 85 | obj V := ModuleCat.of k |
| 86 | (Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (CommonOpenFiber.dualAffineCommonOpenFiber k X V.unop)) |
| 87 | (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (CommonOpenFiber.dualAffineCommonOpenFiber k X V.unop))) |
| 88 | map f := ModuleCat.ofHom (CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X f.unop.le) |
| 89 | map_id V := by |
| 90 | apply ModuleCat.hom_ext |
| 91 | exact dualCommonOpenDerivationRestriction_id k X V.unop |
| 92 | map_comp f g := by |
| 93 | apply ModuleCat.hom_ext |
| 94 | exact (dualCommonOpenDerivationRestriction_comp k X g.unop.le f.unop.le).symm |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.AffineDerivationPresheaf |