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