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.FamilyMorphism.ProductCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Family.RestrictionCoordinates |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.TensorRestrictionSquare |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.ChartMorphismCoordinates |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorMapCoordinateLaws |
| 6 | |
| 7 | /-! # Product Restriction Square -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.ProductRestrictionSquare |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original family morphism and both affine restrictions form |
| 14 | a commuting square in the actual reference product coordinates. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | attribute [local irreducible] Family.CommonOpenProducts.familyCommonOpenProductEquiv |
| 20 | attribute [local irreducible] ProductCoordinates.familyMorphismProductCoordinates Family.RestrictionCoordinates.familyReferenceRestrictionCoordinates |
| 21 | |
| 22 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] [Algebra R k] |
| 23 | [IsScalarTower k R k] {X Y : Over (Spec (.of R))} [Smooth X.hom] [Smooth Y.hom] |
| 24 | (f : X ⟶ Y) (V V' : X.left.affineOpens) (W W' : Y.left.affineOpens) |
| 25 | (t : V'.1 ≤ V.1) (s : W'.1 ≤ W.1) |
| 26 | (h : V.1 ≤ f.left ⁻¹ᵁ W.1) (h' : V'.1 ≤ f.left ⁻¹ᵁ W'.1) (d : Derivation k R k) |
| 27 | |
| 28 | theorem familyMorphismProductCoordinates_square : |
| 29 | (Family.RestrictionCoordinates.familyReferenceRestrictionCoordinates k R X t d).comp (ProductCoordinates.familyMorphismProductCoordinates k R f V W h d) = |
| 30 | (ProductCoordinates.familyMorphismProductCoordinates k R f V' W' h' d).comp (Family.RestrictionCoordinates.familyReferenceRestrictionCoordinates k R Y s d) := by |
| 31 | let qD := BaseTangentTensorLifts.baseTangentDualAlgebra k R d |
| 32 | let : Module R (DualNumber k) := qD.toModule |
| 33 | let : SMul R (DualNumber k) := qD.toSMul |
| 34 | unfold Family.RestrictionCoordinates.familyReferenceRestrictionCoordinates ProductCoordinates.familyMorphismProductCoordinates |
| 35 | exact Product.ChartMorphismCoordinates.productChartMorphism_square |
| 36 | (S := DualNumber k ⊗[R] Family.AffineTangentLifts.familyAffineRing R Y W) (S' := DualNumber k ⊗[R] Family.AffineTangentLifts.familyAffineRing R Y W') |
| 37 | (T := DualNumber k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) (T' := DualNumber k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V') |
| 38 | (A := k ⊗[R] Family.AffineTangentLifts.familyAffineRing R Y W) (A' := k ⊗[R] Family.AffineTangentLifts.familyAffineRing R Y W') |
| 39 | (B := k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) (B' := k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V') |
| 40 | (BaseTangentTensor.baseTangentTensorMorphism k R (Family.AffineTangentLifts.familyAffineRing R Y W) (Family.AffineTangentLifts.familyAffineRing R X V) |
| 41 | (TensorCoordinates.familyMorphismAffineCoordinates R f V W h) d) |
| 42 | (BaseTangentTensor.baseTangentTensorMorphism k R (Family.AffineTangentLifts.familyAffineRing R Y W') (Family.AffineTangentLifts.familyAffineRing R X V') |
| 43 | (TensorCoordinates.familyMorphismAffineCoordinates R f V' W' h') d) |
| 44 | (Family.ProductRestrictionMaps.familyTangentTensorRestriction k R Y s d) (Family.ProductRestrictionMaps.familyTangentTensorRestriction k R X t d) |
| 45 | (Family.CommonOpenProducts.familyCommonOpenProductEquiv k R Y (le_refl W.1) d) |
| 46 | (Family.CommonOpenProducts.familyCommonOpenProductEquiv k R Y (le_refl W'.1) d) |
| 47 | (Family.CommonOpenProducts.familyCommonOpenProductEquiv k R X (le_refl V.1) d) |
| 48 | (Family.CommonOpenProducts.familyCommonOpenProductEquiv k R X (le_refl V'.1) d) |
| 49 | (TensorRestrictionSquare.familyMorphismTensorCoordinates_square R (DualNumber k) f V V' W W' t s h h') |
| 50 | |
| 51 | theorem familyMorphismCoefficientCoordinates_square : |
| 52 | (Dual.TensorMapCoordinates.dualTensorMapCoordinates (Family.RestrictionCoordinates.familyReferenceRestrictionCoordinates k R X t d)).comp |
| 53 | (Dual.TensorMapCoordinates.dualTensorMapCoordinates (ProductCoordinates.familyMorphismProductCoordinates k R f V W h d)) = |
| 54 | (Dual.TensorMapCoordinates.dualTensorMapCoordinates (ProductCoordinates.familyMorphismProductCoordinates k R f V' W' h' d)).comp |
| 55 | (Dual.TensorMapCoordinates.dualTensorMapCoordinates (Family.RestrictionCoordinates.familyReferenceRestrictionCoordinates k R Y s d)) := by |
| 56 | have H := congrArg Dual.TensorMapCoordinates.dualTensorMapCoordinates (familyMorphismProductCoordinates_square k R f V V' W W' t s h h' d) |
| 57 | rw [Dual.TensorMapCoordinateLaws.dualTensorMapCoordinates_comp, Dual.TensorMapCoordinateLaws.dualTensorMapCoordinates_comp] at H |
| 58 | exact H |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.ProductRestrictionSquare |