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.RestrictedSupportSum |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.PrincipalLocalCoefficient |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Principal |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RestrictedSupportCoefficient |
| 5 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.SupportFractions |
| 6 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SurfaceRatioReciprocity |
| 7 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.LocalEquations |
| 8 | |
| 9 | /-! # Support Principal Intersection -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.SupportPrincipalIntersection |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Intersection of a divisor with a principal cycle on an arbitrary |
| 16 | support is an actual principal-divisor relation when the support function |
| 17 | is a unit along the divisor-intersection components. -/ |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 23 | open scoped Classical |
| 24 | |
| 25 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CanonicalSurfaceReciprocity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 26 | |
| 27 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m k : ℕ) |
| 28 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 29 | (D : X.DimensionCycleSupport 1) (W : X.DimensionCycleSupport k) (hDW : ¬ W.val ≤ D.val) |
| 30 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (hg : g ≠ 0) |
| 31 | (hunit : ∀ y : CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val, Order.coheight y = 1 → |
| 32 | CycleClass.Geometric.GenericPoint.reducedSupportι W.val y ∈ (D.val : Set X.carrier) → |
| 33 | ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk y, IsUnit u ∧ |
| 34 | algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk y) |
| 35 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField u = g) |
| 36 | |
| 37 | include hg |
| 38 | |
| 39 | theorem coefficient (C : X.DimensionCycleSupport (1 + (k + 1))) : |
| 40 | (Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g).sum (fun A c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A.val C.val) = |
| 41 | RestrictedSupportRelation.cycle X m k D W hDW g hunit C := by |
| 42 | let x := CycleClass.Thom.IntersectionGeometry.supportPoint C.val |
| 43 | by_cases hxW : x ∈ (W.val : Set X.carrier) |
| 44 | · by_cases hxD : x ∈ (D.val : Set X.carrier) |
| 45 | · have hCW : C.val ≤ W.val := (Supports.supportPoint_mem_iff_subset |
| 46 | (⟨(W.val : Set X.carrier), W.val.isClosed⟩ : Closeds X.carrier) C.val).mp hxW |
| 47 | obtain ⟨A, hCA, hAW⟩ := IntermediateSupports.next_support X m k (1 + (k + 1)) W C (by omega) hCW |
| 48 | have hxA : x ∈ (A.val : Set X.carrier) := |
| 49 | hCA (C.val.isIrreducible.isGenericPoint_genericPoint C.val.isClosed).mem |
| 50 | let C' : X.DimensionCycleSupport (k + 2) := ⟨C.val, by rw [C.property]; omega⟩ |
| 51 | obtain ⟨r, hr, he⟩ := Smooth.LocalEquations.exists_equation X m D x hxD |
| 52 | obtain ⟨a, b, ha, hb, havoid, hab⟩ := |
| 53 | Local.SupportFractions.exists_fraction X m k D W hDW x hxD hxW r hr he g hg hunit |
| 54 | let R := (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) |
| 55 | let f := Local.Principal.supportStalkMap X.carrier W.val x hxW r |
| 56 | have hf : f ≠ 0 := Local.SupportMultiplicity.restricted_nonzero X k D W hDW x hxD hxW r he |
| 57 | have hdim : (IsLocalRing.maximalIdeal R).height = 2 := |
| 58 | Relative.SupportSurfaceStalk.maximal_height X m k W A C' hAW hxA hxW |
| 59 | have hrec := SurfaceRatioReciprocity.order_sums_eq R hdim f a b hf ha hb |
| 60 | (fun p _ hp hfp => (havoid ⟨p, inferInstance⟩ hp hfp).1) |
| 61 | (fun p _ hp hfp => (havoid ⟨p, inferInstance⟩ hp hfp).2) |
| 62 | have hleft := PrincipalLocalCoefficient.Sum.coefficient X m k D W C' hxD hxW r hr he g a b ha hb havoid hab |
| 63 | have hright := RestrictedSupportSum.coefficient X m k D W hDW g hunit C hxD hxW r hr he a b havoid hab |
| 64 | exact hleft.trans (hrec.symm.trans hright.symm) |
| 65 | · have hl : (Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g).sum |
| 66 | (fun A c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A.val C.val) = 0 := by |
| 67 | apply Finset.sum_eq_zero |
| 68 | intro B _ |
| 69 | have hz : CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val B.val C.val = 0 := dite_eq_right (fun h => hxD h.1) |
| 70 | exact (congrArg (fun t : ℚ => Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g B * t) hz).trans (mul_zero _) |
| 71 | have hr := RestrictedSupportCoefficient.Vanishing.cycle_zero X m k D W hDW g hunit C (by |
| 72 | intro B hB hxB |
| 73 | exact hxD ((Divisor.SupportCycle.support_subset X m k D W hDW B hB).1 hxB)) |
| 74 | exact hl.trans hr.symm |
| 75 | · have hl : (Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g).sum |
| 76 | (fun A c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A.val C.val) = 0 := by |
| 77 | apply Finset.sum_eq_zero |
| 78 | intro A hA |
| 79 | have hxA : x ∉ (A.val : Set X.carrier) := fun h => |
| 80 | hxW (Principal.subset X k W g A hA h) |
| 81 | have hz : CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A.val C.val = 0 := dite_eq_right (fun h => hxA h.2) |
| 82 | exact (congrArg (fun t : ℚ => Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g A * t) hz).trans (mul_zero _) |
| 83 | have hr := RestrictedSupportCoefficient.Vanishing.cycle_zero X m k D W hDW g hunit C (by |
| 84 | intro A hA hxA |
| 85 | exact hxW ((Divisor.SupportCycle.support_subset X m k D W hDW A hA).2 hxA)) |
| 86 | exact hl.trans hr.symm |
| 87 | |
| 88 | theorem isProper : CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X 1 (k + 1) (Finsupp.single D 1) |
| 89 | (Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g) (RestrictedSupportRelation.cycle X m k D W hDW g hunit) := by |
| 90 | refine ⟨Principal.proper X m k D W g hunit, ?_⟩ |
| 91 | intro C |
| 92 | rw [Finsupp.sum_single_index] |
| 93 | · simpa only [one_mul] using (coefficient X m k D W hDW g hg hunit C).symm |
| 94 | · simp |
| 95 | |
| 96 | theorem intersection_eq : |
| 97 | Supports.ProperCycle.intersectionBilinear X m 1 (k + 1) (Finsupp.single D 1) |
| 98 | (Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g) = RestrictedSupportRelation.cycle X m k D W hDW g hunit := |
| 99 | CycleClass.Thom.IntersectionGeometry.isProperIntersectionCycle_unique X 1 (k + 1) |
| 100 | (Supports.ProperCycle.intersectionBilinear_isProper X m 1 (k + 1) _ _ |
| 101 | (Principal.proper X m k D W g hunit)) |
| 102 | (isProper X m k D W hDW g hg hunit) |
| 103 | |
| 104 | include hDW hunit in |
| 105 | theorem intersection_rationally_zero : |
| 106 | Supports.ProperCycle.intersectionBilinear X m 1 (k + 1) (Finsupp.single D 1) |
| 107 | (Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (1 + (k + 1)) := by |
| 108 | rw [intersection_eq X m k D W hDW g hg hunit] |
| 109 | exact RestrictedSupportRelation.cycle_mem X m k D W hDW g hunit |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.SupportPrincipalIntersection |