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.Smooth.FiberSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Stalk |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.TransverseEuler |
| 4 | |
| 5 | /-! # Fiber Multiplicity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.FiberMultiplicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native local intersection coefficient one for a smooth fiber |
| 12 | support against a support whose projection is etale at the intersection. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 20 | |
| 21 | variable {X Y : Scheme} (f : X ⟶ Y) [Smooth f] |
| 22 | (A B : IrreducibleCloseds X) (x : X) |
| 23 | (hxA : x ∈ (A : Set X)) (hxB : x ∈ (B : Set X)) |
| 24 | |
| 25 | theorem euler_one (hgeneric : f (CycleClass.Thom.IntersectionGeometry.supportPoint A) = f x) |
| 26 | (hfiber : ∀ z : X, f z = f x → z ∈ (A : Set X)) |
| 27 | (hB : (Support.Stalk.Projection.map f B x hxB).hom.Flat ∧ |
| 28 | (Support.Stalk.Projection.map f B x hxB).hom.FormallyUnramified ∧ |
| 29 | (Support.Stalk.Projection.map f B x hxB).hom.EssFiniteType) (d : ℕ) : |
| 30 | (∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * (CycleClass.Thom.IntersectionGeometry.localTorLength X A B x hxA hxB i).toNat) = 1 := by |
| 31 | let R := Y.presheaf.stalk (f x) |
| 32 | let S := X.presheaf.stalk x |
| 33 | let T := (CycleClass.Geometric.GenericPoint.reducedSupportScheme B).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage B x hxB) |
| 34 | let σ := Local.Principal.supportStalkMap X B x hxB |
| 35 | let : Algebra R S := (f.stalkMap x).hom.toAlgebra |
| 36 | let : Algebra S T := σ.hom.toAlgebra |
| 37 | let : Algebra R T := (Support.Stalk.Projection.map f B x hxB).hom.toAlgebra |
| 38 | let : IsScalarTower R S T := IsScalarTower.of_algebraMap_eq' rfl |
| 39 | let : Module.Flat R S := Flat.stalkMap f x |
| 40 | let : Module.Flat R T := hB.1 |
| 41 | let : Algebra.FormallyUnramified R T := hB.2.1 |
| 42 | let : Algebra.EssFiniteType R T := hB.2.2 |
| 43 | have hσ : Function.Surjective (algebraMap S T) := Local.Principal.supportStalkMap_surjective X B x hxB |
| 44 | let : IsLocalHom (f.stalkMap x).hom := f.toLRSHom.prop x |
| 45 | let : IsLocalHom σ.hom := IsLocalHom.of_surjective _ hσ |
| 46 | let : IsLocalHom (algebraMap R T) := by |
| 47 | change IsLocalHom (σ.hom.comp (f.stalkMap x).hom) |
| 48 | infer_instance |
| 49 | let e := FiberSupport.moduleEquiv f x A hxA hgeneric hfiber |
| 50 | have he (i : ℕ) := Open.SupportTor.length_iso S e.toModuleIso |
| 51 | (Iso.refl (CycleClass.Thom.IntersectionGeometry.localSupportModule X B x hxB)) i |
| 52 | change (∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 53 | (Module.length S (((Tor (ModuleCat S) i).obj (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hxA)).obj |
| 54 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X B x hxB))).toNat) = 1 |
| 55 | simp_rw [he] |
| 56 | exact ProjectionFormula.Flat.TransverseEuler.euler_one_of_unramified R S T hσ d |
| 57 | |
| 58 | theorem euler_one_of_etale_open (hgeneric : f (CycleClass.Thom.IntersectionGeometry.supportPoint A) = f x) |
| 59 | (hfiber : ∀ z : X, f z = f x → z ∈ (A : Set X)) |
| 60 | (U : (CycleClass.Geometric.GenericPoint.reducedSupportScheme B).Opens) [Etale (U.ι ≫ (CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ f))] |
| 61 | (hu : CycleClass.Thom.IntersectionGeometry.supportPreimage B x hxB ∈ U) (d : ℕ) : |
| 62 | (∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * (CycleClass.Thom.IntersectionGeometry.localTorLength X A B x hxA hxB i).toNat) = 1 := |
| 63 | euler_one f A B x hxA hxB hgeneric hfiber (Support.Stalk.Projection.of_etale_open f B x hxB U hu) d |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.FiberMultiplicity |