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.FixedFiber.AffineDiagram |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleAlgebraDerivationFunctor |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Family.AffineTangentLifts |
| 4 | |
| 5 | /-! # Derivation Presheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.DerivationPresheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The literal fixed-fiber tensor algebras carry the derivation |
| 14 | presheaf whose restriction maps come from the actual open immersions. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | variable (R k : Type) [CommRing R] [CommRing k] [Algebra R k] |
| 20 | (X : Over (Spec (.of R))) |
| 21 | |
| 22 | def fixedFiberDerivationPresheaf : X.left.affineOpensᵒᵖ ⥤ ModuleCat k := |
| 23 | EtaleAlgebraDerivationFunctor.etaleAlgebraDerivationFunctor k (AffineDiagram.fixedFiberTensorAlgebras R k X) |
| 24 | (fun h => AffineDiagram.fixedFiberTensorAlgebraMap_etale R k X h) |
| 25 | |
| 26 | def fixedFiberTensorRestriction {V W : X.left.affineOpens} (h : V.1 ≤ W.1) : |
| 27 | (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) →ₐ[k] (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) := |
| 28 | Algebra.TensorProduct.map (AlgHom.id k k) (Affine.OpenDiagram.familyAffineCoordinateMap R X h) |
| 29 | |
| 30 | theorem fixedFiberTensorRestriction_etale {V W : X.left.affineOpens} (h : V.1 ≤ W.1) : |
| 31 | (fixedFiberTensorRestriction R k X h).toRingHom.Etale := |
| 32 | AffineDiagram.fixedFiberTensorAlgebraMap_etale R k X (homOfLE h).op |
| 33 | |
| 34 | def fixedFiberDerivationRestriction {V W : X.left.affineOpens} (h : V.1 ≤ W.1) : |
| 35 | Derivation k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) →ₗ[k] |
| 36 | Derivation k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) := |
| 37 | EtaleHomDerivation.etaleAlgHomDerivationLinear (fixedFiberTensorRestriction R k X h) |
| 38 | (fixedFiberTensorRestriction_etale R k X h) |
| 39 | |
| 40 | theorem fixedFiberDerivationRestriction_presheaf {V W : X.left.affineOpens} (h : V.1 ≤ W.1) : |
| 41 | fixedFiberDerivationRestriction R k X h = |
| 42 | ((fixedFiberDerivationPresheaf R k X).map (homOfLE h).op).hom := rfl |
| 43 | |
| 44 | end |
| 45 | |
| 46 | /-! Literal fixed-fiber derivation restrictions preserve composition |
| 47 | and retain their value on functions from the larger affine open. -/ |
| 48 | |
| 49 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 50 | open scoped TensorProduct |
| 51 | |
| 52 | variable (R k : Type) [CommRing R] [CommRing k] [Algebra R k] |
| 53 | (X : Over (Spec (.of R))) |
| 54 | |
| 55 | theorem fixedFiberDerivationRestriction_apply {V W : X.left.affineOpens} |
| 56 | (h : V.1 ≤ W.1) |
| 57 | (d : Derivation k (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W)) |
| 58 | (a : k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) : |
| 59 | fixedFiberDerivationRestriction R k X h d (fixedFiberTensorRestriction R k X h a) = |
| 60 | fixedFiberTensorRestriction R k X h (d a) := |
| 61 | EtaleHomDerivation.etaleAlgHomDerivationLinear_map (fixedFiberTensorRestriction R k X h) |
| 62 | (fixedFiberTensorRestriction_etale R k X h) d a |
| 63 | |
| 64 | theorem fixedFiberDerivationRestriction_comp {U V W : X.left.affineOpens} |
| 65 | (t : U.1 ≤ V.1) (h : V.1 ≤ W.1) : |
| 66 | (fixedFiberDerivationRestriction R k X t).comp (fixedFiberDerivationRestriction R k X h) = |
| 67 | fixedFiberDerivationRestriction R k X (t.trans h) := by |
| 68 | simp only [fixedFiberDerivationRestriction_presheaf] |
| 69 | exact (congrArg (fun f => f.hom) |
| 70 | ((fixedFiberDerivationPresheaf R k X).map_comp (homOfLE h).op (homOfLE t).op)).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.DerivationPresheaf |