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.Supports |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Flat |
| 3 | |
| 4 | /-! # Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.Support |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An open reduced support has the ambient local ring at every point. |
| 11 | In particular this applies to codimension-zero supports of a smooth |
| 12 | projective presentation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | theorem inclusion_isOpenImmersion {X : Scheme} [IsReduced X] |
| 17 | (W : IrreducibleCloseds X) (hW : IsOpen (W : Set X)) : |
| 18 | IsOpenImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by |
| 19 | let U : X.Opens := ⟨W, hW⟩ |
| 20 | have hr : Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) ⊆ Set.range U.ι := by |
| 21 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι, Scheme.Opens.range_ι] |
| 22 | exact fun _ h => h |
| 23 | let j := IsOpenImmersion.lift U.ι (CycleClass.Geometric.GenericPoint.reducedSupportι W) hr |
| 24 | have hj : j ≫ U.ι = CycleClass.Geometric.GenericPoint.reducedSupportι W := IsOpenImmersion.lift_fac _ _ hr |
| 25 | let : IsClosedImmersion (j ≫ U.ι) := hj ▸ inferInstance |
| 26 | let : IsClosedImmersion j := IsClosedImmersion.of_comp j U.ι |
| 27 | let : Surjective j := ⟨by |
| 28 | intro x |
| 29 | have hx : x.1 ∈ (W : Set X) := x.property |
| 30 | obtain ⟨y, hy⟩ := (CycleClass.Geometric.GenericPoint.range_reducedSupportι W).symm ▸ hx |
| 31 | refine ⟨y, U.ι.isOpenEmbedding.injective ?_⟩ |
| 32 | exact (congrArg (fun f : CycleClass.Geometric.GenericPoint.reducedSupportScheme W ⟶ X => f y) hj).trans hy⟩ |
| 33 | let : IsIso j := isIso_of_isClosedImmersion_of_surjective j |
| 34 | rw [← hj] |
| 35 | infer_instance |
| 36 | |
| 37 | def localModuleEquiv {X : Scheme} (W : IrreducibleCloseds X) |
| 38 | [IsOpenImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι W)] (x : X) (hx : x ∈ (W : Set X)) : |
| 39 | CycleClass.Thom.IntersectionGeometry.localSupportModule X W x hx ≃ₗ[X.presheaf.stalk x] X.presheaf.stalk x := by |
| 40 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx |
| 41 | let f : X.presheaf.stalk x ⟶ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk y := |
| 42 | eqToHom (congrArg (fun t => X.presheaf.stalk t) |
| 43 | (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx).symm) ≫ (CycleClass.Geometric.GenericPoint.reducedSupportι W).stalkMap y |
| 44 | let := f.hom.toAlgebra |
| 45 | exact (AlgEquiv.ofBijective (Algebra.ofId (X.presheaf.stalk x) |
| 46 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk y)) |
| 47 | (ConcreteCategory.bijective_of_isIso f)).symm.toLinearEquiv |
| 48 | |
| 49 | theorem localModule_length_at_generic {X : Scheme} (W : IrreducibleCloseds X) |
| 50 | (hx : CycleClass.Thom.IntersectionGeometry.supportPoint W ∈ (W : Set X)) : |
| 51 | Module.length (X.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint W)) |
| 52 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X W (CycleClass.Thom.IntersectionGeometry.supportPoint W) hx) = 1 := by |
| 53 | let x := CycleClass.Thom.IntersectionGeometry.supportPoint W |
| 54 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx |
| 55 | have hy : y = genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) := by |
| 56 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective |
| 57 | exact (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx).trans (CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq W).symm |
| 58 | let R := X.presheaf.stalk x |
| 59 | let S := (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk y |
| 60 | let f : R ⟶ S := eqToHom (congrArg (fun t => X.presheaf.stalk t) |
| 61 | (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx).symm) ≫ (CycleClass.Geometric.GenericPoint.reducedSupportι W).stalkMap y |
| 62 | let := f.hom.toAlgebra |
| 63 | have hlen (z : CycleClass.Geometric.GenericPoint.reducedSupportScheme W) (hz : z = genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) : |
| 64 | Module.length ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk z) |
| 65 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk z) = 1 := by |
| 66 | subst z |
| 67 | exact Module.length_eq_one (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField |
| 68 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField |
| 69 | have hf : Function.Surjective f := |
| 70 | ((CycleClass.Geometric.GenericPoint.reducedSupportι W).stalkMap_surjective y).comp |
| 71 | (ConcreteCategory.bijective_of_isIso (eqToHom (congrArg |
| 72 | (fun t => X.presheaf.stalk t) (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx).symm))).surjective |
| 73 | change Module.length R S = 1 |
| 74 | rw [Module.length_eq_of_surjective (M := S) hf] |
| 75 | exact hlen y hy |
| 76 | |
| 77 | theorem codimension_zero_isOpen (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 78 | [SmoothOfRelativeDimension m X.structureMap] (A : X.DimensionCycleSupport 0) : |
| 79 | IsOpen (A.val : Set X.carrier) := by |
| 80 | let C := X.supportComponent A.val |
| 81 | let D : IrreducibleCloseds X.carrier := |
| 82 | ⟨C.val, C.property.1, isClosed_of_mem_irreducibleComponents _ C.property⟩ |
| 83 | have hAD : A.val ≤ D := X.support_subset_component A.val |
| 84 | have he : A.val = D := by |
| 85 | by_contra hne |
| 86 | have h := Supports.codimension_strictAnti X m (lt_of_le_of_ne hAD hne) |
| 87 | rw [A.property] at h |
| 88 | omega |
| 89 | rw [he] |
| 90 | exact Foundations.Scheme.LocalDomainComponents.isOpen_irreducibleComponent_of_stalkDomains X.stalk_isDomain |
| 91 | (NoetherianSpace.finite_irreducibleComponents (α := X.carrier)) C.property |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.Support |