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.Intersection.Supports |
| 2 | |
| 3 | /-! # Intersection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Proper.Intersection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Properly meeting cycles have an actual finite intersection cycle |
| 10 | with exactly ThomClass's local Tor coefficients. The finite construction is |
| 11 | bilinear before imposing the proper-meeting condition. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped Classical BigOperators |
| 15 | |
| 16 | def pairMeetsProperly (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 17 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) : Prop := |
| 18 | ∀ C : IrreducibleCloseds X.carrier, |
| 19 | (C : Set X.carrier) ⊆ (A.val : Set X.carrier) ∩ (B.val : Set X.carrier) → |
| 20 | p + q ≤ X.supportCodimension C |
| 21 | |
| 22 | theorem pair_coefficients_finite (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 23 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) |
| 24 | (h : pairMeetsProperly X p q A B) : |
| 25 | (Function.support (fun C : X.DimensionCycleSupport (p + q) => |
| 26 | IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val)).Finite := by |
| 27 | let S : Closeds X.carrier := ⟨(A.val : Set X.carrier) ∩ B.val, A.val.isClosed.inter B.val.isClosed⟩ |
| 28 | apply (Intersection.Supports.finite_supports_in_proper_closed X (p + q) S h).subset |
| 29 | intro C hC |
| 30 | by_contra hc |
| 31 | exact hC (dite_eq_right hc) |
| 32 | |
| 33 | def pairCycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 34 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) : |
| 35 | X.RationalDimensionCycle (p + q) := |
| 36 | if h : pairMeetsProperly X p q A B then |
| 37 | Finsupp.ofSupportFinite (fun C => IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val) |
| 38 | (pair_coefficients_finite X p q A B h) |
| 39 | else 0 |
| 40 | |
| 41 | theorem pairCycle_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 42 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) |
| 43 | (h : pairMeetsProperly X p q A B) (C : X.DimensionCycleSupport (p + q)) : |
| 44 | pairCycle X p q A B C = IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val := by |
| 45 | rw [pairCycle, dite_eq_left h] |
| 46 | rfl |
| 47 | |
| 48 | def intersectionBilinear (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) : |
| 49 | X.RationalDimensionCycle p →ₗ[ℚ] X.RationalDimensionCycle q →ₗ[ℚ] |
| 50 | X.RationalDimensionCycle (p + q) := |
| 51 | Finsupp.linearCombination ℚ (fun A => Finsupp.linearCombination ℚ (pairCycle X p q A)) |
| 52 | |
| 53 | theorem intersectionBilinear_isProper (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 54 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 55 | (h : IntersectionGeometry.MeetProperly X p q a b) : |
| 56 | IntersectionGeometry.IsProperIntersectionCycle X p q a b (intersectionBilinear X p q a b) := by |
| 57 | refine ⟨h, ?_⟩ |
| 58 | intro C |
| 59 | simp only [intersectionBilinear, Finsupp.linearCombination_apply, Finsupp.sum, |
| 60 | LinearMap.sum_apply, LinearMap.smul_apply, Finsupp.finsetSum_apply, Finsupp.smul_apply, |
| 61 | smul_eq_mul, Finset.mul_sum] |
| 62 | apply Finset.sum_congr rfl |
| 63 | intro A hA |
| 64 | apply Finset.sum_congr rfl |
| 65 | intro B hB |
| 66 | rw [pairCycle_apply X p q A B (h A hA B hB) C] |
| 67 | ring |
| 68 | |
| 69 | theorem properIntersection_exists_unique (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 70 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 71 | (h : IntersectionGeometry.MeetProperly X p q a b) : |
| 72 | ∃! c : X.RationalDimensionCycle (p + q), IntersectionGeometry.IsProperIntersectionCycle X p q a b c := by |
| 73 | refine ⟨intersectionBilinear X p q a b, intersectionBilinear_isProper X p q a b h, ?_⟩ |
| 74 | intro c hc |
| 75 | exact IntersectionGeometry.isProperIntersectionCycle_unique X p q hc (intersectionBilinear_isProper X p q a b h) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.CycleClass.Thom.Proper.Intersection |