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.ProperCycleLinearity |
| 3 | |
| 4 | /-! # Cycle Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CycleSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native proper intersections and native proper pushforward preserve |
| 11 | the expected closed supports. These coefficient statements retain exact |
| 12 | finite cycles before passing to rational equivalence. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped Classical |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 20 | |
| 21 | def SupportedOn (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 22 | (a : X.RationalDimensionCycle p) (S : Closeds X.carrier) : Prop := |
| 23 | ∀ A ∈ a.support, (A.val : Set X.carrier) ⊆ S |
| 24 | |
| 25 | theorem proper_intersection (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 26 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 27 | (c : X.RationalDimensionCycle (p + q)) (hc : CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X p q a b c) |
| 28 | (S : Closeds X.carrier) (ha : SupportedOn X p a S) : SupportedOn X (p + q) c S := by |
| 29 | intro C hC |
| 30 | apply (Supports.supportPoint_mem_iff_subset S C.val).mp |
| 31 | by_contra hn |
| 32 | have hz : c C = 0 := by |
| 33 | rw [hc.2 C] |
| 34 | apply Finset.sum_eq_zero |
| 35 | intro A hA |
| 36 | apply Finset.sum_eq_zero |
| 37 | intro B _ |
| 38 | have hi : CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val = 0 := |
| 39 | dite_eq_right (fun h => hn (ha A hA h.1)) |
| 40 | change a A * b B * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val = 0 |
| 41 | rw [hi, mul_zero] |
| 42 | exact (Finsupp.mem_support_iff.mp hC) hz |
| 43 | |
| 44 | theorem pushforward (X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (f : X.toOver ⟶ Y.toOver) (p q : ℕ) |
| 45 | (a : X.RationalDimensionCycle p) (S : Closeds X.carrier) (T : Closeds Y.carrier) |
| 46 | (ha : SupportedOn X p a S) |
| 47 | (hST : (fun x : X.carrier => (f.left x : Y.carrier)) '' (S : Set X.carrier) ⊆ (T : Set Y.carrier)) : |
| 48 | SupportedOn Y q (ProperCycleLinearity.cyclePushforward f p q a) T := by |
| 49 | intro B hB |
| 50 | apply (Supports.supportPoint_mem_iff_subset T B.val).mp |
| 51 | by_contra hn |
| 52 | have hz : ProperCycleLinearity.cyclePushforward f p q a B = 0 := by |
| 53 | simp only [ProperCycleLinearity.cyclePushforward, Finsupp.linearCombination_apply, Finsupp.sum, |
| 54 | Finsupp.finsetSum_apply, Finsupp.smul_apply, ProperCycleLinearity.cyclePushforwardGenerator_apply] |
| 55 | apply Finset.sum_eq_zero |
| 56 | intro A hA |
| 57 | have hne : ProperCycleLinearity.imageSupport f A.val ≠ B.val := by |
| 58 | intro he |
| 59 | have hp : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val := by |
| 60 | have hh := congrArg CycleClass.Thom.IntersectionGeometry.supportPoint he |
| 61 | change irreducibleSetEquivPoints (irreducibleSetEquivPoints.symm (f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val))) = _ at hh |
| 62 | exact (irreducibleSetEquivPoints.apply_symm_apply _).symm.trans hh |
| 63 | exact hn (hp ▸ hST ⟨CycleClass.Thom.IntersectionGeometry.supportPoint A.val, |
| 64 | ha A hA ((A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem), rfl⟩) |
| 65 | rw [ite_eq_right hne, smul_zero] |
| 66 | exact (Finsupp.mem_support_iff.mp hB) hz |
| 67 | |
| 68 | theorem singleton (Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (q : ℕ) (B : Y.DimensionCycleSupport q) |
| 69 | (hclosed : IsClosed ({CycleClass.Thom.IntersectionGeometry.supportPoint B.val} : Set Y.carrier)) |
| 70 | (a : Y.RationalDimensionCycle q) (h : SupportedOn Y q a ⟨{CycleClass.Thom.IntersectionGeometry.supportPoint B.val}, hclosed⟩) : |
| 71 | a = Finsupp.single B (a B) := by |
| 72 | ext C |
| 73 | by_cases he : B = C |
| 74 | · subst C |
| 75 | rw [Finsupp.single_eq_same] |
| 76 | · rw [Finsupp.single_eq_of_ne' he] |
| 77 | by_contra hc |
| 78 | have hh := h C (Finsupp.mem_support_iff.mpr hc) |
| 79 | ((C.val.isIrreducible.isGenericPoint_genericPoint C.val.isClosed).mem) |
| 80 | exact he (Subtype.ext (irreducibleSetEquivPoints.injective (Set.mem_singleton_iff.mp hh).symm)) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CycleSupport |