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.Family.CorrectedProducts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.AlgebraSquare |
| 3 | |
| 4 | /-! # Corrected Scheme Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Family.CorrectedSchemeSquare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The corrected tensor products commute with the literal affine |
| 13 | scheme maps, with both sides over the actual dual-number base. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] [Algebra R k] |
| 19 | [IsScalarTower k R k] (X : Over (Spec (.of R))) [Smooth X.hom] |
| 20 | |
| 21 | attribute [local irreducible] CorrectedProducts.familyCorrectedProductEquiv |
| 22 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 23 | |
| 24 | theorem familyCorrectedProduct_scheme_square {U V W : X.left.affineOpens} |
| 25 | (t : U.1 ≤ V.1) (h : V.1 ≤ W.1) (d : Derivation k R k) |
| 26 | (a : Derivation k (k ⊗[R] AffineTangentLifts.familyAffineRing R X W) (k ⊗[R] AffineTangentLifts.familyAffineRing R X W)) : |
| 27 | letI qD := BaseTangentTensorLifts.baseTangentDualAlgebra k R d |
| 28 | letI : Module R (DualNumber k) := qD.toModule |
| 29 | letI : SMul R (DualNumber k) := qD.toSMul |
| 30 | Affine.AlgebraAutomorphismNaturality.affineOverAlgHom (DualNumber k) |
| 31 | (DualNumber k ⊗[k] (k ⊗[R] AffineTangentLifts.familyAffineRing R X V)) |
| 32 | (DualNumber k ⊗[k] (k ⊗[R] AffineTangentLifts.familyAffineRing R X U)) (ProductRestrictionMaps.familyProductTensorRestriction k R X t) ≫ |
| 33 | (EtaleSplittingAt.EtaleSplitting.affineAlgIso (DualNumber k) (DualNumber k ⊗[R] AffineTangentLifts.familyAffineRing R X V) |
| 34 | (CorrectedProducts.familyCorrectedProductEquiv k R X h d a)).hom = |
| 35 | (EtaleSplittingAt.EtaleSplitting.affineAlgIso (DualNumber k) (DualNumber k ⊗[R] AffineTangentLifts.familyAffineRing R X U) |
| 36 | (CorrectedProducts.familyCorrectedProductEquiv k R X (t.trans h) d a)).hom ≫ |
| 37 | Affine.AlgebraAutomorphismNaturality.affineOverAlgHom (DualNumber k) (DualNumber k ⊗[R] AffineTangentLifts.familyAffineRing R X V) |
| 38 | (DualNumber k ⊗[R] AffineTangentLifts.familyAffineRing R X U) (ProductRestrictionMaps.familyTangentTensorRestriction k R X t d) := by |
| 39 | let qD := BaseTangentTensorLifts.baseTangentDualAlgebra k R d |
| 40 | let : Module R (DualNumber k) := qD.toModule |
| 41 | let : SMul R (DualNumber k) := qD.toSMul |
| 42 | apply Over.OverMorphism.ext |
| 43 | simp only [Over.comp_left, Affine.AlgebraAutomorphismNaturality.affineOverAlgHom_left, Affine.AlgebraSquare.affineAlgIso_hom_left] |
| 44 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 45 | apply congrArg Spec.map |
| 46 | apply CommRingCat.hom_ext |
| 47 | apply RingHom.ext |
| 48 | intro b |
| 49 | exact (AlgHom.congr_fun (CorrectedProducts.familyCorrectedProductEquiv_restrict k R X t h d a) b).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | /-! Corrected product charts form a natural isomorphism on all |
| 54 | affine subopens of the chart carrying the correction derivation. -/ |
| 55 | |
| 56 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 57 | open scoped TensorProduct |
| 58 | |
| 59 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] [Algebra R k] |
| 60 | [IsScalarTower k R k] (X : Over (Spec (.of R))) [Smooth X.hom] |
| 61 | |
| 62 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver Affine.AlgebraAutomorphismNaturality.affineOverAlgHom |
| 63 | attribute [local irreducible] CorrectedProducts.familyCorrectedProductEquiv |
| 64 | |
| 65 | def familyBelowCorrectedTensorIso (W : X.left.affineOpens) (d : Derivation k R k) |
| 66 | (a : Derivation k (k ⊗[R] AffineTangentLifts.familyAffineRing R X W) (k ⊗[R] AffineTangentLifts.familyAffineRing R X W)) : |
| 67 | letI qD := BaseTangentTensorLifts.baseTangentDualAlgebra k R d |
| 68 | letI : Module R (DualNumber k) := qD.toModule |
| 69 | letI : SMul R (DualNumber k) := qD.toSMul |
| 70 | Over.forget W ⋙ HilbertConstruction.AlgebraSchemeDiagrams.algebraSchemeDiagram (DualNumber k) |
| 71 | (FixedFiber.AffineDiagram.fixedFiberTensorAlgebras R k X ⋙ HilbertConstruction.AlgebraTensorFunctor.algebraTensorFunctor k (DualNumber k)) ≅ |
| 72 | Over.forget W ⋙ FixedFiber.AffineDiagram.fixedFiberTensorDiagram R (DualNumber k) X := by |
| 73 | let qD := BaseTangentTensorLifts.baseTangentDualAlgebra k R d |
| 74 | let : Module R (DualNumber k) := qD.toModule |
| 75 | let : SMul R (DualNumber k) := qD.toSMul |
| 76 | refine NatIso.ofComponents (fun V => ?_) (fun {V V'} f => ?_) |
| 77 | · exact EtaleSplittingAt.EtaleSplitting.affineAlgIso (DualNumber k) (DualNumber k ⊗[R] AffineTangentLifts.familyAffineRing R X V.left) |
| 78 | (CorrectedProducts.familyCorrectedProductEquiv k R X V.hom.le d a) |
| 79 | · exact familyCorrectedProduct_scheme_square k R X f.left.le V'.hom.le d a |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Family.CorrectedSchemeSquare |