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.Supports |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.CycleMoving |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AdjacentSupportStalk |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupportPrime |
| 5 | |
| 6 | /-! # Support Cycle -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.SupportCycle |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual finite proper intersection of a divisor and an arbitrary |
| 13 | support, with its coefficients and the actual supports inside each input. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupport |
| 21 | |
| 22 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m r : ℕ) |
| 23 | [SmoothOfRelativeDimension m X.structureMap] (D : X.DimensionCycleSupport 1) (W : X.DimensionCycleSupport r) |
| 24 | |
| 25 | def cycle : X.RationalDimensionCycle (1 + r) := |
| 26 | Supports.ProperCycle.intersectionBilinear X m 1 r (Finsupp.single D 1) (Finsupp.single W 1) |
| 27 | |
| 28 | include m |
| 29 | |
| 30 | theorem proper (hDW : ¬ W.val ≤ D.val) : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 r (Finsupp.single D 1) (Finsupp.single W 1) := by |
| 31 | apply CycleMoving.of_avoiding X m r |
| 32 | intro B hB A hA |
| 33 | have hBD : B = D := by simpa using hB |
| 34 | have hAW : A = W := by simpa using hA |
| 35 | subst B |
| 36 | subst A |
| 37 | exact hDW |
| 38 | |
| 39 | theorem coefficient (hDW : ¬ W.val ≤ D.val) (A : X.DimensionCycleSupport (1 + r)) : |
| 40 | cycle X m r D W A = CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val W.val A.val := by |
| 41 | have hc := Supports.ProperCycle.intersectionBilinear_isProper X m 1 r (Finsupp.single D 1) (Finsupp.single W 1) |
| 42 | (proper X m r D W hDW) |
| 43 | simpa only [cycle, Finsupp.sum_single_index, zero_mul, mul_zero, one_mul] using hc.2 A |
| 44 | |
| 45 | theorem support_subset (hDW : ¬ W.val ≤ D.val) (A : X.DimensionCycleSupport (1 + r)) |
| 46 | (hA : A ∈ (cycle X m r D W).support) : A.val ≤ D.val ∧ A.val ≤ W.val := by |
| 47 | have hn : CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val W.val A.val ≠ 0 := |
| 48 | (coefficient X m r D W hDW A) ▸ Finsupp.mem_support_iff.mp hA |
| 49 | have hx : CycleClass.Thom.IntersectionGeometry.supportPoint A.val ∈ (D.val : Set X.carrier) ∩ (W.val : Set X.carrier) := by |
| 50 | by_contra h |
| 51 | exact hn (dite_eq_right h) |
| 52 | exact ⟨(Supports.supportPoint_mem_iff_subset |
| 53 | (⟨(D.val : Set X.carrier), D.val.isClosed⟩ : Closeds X.carrier) A.val).mp hx.1, |
| 54 | (Supports.supportPoint_mem_iff_subset |
| 55 | (⟨(W.val : Set X.carrier), W.val.isClosed⟩ : Closeds X.carrier) A.val).mp hx.2⟩ |
| 56 | |
| 57 | theorem inner_coheight (hDW : ¬ W.val ≤ D.val) (A : X.DimensionCycleSupport (1 + r)) |
| 58 | (hA : A ∈ (cycle X m r D W).support) : |
| 59 | Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint (NestedSupport.innerSupport X.carrier A.val W.val |
| 60 | (support_subset X m r D W hDW A hA).2)) = 1 := by |
| 61 | rw [NestedSupport.innerSupport_point] |
| 62 | let A' : X.DimensionCycleSupport (r + 1) := ⟨A.val, by rw [A.property]; omega⟩ |
| 63 | exact AdjacentSupportStalk.coheight_one X m r W A' _ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.SupportCycle |