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.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.Data.Fin.Tuple.Basic |
| 4 | |
| 5 | /-! # Analytic Set Operations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Basic operations on local holomorphic zero sets |
| 13 | -/ |
| 14 | |
| 15 | open Set |
| 16 | |
| 17 | theorem AnalyticSetOperations.Constructions.Cone.holomorphicZeroSetAt_of_not_mem_closed |
| 18 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 19 | {S : Set E} (hS : IsClosed S) {x : E} (hx : x ∉ S) : |
| 20 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S x := by |
| 21 | refine ⟨Sᶜ, hS.isOpen_compl, hx, 1, fun _ _ => 1, |
| 22 | fun _ => differentiableOn_const _, ?_⟩ |
| 23 | intro y hy |
| 24 | constructor |
| 25 | · intro h |
| 26 | exact False.elim (hy h) |
| 27 | · intro h |
| 28 | exact False.elim (one_ne_zero (h 0)) |
| 29 | |
| 30 | theorem ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt.inter |
| 31 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 32 | {S T : Set E} {x : E} (hS : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S x) (hT : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt T x) : |
| 33 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (S ∩ T) x := by |
| 34 | obtain ⟨U, hU, hxU, m, f, hf, hSf⟩ := hS |
| 35 | obtain ⟨V, hV, hxV, n, g, hg, hTg⟩ := hT |
| 36 | refine ⟨U ∩ V, hU.inter hV, ⟨hxU, hxV⟩, m + n, Fin.append f g, ?_, ?_⟩ |
| 37 | · intro i |
| 38 | refine Fin.addCases (fun j => ?_) (fun j => ?_) i |
| 39 | · simpa only [Fin.append_left] using (hf j).mono (show U ∩ V ⊆ U from inter_subset_left) |
| 40 | · simpa only [Fin.append_right] using (hg j).mono (show U ∩ V ⊆ V from inter_subset_right) |
| 41 | · intro y hy |
| 42 | rw [mem_inter_iff, hSf y hy.1, hTg y hy.2] |
| 43 | constructor |
| 44 | · rintro ⟨hfy, hgy⟩ i |
| 45 | refine Fin.addCases (fun j => ?_) (fun j => ?_) i |
| 46 | · simpa only [Fin.append_left] using hfy j |
| 47 | · simpa only [Fin.append_right] using hgy j |
| 48 | · intro h |
| 49 | exact ⟨fun i => by simpa only [Fin.append_left] using h (Fin.castAdd n i), |
| 50 | fun j => by simpa only [Fin.append_right] using h (Fin.natAdd m j)⟩ |
| 51 | |
| 52 | theorem AnalyticSetOperations.Constructions.Cone.holomorphicZeroSetAt_zero_fiber |
| 53 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 54 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 55 | {g : E → F} {U : Set E} (hU : IsOpen U) (hg : DifferentiableOn ℂ g U) |
| 56 | {x : E} (hx : x ∈ U) : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt {y | g y = 0} x := by |
| 57 | let e := (Module.finBasis ℂ F).equivFunL |
| 58 | refine ⟨U, hU, hx, Module.finrank ℂ F, (fun i y => e (g y) i), ?_, ?_⟩ |
| 59 | · intro i |
| 60 | exact (differentiable_apply i).comp_differentiableOn |
| 61 | (e.differentiable.comp_differentiableOn hg) |
| 62 | · intro y _ |
| 63 | change g y = 0 ↔ ∀ i, e (g y) i = 0 |
| 64 | constructor |
| 65 | · intro h i |
| 66 | rw [h, map_zero] |
| 67 | rfl |
| 68 | · intro h |
| 69 | apply e.injective |
| 70 | ext i |
| 71 | simpa only [map_zero, Pi.zero_apply] using h i |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity |