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.Open.PrincipalEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.PrincipalIsolation |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportGermOrder |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricPrincipalQuotient |
| 5 | |
| 6 | /-! # Principal Component Sum -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.PrincipalComponentSum |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A native quotient pairing computed in an open chart is a sum |
| 13 | on the fixed intersection components of the ambient scheme. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 21 | |
| 22 | theorem coefficient {Y X : Scheme} [IsLocallyNoetherian Y] [IsLocallyNoetherian X] [NoetherianSpace X] |
| 23 | (j : Y ⟶ X) [IsOpenImmersion j] |
| 24 | (A B : IrreducibleCloseds Y) (A' B' : IrreducibleCloseds X) |
| 25 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint A') (hB : j (CycleClass.Thom.IntersectionGeometry.supportPoint B) = CycleClass.Thom.IntersectionGeometry.supportPoint B') |
| 26 | (y : Y) [IsDomain (X.presheaf.stalk (j y))] |
| 27 | (hyA : y ∈ (A : Set Y)) (hyB : y ∈ (B : Set Y)) |
| 28 | (hxA : j y ∈ (A' : Set X)) (hxB : j y ∈ (B' : Set X)) (r : X.presheaf.stalk (j y)) |
| 29 | (hr : Local.Principal.supportStalkMap Y A y hyA (j.stalkMap y r) ≠ 0) |
| 30 | (d : ℕ) [HasProjectiveDimensionLE (CycleClass.Thom.IntersectionGeometry.localSupportModule X B' (j y) hxB) d] |
| 31 | (hiso : Module.support (Y.presheaf.stalk y) |
| 32 | (QuotSMulTop (j.stalkMap y r) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hyA)) ∩ |
| 33 | Module.support (Y.presheaf.stalk y) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y B y hyB) ⊆ |
| 34 | {IsLocalRing.closedPoint (Y.presheaf.stalk y)}) : |
| 35 | Tor.Euler.euler (Y.presheaf.stalk y) |
| 36 | (.of _ (QuotSMulTop (j.stalkMap y r) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hyA))) |
| 37 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Y B y hyB) d = |
| 38 | ∑ C ∈ Finite.ClosedComponents.components X (IsolatedGeometricComponents.intersection X A' B'), |
| 39 | TotalTorCoefficient.coefficient X A' B' (CycleClass.Thom.IntersectionGeometry.supportPoint C) d * |
| 40 | GlobalParameterSum.Weights.weight X (j y) r C := by |
| 41 | rw [PrincipalEuler.euler j A B A' B' hA hB y hyA hyB hxA hxB r d] |
| 42 | exact GeometricPrincipalQuotient.All.coefficient X A' B' (j y) hxA hxB r |
| 43 | ((SupportGermOrder.nonzero_iff j A A' hA y hyA hxA r).mp hr) d |
| 44 | (PrincipalIsolation.isolated j A B A' B' hA hB y hyA hyB hxA hxB r hiso) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.PrincipalComponentSum |