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.Smooth.DualChartDifferences |
| 2 | |
| 3 | /-! # Chart Difference Coefficients -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.ChartDifferenceCoefficients |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The native derivation of a product-chart transition evaluates to |
| 10 | the difference of the two original second coefficients. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {k A P : Type*} [CommRing k] [CommRing A] [CommRing P] |
| 15 | [Algebra k A] [Algebra (DualNumber k) P] |
| 16 | |
| 17 | local instance productDifferenceCoefficients_commRing : CommRing (DualNumber k ⊗[k] A) := |
| 18 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := A) |
| 19 | |
| 20 | theorem dualProductChartDifference_coefficients (q : P →+* A) |
| 21 | (f g : P ≃ₐ[DualNumber k] (DualNumber k ⊗[k] A)) |
| 22 | (hf : ∀ p, Dual.TensorReduction.dualTensorReduction k A (f p) = q p) |
| 23 | (hg : ∀ p, Dual.TensorReduction.dualTensorReduction k A (g p) = q p) (p : P) : |
| 24 | Smooth.DualChartDifferences.dualProductChartDifference q f g hf hg (q p) = |
| 25 | (Dual.NumberCoefficients.dualTensorCoefficientEquiv k A (g p)).snd - (Dual.NumberCoefficients.dualTensorCoefficientEquiv k A (f p)).snd := by |
| 26 | let C := Dual.NumberCoefficients.dualTensorCoefficientEquiv k A |
| 27 | let e := Smooth.DualChartDifferences.dualProductChartTransition f g |
| 28 | let he := Smooth.DualChartDifferences.dualProductChartTransition_reduction q f g hf hg |
| 29 | have H := congrArg TrivSqZeroExt.snd |
| 30 | (Dual.Derivation.dualReductionIdentity_normalForm (Dual.CoefficientLiftTensorMap.dualTensorTransitionCoordinates e).toAlgHom |
| 31 | (Dual.CoefficientLiftTensorMap.dualTensorTransitionCoordinates_reduction e he) (Dual.CoefficientLiftTensorMap.dualTensorTransitionCoordinates_eps e) (C (f p))) |
| 32 | change (C (g (f.symm (C.symm (C (f p)))))).snd = |
| 33 | Smooth.DualChartDifferences.dualProductChartDifference q f g hf hg (C (f p)).fst + (C (f p)).snd at H |
| 34 | rw [C.symm_apply_apply, f.symm_apply_apply] at H |
| 35 | have hq : (C (f p)).fst = q p := hf p |
| 36 | rw [hq] at H |
| 37 | exact (eq_sub_iff_add_eq).mpr H.symm |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.ChartDifferenceCoefficients |