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.BaseTangentAffineLifts |
| 2 | import Mathlib.RingTheory.TensorProduct.Maps |
| 3 | |
| 4 | /-! # Point Fiber Tensor Lifts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PointFiberTensorLifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! For an actual base point, the fiber tensor algebra carries the |
| 13 | original scalar actions. Every base tangent has a constructed linear |
| 14 | lift with coefficients in this fixed fiber algebra. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable (k R A : Type) [Field k] [CommRing R] [CommRing A] |
| 19 | [Algebra k R] [Algebra k A] [Algebra R k] [Algebra R A] |
| 20 | [IsScalarTower k R k] [IsScalarTower k R A] |
| 21 | |
| 22 | local instance pointFiberTensor_commRing : CommRing (k ⊗[R] A) := |
| 23 | Algebra.TensorProduct.instCommRing (R := R) (A := k) (B := A) |
| 24 | |
| 25 | attribute [local instance] Algebra.TensorProduct.rightAlgebra |
| 26 | |
| 27 | theorem pointFiberTensor_scalarTower : IsScalarTower k A (k ⊗[R] A) := by |
| 28 | apply IsScalarTower.of_algebraMap_eq |
| 29 | intro c |
| 30 | rw [IsScalarTower.algebraMap_apply k R (k ⊗[R] A), |
| 31 | IsScalarTower.algebraMap_apply k R A, IsScalarTower.algebraMap_apply R A (k ⊗[R] A)] |
| 32 | |
| 33 | variable [Algebra.FormallySmooth R A] |
| 34 | |
| 35 | def pointFiberTensorDerivation : Derivation k R k →ₗ[k] Derivation k A (k ⊗[R] A) := by |
| 36 | have := pointFiberTensor_scalarTower k R A |
| 37 | exact BaseTangentAffineLifts.baseTangentAffineDerivation k R A (k ⊗[R] A) |
| 38 | |
| 39 | def pointFiberTensorLift (d : Derivation k R k) : A →ₐ[k] DualNumber (k ⊗[R] A) := by |
| 40 | have := pointFiberTensor_scalarTower k R A |
| 41 | exact BaseTangentAffineLifts.baseTangentAffineLift k R A (k ⊗[R] A) d |
| 42 | |
| 43 | theorem pointFiberTensorLift_snd (d : Derivation k R k) (a : A) : |
| 44 | (pointFiberTensorLift k R A d a).snd = pointFiberTensorDerivation k R A d a := by |
| 45 | have := pointFiberTensor_scalarTower k R A |
| 46 | exact BaseTangentAffineLifts.baseTangentAffineLift_snd k R A (k ⊗[R] A) d a |
| 47 | |
| 48 | theorem pointFiberTensorLift_reduction (d : Derivation k R k) (a : A) : |
| 49 | (pointFiberTensorLift k R A d a).fst = (1 : k) ⊗ₜ[R] a := by |
| 50 | have := pointFiberTensor_scalarTower k R A |
| 51 | exact BaseTangentAffineLifts.baseTangentAffineLift_reduction k R A (k ⊗[R] A) d a |
| 52 | |
| 53 | theorem pointFiberTensorDerivation_base (d : Derivation k R k) (r : R) : |
| 54 | pointFiberTensorDerivation k R A d (algebraMap R A r) = d r ⊗ₜ[R] (1 : A) := by |
| 55 | have := pointFiberTensor_scalarTower k R A |
| 56 | exact Smooth.CoefficientDerivationSection.smoothCoefficientDerivationSection_algebraMap k R A (k ⊗[R] A) |
| 57 | (Dual.CoefficientLiftNaturality.coefficientDerivationMap k R k (k ⊗[R] A) (IsScalarTower.toAlgHom R k (k ⊗[R] A)) d) r |
| 58 | |
| 59 | end |
| 60 | |
| 61 | /-! A coefficient derivation with the prescribed base tangent gives |
| 62 | an actual affine dual-number lift with exactly that second coefficient |
| 63 | and the original fixed-fiber reduction. -/ |
| 64 | |
| 65 | open scoped TensorProduct |
| 66 | |
| 67 | variable (k R A : Type) [Field k] [CommRing R] [CommRing A] |
| 68 | [Algebra k R] [Algebra k A] [Algebra R k] [Algebra R A] |
| 69 | [IsScalarTower k R k] [IsScalarTower k R A] |
| 70 | |
| 71 | attribute [local instance] Algebra.TensorProduct.rightAlgebra pointFiberTensor_scalarTower |
| 72 | |
| 73 | def tangentDerivationLift (l : Derivation k A (k ⊗[R] A)) : A →ₐ[k] DualNumber (k ⊗[R] A) := |
| 74 | ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k A (k ⊗[R] A)).symm l).val |
| 75 | |
| 76 | theorem tangentDerivationLift_reduction (l : Derivation k A (k ⊗[R] A)) (a : A) : |
| 77 | (tangentDerivationLift k R A l a).fst = (1 : k) ⊗ₜ[R] a := |
| 78 | AlgHom.congr_fun ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k A (k ⊗[R] A)).symm l).property a |
| 79 | |
| 80 | theorem tangentDerivationLift_snd (l : Derivation k A (k ⊗[R] A)) (a : A) : |
| 81 | (tangentDerivationLift k R A l a).snd = l a := |
| 82 | (Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv_apply k A (k ⊗[R] A) _ a).symm.trans |
| 83 | (Derivation.congr_fun ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k A (k ⊗[R] A)).apply_symm_apply _) a) |
| 84 | |
| 85 | theorem tangentDerivationLift_base (d : Derivation k R k) (l : Derivation k A (k ⊗[R] A)) |
| 86 | (hl : ∀ r, l (algebraMap R A r) = d r ⊗ₜ[R] (1 : A)) (r : R) : |
| 87 | tangentDerivationLift k R A l (algebraMap R A r) = |
| 88 | Dual.NumberCoefficients.dualNumberRingMap (algebraMap k (k ⊗[R] A)) |
| 89 | (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val r) := by |
| 90 | apply TrivSqZeroExt.ext |
| 91 | · have hd : (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val r).fst = algebraMap R k r := |
| 92 | AlgHom.congr_fun ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).property r |
| 93 | change (tangentDerivationLift k R A l (algebraMap R A r)).fst = |
| 94 | algebraMap k (k ⊗[R] A) (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val r).fst |
| 95 | rw [tangentDerivationLift_reduction, hd] |
| 96 | exact (Algebra.TensorProduct.tmul_one_eq_one_tmul (R := R) (A := k) (B := A) r).symm |
| 97 | · have hd : (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val r).snd = d r := |
| 98 | (Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv_apply k R k _ r).symm.trans |
| 99 | (Derivation.congr_fun ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).apply_symm_apply _) r) |
| 100 | change (tangentDerivationLift k R A l (algebraMap R A r)).snd = |
| 101 | algebraMap k (k ⊗[R] A) (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val r).snd |
| 102 | rw [tangentDerivationLift_snd, hl, hd] |
| 103 | rfl |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PointFiberTensorLifts |