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.Component.Action |
| 2 | |
| 3 | /-! # Zero Components -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ZeroComponents |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Codimension-zero supports are exactly the open integral components. |
| 10 | The reduced fundamental cycle has coefficient one on each of them. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped Classical |
| 16 | |
| 17 | def componentSupport (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (C : irreducibleComponents X.carrier) : |
| 18 | IrreducibleCloseds X.carrier := |
| 19 | ⟨C.val, C.property.1, isClosed_of_mem_irreducibleComponents _ C.property⟩ |
| 20 | |
| 21 | theorem component_codimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 22 | [SmoothOfRelativeDimension m X.structureMap] (C : irreducibleComponents X.carrier) : |
| 23 | X.supportCodimension (componentSupport X C) = 0 := by |
| 24 | let D := componentSupport X C |
| 25 | have hD : IsOpen (D : Set X.carrier) := |
| 26 | Foundations.Scheme.LocalDomainComponents.isOpen_irreducibleComponent_of_stalkDomains X.stalk_isDomain |
| 27 | (NoetherianSpace.finite_irreducibleComponents (α := X.carrier)) C.property |
| 28 | let : IsOpenImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι D) := Open.Support.inclusion_isOpenImmersion D hD |
| 29 | let : SmoothOfRelativeDimension m (CycleClass.Geometric.SupportFiniteType.supportStructureMap D X.structureMap) := by |
| 30 | have h := smoothOfRelativeDimension_comp 0 m (CycleClass.Geometric.GenericPoint.reducedSupportι D) X.structureMap |
| 31 | simpa only [zero_add, CycleClass.Geometric.SupportFiniteType.supportStructureMap] using h |
| 32 | have hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension D X.structureMap = m := |
| 33 | Grading.integral_dimension_of_relativeDimension (CycleClass.Geometric.SupportFiniteType.supportStructureMap D X.structureMap) m |
| 34 | have h := Grading.supportDimension_add_codimension X m D |
| 35 | rw [hd] at h |
| 36 | change X.supportCodimension D = 0 |
| 37 | omega |
| 38 | |
| 39 | def containingComponent (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 40 | [SmoothOfRelativeDimension m X.structureMap] (W : IrreducibleCloseds X.carrier) : |
| 41 | X.DimensionCycleSupport 0 := |
| 42 | ⟨componentSupport X (X.supportComponent W), component_codimension X m _⟩ |
| 43 | |
| 44 | theorem subset_containingComponent (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 45 | [SmoothOfRelativeDimension m X.structureMap] (W : IrreducibleCloseds X.carrier) : |
| 46 | W ≤ (containingComponent X m W).val := X.support_subset_component W |
| 47 | |
| 48 | theorem containingComponent_unique (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 49 | [SmoothOfRelativeDimension m X.structureMap] (W : IrreducibleCloseds X.carrier) |
| 50 | (A : X.DimensionCycleSupport 0) (hA : W ≤ A.val) : containingComponent X m W = A := by |
| 51 | obtain ⟨x, hx⟩ := W.isIrreducible.nonempty |
| 52 | have hC : (containingComponent X m W).val ≤ A.val := |
| 53 | IntersectionZero.subset_of_mem_zero_support X m A (containingComponent X m W).val x |
| 54 | (subset_containingComponent X m W hx) (hA hx) |
| 55 | exact Subtype.ext (IntersectionZero.eq_of_subset_of_codimension_eq X m hC |
| 56 | ((containingComponent X m W).property.trans A.property.symm)) |
| 57 | |
| 58 | theorem subset_zero_iff (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 59 | [SmoothOfRelativeDimension m X.structureMap] (W : IrreducibleCloseds X.carrier) |
| 60 | (A : X.DimensionCycleSupport 0) : W ≤ A.val ↔ A = containingComponent X m W := by |
| 61 | constructor |
| 62 | · intro h |
| 63 | exact (containingComponent_unique X m W A h).symm |
| 64 | · rintro rfl |
| 65 | exact subset_containingComponent X m W |
| 66 | |
| 67 | theorem reducedClosedCycle_zero_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 68 | [SmoothOfRelativeDimension m X.structureMap] (S : Closeds X.carrier) |
| 69 | (A : X.DimensionCycleSupport 0) : |
| 70 | CycleClass.Thom.IntersectionGeometry.reducedClosedCycle X 0 S A = if (A.val : Set X.carrier) ⊆ S then 1 else 0 := by |
| 71 | rw [CycleClass.Thom.IntersectionGeometry.reducedClosedCycle_apply] |
| 72 | congr 1 |
| 73 | apply propext |
| 74 | constructor |
| 75 | · rintro ⟨C, hC⟩ |
| 76 | rw [← hC] |
| 77 | exact Supports.closedComponentSupport_subset X.carrier S C |
| 78 | · intro hA |
| 79 | exact Supports.support_eq_component X m 0 S (fun _ _ => Nat.zero_le _) A hA |
| 80 | |
| 81 | theorem fundamentalCycle_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 82 | [SmoothOfRelativeDimension m X.structureMap] (A : X.DimensionCycleSupport 0) : |
| 83 | ProperCycleLinearity.fundamentalCycle X A = 1 := by |
| 84 | rw [ProperCycleLinearity.fundamentalCycle, reducedClosedCycle_zero_apply X m] |
| 85 | exact ite_eq_left (Set.subset_univ _) |
| 86 | |
| 87 | theorem cycleAction_apply_component (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 88 | [SmoothOfRelativeDimension m X.structureMap] |
| 89 | (a : X.RationalDimensionCycle 0) (b : X.RationalDimensionCycle q) |
| 90 | (C : X.DimensionCycleSupport q) : |
| 91 | Component.Action.cycleAction X q a b C = a (containingComponent X m C.val) * b C := by |
| 92 | rw [Component.Action.cycleAction_apply] |
| 93 | have hc (A : X.DimensionCycleSupport 0) : C.val ≤ A.val ↔ A = containingComponent X m C.val := by |
| 94 | constructor |
| 95 | · intro h |
| 96 | exact (containingComponent_unique X m C.val A h).symm |
| 97 | · rintro rfl |
| 98 | exact subset_containingComponent X m C.val |
| 99 | simp only [Finsupp.sum, hc, mul_ite, mul_zero] |
| 100 | rw [Finset.sum_ite_eq'] |
| 101 | by_cases h : containingComponent X m C.val ∈ a.support |
| 102 | · simp [h] |
| 103 | · have hz := Finsupp.notMem_support_iff.mp h |
| 104 | simp [h, hz] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ZeroComponents |