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.Family.CommonOpenTangentDifferences |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.DerivationPresheaf |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FiberTensorRestrictionDetection |
| 4 | |
| 5 | /-! # Difference Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyTangent.DifferenceNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The linear tangent differences commute with restriction to |
| 12 | smaller actual affine opens. Thus the differences live in the fixed |
| 13 | fiber's derivation presheaf, with the original tensor maps retained. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] [Algebra R k] |
| 19 | [IsScalarTower k R k] (X : Over (Spec (.of R))) [Smooth X.hom] |
| 20 | |
| 21 | attribute [local instance 50] Family.AffineTangentLifts.familyAffineCoefficientAlgebra |
| 22 | attribute [local instance] Algebra.TensorProduct.rightAlgebra Family.AffineTangentLifts.familyAffineCoefficientTower |
| 23 | |
| 24 | theorem familyRestrictedTangent_restrict_apply {U V W : X.left.affineOpens} |
| 25 | (h : U.1 ≤ V.1) (j : V.1 ≤ W.1) (d : Derivation k R k) (a : Family.AffineTangentLifts.familyAffineRing R X V) : |
| 26 | Family.CommonOpenTangentDifferences.familyRestrictedTangent k R X (h.trans j) d (Affine.OpenDiagram.familyAffineCoordinateMap R X h a) = |
| 27 | FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R k X h (Family.CommonOpenTangentDifferences.familyRestrictedTangent k R X j d a) := by |
| 28 | have he := Derivation.congr_fun |
| 29 | (LinearMap.congr_fun (Family.CommonOpenTangentDifferences.familyRestrictedTangent_restrict k R X h j) d) |
| 30 | (Affine.OpenDiagram.familyAffineCoordinateMap R X h a) |
| 31 | exact he.symm.trans (Family.AffineDerivationRestriction.familyAffineDerivationRestriction_apply k R X h |
| 32 | (Family.CommonOpenTangentDifferences.familyRestrictedTangent k R X j d) a) |
| 33 | |
| 34 | theorem familyCommonOpenTangentDifference_restrict {U V W Z : X.left.affineOpens} |
| 35 | (t : U.1 ≤ V.1) (h : V.1 ≤ W.1) (j : V.1 ≤ Z.1) : |
| 36 | (FixedFiber.DerivationPresheaf.fixedFiberDerivationRestriction R k X t).comp (Family.CommonOpenTangentDifferences.familyCommonOpenTangentDifference k R X h j) = |
| 37 | Family.CommonOpenTangentDifferences.familyCommonOpenTangentDifference k R X (t.trans h) (t.trans j) := by |
| 38 | apply LinearMap.ext |
| 39 | intro d |
| 40 | apply Eq.symm |
| 41 | apply FiberTensorRestrictionDetection.pointFiberTensorDerivation_restriction_of_original k R (Family.AffineTangentLifts.familyAffineRing R X V) |
| 42 | (Family.AffineTangentLifts.familyAffineRing R X U) (Affine.OpenDiagram.familyAffineCoordinateMap R X t) |
| 43 | (FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction_etale R k X t) |
| 44 | intro a |
| 45 | rw [Family.CommonOpenTangentDifferences.familyCommonOpenTangentDifference_original, Family.CommonOpenTangentDifferences.familyCommonOpenTangentDifference_original] |
| 46 | rw [familyRestrictedTangent_restrict_apply, familyRestrictedTangent_restrict_apply] |
| 47 | exact (FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R k X t).map_sub _ _ |>.symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyTangent.DifferenceNaturality |