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.Affine.PresentationConormalLinearity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.AffineDiagram |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.DerivationPresheaf |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.TangentBasePoint |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.ChartConormalRestriction |
| 6 | |
| 7 | /-! # Affine Coefficient -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.AffineCoefficient |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! Derivations in the original fixed-fiber tensor coordinates have |
| 16 | native identity-conormal coordinates. The comparison is complex-linear |
| 17 | and commutes with the actual open restriction maps. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | open scoped TensorProduct |
| 22 | |
| 23 | attribute [local irreducible] Affine.PresentationConormalLinearity.affinePresentationConormalLinearEquiv |
| 24 | attribute [local implicit_reducible] AffineDiagram.fixedFiberTensorDiagram AffineDiagram.fixedFiberTensorAlgebras |
| 25 | attribute [local implicit_reducible] Affine.OpenDiagram.familyAffineCoordinateFunctor HilbertConstruction.Affine.CoordinateFunctor.affineCoordinateFunctor HilbertConstruction.AlgebraTensorFunctor.algebraTensorFunctor |
| 26 | |
| 27 | variable (R : Type) [CommRing R] [Algebra R ℂ] (X : Over (Spec (.of R))) |
| 28 | [IsIntegral (TangentBasePoint.fixedFamilyFiber ℂ R X).left] [Smooth (TangentBasePoint.fixedFamilyFiber ℂ R X).hom] |
| 29 | [GrpObj (TangentBasePoint.fixedFamilyFiber ℂ R X)] |
| 30 | |
| 31 | def fixedFiberConormalLinearEquiv (V : X.left.affineOpens) : |
| 32 | Derivation ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 33 | (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) ≃ₗ[ℂ] |
| 34 | (Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X) →ₗ[ℂ] |
| 35 | ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) := by |
| 36 | let B := CommAlgCat.of ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 37 | let i : EtaleSplittingAt.EtaleSplitting.affineOver ℂ B ⟶ TangentBasePoint.fixedFamilyFiber ℂ R X := AffineDiagram.fixedFiberTensorInclusion R ℂ X V |
| 38 | have : IsOpenImmersion i.left := AffineDiagram.fixedFiberTensorInclusion_open R ℂ X V |
| 39 | exact (Affine.PresentationConormalLinearity.affinePresentationConormalLinearEquiv (TangentBasePoint.fixedFamilyFiber ℂ R X) B i).restrictScalars ℂ |
| 40 | |
| 41 | theorem fixedFiberConormalLinearEquiv_natural {V W : X.left.affineOpens} (h : V.1 ≤ W.1) |
| 42 | (d : Derivation ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W)) |
| 43 | (z : Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X)) : |
| 44 | fixedFiberConormalLinearEquiv R X V (DerivationPresheaf.fixedFiberDerivationRestriction R ℂ X h d) z = |
| 45 | DerivationPresheaf.fixedFiberTensorRestriction R ℂ X h (fixedFiberConormalLinearEquiv R X W d z) := by |
| 46 | let BV := CommAlgCat.of ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 47 | let BW := CommAlgCat.of ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X W) |
| 48 | let iV : EtaleSplittingAt.EtaleSplitting.affineOver ℂ BV ⟶ TangentBasePoint.fixedFamilyFiber ℂ R X := AffineDiagram.fixedFiberTensorInclusion R ℂ X V |
| 49 | let iW : EtaleSplittingAt.EtaleSplitting.affineOver ℂ BW ⟶ TangentBasePoint.fixedFamilyFiber ℂ R X := AffineDiagram.fixedFiberTensorInclusion R ℂ X W |
| 50 | have hiV : IsOpenImmersion iV.left := AffineDiagram.fixedFiberTensorInclusion_open R ℂ X V |
| 51 | have hiW : IsOpenImmersion iW.left := AffineDiagram.fixedFiberTensorInclusion_open R ℂ X W |
| 52 | exact Affine.PresentationConormalLinearity.affinePresentationConormalLinearEquiv_natural (TangentBasePoint.fixedFamilyFiber ℂ R X) BW iW BV iV |
| 53 | (DerivationPresheaf.fixedFiberTensorRestriction R ℂ X h) (DerivationPresheaf.fixedFiberTensorRestriction_etale R ℂ X h) |
| 54 | (AffineDiagram.fixedFiberTensorInclusion_natural R ℂ X (homOfLE h)) d z |
| 55 | |
| 56 | end |
| 57 | |
| 58 | /-! Original tensor rings of affine opens in the smooth integral |
| 59 | fixed fiber are smooth, finite type, and reduced, including empty opens. -/ |
| 60 | |
| 61 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 62 | open scoped TensorProduct |
| 63 | |
| 64 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver AffineDiagram.fixedFiberTensorDiagram AffineDiagram.fixedFiberTensorAlgebras |
| 65 | attribute [local implicit_reducible] Affine.OpenDiagram.familyAffineCoordinateFunctor HilbertConstruction.Affine.CoordinateFunctor.affineCoordinateFunctor HilbertConstruction.AlgebraTensorFunctor.algebraTensorFunctor |
| 66 | |
| 67 | variable (R : Type) [CommRing R] [Algebra R ℂ] (X : Over (Spec (.of R))) |
| 68 | [Smooth (TangentBasePoint.fixedFamilyFiber ℂ R X).hom] (V : X.left.affineOpens) |
| 69 | |
| 70 | theorem fixedFiberAffineRing_smooth : Algebra.Smooth ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) := by |
| 71 | let B := CommAlgCat.of ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 72 | let i : EtaleSplittingAt.EtaleSplitting.affineOver ℂ B ⟶ TangentBasePoint.fixedFamilyFiber ℂ R X := AffineDiagram.fixedFiberTensorInclusion R ℂ X V |
| 73 | have : IsOpenImmersion i.left := AffineDiagram.fixedFiberTensorInclusion_open R ℂ X V |
| 74 | exact Affine.PresentationConormalLinearity.affinePresentationAlgebra_smooth (TangentBasePoint.fixedFamilyFiber ℂ R X) B i |
| 75 | |
| 76 | theorem fixedFiberAffineRing_finiteType : Algebra.FiniteType ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) := by |
| 77 | have : Algebra.Smooth ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) := fixedFiberAffineRing_smooth R X V |
| 78 | infer_instance |
| 79 | |
| 80 | omit [Smooth (TangentBasePoint.fixedFamilyFiber ℂ R X).hom] in |
| 81 | theorem fixedFiberAffineRing_reduced [IsIntegral (TangentBasePoint.fixedFamilyFiber ℂ R X).left] : |
| 82 | _root_.IsReduced (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) := by |
| 83 | let B := CommAlgCat.of ℂ (ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V) |
| 84 | let i : EtaleSplittingAt.EtaleSplitting.affineOver ℂ B ⟶ TangentBasePoint.fixedFamilyFiber ℂ R X := AffineDiagram.fixedFiberTensorInclusion R ℂ X V |
| 85 | have : IsOpenImmersion i.left := AffineDiagram.fixedFiberTensorInclusion_open R ℂ X V |
| 86 | cases subsingleton_or_nontrivial B with |
| 87 | | inl h => |
| 88 | let := h |
| 89 | exact inferInstanceAs (_root_.IsReduced B) |
| 90 | | inr h => |
| 91 | let := h |
| 92 | have : IsDomain B := Affine.PresentationConormalLinearity.affinePresentationAlgebra_isDomain (TangentBasePoint.fixedFamilyFiber ℂ R X) B i |
| 93 | exact inferInstanceAs (_root_.IsReduced B) |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.AffineCoefficient |