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.Support.FiberDegree |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.EtaleSupportPoints |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardCoefficientCongruence |
| 4 | |
| 5 | /-! # Fiber Cycle -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.FiberCycle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native fiber points parameterize the graded supports contributing |
| 12 | to one pushforward coefficient. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map |
| 21 | |
| 22 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 23 | (m n k l : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 24 | (hd : k + n = l + m) (W : IrreducibleCloseds X.carrier) (U : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).Opens) |
| 25 | [Etale (U.ι ≫ Map.supportImageMap f W)] (y : CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W)) |
| 26 | (hy : y ∈ Proper.EtaleRestriction.good (Map.supportImageMap f W) U) |
| 27 | (D : Y.DimensionCycleSupport l) (hpoint : CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W) y = CycleClass.Thom.IntersectionGeometry.supportPoint D.val) |
| 28 | |
| 29 | include hpoint in |
| 30 | omit [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 31 | [Etale (U.ι ≫ Map.supportImageMap f W)] in |
| 32 | theorem point_image (x : (Map.supportImageMap f W) ⁻¹' {y}) : |
| 33 | f.left (CycleClass.Geometric.GenericPoint.reducedSupportι W x.val) = CycleClass.Thom.IntersectionGeometry.supportPoint D.val := by |
| 34 | have h := congrArg (fun g : CycleClass.Geometric.GenericPoint.reducedSupportScheme W ⟶ Y.carrier => g x.val) |
| 35 | (Map.supportImageMap_inclusion f W) |
| 36 | exact h.symm.trans ((congrArg (CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W)) |
| 37 | (show Map.supportImageMap f W x.val = y from x.property)).trans hpoint) |
| 38 | |
| 39 | def support (x : (Map.supportImageMap f W) ⁻¹' {y}) : X.DimensionCycleSupport k := |
| 40 | ⟨irreducibleSetEquivPoints.symm (CycleClass.Geometric.GenericPoint.reducedSupportι W x.val), |
| 41 | Finite.EtaleSupportPoints.codimension f m n k l hd W U x.val |
| 42 | (by rw [show Map.supportImageMap f W x.val = y from x.property]; exact hy) |
| 43 | D (point_image f l W y D hpoint x)⟩ |
| 44 | |
| 45 | theorem support_point (x : (Map.supportImageMap f W) ⁻¹' {y}) : |
| 46 | CycleClass.Thom.IntersectionGeometry.supportPoint (support f m n k l hd W U y hy D hpoint x).val = CycleClass.Geometric.GenericPoint.reducedSupportι W x.val := |
| 47 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 48 | |
| 49 | theorem support_mem (x : (Map.supportImageMap f W) ⁻¹' {y}) : |
| 50 | CycleClass.Thom.IntersectionGeometry.supportPoint (support f m n k l hd W U y hy D hpoint x).val ∈ (W : Set X.carrier) := by |
| 51 | rw [support_point, ← CycleClass.Geometric.GenericPoint.range_reducedSupportι W] |
| 52 | exact ⟨x.val, rfl⟩ |
| 53 | |
| 54 | theorem support_image (x : (Map.supportImageMap f W) ⁻¹' {y}) : |
| 55 | ProperCycleLinearity.imageSupport f (support f m n k l hd W U y hy D hpoint x).val = D.val := by |
| 56 | apply irreducibleSetEquivPoints.injective |
| 57 | change irreducibleSetEquivPoints (irreducibleSetEquivPoints.symm _) = CycleClass.Thom.IntersectionGeometry.supportPoint D.val |
| 58 | rw [irreducibleSetEquivPoints.apply_symm_apply, support_point] |
| 59 | exact point_image f l W y D hpoint x |
| 60 | |
| 61 | theorem support_injective : Function.Injective (support f m n k l hd W U y hy D hpoint) := by |
| 62 | intro a b h |
| 63 | apply Subtype.ext |
| 64 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective |
| 65 | exact (support_point f m n k l hd W U y hy D hpoint a).symm.trans |
| 66 | ((congrArg (fun C : X.DimensionCycleSupport k => CycleClass.Thom.IntersectionGeometry.supportPoint C.val) h).trans |
| 67 | (support_point f m n k l hd W U y hy D hpoint b)) |
| 68 | |
| 69 | theorem support_cover (C : X.DimensionCycleSupport k) |
| 70 | (hC : ProperCycleLinearity.imageSupport f C.val = D.val) (hCW : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (W : Set X.carrier)) : |
| 71 | ∃ x, support f m n k l hd W U y hy D hpoint x = C := by |
| 72 | let x := CycleClass.Thom.IntersectionGeometry.supportPreimage W (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hCW |
| 73 | have hx : Map.supportImageMap f W x = y := by |
| 74 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W)).isClosedEmbedding.injective |
| 75 | have he := congrArg (fun g : CycleClass.Geometric.GenericPoint.reducedSupportScheme W ⟶ Y.carrier => g x) |
| 76 | (Map.supportImageMap_inclusion f W) |
| 77 | change CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W) (Map.supportImageMap f W x) = f.left (CycleClass.Geometric.GenericPoint.reducedSupportι W x) at he |
| 78 | change CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W) (Map.supportImageMap f W x) = CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W) y |
| 79 | rw [he, CycleClass.Thom.IntersectionGeometry.supportPreimage_spec, hpoint] |
| 80 | have hi := congrArg CycleClass.Thom.IntersectionGeometry.supportPoint hC |
| 81 | exact (irreducibleSetEquivPoints.apply_symm_apply _).symm.trans hi |
| 82 | refine ⟨⟨x, hx⟩, Subtype.ext (irreducibleSetEquivPoints.injective ?_)⟩ |
| 83 | exact (support_point f m n k l hd W U y hy D hpoint ⟨x, hx⟩).trans (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W _ hCW) |
| 84 | |
| 85 | include hd hy hpoint in |
| 86 | theorem coefficient (c : X.RationalDimensionCycle k) (r : ℚ) |
| 87 | (hc : ∀ C : X.DimensionCycleSupport k, ProperCycleLinearity.imageSupport f C.val = D.val → |
| 88 | c C = if CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (W : Set X.carrier) then r else 0) : |
| 89 | ProperCycleLinearity.cyclePushforward f k l c D = r * (f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint W) : ℚ) := by |
| 90 | let F := (Map.supportImageMap f W) ⁻¹' {y} |
| 91 | let : Fintype F := (FiberDegree.finite f W U y hy).fintype |
| 92 | let v : F → X.DimensionCycleSupport k := support f m n k l hd W U y hy D hpoint |
| 93 | let b : X.RationalDimensionCycle k := ∑ x : F, Finsupp.single (v x) r |
| 94 | have hb : ∀ C : X.DimensionCycleSupport k, ProperCycleLinearity.imageSupport f C.val = D.val → c C = b C := by |
| 95 | intro C hC |
| 96 | rw [hc C hC] |
| 97 | change _ = (∑ x : F, Finsupp.single (v x) r) C |
| 98 | rw [Finsupp.finsetSum_apply] |
| 99 | by_cases hCW : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (W : Set X.carrier) |
| 100 | · rw [ite_eq_left hCW] |
| 101 | obtain ⟨x, hx⟩ := support_cover f m n k l hd W U y hy D hpoint C hC hCW |
| 102 | symm |
| 103 | rw [Finset.sum_eq_single x] |
| 104 | · rw [show v x = C from hx, Finsupp.single_eq_same] |
| 105 | · intro z _ hzx |
| 106 | apply Finsupp.single_eq_of_ne' |
| 107 | exact fun hz => hzx (support_injective f m n k l hd W U y hy D hpoint (hz.trans hx.symm)) |
| 108 | · simp |
| 109 | · rw [ite_eq_right hCW] |
| 110 | symm |
| 111 | apply Finset.sum_eq_zero |
| 112 | intro x _ |
| 113 | apply Finsupp.single_eq_of_ne' |
| 114 | intro hx |
| 115 | exact hCW (hx ▸ support_mem f m n k l hd W U y hy D hpoint x) |
| 116 | rw [PushforwardCoefficientCongruence.eq f k l c b D hb] |
| 117 | change ProperCycleLinearity.cyclePushforward f k l (∑ x : F, Finsupp.single (v x) r) D = _ |
| 118 | simp only [map_sum, Finsupp.finsetSum_apply, ProperCycleLinearity.cyclePushforward_single, Finsupp.smul_apply, |
| 119 | ProperCycleLinearity.cyclePushforwardGenerator_apply, support_image, ite_true, smul_eq_mul, v, support_point] |
| 120 | rw [← Finset.mul_sum, ← Nat.cast_sum, FiberDegree.sum f W U y hy] |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.FiberCycle |