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.BaseChangedCoefficientDerivations |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Relative.CoefficientDerivationKernel |
| 3 | |
| 4 | /-! # Fiber Coefficient Derivation Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FiberCoefficientDerivationKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Differences of affine lifts that kill the base identify linearly |
| 13 | with derivations on the actual fiber algebra. The comparison preserves |
| 14 | evaluation on every original regular function. -/ |
| 15 | |
| 16 | variable (k R S B C : Type) [CommRing k] [CommRing R] [CommRing S] [CommRing B] [CommRing C] |
| 17 | [Algebra k R] [Algebra k S] [Algebra k B] [Algebra k C] |
| 18 | [Algebra R k] [Algebra R S] [Algebra R B] [Algebra R C] |
| 19 | [Algebra S B] [Algebra S C] [Algebra B C] |
| 20 | [IsScalarTower k R S] [IsScalarTower k R C] [IsScalarTower k S C] |
| 21 | [IsScalarTower R k B] [IsScalarTower R S B] [IsScalarTower R k C] |
| 22 | [IsScalarTower R S C] [IsScalarTower k B C] [IsScalarTower S B C] |
| 23 | [Algebra.IsPushout R k S B] |
| 24 | |
| 25 | def fiberCoefficientDerivationKernelEquiv : |
| 26 | (Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).ker ≃ₗ[C] Derivation k B C := |
| 27 | (Relative.CoefficientDerivationKernel.relativeCoefficientDerivationKernelEquiv k R S C).trans |
| 28 | (BaseChangedCoefficientDerivations.baseChangedCoefficientDerivationEquiv R k S B C) |
| 29 | |
| 30 | omit [IsScalarTower k S C] in |
| 31 | theorem fiberCoefficientDerivationKernelEquiv_algebraMap |
| 32 | (d : (Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).ker) (s : S) : |
| 33 | fiberCoefficientDerivationKernelEquiv k R S B C d (algebraMap S B s) = d.val s := by |
| 34 | change BaseChangedCoefficientDerivations.baseChangedCoefficientDerivation R k S B C |
| 35 | (Relative.CoefficientDerivationKernel.relativeCoefficientDerivationKernelEquiv k R S C d) (algebraMap S B s) = d.val s |
| 36 | rw [BaseChangedCoefficientDerivations.baseChangedCoefficientDerivation_algebraMap, Relative.CoefficientDerivationKernel.relativeCoefficientDerivationKernelEquiv_apply] |
| 37 | |
| 38 | end |
| 39 | |
| 40 | /-! Ordered differences of linear affine lifts are linear derivations |
| 41 | on the actual fiber and satisfy the additive cocycle equation. -/ |
| 42 | |
| 43 | variable (k R S B C : Type) [CommRing k] [CommRing R] [CommRing S] [CommRing B] [CommRing C] |
| 44 | [Algebra k R] [Algebra k S] [Algebra k B] [Algebra k C] |
| 45 | [Algebra R k] [Algebra R S] [Algebra R B] [Algebra R C] |
| 46 | [Algebra S B] [Algebra S C] [Algebra B C] |
| 47 | [IsScalarTower k R S] [IsScalarTower k R C] [IsScalarTower k S C] |
| 48 | [IsScalarTower R k B] [IsScalarTower R S B] [IsScalarTower R k C] |
| 49 | [IsScalarTower R S C] [IsScalarTower k B C] [IsScalarTower S B C] |
| 50 | [Algebra.IsPushout R k S B] |
| 51 | {V : Type} [AddCommGroup V] [Module k V] |
| 52 | (L M : V →ₗ[k] Derivation k S C) |
| 53 | (h : ((Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).restrictScalars k).comp L = |
| 54 | ((Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).restrictScalars k).comp M) |
| 55 | |
| 56 | def linearLiftDifferenceKernel : V →ₗ[k] (Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).ker := |
| 57 | LinearMap.codRestrict ((Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).ker.restrictScalars k) |
| 58 | (M - L) (fun v => by |
| 59 | change Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C (M v - L v) = 0 |
| 60 | rw [map_sub] |
| 61 | exact sub_eq_zero.mpr (LinearMap.congr_fun h v).symm) |
| 62 | |
| 63 | def linearFiberLiftDifference : V →ₗ[k] Derivation k B C := |
| 64 | ((fiberCoefficientDerivationKernelEquiv k R S B C).restrictScalars k).toLinearMap.comp |
| 65 | (linearLiftDifferenceKernel k R S C L M h) |
| 66 | |
| 67 | theorem linearFiberLiftDifference_algebraMap (v : V) (s : S) : |
| 68 | linearFiberLiftDifference k R S B C L M h v (algebraMap S B s) = M v s - L v s := by |
| 69 | exact fiberCoefficientDerivationKernelEquiv_algebraMap k R S B C |
| 70 | (linearLiftDifferenceKernel k R S C L M h v) s |
| 71 | |
| 72 | theorem linearFiberLiftDifference_cocycle (Q : V →ₗ[k] Derivation k S C) |
| 73 | (hMQ : ((Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).restrictScalars k).comp M = |
| 74 | ((Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).restrictScalars k).comp Q) : |
| 75 | linearFiberLiftDifference k R S B C L M h + linearFiberLiftDifference k R S B C M Q hMQ = |
| 76 | linearFiberLiftDifference k R S B C L Q (h.trans hMQ) := by |
| 77 | apply LinearMap.ext |
| 78 | intro v |
| 79 | apply BaseChangedCoefficientDerivations.baseChangedCoefficientDerivation_ext R k S B C |
| 80 | intro s |
| 81 | change linearFiberLiftDifference k R S B C L M h v (algebraMap S B s) + |
| 82 | linearFiberLiftDifference k R S B C M Q hMQ v (algebraMap S B s) = _ |
| 83 | rw [linearFiberLiftDifference_algebraMap, linearFiberLiftDifference_algebraMap, |
| 84 | linearFiberLiftDifference_algebraMap] |
| 85 | abel |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FiberCoefficientDerivationKernel |