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.Divisors.LineBundles.Augmented.SymmetricChartScalar |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.SymmetricChartDegreeOne |
| 3 | |
| 4 | /-! # Symmetric Chart Equiv -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.SymmetricChartEquiv.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The distinguished chart of the actual augmented symmetric Proj is |
| 11 | canonically the affine symmetric algebra of the module. -/ |
| 12 | |
| 13 | open _root_.HomogeneousLocalization |
| 14 | |
| 15 | variable (R M : Type) [CommRing R] [AddCommGroup M] [Module R M] |
| 16 | |
| 17 | attribute [local instance] SymmetricChartGenerators.BundleCycles.augmentedSymmetricChartAlgebra |
| 18 | |
| 19 | theorem augmentedSymmetricChart_homogeneous (n : ℕ) (a : SymmetricAlgebra R (R × M)) |
| 20 | (ha : a ∈ Symmetric.Grading.BundleCycles.symmetricGrading R (R × M) n) : |
| 21 | SymmetricChartGenerators.BundleCycles.augmentedSymmetricChartInverse R M (SymmetricChart.BundleCycles.symmetricDehomogenizingMap R M a) = |
| 22 | Away.mk (Symmetric.Grading.BundleCycles.symmetricGrading R (R × M)) (SymmetricChart.BundleCycles.augmentedSymmetricVariable_degree R M) n a |
| 23 | (by simpa only [smul_eq_mul, mul_one] using ha) := by |
| 24 | change a ∈ LinearMap.range (SymmetricAlgebra.ι R (R × M)) ^ n at ha |
| 25 | induction ha using Submodule.pow_induction_on_left' with |
| 26 | | algebraMap r => |
| 27 | rw [AlgHom.commutes, AlgHom.commutes] |
| 28 | exact (Graded.ChartAddition.BundleCycles.gradedAway_mk_algebraMap (Symmetric.Grading.BundleCycles.symmetricGrading R (R × M)) |
| 29 | (SymmetricChart.BundleCycles.augmentedSymmetricVariable_degree R M) |
| 30 | (algebraMap R (Symmetric.Grading.BundleCycles.symmetricGrading R (R × M) 0) r)).symm |
| 31 | | add a b n ha hb iha ihb => |
| 32 | rw [map_add, map_add, iha, ihb] |
| 33 | exact (Graded.ChartAddition.BundleCycles.gradedAway_mk_add (Symmetric.Grading.BundleCycles.symmetricGrading R (R × M)) |
| 34 | (SymmetricChart.BundleCycles.augmentedSymmetricVariable_degree R M) n a b _ _).symm |
| 35 | | mem_mul m hm n a ha ih => |
| 36 | obtain ⟨v, rfl⟩ := hm |
| 37 | rw [map_mul, map_mul, ih] |
| 38 | have hv : SymmetricAlgebra.ι R (R × M) v ∈ Symmetric.Grading.BundleCycles.symmetricGrading R (R × M) (1 • 1) := by |
| 39 | change SymmetricAlgebra.ι R (R × M) v ∈ LinearMap.range (SymmetricAlgebra.ι R (R × M)) ^ (1 • 1) |
| 40 | simpa only [one_smul, pow_one] using LinearMap.mem_range_self (SymmetricAlgebra.ι R (R × M)) v |
| 41 | rw [SymmetricChartDegreeOne.BundleCycles.augmentedSymmetricChart_degreeOne R M v hv] |
| 42 | have h := Graded.ChartMultiplication.BundleCycles.gradedAway_mk_mul (Symmetric.Grading.BundleCycles.symmetricGrading R (R × M)) |
| 43 | (SymmetricChart.BundleCycles.augmentedSymmetricVariable_degree R M) 1 n (SymmetricAlgebra.ι R (R × M) v) a hv |
| 44 | (by simpa only [smul_eq_mul, mul_one, Symmetric.Grading.BundleCycles.symmetricGrading] using ha) |
| 45 | exact h.trans (by |
| 46 | apply HomogeneousLocalization.val_injective |
| 47 | rw [Away.val_mk, Away.val_mk] |
| 48 | exact congrArg (Localization.mk (SymmetricAlgebra.ι R (R × M) v * a)) |
| 49 | (Subtype.ext (congrArg (fun k => SymmetricChart.BundleCycles.augmentedSymmetricVariable R M ^ k) (Nat.add_comm 1 n)))) |
| 50 | |
| 51 | theorem augmentedSymmetricDehomogenization_rightInverse : |
| 52 | Function.RightInverse (SymmetricChart.BundleCycles.augmentedSymmetricDehomogenization R M) (SymmetricChartGenerators.BundleCycles.augmentedSymmetricChartInverse R M) := by |
| 53 | intro z |
| 54 | obtain ⟨n, a, ha, rfl⟩ := Away.mk_surjective (Symmetric.Grading.BundleCycles.symmetricGrading R (R × M)) |
| 55 | (SymmetricChart.BundleCycles.augmentedSymmetricVariable_degree R M) z |
| 56 | rw [SymmetricChart.BundleCycles.augmentedSymmetricDehomogenization_mk] |
| 57 | exact augmentedSymmetricChart_homogeneous R M n a |
| 58 | (by simpa only [smul_eq_mul, mul_one] using ha) |
| 59 | |
| 60 | def augmentedSymmetricChartEquiv : SymmetricChart.BundleCycles.augmentedSymmetricChart R M ≃ₐ[R] SymmetricAlgebra R M := |
| 61 | { SymmetricChartScalar.BundleCycles.augmentedSymmetricDehomogenizationAlg R M with |
| 62 | invFun := SymmetricChartGenerators.BundleCycles.augmentedSymmetricChartInverse R M |
| 63 | left_inv := augmentedSymmetricDehomogenization_rightInverse R M |
| 64 | right_inv := SymmetricChartScalar.BundleCycles.augmentedSymmetricDehomogenization_leftInverse R M } |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.SymmetricChartEquiv.BundleCycles |