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.CoefficientDerivationLift |
| 2 | import Mathlib.LinearAlgebra.Basis.VectorSpace |
| 3 | |
| 4 | /-! # Coefficient Derivation Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.CoefficientDerivationSection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Over a field, the proved surjection of coefficient-valued |
| 13 | derivations has a linear section. Affine lifts may therefore be selected |
| 14 | linearly in the original base derivation. -/ |
| 15 | |
| 16 | variable (k R S C : Type) [Field k] [CommRing R] [CommRing S] [CommRing C] |
| 17 | [Algebra k R] [Algebra k S] [Algebra k C] [Algebra R S] [Algebra R C] [Algebra S C] |
| 18 | [IsScalarTower k R S] [IsScalarTower k R C] [IsScalarTower k S C] [IsScalarTower R S C] |
| 19 | [Algebra.FormallySmooth R S] |
| 20 | |
| 21 | theorem exists_smooth_coefficientDerivation_section : |
| 22 | ∃ L : Derivation k R C →ₗ[k] Derivation k S C, |
| 23 | ((Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).restrictScalars k).comp L = LinearMap.id := |
| 24 | ((Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).restrictScalars k).exists_rightInverse_of_surjective |
| 25 | (LinearMap.range_eq_top.mpr (CoefficientDerivationLift.smooth_coefficientDerivationPrecomposition_surjective k R S C)) |
| 26 | |
| 27 | def smoothCoefficientDerivationSection : Derivation k R C →ₗ[k] Derivation k S C := |
| 28 | (exists_smooth_coefficientDerivation_section k R S C).choose |
| 29 | |
| 30 | theorem smoothCoefficientDerivationSection_restrict (d : Derivation k R C) : |
| 31 | (smoothCoefficientDerivationSection k R S C d).compAlgebraMap R = d := |
| 32 | LinearMap.congr_fun (exists_smooth_coefficientDerivation_section k R S C).choose_spec d |
| 33 | |
| 34 | theorem smoothCoefficientDerivationSection_algebraMap (d : Derivation k R C) (r : R) : |
| 35 | smoothCoefficientDerivationSection k R S C d (algebraMap R S r) = d r := |
| 36 | Derivation.congr_fun (smoothCoefficientDerivationSection_restrict k R S C d) r |
| 37 | |
| 38 | end |
| 39 | |
| 40 | /-! Actual affine dual-number lifts with coefficients linear in the |
| 41 | base derivation. The reduction and base restriction are retained as |
| 42 | equalities of the original algebra homomorphisms. -/ |
| 43 | |
| 44 | variable (k R S C : Type) [Field k] [CommRing R] [CommRing S] [CommRing C] |
| 45 | [Algebra k R] [Algebra k S] [Algebra k C] [Algebra R S] [Algebra R C] [Algebra S C] |
| 46 | [IsScalarTower k R S] [IsScalarTower k R C] [IsScalarTower k S C] [IsScalarTower R S C] |
| 47 | [Algebra.FormallySmooth R S] |
| 48 | |
| 49 | def smoothLinearCoefficientLift (d : Derivation k R C) : S →ₐ[k] DualNumber C := |
| 50 | ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k S C).symm (smoothCoefficientDerivationSection k R S C d)).val |
| 51 | |
| 52 | theorem smoothLinearCoefficientLift_reduction (d : Derivation k R C) : |
| 53 | (TrivSqZeroExt.fstHom k C C).comp (smoothLinearCoefficientLift k R S C d) = |
| 54 | IsScalarTower.toAlgHom k S C := |
| 55 | ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k S C).symm (smoothCoefficientDerivationSection k R S C d)).property |
| 56 | |
| 57 | theorem smoothLinearCoefficientLift_snd (d : Derivation k R C) (s : S) : |
| 58 | (smoothLinearCoefficientLift k R S C d s).snd = smoothCoefficientDerivationSection k R S C d s := |
| 59 | (Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv_apply k S C _ s).symm.trans |
| 60 | (Derivation.congr_fun ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k S C).apply_symm_apply _) s) |
| 61 | |
| 62 | theorem smoothLinearCoefficientLift_base (d : Derivation k R C) : |
| 63 | (smoothLinearCoefficientLift k R S C d).comp (IsScalarTower.toAlgHom k R S) = |
| 64 | ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C).symm d).val := by |
| 65 | apply AlgHom.ext |
| 66 | intro r |
| 67 | apply TrivSqZeroExt.ext |
| 68 | · have h₁ := AlgHom.congr_fun (smoothLinearCoefficientLift_reduction k R S C d) (algebraMap R S r) |
| 69 | have h₂ := AlgHom.congr_fun ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C).symm d).property r |
| 70 | exact h₁.trans ((IsScalarTower.algebraMap_apply R S C r).symm.trans h₂.symm) |
| 71 | · change (smoothLinearCoefficientLift k R S C d (algebraMap R S r)).snd = _ |
| 72 | rw [smoothLinearCoefficientLift_snd, smoothCoefficientDerivationSection_algebraMap] |
| 73 | exact (Derivation.congr_fun ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C).apply_symm_apply d) r).symm.trans |
| 74 | (Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv_apply k R C _ r) |
| 75 | |
| 76 | theorem smoothLinearCoefficientLift_add (d e : Derivation k R C) (s : S) : |
| 77 | (smoothLinearCoefficientLift k R S C (d + e) s).snd = |
| 78 | (smoothLinearCoefficientLift k R S C d s).snd + (smoothLinearCoefficientLift k R S C e s).snd := by |
| 79 | simp only [smoothLinearCoefficientLift_snd, map_add, Derivation.add_apply] |
| 80 | |
| 81 | theorem smoothLinearCoefficientLift_smul (a : k) (d : Derivation k R C) (s : S) : |
| 82 | (smoothLinearCoefficientLift k R S C (a • d) s).snd = |
| 83 | a • (smoothLinearCoefficientLift k R S C d s).snd := by |
| 84 | simp only [smoothLinearCoefficientLift_snd, map_smul, Derivation.smul_apply] |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.CoefficientDerivationSection |