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.TensorMapCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorCoefficientNaturality |
| 3 | |
| 4 | /-! # Tensor Map Coordinate Laws -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorMapCoordinateLaws |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal dual-tensor coefficient comparison preserves original |
| 11 | map composition, transition maps, and undeformed coefficient maps. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable {k A B C : Type} [CommRing k] [CommRing A] [CommRing B] [CommRing C] |
| 16 | [Algebra k A] [Algebra k B] [Algebra k C] |
| 17 | |
| 18 | theorem dualTensorMapCoordinates_comp |
| 19 | (f : (DualNumber k ⊗[k] A) →ₐ[DualNumber k] (DualNumber k ⊗[k] B)) |
| 20 | (g : (DualNumber k ⊗[k] B) →ₐ[DualNumber k] (DualNumber k ⊗[k] C)) : |
| 21 | TensorMapCoordinates.dualTensorMapCoordinates (g.comp f) = (TensorMapCoordinates.dualTensorMapCoordinates g).comp (TensorMapCoordinates.dualTensorMapCoordinates f) := by |
| 22 | apply AlgHom.ext |
| 23 | intro u |
| 24 | change NumberCoefficients.dualTensorCoefficientEquiv k C (g (f ((NumberCoefficients.dualTensorCoefficientEquiv k A).symm u))) = |
| 25 | NumberCoefficients.dualTensorCoefficientEquiv k C (g ((NumberCoefficients.dualTensorCoefficientEquiv k B).symm |
| 26 | (NumberCoefficients.dualTensorCoefficientEquiv k B (f ((NumberCoefficients.dualTensorCoefficientEquiv k A).symm u))))) |
| 27 | rw [AlgEquiv.symm_apply_apply] |
| 28 | |
| 29 | theorem dualTensorMapCoordinates_equiv |
| 30 | (f : (DualNumber k ⊗[k] A) ≃ₐ[DualNumber k] (DualNumber k ⊗[k] A)) : |
| 31 | TensorMapCoordinates.dualTensorMapCoordinates f.toAlgHom = (CoefficientLiftTensorMap.dualTensorTransitionCoordinates f).toAlgHom := by |
| 32 | apply AlgHom.ext |
| 33 | intro u |
| 34 | rfl |
| 35 | |
| 36 | theorem dualTensorMapCoordinates_coefficient (q : A →ₐ[k] B) : |
| 37 | TensorMapCoordinates.dualTensorMapCoordinates (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q) = |
| 38 | NumberCoefficients.dualNumberAlgMap q := by |
| 39 | apply AlgHom.ext |
| 40 | intro u |
| 41 | have h := TensorCoefficientNaturality.dualTensorCoefficientEquiv_natural q ((NumberCoefficients.dualTensorCoefficientEquiv k A).symm u) |
| 42 | exact h.trans (congrArg (NumberCoefficients.dualNumberAlgMap q) ((NumberCoefficients.dualTensorCoefficientEquiv k A).apply_symm_apply u)) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorMapCoordinateLaws |