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.Scheme.RegularOrder |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Local.PrincipalIntersection |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Relative.SupportCodimension |
| 4 | |
| 5 | /-! # Principal Intersection Coefficient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalIntersectionCoefficient.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The faithful principal-divisor coefficient is exactly the faithful |
| 12 | Serre--Tor intersection multiplicity when the first support has the |
| 13 | given principal stalk ideal and its restriction is the given rational germ. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Local.PrincipalIntersection.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularOrder.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | theorem intersectionMultiplicity_eq_principalDivisorCoefficient |
| 22 | (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A B C : IrreducibleCloseds X.carrier) |
| 23 | (hxA : IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier)) |
| 24 | (hxB : IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier)) |
| 25 | (hc : Order.coheight (IntersectionGeometry.supportPreimage B (IntersectionGeometry.supportPoint C) hxB) = 1) |
| 26 | (r : X.carrier.presheaf.stalk (IntersectionGeometry.supportPoint C)) |
| 27 | (hA : RingHom.ker (SupportStalkModule.Constructions.supportStalkMap X.carrier A (IntersectionGeometry.supportPoint C) hxA).hom = Ideal.span {r}) |
| 28 | (hBr : SupportStalkModule.Constructions.supportStalkMap X.carrier B (IntersectionGeometry.supportPoint C) hxB r ≠ 0) |
| 29 | (g : (Geometric.GenericPoint.reducedSupportScheme B).functionField) |
| 30 | (hg : g = algebraMap ((Geometric.GenericPoint.reducedSupportScheme B).presheaf.stalk |
| 31 | (IntersectionGeometry.supportPreimage B (IntersectionGeometry.supportPoint C) hxB)) (Geometric.GenericPoint.reducedSupportScheme B).functionField |
| 32 | (SupportStalkModule.Constructions.supportStalkMap X.carrier B (IntersectionGeometry.supportPoint C) hxB r)) : |
| 33 | IntersectionGeometry.intersectionMultiplicity X A B C = IntersectionGeometry.principalDivisorCoefficient X B g C := by |
| 34 | have hr : r ≠ 0 := fun h => hBr (by rw [h, map_zero]) |
| 35 | rw [Local.PrincipalIntersection.Constructions.intersectionMultiplicity_eq_order_left X A B C hxA hxB r hr hA hBr, |
| 36 | IntersectionGeometry.principalDivisorCoefficient, dite_eq_left hxB, hg, |
| 37 | Scheme.RegularOrder.Constructions.ord_algebraMap_stalk (Geometric.GenericPoint.reducedSupportScheme B) _ hc _ hBr, Int.cast_natCast] |
| 38 | |
| 39 | theorem intersectionMultiplicity_eq_principalDivisorCoefficient_of_codimension |
| 40 | (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A B C : IrreducibleCloseds X.carrier) |
| 41 | (hxA : IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier)) |
| 42 | (hxB : IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier)) |
| 43 | (hc : X.supportCodimension C = X.supportCodimension B + 1) |
| 44 | (r : X.carrier.presheaf.stalk (IntersectionGeometry.supportPoint C)) |
| 45 | (hA : RingHom.ker (SupportStalkModule.Constructions.supportStalkMap X.carrier A (IntersectionGeometry.supportPoint C) hxA).hom = Ideal.span {r}) |
| 46 | (hBr : SupportStalkModule.Constructions.supportStalkMap X.carrier B (IntersectionGeometry.supportPoint C) hxB r ≠ 0) |
| 47 | (g : (Geometric.GenericPoint.reducedSupportScheme B).functionField) |
| 48 | (hg : g = algebraMap ((Geometric.GenericPoint.reducedSupportScheme B).presheaf.stalk |
| 49 | (IntersectionGeometry.supportPreimage B (IntersectionGeometry.supportPoint C) hxB)) (Geometric.GenericPoint.reducedSupportScheme B).functionField |
| 50 | (SupportStalkModule.Constructions.supportStalkMap X.carrier B (IntersectionGeometry.supportPoint C) hxB r)) : |
| 51 | IntersectionGeometry.intersectionMultiplicity X A B C = IntersectionGeometry.principalDivisorCoefficient X B g C := |
| 52 | intersectionMultiplicity_eq_principalDivisorCoefficient X A B C hxA hxB |
| 53 | (Relative.SupportCodimension.Constructions.supportPreimage_coheight_one X B C hxB hc) r hA hBr g hg |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalIntersectionCoefficient.Constructions |