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.Principal.Integral |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrincipalCycle |
| 3 | |
| 4 | /-! # Divisor Left Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.DivisorLeftDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On an integral smooth projective scheme of every dimension, divisor |
| 11 | intersection respects rational equivalence of the divisor in every codimension. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped Classical |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.Integral.Cycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 19 | |
| 20 | theorem relation_single (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 21 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 22 | (d : X.RationalDimensionCycle 1) (hd : d ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1) |
| 23 | (A : X.DimensionCycleSupport q) |
| 24 | (hdA : ∀ B : X.DimensionCycleSupport 1, A.val ≤ B.val → d B = 0) : |
| 25 | Supports.ProperCycle.intersectionBilinear X m 1 q d (Finsupp.single A 1) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (1 + q) := by |
| 26 | obtain ⟨n, hn, f, hf, he⟩ := Principal.Integral.Denominator.exists_multiple X m d hd |
| 27 | have ho (B : X.DimensionCycleSupport 1) (hAB : A.val ≤ B.val) : |
| 28 | X.carrier.ord f (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) = 0 := by |
| 29 | have h := congrArg (fun c : X.RationalDimensionCycle 1 => c B) he |
| 30 | rw [Finsupp.smul_apply, hdA B hAB, smul_zero, Principal.Integral.Cycle.cycle_apply] at h |
| 31 | exact_mod_cast h.symm |
| 32 | obtain ⟨g, hg, hp⟩ := PrincipalCycle.exists_principal_intersection X m q A f hf ho |
| 33 | (Principal.Integral.Cycle.cycle X f) (Principal.Integral.Cycle.cycle_apply X f) |
| 34 | have hc := Supports.ProperCycle.intersectionBilinear_isProper X m 1 q (Principal.Integral.Cycle.cycle X f) (Finsupp.single A 1) hp.1 |
| 35 | have hzero := PrincipalCycle.intersection_rationally_zero X m q A f hf ho |
| 36 | (Principal.Integral.Cycle.cycle X f) (Principal.Integral.Cycle.cycle_apply X f) _ hc |
| 37 | change Supports.ProperCycle.intersectionBilinear X m 1 q (Principal.Integral.Cycle.cycle X f) (Finsupp.single A 1) - 0 ∈ |
| 38 | CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (1 + q) at hzero |
| 39 | rw [sub_zero, ← he, map_smul, LinearMap.smul_apply] at hzero |
| 40 | exact (Submodule.smul_mem_iff (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (1 + q)) (Nat.cast_ne_zero.mpr hn)).mp hzero |
| 41 | |
| 42 | theorem relation_cycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 43 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 44 | (d : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle q) (hd : d ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1) |
| 45 | (havoid : ∀ A ∈ b.support, ∀ B : X.DimensionCycleSupport 1, A.val ≤ B.val → d B = 0) : |
| 46 | Supports.ProperCycle.intersectionBilinear X m 1 q d b ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (1 + q) := by |
| 47 | have he : b = ∑ A ∈ b.support, (b A) • Finsupp.single A (1 : ℚ) := by |
| 48 | simp only [Finsupp.smul_single, smul_eq_mul, mul_one] |
| 49 | exact (Finsupp.sum_single b).symm |
| 50 | rw [he, map_sum] |
| 51 | apply Submodule.sum_mem |
| 52 | intro A hA |
| 53 | rw [map_smul] |
| 54 | exact Submodule.smul_mem _ _ (relation_single X m q d hd A (havoid A hA)) |
| 55 | |
| 56 | theorem coefficient_zero_of_proper (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (q : ℕ) |
| 57 | (a : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle q) |
| 58 | (h : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 q a b) (A : X.DimensionCycleSupport q) (hA : A ∈ b.support) |
| 59 | (B : X.DimensionCycleSupport 1) (hAB : A.val ≤ B.val) : a B = 0 := by |
| 60 | by_contra ha |
| 61 | have ht := h B (Finsupp.mem_support_iff.mpr ha) A hA A.val (fun _ hx => ⟨hAB hx, hx⟩) |
| 62 | rw [A.property] at ht |
| 63 | omega |
| 64 | |
| 65 | theorem intersection_congr_left (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 66 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 67 | (a a' : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle q) (ha : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 a a') |
| 68 | (hp : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 q a b) (hp' : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 q a' b) : |
| 69 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (1 + q) (Supports.ProperCycle.intersectionBilinear X m 1 q a b) |
| 70 | (Supports.ProperCycle.intersectionBilinear X m 1 q a' b) := by |
| 71 | have hav (A : X.DimensionCycleSupport q) (hA : A ∈ b.support) |
| 72 | (B : X.DimensionCycleSupport 1) (hAB : A.val ≤ B.val) : (a - a') B = 0 := by |
| 73 | rw [Finsupp.sub_apply, coefficient_zero_of_proper X q a b hp A hA B hAB, |
| 74 | coefficient_zero_of_proper X q a' b hp' A hA B hAB, sub_self] |
| 75 | have h := relation_cycle X m q (a - a') b ha hav |
| 76 | rw [map_sub, LinearMap.sub_apply] at h |
| 77 | exact h |
| 78 | |
| 79 | theorem proper_intersections_congr_left (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 80 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 81 | (a a' : X.RationalDimensionCycle 1) (b : X.RationalDimensionCycle q) (ha : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 a a') |
| 82 | (c c' : X.RationalDimensionCycle (1 + q)) |
| 83 | (hc : CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X 1 q a b c) |
| 84 | (hc' : CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X 1 q a' b c') : CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (1 + q) c c' := by |
| 85 | have he := CycleClass.Thom.IntersectionGeometry.isProperIntersectionCycle_unique X 1 q hc |
| 86 | (Supports.ProperCycle.intersectionBilinear_isProper X m 1 q a b hc.1) |
| 87 | have he' := CycleClass.Thom.IntersectionGeometry.isProperIntersectionCycle_unique X 1 q hc' |
| 88 | (Supports.ProperCycle.intersectionBilinear_isProper X m 1 q a' b hc'.1) |
| 89 | rw [he, he'] |
| 90 | exact intersection_congr_left X m q a a' b ha hc.1 hc'.1 |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.DivisorLeftDescent |