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.IntersectionTheory.ProjectionFormula.SourceConstantFamily |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.FamilyQuotient |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyStalkQuotient |
| 4 | |
| 5 | /-! # Source Constant Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceConstantQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual scalar fiber of a constant source support has the |
| 12 | native support module on X. Both the ambient and support stalk |
| 13 | quotients use the same intrinsic parameter germ. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceConstantFamily.Family |
| 21 | |
| 22 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 23 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 24 | (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 25 | |
| 26 | theorem ambient_kernel (x : X.carrier) : |
| 27 | RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom = |
| 28 | Ideal.span {Affine.ParameterFiber.germ ℂ (CompactHorizontalFamilyFiber.Family.parameter X A) |
| 29 | (Projective.FamilyOnSource.Family.specialization X A a ha x) a} := |
| 30 | Projective.FamilyStalkQuotient.Family.source_kernel A a ha X.embedding x |
| 31 | |
| 32 | theorem reduced_support (B : IrreducibleCloseds X.carrier) : |
| 33 | Closed.ImmersionSupport.support (CycleClass.Geometric.GenericPoint.reducedSupportι B) = B := by |
| 34 | apply IrreducibleCloseds.ext |
| 35 | rw [Flat.ClosedSupport.support_range, CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 36 | |
| 37 | def supportEquiv (Z : Scheme) (C D : IrreducibleCloseds Z) (h : C = D) |
| 38 | (z : Z) (hzC : z ∈ (C : Set Z)) (hzD : z ∈ (D : Set Z)) : |
| 39 | CycleClass.Thom.IntersectionGeometry.localSupportModule Z C z hzC ≃ₗ[Z.presheaf.stalk z] CycleClass.Thom.IntersectionGeometry.localSupportModule Z D z hzD := by |
| 40 | subst D |
| 41 | exact LinearEquiv.refl _ _ |
| 42 | |
| 43 | def equiv (B : IrreducibleCloseds X.carrier) (z : CycleClass.Geometric.GenericPoint.reducedSupportScheme B) |
| 44 | (hy : Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Geometric.GenericPoint.reducedSupportι B z) ∈ |
| 45 | (SourceConstantFamily.Family.support X A B : Set (Projective.FamilyOnSource.Family.space X A))) : |
| 46 | QuotSMulTop (Affine.ParameterFiber.germ ℂ (CompactHorizontalFamilyFiber.Family.parameter X A) |
| 47 | (Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Geometric.GenericPoint.reducedSupportι B z)) a) |
| 48 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Projective.FamilyOnSource.Family.space X A) (SourceConstantFamily.Family.support X A B) |
| 49 | (Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Geometric.GenericPoint.reducedSupportι B z)) hy) ≃ₗ[ |
| 50 | (Projective.FamilyOnSource.Family.space X A).presheaf.stalk |
| 51 | (Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Geometric.GenericPoint.reducedSupportι B z))] |
| 52 | (ModuleCat.restrictScalars ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap |
| 53 | (CycleClass.Geometric.GenericPoint.reducedSupportι B z)).hom).obj |
| 54 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Geometric.GenericPoint.reducedSupportι B z) (by |
| 55 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι B] |
| 56 | exact Set.mem_range_self z)) := by |
| 57 | let i := SourceConstantFamily.Family.embedding X B |
| 58 | let s := Parameter.Polynomial.ProjectiveSubschemeFamily.specialization A i a ha |
| 59 | let : IsClosedImmersion s := |
| 60 | Parameter.FamilyKernel.Family.closed A (i ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) |
| 61 | (Parameter.Polynomial.ProjectiveSubschemeFamily.parameter A i) (Parameter.Polynomial.ProjectiveSubschemeFamily.toSource A i) |
| 62 | (Parameter.Polynomial.ProjectiveSubschemeFamily.base_change A i) a ha s |
| 63 | (Parameter.Polynomial.ProjectiveSubschemeFamily.specialization_source A i a ha) |
| 64 | (Parameter.Polynomial.ProjectiveSubschemeFamily.specialization_parameter A i a ha) |
| 65 | have hk : RingHom.ker (s.stalkMap z).hom = |
| 66 | Ideal.span {Affine.ParameterFiber.germ ℂ |
| 67 | (SourceConstantFamily.Family.map X A B ≫ CompactHorizontalFamilyFiber.Family.parameter X A) (s z) a} := |
| 68 | (Projective.FamilyStalkQuotient.Family.source_kernel A a ha i z).trans |
| 69 | (congrArg (fun t => Ideal.span {Affine.ParameterFiber.germ ℂ t (s z) a}) |
| 70 | (SourceConstantFamily.Family.parameterLine X A B).symm) |
| 71 | have e := Closed.FamilyQuotient.Family.equiv (SourceConstantFamily.Family.map X A B) (CycleClass.Geometric.GenericPoint.reducedSupportι B) |
| 72 | (Projective.FamilyOnSource.Family.specialization X A a ha) s (SourceConstantFamily.Family.section_square X A B a ha).symm |
| 73 | (CompactHorizontalFamilyFiber.Family.parameter X A) a z hy hk |
| 74 | let eB := supportEquiv X.carrier (Closed.ImmersionSupport.support (CycleClass.Geometric.GenericPoint.reducedSupportι B)) B |
| 75 | (reduced_support X B) (CycleClass.Geometric.GenericPoint.reducedSupportι B z) (Closed.ImageStalkModule.mem (CycleClass.Geometric.GenericPoint.reducedSupportι B) z) |
| 76 | (by rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι B]; exact Set.mem_range_self z) |
| 77 | exact e.trans ((ModuleCat.restrictScalars |
| 78 | ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap (CycleClass.Geometric.GenericPoint.reducedSupportι B z)).hom).mapIso |
| 79 | eB.toModuleIso).toLinearEquiv |
| 80 | |
| 81 | def equiv_at (B : IrreducibleCloseds X.carrier) (z : CycleClass.Geometric.GenericPoint.reducedSupportScheme B) |
| 82 | (x : X.carrier) (hz : CycleClass.Geometric.GenericPoint.reducedSupportι B z = x) (hx : x ∈ (B : Set X.carrier)) |
| 83 | (hy : Projective.FamilyOnSource.Family.specialization X A a ha x ∈ |
| 84 | (SourceConstantFamily.Family.support X A B : Set (Projective.FamilyOnSource.Family.space X A))) : |
| 85 | QuotSMulTop (Affine.ParameterFiber.germ ℂ (CompactHorizontalFamilyFiber.Family.parameter X A) |
| 86 | (Projective.FamilyOnSource.Family.specialization X A a ha x) a) |
| 87 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Projective.FamilyOnSource.Family.space X A) (SourceConstantFamily.Family.support X A B) |
| 88 | (Projective.FamilyOnSource.Family.specialization X A a ha x) hy) ≃ₗ[ |
| 89 | (Projective.FamilyOnSource.Family.space X A).presheaf.stalk |
| 90 | (Projective.FamilyOnSource.Family.specialization X A a ha x)] |
| 91 | (ModuleCat.restrictScalars ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom).obj |
| 92 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B x hx) := by |
| 93 | subst x |
| 94 | exact equiv X A a ha B z hy |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceConstantQuotient |