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