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.FactorOrder |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AvoidingDivisorUnit |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.ChowMoving |
| 5 | |
| 6 | /-! # Principal Cycle -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrincipalCycle |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! A rational function whose divisor avoids an arbitrary support |
| 15 | restricts to a single nonzero rational function on it. Its native orders |
| 16 | are the actual divisor-intersection coefficients in every codimension. -/ |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 22 | |
| 23 | namespace RestrictedOrder |
| 24 | |
| 25 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction.Restriction |
| 26 | |
| 27 | theorem exists_restriction (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 28 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 29 | (A : X.DimensionCycleSupport q) (f : X.carrier.functionField) (hf : f ≠ 0) |
| 30 | (hord : ∀ B : X.DimensionCycleSupport 1, A.val ≤ B.val → |
| 31 | X.carrier.ord f (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) = 0) : |
| 32 | ∃ g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).functionField, g ≠ 0 ∧ |
| 33 | ∀ (C : X.DimensionCycleSupport (1 + q)) (hx : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier)), |
| 34 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).ord g (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx) : ℚ) = |
| 35 | (Principal.Integral.Cycle.cycle X f).sum |
| 36 | (fun D c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A.val C.val) := by |
| 37 | have hz : CycleClass.Thom.IntersectionGeometry.supportPoint A.val ∈ (A.val : Set X.carrier) := |
| 38 | (A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem |
| 39 | obtain ⟨u, hu, huf⟩ := AvoidingDivisorUnit.exists_unit X m A.val f hf hord |
| 40 | let g := Support.LocalFraction.Restriction.toFunctionField X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) hz u |
| 41 | have hg : g ≠ 0 := (hu.map (Support.LocalFraction.Restriction.toFunctionField X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) hz).hom).ne_zero |
| 42 | refine ⟨g, hg, ?_⟩ |
| 43 | intro C hx |
| 44 | let C' : X.DimensionCycleSupport (q + 1) := ⟨C.val, by rw [C.property]; omega⟩ |
| 45 | obtain ⟨a, b, ha, hb, habf, habg⟩ := Support.LocalFraction.exists_fraction X.carrier A.val hz |
| 46 | (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx u hu |
| 47 | rw [huf] at habf |
| 48 | have he := FactorOrder.PrincipalLocal.ratio X m q A C' hx a b ha hb |
| 49 | dsimp only at he |
| 50 | change g = |
| 51 | algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx)) |
| 52 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).functionField |
| 53 | (Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx a) / |
| 54 | algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx)) |
| 55 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).functionField |
| 56 | (Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx b) at habg |
| 57 | rw [← habf, ← habg] at he |
| 58 | exact he.symm |
| 59 | |
| 60 | end RestrictedOrder |
| 61 | |
| 62 | end |
| 63 | |
| 64 | /-! Intersecting a rational principal divisor with any support that avoids |
| 65 | its divisor supports gives the actual principal divisor |
| 66 | of the restricted function. Hence this intersection is rationally zero. -/ |
| 67 | |
| 68 | set_option backward.isDefEq.respectTransparency false |
| 69 | |
| 70 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 71 | open scoped Classical |
| 72 | |
| 73 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 74 | |
| 75 | theorem exists_principal_intersection (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 76 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 77 | (A : X.DimensionCycleSupport q) (f : X.carrier.functionField) (hf : f ≠ 0) |
| 78 | (hord : ∀ B : X.DimensionCycleSupport 1, A.val ≤ B.val → |
| 79 | X.carrier.ord f (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) = 0) |
| 80 | (d : X.RationalDimensionCycle 1) |
| 81 | (hd : ∀ B : X.DimensionCycleSupport 1, d B = (X.carrier.ord f (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) : ℚ)) : |
| 82 | ∃ g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).functionField, g ≠ 0 ∧ |
| 83 | CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X 1 q d (Finsupp.single A 1) (Principal.ClosedSectionCycle.principalCycle X (1 + q) A.val g) := by |
| 84 | obtain ⟨g, hg, hlocal⟩ := RestrictedOrder.exists_restriction X m q A f hf hord |
| 85 | refine ⟨g, hg, ?_, ?_⟩ |
| 86 | · intro B hB D hD C hC |
| 87 | have hDA : D = A := by simpa using hD |
| 88 | subst D |
| 89 | have hCA : C ≤ A.val := fun _ hx => (hC hx).2 |
| 90 | have hn : C ≠ A.val := by |
| 91 | intro he |
| 92 | have hAB : A.val ≤ B.val := fun x hx => (hC (he ▸ hx)).1 |
| 93 | apply Finsupp.mem_support_iff.mp hB |
| 94 | rw [hd, hord B hAB, Int.cast_zero] |
| 95 | have hh := Supports.codimension_strictAnti X m (lt_of_le_of_ne hCA hn) |
| 96 | rw [A.property] at hh |
| 97 | omega |
| 98 | · intro C |
| 99 | rw [Principal.ClosedSectionCycle.principalCycle_apply] |
| 100 | simp only [Finsupp.sum_single_index, mul_zero, zero_mul, mul_one] |
| 101 | by_cases hx : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier) |
| 102 | · rw [CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient, dite_eq_left hx] |
| 103 | have heq : d = Principal.Integral.Cycle.cycle X f := Finsupp.ext (fun B => |
| 104 | (hd B).trans (Principal.Integral.Cycle.cycle_apply X f B).symm) |
| 105 | rw [heq] |
| 106 | exact hlocal C hx |
| 107 | · rw [CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient, dite_eq_right hx] |
| 108 | symm |
| 109 | apply Finset.sum_eq_zero |
| 110 | intro B _ |
| 111 | have hz : CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B.val A.val C.val = 0 := |
| 112 | dite_eq_right (fun h => hx h.2) |
| 113 | change d B * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B.val A.val C.val = 0 |
| 114 | rw [hz, mul_zero] |
| 115 | |
| 116 | theorem intersection_rationally_zero (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 117 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 118 | (A : X.DimensionCycleSupport q) (f : X.carrier.functionField) (hf : f ≠ 0) |
| 119 | (hord : ∀ B : X.DimensionCycleSupport 1, A.val ≤ B.val → |
| 120 | X.carrier.ord f (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) = 0) |
| 121 | (d : X.RationalDimensionCycle 1) |
| 122 | (hd : ∀ B : X.DimensionCycleSupport 1, d B = (X.carrier.ord f (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) : ℚ)) |
| 123 | (c : X.RationalDimensionCycle (1 + q)) |
| 124 | (hc : CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X 1 q d (Finsupp.single A 1) c) : |
| 125 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (1 + q) c 0 := by |
| 126 | obtain ⟨g, hg, hi⟩ := exists_principal_intersection X m q A f hf hord d hd |
| 127 | have he := CycleClass.Thom.IntersectionGeometry.isProperIntersectionCycle_unique X 1 q hc hi |
| 128 | change c - 0 ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (1 + q) |
| 129 | rw [sub_zero, he] |
| 130 | exact Submodule.subset_span (Principal.ClosedSectionCycle.principalCycle_isPrincipalDivisor X (1 + q) A.val |
| 131 | (by rw [A.property]; omega) g hg) |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrincipalCycle |