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.Principal.Order |
| 2 | |
| 3 | /-! # Principal -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! ThomClass's exact native intersection multiplicity equals the order of a |
| 10 | local equation when one reduced support has a regular principal ideal and |
| 11 | that equation does not vanish identically on the other support. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped Pointwise |
| 17 | |
| 18 | def supportStalkMap (X : Scheme) (W : IrreducibleCloseds X) (x : X) |
| 19 | (hx : x ∈ (W : Set X)) : |
| 20 | X.presheaf.stalk x ⟶ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx) := |
| 21 | eqToHom (congrArg (fun t => X.presheaf.stalk t) (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx).symm) ≫ |
| 22 | (CycleClass.Geometric.GenericPoint.reducedSupportι W).stalkMap (CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx) |
| 23 | |
| 24 | theorem supportStalkMap_surjective (X : Scheme) (W : IrreducibleCloseds X) (x : X) |
| 25 | (hx : x ∈ (W : Set X)) : Function.Surjective (supportStalkMap X W x hx) := |
| 26 | ((CycleClass.Geometric.GenericPoint.reducedSupportι W).stalkMap_surjective _).comp |
| 27 | (ConcreteCategory.bijective_of_isIso (eqToHom (congrArg |
| 28 | (fun t => X.presheaf.stalk t) (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx).symm))).surjective |
| 29 | |
| 30 | theorem intersectionMultiplicity_eq_order (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 31 | (A B C : IrreducibleCloseds X.carrier) |
| 32 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier)) (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier)) |
| 33 | (r : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) (hr : r ≠ 0) |
| 34 | (hB : RingHom.ker (supportStalkMap X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB).hom = Ideal.span {r}) |
| 35 | (hAr : supportStalkMap X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA r ≠ 0) : |
| 36 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A B C = |
| 37 | (Ring.ord ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA)) |
| 38 | (supportStalkMap X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA r)).toNat := by |
| 39 | let R := X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C) |
| 40 | let S := (CycleClass.Geometric.GenericPoint.reducedSupportScheme A).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA) |
| 41 | let T := (CycleClass.Geometric.GenericPoint.reducedSupportScheme B).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB) |
| 42 | let σ := supportStalkMap X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA |
| 43 | let τ := supportStalkMap X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB |
| 44 | let : Algebra R S := σ.hom.toAlgebra |
| 45 | let : Algebra R T := τ.hom.toAlgebra |
| 46 | let : IsDomain R := X.stalk_isDomain (CycleClass.Thom.IntersectionGeometry.supportPoint C) |
| 47 | have hσ : Function.Surjective (algebraMap R S) := supportStalkMap_surjective X.carrier A _ hxA |
| 48 | have hτ : Function.Surjective (Algebra.ofId R T) := supportStalkMap_surjective X.carrier B _ hxB |
| 49 | have hI : RingHom.ker (Algebra.ofId R T) = r • (⊤ : Submodule R R) := by |
| 50 | change RingHom.ker τ.hom = _ |
| 51 | rw [hB, ← Submodule.ideal_span_singleton_smul, smul_eq_mul, Ideal.mul_top] |
| 52 | let e : CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB ≃ₗ[R] QuotSMulTop r R := |
| 53 | (Ideal.quotientKerAlgEquivOfSurjective hτ).symm.toLinearEquiv.trans |
| 54 | (Submodule.quotEquivOfEq _ _ hI) |
| 55 | have hr' : IsSMulRegular R r := fun _ _ h => mul_left_cancel₀ hr h |
| 56 | rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_left ⟨hxA, hxB⟩] |
| 57 | exact Principal.Order.euler_eq_order_of_equiv R S hσ r hr' hAr |
| 58 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB) e X.ambientDimension |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |