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.CycleClass.Thom.ProjectiveDiagonalEquations |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedVector |
| 4 | |
| 5 | /-! # Local -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Local.Constructions.Class |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At every original proper-intersection component, the actual |
| 12 | product cycle and constructed diagonal equations satisfy the local |
| 13 | class formula with their genuine ambient Tor Euler coefficient. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Support.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveDiagonalEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions.VectorGerms OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.VectorLocalFormula.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n p q : ℕ) (hn : V.complexDimension = n + 1) |
| 25 | (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) (Z : Geometric.DimensionCycles.DimensionCycleSupport V (p + q)) |
| 26 | |
| 27 | local notation "T" => OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions.productVariety V V |
| 28 | local notation "D" => OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions.diagonalSupport V (p + q) Z |
| 29 | local notation "x" => OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.genericPoint (OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions.diagonalSupport V (p + q) Z) |
| 30 | local notation "c" => Finsupp.single (OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B) (1 : ℚ) |
| 31 | |
| 32 | include hn in |
| 33 | theorem exists_diagonal_local_class |
| 34 | (hxA : IntersectionGeometry.supportPoint Z.val ∈ (A.val : Set V.carrier)) |
| 35 | (hxB : IntersectionGeometry.supportPoint Z.val ∈ (B.val : Set V.carrier)) |
| 36 | (hproper : ∀ C : IrreducibleCloseds V.carrier, |
| 37 | (C : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (B.val : Set V.carrier) → p + q ≤ Geometric.DimensionCycles.dimensionCodimension V C) |
| 38 | (l : ℕ) (hl : n ≤ l) : |
| 39 | ∃ U : (T).carrier.Opens, ∃ hxU : x ∈ U, letI : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 40 | ∃ s : Fin (n + 1) → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase U).left, ⊤), |
| 41 | ProjectiveDiagonalEquations.Constructions.IsDiagonalEquationVector V x (LocalIsolation.Constructions.generic_mem_diagonal V (p + q) Z) U hxU (n + 1) s ∧ |
| 42 | ∃ W : (T).carrier.Opens, W ≤ U ∧ x ∈ W ∧ |
| 43 | VectorLocalFormula.Constructions.HasLocalVectorFormula T U (p + q) (n + 1) ((p + q) + V.complexDimension) (by omega) s c |
| 44 | (Finsupp.single D (Local.Euler.Constructions.localCycleEuler T (p + q) x (Section.StalkMap.Constructions.VectorGerms.vectorGerms T U x hxU (n + 1) s) l c)) W := by |
| 45 | classical |
| 46 | have he : ∃ U : (T).carrier.Opens, ∃ hxU : x ∈ U, |
| 47 | ∃ s : Fin (n + 1) → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase U).left, ⊤), |
| 48 | ProjectiveDiagonalEquations.Constructions.IsDiagonalEquationVector V x (LocalIsolation.Constructions.generic_mem_diagonal V (p + q) Z) U hxU (n + 1) s := by |
| 49 | have h := ProjectiveDiagonalEquations.Constructions.exists_diagonal_equations V Z.genericPoint |
| 50 | rw [hn] at h |
| 51 | simpa only [Ambient.Constructions.diagonalSupport_genericPoint] using h |
| 52 | obtain ⟨U, hxU, s, hs⟩ := he |
| 53 | let : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 54 | have hi := LocalIsolation.Constructions.diagonal_equations_isolated V p q A B Z hxA hxB hproper |
| 55 | (Section.StalkMap.Constructions.VectorGerms.vectorGerms T U x hxU (n + 1) s) hs.2.2 |
| 56 | obtain ⟨W, hWU, hxW, hformula⟩ := IsolatedVector.Constructions.ClassGeneral.exists_local_vector_formula |
| 57 | T ((p + q) + V.complexDimension) D n (p + q) (by omega) c U hxU s hs.1 hs.2.1 |
| 58 | (by |
| 59 | intro C hC hxC |
| 60 | have hEq : C = LocalIsolation.Constructions.pairedSupport V p q A B := by |
| 61 | by_contra hne |
| 62 | exact hC (Finsupp.single_eq_of_ne hne) |
| 63 | subst C |
| 64 | exact hi) l hl |
| 65 | exact ⟨U, hxU, s, hs, W, hWU, hxW, hformula⟩ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Local.Constructions.Class |