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.CompatibleResidualCoordinates |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.CompatibleMoving |
| 3 | |
| 4 | /-! # Compatible Moving -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.CompatibleMoving |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The residual moving induction preserves the native intersection |
| 11 | class with every fixed support already met properly by the original |
| 12 | cycle, while imposing any additional finite proper-position constraints. -/ |
| 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 | |
| 19 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 20 | (m p q : ℕ) [SmoothOfRelativeDimension m X.structureMap] (hp : 1 ≤ p) |
| 21 | {τ ι : Type} [Finite τ] [Finite ι] (Z : τ → IrreducibleCloseds X.carrier) |
| 22 | (B : ι → X.DimensionCycleSupport q) |
| 23 | |
| 24 | include hp in |
| 25 | theorem bounded (r k : ℕ) (hkr : k + r = p + m) (W : X.DimensionCycleSupport p) |
| 26 | (hbound : ∀ t, ∀ C : IrreducibleCloseds X.carrier, |
| 27 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ (Z t : Set X.carrier) → |
| 28 | min (p + X.supportCodimension (Z t)) k ≤ X.supportCodimension C) |
| 29 | (hproper : ∀ i, ∀ C : IrreducibleCloseds X.carrier, |
| 30 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ ((B i).val : Set X.carrier) → p + q ≤ X.supportCodimension C) : |
| 31 | ∃ c : X.RationalDimensionCycle p, |
| 32 | Finsupp.single W 1 - c ∈ CompatibleRelations.submodule X m p q B ∧ |
| 33 | c ∈ Proper.SupportCycles.submodule X p (Sum.elim Z (fun i => (B i).val)) := by |
| 34 | induction r generalizing k W with |
| 35 | | zero => |
| 36 | refine ⟨Finsupp.single W 1, ?_, ?_⟩ |
| 37 | · rw [sub_self] |
| 38 | exact (CompatibleRelations.submodule X m p q B).zero_mem |
| 39 | · apply Proper.SupportCycles.single_mem |
| 40 | intro t C hC |
| 41 | cases t with |
| 42 | | inl t => |
| 43 | change p + X.supportCodimension (Z t) ≤ X.supportCodimension C |
| 44 | have hZ := Grading.supportDimension_add_codimension X m (Z t) |
| 45 | have ht : p + X.supportCodimension (Z t) ≤ k := by omega |
| 46 | simpa only [min_eq_left ht] using hbound t C hC |
| 47 | | inr i => |
| 48 | change p + X.supportCodimension (B i).val ≤ X.supportCodimension C |
| 49 | rw [(B i).property] |
| 50 | exact hproper i C hC |
| 51 | | succ r ih => |
| 52 | obtain ⟨L, h, hL, hdecomp, hcone, hres, hresproper⟩ := |
| 53 | CompatibleResidualCoordinates.exists_coordinates X m p q hp W Z B |
| 54 | (fun t => min (p + X.supportCodimension (Z t)) k) hbound hproper |
| 55 | obtain ⟨c, hc, hcproper⟩ := Cone.CompatibleMoving.exists_cycle X m L hL h p q W Z B hcone |
| 56 | let R := CompatibleRelations.submodule X m p q B |
| 57 | let G := Proper.SupportCycles.submodule X p (Sum.elim Z (fun i => (B i).val)) |
| 58 | obtain ⟨b, hb, hbproper⟩ := CompatibleRelations.lift_cycle X p R G |
| 59 | (Cone.SupportBound.IntegralCycle.residual X m L hL h p W) (by |
| 60 | intro D hD |
| 61 | apply ih (k + 1) (by omega) D |
| 62 | · intro t C hC |
| 63 | have hr := hres t D hD C hC |
| 64 | omega |
| 65 | · exact fun i C hC => hresproper i D hD C hC) |
| 66 | refine ⟨c - b, ?_, G.sub_mem hcproper hbproper⟩ |
| 67 | have he : Finsupp.single W (1 : ℚ) - (c - b) = |
| 68 | (Cone.SupportBound.IntegralCycle.cycle X m L hL h p W - c) - |
| 69 | (Cone.SupportBound.IntegralCycle.residual X m L hL h p W - b) := by |
| 70 | rw [hdecomp] |
| 71 | abel |
| 72 | rw [he] |
| 73 | exact R.sub_mem hc hb |
| 74 | |
| 75 | include hp in |
| 76 | theorem generator (W : X.DimensionCycleSupport p) |
| 77 | (hproper : ∀ i, ∀ C : IrreducibleCloseds X.carrier, |
| 78 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ ((B i).val : Set X.carrier) → p + q ≤ X.supportCodimension C) : |
| 79 | ∃ c : X.RationalDimensionCycle p, |
| 80 | Finsupp.single W 1 - c ∈ CompatibleRelations.submodule X m p q B ∧ |
| 81 | c ∈ Proper.SupportCycles.submodule X p (Sum.elim Z (fun i => (B i).val)) := |
| 82 | bounded X m p q hp Z B (p + m) 0 (by omega) W (by intro t C _; simp) hproper |
| 83 | |
| 84 | include hp in |
| 85 | theorem cycle (a : X.RationalDimensionCycle p) |
| 86 | (hproper : ∀ W ∈ a.support, ∀ i, ∀ C : IrreducibleCloseds X.carrier, |
| 87 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ ((B i).val : Set X.carrier) → p + q ≤ X.supportCodimension C) : |
| 88 | ∃ c : X.RationalDimensionCycle p, |
| 89 | a - c ∈ CompatibleRelations.submodule X m p q B ∧ |
| 90 | c ∈ Proper.SupportCycles.submodule X p (Sum.elim Z (fun i => (B i).val)) := |
| 91 | CompatibleRelations.lift_cycle X p |
| 92 | (CompatibleRelations.submodule X m p q B) |
| 93 | (Proper.SupportCycles.submodule X p (Sum.elim Z (fun i => (B i).val))) a |
| 94 | (fun W hW => generator X m p q hp Z B W (hproper W hW)) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.CompatibleMoving |