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.PointFiberTensorLifts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.BaseTangentOverlapDerivations |
| 3 | |
| 4 | /-! # Point Fiber Tensor Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PointFiberTensorRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual etale affine restriction extends the chosen tangent |
| 11 | lifts into the fixed overlap fiber. The coefficient restriction is the |
| 12 | literal tensor map and preserves the original base tangent. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | variable (k R A D : Type) [Field k] [CommRing R] [CommRing A] [CommRing D] |
| 17 | [Algebra k R] [Algebra k A] [Algebra k D] [Algebra R k] [Algebra R A] [Algebra R D] |
| 18 | [Algebra A D] [IsScalarTower k R k] [IsScalarTower k R A] [IsScalarTower k R D] |
| 19 | [IsScalarTower k A D] [IsScalarTower R A D] |
| 20 | |
| 21 | local instance pointFiberRestriction_sourceRing : CommRing (k ⊗[R] A) := |
| 22 | Algebra.TensorProduct.instCommRing (R := R) (A := k) (B := A) |
| 23 | |
| 24 | local instance pointFiberRestriction_targetRing : CommRing (k ⊗[R] D) := |
| 25 | Algebra.TensorProduct.instCommRing (R := R) (A := k) (B := D) |
| 26 | |
| 27 | attribute [local instance] Algebra.TensorProduct.rightAlgebra |
| 28 | |
| 29 | local instance pointFiberRestriction_sourceTower : IsScalarTower k A (k ⊗[R] A) := |
| 30 | PointFiberTensorLifts.pointFiberTensor_scalarTower k R A |
| 31 | |
| 32 | local instance pointFiberRestriction_targetTower : IsScalarTower k D (k ⊗[R] D) := |
| 33 | PointFiberTensorLifts.pointFiberTensor_scalarTower k R D |
| 34 | |
| 35 | @[instance_reducible] |
| 36 | def pointFiberRestrictionAlgebra : Algebra A (k ⊗[R] D) := |
| 37 | ((algebraMap D (k ⊗[R] D)).comp (algebraMap A D)).toAlgebra |
| 38 | |
| 39 | attribute [local instance 50] pointFiberRestrictionAlgebra |
| 40 | |
| 41 | local instance pointFiberRestriction_tower : IsScalarTower A D (k ⊗[R] D) := |
| 42 | IsScalarTower.of_algebraMap_eq' rfl |
| 43 | |
| 44 | local instance pointFiberRestriction_scalarTower : IsScalarTower k A (k ⊗[R] D) := by |
| 45 | apply IsScalarTower.of_algebraMap_eq |
| 46 | intro c |
| 47 | rw [IsScalarTower.algebraMap_apply k D (k ⊗[R] D), IsScalarTower.algebraMap_apply k A D] |
| 48 | rfl |
| 49 | |
| 50 | def pointFiberTensorCoefficientMap : (k ⊗[R] A) →ₐ[A] (k ⊗[R] D) where |
| 51 | __ := (Algebra.TensorProduct.map (AlgHom.id k k) (IsScalarTower.toAlgHom R A D)).toRingHom |
| 52 | commutes' a := by |
| 53 | change (1 : k) ⊗ₜ[R] algebraMap A D a = (1 : k) ⊗ₜ[R] algebraMap A D a |
| 54 | rfl |
| 55 | |
| 56 | omit [Algebra k R] [Algebra k A] [Algebra k D] [IsScalarTower k R k] |
| 57 | [IsScalarTower k R A] [IsScalarTower k R D] [IsScalarTower k A D] in |
| 58 | theorem pointFiberTensorCoefficientMap_tmul (c : k) (a : A) : |
| 59 | pointFiberTensorCoefficientMap k R A D (c ⊗ₜ[R] a) = c ⊗ₜ[R] algebraMap A D a := rfl |
| 60 | |
| 61 | variable [Algebra.FormallyEtale A D] |
| 62 | |
| 63 | def pointFiberTensorDerivationRestriction : |
| 64 | Derivation k A (k ⊗[R] A) →ₗ[k] Derivation k D (k ⊗[R] D) := |
| 65 | Affine.OverlapDerivationMap.affineOverlapDerivationMap k A D (k ⊗[R] A) (k ⊗[R] D) (pointFiberTensorCoefficientMap k R A D) |
| 66 | |
| 67 | theorem pointFiberTensorDerivationRestriction_algebraMap (d : Derivation k A (k ⊗[R] A)) (a : A) : |
| 68 | pointFiberTensorDerivationRestriction k R A D d (algebraMap A D a) = |
| 69 | pointFiberTensorCoefficientMap k R A D (d a) := |
| 70 | Affine.OverlapDerivationMap.affineOverlapDerivationMap_algebraMap k A D (k ⊗[R] A) (k ⊗[R] D) |
| 71 | (pointFiberTensorCoefficientMap k R A D) d a |
| 72 | |
| 73 | theorem pointFiberTensorDerivationRestriction_unique (d : Derivation k A (k ⊗[R] A)) |
| 74 | (e : Derivation k D (k ⊗[R] D)) |
| 75 | (h : ∀ a, e (algebraMap A D a) = pointFiberTensorCoefficientMap k R A D (d a)) : |
| 76 | e = pointFiberTensorDerivationRestriction k R A D d := by |
| 77 | apply EtaleCoefficientLiftEquivalence.etaleCoefficientDerivation_ext k A D (k ⊗[R] D) |
| 78 | intro a |
| 79 | exact (h a).trans (pointFiberTensorDerivationRestriction_algebraMap k R A D d a).symm |
| 80 | |
| 81 | variable [Algebra.FormallySmooth R A] |
| 82 | |
| 83 | def pointFiberRestrictedTangent : Derivation k R k →ₗ[k] Derivation k D (k ⊗[R] D) := |
| 84 | (pointFiberTensorDerivationRestriction k R A D).comp (PointFiberTensorLifts.pointFiberTensorDerivation k R A) |
| 85 | |
| 86 | theorem pointFiberRestrictedTangent_base (d : Derivation k R k) (r : R) : |
| 87 | pointFiberRestrictedTangent k R A D d (algebraMap R D r) = d r ⊗ₜ[R] (1 : D) := by |
| 88 | change pointFiberTensorDerivationRestriction k R A D (PointFiberTensorLifts.pointFiberTensorDerivation k R A d) |
| 89 | (algebraMap R D r) = _ |
| 90 | rw [IsScalarTower.algebraMap_apply R A D r, pointFiberTensorDerivationRestriction_algebraMap, |
| 91 | PointFiberTensorLifts.pointFiberTensorDerivation_base, pointFiberTensorCoefficientMap_tmul, map_one] |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PointFiberTensorRestriction |