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.CoefficientLiftTensorMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.MapConstantReduction |
| 3 | |
| 4 | /-! # Tensor Map Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorMapCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Literal maps over the dual-number base retain that parameter in |
| 11 | coefficient coordinates. Their action on lift differences is the |
| 12 | original reduced coefficient map. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | variable {k A B : Type} [CommRing k] [CommRing A] [CommRing B] |
| 17 | [Algebra k A] [Algebra k B] |
| 18 | |
| 19 | local instance dualTensorMapCoordinates_sourceCommRing : CommRing (DualNumber k ⊗[k] A) := |
| 20 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := A) |
| 21 | |
| 22 | local instance dualTensorMapCoordinates_targetCommRing : CommRing (DualNumber k ⊗[k] B) := |
| 23 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := B) |
| 24 | |
| 25 | variable (m : (DualNumber k ⊗[k] A) →ₐ[DualNumber k] (DualNumber k ⊗[k] B)) |
| 26 | |
| 27 | def dualTensorMapCoordinates : DualNumber A →ₐ[k] DualNumber B := |
| 28 | (NumberCoefficients.dualTensorCoefficientEquiv k B).toAlgHom.comp |
| 29 | ((m.restrictScalars k).comp (NumberCoefficients.dualTensorCoefficientEquiv k A).symm.toAlgHom) |
| 30 | |
| 31 | theorem dualTensorMapCoordinates_eps : |
| 32 | dualTensorMapCoordinates m DualNumber.eps = DualNumber.eps := by |
| 33 | let C := NumberCoefficients.dualTensorCoefficientEquiv k A |
| 34 | have hi : C.symm DualNumber.eps = algebraMap (DualNumber k) (DualNumber k ⊗[k] A) DualNumber.eps := by |
| 35 | apply C.injective |
| 36 | exact (C.apply_symm_apply _).trans (CoefficientLiftTensorMap.dualTensorCoefficientEquiv_eps (k := k) (A := A)).symm |
| 37 | change NumberCoefficients.dualTensorCoefficientEquiv k B (m (C.symm DualNumber.eps)) = DualNumber.eps |
| 38 | rw [hi, m.commutes] |
| 39 | exact CoefficientLiftTensorMap.dualTensorCoefficientEquiv_eps |
| 40 | |
| 41 | theorem dualTensorMapCoordinates_reduction (q : A →ₐ[k] B) |
| 42 | (h : ∀ t, TensorReduction.dualTensorReduction k B (m t) = q (TensorReduction.dualTensorReduction k A t)) |
| 43 | (u : DualNumber A) : |
| 44 | (dualTensorMapCoordinates m u).fst = q u.fst := by |
| 45 | change TensorReduction.dualTensorReduction k B (m ((NumberCoefficients.dualTensorCoefficientEquiv k A).symm u)) = q u.fst |
| 46 | rw [h] |
| 47 | change q ((NumberCoefficients.dualTensorCoefficientEquiv k A) ((NumberCoefficients.dualTensorCoefficientEquiv k A).symm u)).fst = q u.fst |
| 48 | rw [AlgEquiv.apply_symm_apply] |
| 49 | |
| 50 | theorem dualTensorMapCoordinates_difference (q : A →ₐ[k] B) |
| 51 | (h : ∀ t, TensorReduction.dualTensorReduction k B (m t) = q (TensorReduction.dualTensorReduction k A t)) |
| 52 | (u v : DualNumber A) (huv : u.fst = v.fst) : |
| 53 | (dualTensorMapCoordinates m u).snd - (dualTensorMapCoordinates m v).snd = q (u.snd - v.snd) := |
| 54 | MapConstantReduction.dualMap_sameReduction_difference q (dualTensorMapCoordinates m) |
| 55 | (dualTensorMapCoordinates_reduction m q h) (dualTensorMapCoordinates_eps m) u v huv |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorMapCoordinates |