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.CompatibleSupports |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Principal |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.ChowMoving |
| 4 | |
| 5 | /-! # Compatible Moving -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.CompatibleMoving |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The strengthened moving lemma holds in every codimension on every |
| 12 | smooth projective presentation, including disconnected sources. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Image OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.CycleMaps OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 21 | |
| 22 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 23 | |
| 24 | local instance component_dimension (K : irreducibleComponents X.carrier) : |
| 25 | SmoothOfRelativeDimension m (X.componentVariety K).presentation.structureMap := |
| 26 | Component.Image.component_relativeDimension X m K |
| 27 | |
| 28 | theorem positive (p q : ℕ) (hp : 1 ≤ p) |
| 29 | {τ ι : Type} [Finite τ] [Finite ι] (Z : τ → IrreducibleCloseds X.carrier) |
| 30 | (B : ι → X.DimensionCycleSupport q) (a : X.RationalDimensionCycle p) |
| 31 | (hproper : ∀ W ∈ a.support, ∀ i, ∀ C : IrreducibleCloseds X.carrier, |
| 32 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ ((B i).val : Set X.carrier) → p + q ≤ X.supportCodimension C) : |
| 33 | ∃ c : X.RationalDimensionCycle p, |
| 34 | a - c ∈ CompatibleRelations.submodule X m p q B ∧ |
| 35 | c ∈ Proper.SupportCycles.submodule X p (Sum.elim Z (fun i => (B i).val)) := by |
| 36 | let := Fintype.ofFinite (irreducibleComponents X.carrier) |
| 37 | have hex (K : irreducibleComponents X.carrier) : |
| 38 | ∃ c : (X.componentVariety K).presentation.RationalDimensionCycle p, |
| 39 | Component.CycleMaps.restrict X K p a - c ∈ CompatibleRelations.submodule (X.componentVariety K).presentation m p q |
| 40 | (Component.CompatibleSupports.family X K q B) ∧ |
| 41 | c ∈ Proper.SupportCycles.submodule (X.componentVariety K).presentation p |
| 42 | (Sum.elim (Component.ProperSupportCycles.family X K Z) |
| 43 | (fun i => (Component.CompatibleSupports.family X K q B i).val)) := |
| 44 | Integral.CompatibleMoving.cycle (X.componentVariety K).presentation m p q hp |
| 45 | (Component.ProperSupportCycles.family X K Z) (Component.CompatibleSupports.family X K q B) |
| 46 | (Component.CycleMaps.restrict X K p a) (Component.CompatibleSupports.restrict_proper X K q B p a hproper) |
| 47 | choose c hc hpos using hex |
| 48 | let c' := ∑ K, Component.CycleMaps.embed X K p (c K) |
| 49 | have hrel (K : irreducibleComponents X.carrier) := |
| 50 | (CompatibleRelations.mem_iff (X.componentVariety K).presentation m p q |
| 51 | (Component.CompatibleSupports.family X K q B) (Component.CycleMaps.restrict X K p a) (c K)).mp (hc K) |
| 52 | refine ⟨c', ?_, ?_⟩ |
| 53 | · apply (CompatibleRelations.mem_iff X m p q B a c').mpr |
| 54 | constructor |
| 55 | · apply (Component.Principal.CycleDecomposition.rationallyEquivalent_iff X m p a c').mpr |
| 56 | intro K |
| 57 | rw [Component.Principal.Sum.restrict_sum] |
| 58 | exact (hrel K).1 |
| 59 | · intro i |
| 60 | apply (Component.Principal.CycleDecomposition.rationallyEquivalent_iff X m (p + q) _ _).mpr |
| 61 | intro K |
| 62 | rw [Component.Bilinear.restrict_bilinear, Component.Bilinear.restrict_bilinear, |
| 63 | Component.Principal.Sum.restrict_sum] |
| 64 | by_cases hi : ((B i).val : Set X.carrier) ⊆ K.val |
| 65 | · let j : Component.CompatibleSupports.index X K q B := ⟨i, hi⟩ |
| 66 | have hB : Component.CycleMaps.restrict X K q (Finsupp.single (B i) (1 : ℚ)) = |
| 67 | Finsupp.single (Component.CompatibleSupports.family X K q B j) 1 := by |
| 68 | rw [← Component.CompatibleSupports.image X K q B j, |
| 69 | Component.Bilinear.restrict_single_image] |
| 70 | rw [hB] |
| 71 | exact (hrel K).2 j |
| 72 | · rw [Component.Bilinear.restrict_single_outside X K q (B i) 1 hi, map_zero, map_zero] |
| 73 | exact CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl _ (p + q) 0 |
| 74 | · exact Submodule.sum_mem _ fun K _ => Component.CompatibleSupports.embed_position X K q B Z p (c K) (hpos K) |
| 75 | |
| 76 | theorem cycle (p q : ℕ) |
| 77 | {τ ι : Type} [Finite τ] [Finite ι] (Z : τ → IrreducibleCloseds X.carrier) |
| 78 | (B : ι → X.DimensionCycleSupport q) (a : X.RationalDimensionCycle p) |
| 79 | (hproper : ∀ W ∈ a.support, ∀ i, ∀ C : IrreducibleCloseds X.carrier, |
| 80 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ ((B i).val : Set X.carrier) → p + q ≤ X.supportCodimension C) : |
| 81 | ∃ c : X.RationalDimensionCycle p, |
| 82 | a - c ∈ CompatibleRelations.submodule X m p q B ∧ |
| 83 | c ∈ Proper.SupportCycles.submodule X p (Sum.elim Z (fun i => (B i).val)) := by |
| 84 | by_cases hp : p = 0 |
| 85 | · subst p |
| 86 | refine ⟨a, ?_, ChowMoving.zero_mem X m (Sum.elim Z (fun i => (B i).val)) a⟩ |
| 87 | rw [sub_self] |
| 88 | exact (CompatibleRelations.submodule X m 0 q B).zero_mem |
| 89 | · exact positive X m p q (Nat.pos_of_ne_zero hp) Z B a hproper |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.CompatibleMoving |