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.CurveFlatComponents |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DegreeCast |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductDimension |
| 4 | |
| 5 | /-! # Product Divisor Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductDivisorPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The exterior product with the source fundamental cycle is exactly |
| 12 | smooth divisor pullback through the second product projection. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped Classical |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ZeroComponents |
| 20 | |
| 21 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (P : ProperCycleLinearity.ProductPresentation X Y) |
| 22 | (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 23 | [SmoothOfRelativeDimension 1 Y.structureMap] |
| 24 | |
| 25 | local instance product_dimension : SmoothOfRelativeDimension (m + 1) P.space.structureMap := |
| 26 | ProductDimension.relativeDimension P m 1 |
| 27 | |
| 28 | omit [SmoothOfRelativeDimension 1 Y.structureMap] in |
| 29 | theorem snd_smooth : Smooth P.snd.left := by |
| 30 | exact MorphismProperty.of_isPullback |
| 31 | (Over.isPullback_of_binaryFan_isLimit (Limits.BinaryFan.mk P.fst P.snd) P.isLimit) |
| 32 | (inferInstance : Smooth X.structureMap) |
| 33 | |
| 34 | local instance : Smooth P.snd.left := snd_smooth P |
| 35 | |
| 36 | include m |
| 37 | |
| 38 | theorem product_contains (A : X.DimensionCycleSupport 0) (B : Y.DimensionCycleSupport 1) |
| 39 | (D : P.space.DimensionCycleSupport 1) : |
| 40 | (D.val : Set P.space.carrier) ⊆ CycleClass.Thom.IntersectionGeometry.productClosedSupport X Y P.space P.fst P.snd A.val B.val ↔ |
| 41 | A = ZeroComponents.containingComponent X m (ProperCycleLinearity.imageSupport P.fst D.val) ∧ |
| 42 | P.snd.left (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val := by |
| 43 | rw [← ZeroComponents.subset_zero_iff X m] |
| 44 | constructor |
| 45 | · intro h |
| 46 | refine ⟨?_, ?_⟩ |
| 47 | · change (ProperCycleLinearity.imageSupport P.fst D.val : Set X.carrier) ⊆ A.val |
| 48 | rw [ProperCycleLinearity.imageSupport_eq_image] |
| 49 | rintro _ ⟨x, hx, rfl⟩ |
| 50 | exact (h hx).1 |
| 51 | · have hh := (h ((D.val.isIrreducible.isGenericPoint_genericPoint D.val.isClosed).mem)).2 |
| 52 | change P.snd.left (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) ∈ (B.val : Set Y.carrier) at hh |
| 53 | rwa [CurveSupports.support_eq_singleton, Set.mem_singleton_iff] at hh |
| 54 | · rintro ⟨hA, hB⟩ |
| 55 | have hh : (D.val : Set P.space.carrier) ⊆ CurveFiberCycle.support P.snd B := by |
| 56 | apply (Supports.supportPoint_mem_iff_subset (CurveFiberCycle.support P.snd B) D.val).mp |
| 57 | change P.snd.left (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) ∈ (B.val : Set Y.carrier) |
| 58 | rw [CurveSupports.support_eq_singleton, Set.mem_singleton_iff] |
| 59 | exact hB |
| 60 | change (ProperCycleLinearity.imageSupport P.fst D.val : Set X.carrier) ⊆ A.val at hA |
| 61 | rw [ProperCycleLinearity.imageSupport_eq_image] at hA |
| 62 | intro x hx |
| 63 | exact ⟨hA ⟨x, hx, rfl⟩, hh hx⟩ |
| 64 | |
| 65 | theorem product_cycle_apply (A : X.DimensionCycleSupport 0) (B : Y.DimensionCycleSupport 1) |
| 66 | (D : P.space.DimensionCycleSupport 1) : |
| 67 | CycleClass.Thom.IntersectionGeometry.reducedClosedCycle P.space 1 (CycleClass.Thom.IntersectionGeometry.productClosedSupport X Y P.space P.fst P.snd A.val B.val) D = |
| 68 | if A = ZeroComponents.containingComponent X m (ProperCycleLinearity.imageSupport P.fst D.val) ∧ |
| 69 | P.snd.left (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0 := by |
| 70 | rw [CycleClass.Thom.IntersectionGeometry.reducedClosedCycle_apply] |
| 71 | congr 1 |
| 72 | apply propext |
| 73 | rw [← product_contains P m A B D] |
| 74 | constructor |
| 75 | · rintro ⟨C, hC⟩ |
| 76 | rw [← hC] |
| 77 | exact Supports.closedComponentSupport_subset _ _ C |
| 78 | · intro hD |
| 79 | apply Supports.support_eq_component P.space (m + 1) 1 _ _ D hD |
| 80 | intro W hW |
| 81 | exact CurveFiberCycle.fiber_codimension P.snd (m + 1) B W (fun x hx => (hW hx).2) |
| 82 | |
| 83 | theorem secondPullback_eq_flatMap (a : Y.RationalDimensionCycle 1) : |
| 84 | P.secondPullbackCycle 1 a = CurveFiberCycle.flatMap P.snd a := by |
| 85 | ext D |
| 86 | change CycleClass.Thom.IntersectionGeometry.exteriorCycleProduct X Y P.space P.fst P.snd P.isLimit 0 1 (ProperCycleLinearity.fundamentalCycle X) a D = _ |
| 87 | rw [← DegreeCast.ExteriorCycleLinear.exteriorMap_apply X Y P.space P.fst P.snd P.isLimit 0 1] |
| 88 | simp only [DegreeCast.ExteriorCycleLinear.exteriorMap, Finsupp.linearCombination_apply, Finsupp.sum, |
| 89 | LinearMap.sum_apply, LinearMap.smul_apply, Finsupp.finsetSum_apply, Finsupp.smul_apply, |
| 90 | smul_eq_mul, product_cycle_apply P m, ZeroComponents.fundamentalCycle_apply X m, one_mul] |
| 91 | rw [CurveFiberCycle.flatMap_apply P.snd (m + 1)] |
| 92 | let A := ZeroComponents.containingComponent X m (ProperCycleLinearity.imageSupport P.fst D.val) |
| 93 | rw [Finset.sum_eq_single A] |
| 94 | · simp only [A, true_and, Finsupp.sum] |
| 95 | · intro A' _ hA |
| 96 | apply Finset.sum_eq_zero |
| 97 | intro B _ |
| 98 | simp [show A' ≠ ZeroComponents.containingComponent X m (ProperCycleLinearity.imageSupport P.fst D.val) from hA] |
| 99 | · intro hA |
| 100 | have ha : A ∈ (ProperCycleLinearity.fundamentalCycle X).support := |
| 101 | Finsupp.mem_support_iff.mpr (by rw [ZeroComponents.fundamentalCycle_apply X m]; norm_num) |
| 102 | exact (hA ha).elim |
| 103 | |
| 104 | theorem secondPullback_preserves_relations : |
| 105 | CycleClass.Thom.IntersectionGeometry.rationalEquivalences Y 1 ≤ |
| 106 | (CycleClass.Thom.IntersectionGeometry.rationalEquivalences P.space 1).comap (DegreeCast.ExteriorCycleLinear.secondPullbackMap P 1) := by |
| 107 | intro a ha |
| 108 | change DegreeCast.ExteriorCycleLinear.secondPullbackMap P 1 a ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences P.space 1 |
| 109 | rw [DegreeCast.ExteriorCycleLinear.secondPullbackMap_apply, secondPullback_eq_flatMap P m] |
| 110 | exact CurveFlatComponents.flatMap_preserves_relations P.snd (m + 1) ha |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductDivisorPullback |