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.MapConstantReduction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.DualLiftReduction |
| 3 | |
| 4 | /-! # Dual Constant Lift Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.DualConstantLiftPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual affine lift of a fixed base-valued point pulls back |
| 11 | identically through a deformed dual coefficient map and through its |
| 12 | ordinary coefficient map. This equality retains the original scheme lift. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 17 | |
| 18 | variable (k B C D : Type) [CommRing k] [CommRing B] [CommRing C] [CommRing D] |
| 19 | [Algebra k B] [Algebra k C] [Algebra k D] [Algebra B C] [IsScalarTower k B C] |
| 20 | [Algebra B k] [IsScalarTower k B k] [IsScalarTower B k C] |
| 21 | (q : C →ₐ[k] D) (f : DualNumber C →ₐ[k] DualNumber D) |
| 22 | (hred : ∀ u, (f u).fst = q u.fst) (heps : f DualNumber.eps = DualNumber.eps) |
| 23 | |
| 24 | include hred heps |
| 25 | |
| 26 | omit [IsScalarTower k B k] in |
| 27 | theorem affineDualConstantLift_deformed |
| 28 | (u : {u : EtaleSplittingAt.EtaleSplitting.affineOver k (DualNumber C) ⟶ EtaleSplittingAt.EtaleSplitting.affineOver k B // |
| 29 | Dual.CoefficientSchemeTests.dualCoefficientOrigin k C ≫ u = AlgebraAutomorphismNaturality.affineOverAlgHom k B C (IsScalarTower.toAlgHom k B C)}) : |
| 30 | AlgebraAutomorphismNaturality.affineOverAlgHom k (DualNumber C) (DualNumber D) f ≫ u.val = |
| 31 | AlgebraAutomorphismNaturality.affineOverAlgHom k (DualNumber C) (DualNumber D) (Dual.NumberCoefficients.dualNumberAlgMap q) ≫ u.val := by |
| 32 | let a := OverMorphismAlgebra.affineOverMorphismAlgebra k (DualNumber C) B u.val |
| 33 | have ha (b : B) : (a b).fst = algebraMap k C (algebraMap B k b) := by |
| 34 | have hu := AlgHom.congr_fun |
| 35 | ((DualLiftReduction.affineDualLift_reduction_iff k B C (IsScalarTower.toAlgHom k B C) u.val).mp u.property) b |
| 36 | exact hu.trans (IsScalarTower.algebraMap_apply B k C b) |
| 37 | have H : f.comp a = (Dual.NumberCoefficients.dualNumberAlgMap q).comp a := |
| 38 | AlgHom.ext (fun b => Dual.MapConstantReduction.dualMap_constantReduction q f hred heps (a b) (algebraMap B k b) (ha b)) |
| 39 | rw [← OverMorphismAlgebra.affineOverMorphismAlgebra_recovery k (DualNumber C) B u.val, |
| 40 | OverMorphismAlgebra.affineOverAlgHom_comp, OverMorphismAlgebra.affineOverAlgHom_comp] |
| 41 | exact congrArg (AlgebraAutomorphismNaturality.affineOverAlgHom k B (DualNumber D)) H |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.DualConstantLiftPullback |