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.IntersectionZero |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 3 | |
| 4 | /-! # Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Action |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Selection by an open component preserves the actual principal-divisor |
| 11 | relations. Its bilinear extension is the cycle action of codimension-zero |
| 12 | classes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped Classical BigOperators |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 18 | |
| 19 | def selectCycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (q : ℕ) |
| 20 | (A : X.DimensionCycleSupport 0) : |
| 21 | X.RationalDimensionCycle q →ₗ[ℚ] X.RationalDimensionCycle q where |
| 22 | toFun b := b.filter (fun B => B.val ≤ A.val) |
| 23 | map_add' _ _ := Finsupp.filter_add |
| 24 | map_smul' _ _ := Finsupp.filter_smul |
| 25 | |
| 26 | theorem selectCycle_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (q : ℕ) |
| 27 | (A : X.DimensionCycleSupport 0) (b : X.RationalDimensionCycle q) |
| 28 | (C : X.DimensionCycleSupport q) : |
| 29 | selectCycle X q A b C = if C.val ≤ A.val then b C else 0 := rfl |
| 30 | |
| 31 | theorem select_principal (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 32 | [SmoothOfRelativeDimension m X.structureMap] (A : X.DimensionCycleSupport 0) |
| 33 | (W : IrreducibleCloseds X.carrier) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 34 | selectCycle X q A (Principal.ClosedSectionCycle.principalCycle X q W g) = |
| 35 | if W ≤ A.val then Principal.ClosedSectionCycle.principalCycle X q W g else 0 := by |
| 36 | ext C |
| 37 | rw [selectCycle_apply] |
| 38 | by_cases hW : W ≤ A.val |
| 39 | · rw [ite_eq_left hW] |
| 40 | by_cases hC : C.val ≤ A.val |
| 41 | · rw [ite_eq_left hC] |
| 42 | · rw [ite_eq_right hC, Principal.ClosedSectionCycle.principalCycle_apply, CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient, dite_eq_right] |
| 43 | intro hx |
| 44 | exact hC ((Supports.supportPoint_mem_iff_subset |
| 45 | ⟨W, W.isClosed⟩ C.val).mp hx |>.trans hW) |
| 46 | · rw [ite_eq_right hW, Finsupp.zero_apply] |
| 47 | by_cases hC : C.val ≤ A.val |
| 48 | · rw [ite_eq_left hC, Principal.ClosedSectionCycle.principalCycle_apply, CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient, dite_eq_right] |
| 49 | intro hx |
| 50 | have hc : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (C.val : Set X.carrier) := |
| 51 | (C.val.isIrreducible.isGenericPoint_genericPoint C.val.isClosed).mem |
| 52 | exact hW (IntersectionZero.subset_of_mem_zero_support X m A W |
| 53 | (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx (hC hc)) |
| 54 | · rw [ite_eq_right hC] |
| 55 | |
| 56 | theorem select_preserves_relations (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 57 | [SmoothOfRelativeDimension m X.structureMap] (A : X.DimensionCycleSupport 0) : |
| 58 | CycleClass.Thom.IntersectionGeometry.rationalEquivalences X q ≤ (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X q).comap (selectCycle X q A) := by |
| 59 | apply Submodule.span_le.mpr |
| 60 | intro d hd |
| 61 | obtain ⟨W, hW, g, hg, rfl⟩ := (Principal.ClosedSectionCycle.isPrincipalDivisor_iff X q d).mp hd |
| 62 | change selectCycle X q A (Principal.ClosedSectionCycle.principalCycle X q W g) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X q |
| 63 | rw [select_principal X m] |
| 64 | split |
| 65 | · exact Submodule.subset_span (Principal.ClosedSectionCycle.principalCycle_isPrincipalDivisor X q W hW g hg) |
| 66 | · exact Submodule.zero_mem _ |
| 67 | |
| 68 | def cycleAction (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (q : ℕ) : |
| 69 | X.RationalDimensionCycle 0 →ₗ[ℚ] X.RationalDimensionCycle q →ₗ[ℚ] |
| 70 | X.RationalDimensionCycle q := |
| 71 | Finsupp.linearCombination ℚ (selectCycle X q) |
| 72 | |
| 73 | theorem cycleAction_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (q : ℕ) |
| 74 | (a : X.RationalDimensionCycle 0) (b : X.RationalDimensionCycle q) |
| 75 | (C : X.DimensionCycleSupport q) : |
| 76 | cycleAction X q a b C = |
| 77 | a.sum (fun A r => r * if C.val ≤ A.val then b C else 0) := by |
| 78 | simp only [cycleAction, Finsupp.linearCombination_apply, Finsupp.sum, |
| 79 | LinearMap.sum_apply, LinearMap.smul_apply, Finsupp.finsetSum_apply, Finsupp.smul_apply, |
| 80 | smul_eq_mul, selectCycle_apply] |
| 81 | |
| 82 | theorem cycleAction_preserves_relations (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 83 | [SmoothOfRelativeDimension m X.structureMap] (a : X.RationalDimensionCycle 0) : |
| 84 | CycleClass.Thom.IntersectionGeometry.rationalEquivalences X q ≤ (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X q).comap (cycleAction X q a) := by |
| 85 | intro b hb |
| 86 | change cycleAction X q a b ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X q |
| 87 | simp only [cycleAction, Finsupp.linearCombination_apply, Finsupp.sum, |
| 88 | LinearMap.sum_apply, LinearMap.smul_apply] |
| 89 | exact Submodule.sum_mem _ fun A _ => Submodule.smul_mem _ _ |
| 90 | (select_preserves_relations X m q A hb) |
| 91 | |
| 92 | theorem rationalEquivalences_zero (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) : |
| 93 | CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 0 = ⊥ := by |
| 94 | apply le_antisymm (Submodule.span_le.mpr ?_) bot_le |
| 95 | rintro d ⟨W, hW, _⟩ |
| 96 | omega |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Action |