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.Product.Immersion |
| 2 | import Mathlib.Geometry.Manifold.MFDeriv.SpecificFunctions |
| 3 | |
| 4 | /-! # Analytic Coordinate Difference -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.AnalyticCoordinateDifference.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The difference of two copies of a local analytic coordinate map |
| 11 | is submersive. On any domain where the coordinates are injective, its |
| 12 | zero set is exactly the diagonal. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 21 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ω M] |
| 22 | |
| 23 | local instance (priority := low) : ChartedSpace (E × E) (M × M) := prodChartedSpace E M E M |
| 24 | local instance : IsManifold 𝓘(ℂ, E × E) ω (M × M) := Product.Immersion.Constructions.productModel_isManifold |
| 25 | |
| 26 | def coordinateDifference (n : ℕ) (c : M → (Fin n → ℂ)) (z : M × M) : Fin n → ℂ := c z.1 - c z.2 |
| 27 | |
| 28 | variable (n : ℕ) (c : M → (Fin n → ℂ)) (hc : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, Fin n → ℂ) ω c) |
| 29 | |
| 30 | include hc in |
| 31 | omit [IsManifold 𝓘(ℂ, E) ω M] in |
| 32 | theorem coordinateDifference_analytic : |
| 33 | ContMDiff 𝓘(ℂ, E × E) 𝓘(ℂ, Fin n → ℂ) ω (coordinateDifference n c) := by |
| 34 | rw [modelWithCornersSelf_prod] |
| 35 | exact (hc.comp contMDiff_fst).sub (hc.comp contMDiff_snd) |
| 36 | |
| 37 | include hc in |
| 38 | omit [IsManifold 𝓘(ℂ, E) ω M] in |
| 39 | theorem coordinateDifference_submersion |
| 40 | (hs : ∀ x, Function.Surjective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, Fin n → ℂ) c x)) (z : M × M) : |
| 41 | Function.Surjective (mfderiv 𝓘(ℂ, E × E) 𝓘(ℂ, Fin n → ℂ) (coordinateDifference n c) z) := by |
| 42 | rcases z with ⟨x, y⟩ |
| 43 | let i : M → M × M := fun a => (a, y) |
| 44 | have hi : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E × E) ω i := by |
| 45 | rw [modelWithCornersSelf_prod] |
| 46 | exact contMDiff_id.prodMk contMDiff_const |
| 47 | have he : mfderiv 𝓘(ℂ, E) 𝓘(ℂ, Fin n → ℂ) (coordinateDifference n c ∘ i) x = |
| 48 | mfderiv 𝓘(ℂ, E) 𝓘(ℂ, Fin n → ℂ) c x := by |
| 49 | change mfderiv 𝓘(ℂ, E) 𝓘(ℂ, Fin n → ℂ) (c - fun _ => c y) x = _ |
| 50 | rw [mfderiv_sub (hc.mdifferentiableAt (by simp)) mdifferentiableAt_const, mfderiv_const, sub_zero] |
| 51 | have h := mfderiv_comp x ((coordinateDifference_analytic n c hc).mdifferentiableAt (by simp)) |
| 52 | (hi.mdifferentiableAt (by simp)) |
| 53 | have heq := h.symm.trans he |
| 54 | intro w |
| 55 | obtain ⟨v, hv⟩ := hs x w |
| 56 | refine ⟨mfderiv 𝓘(ℂ, E) 𝓘(ℂ, E × E) i x v, ?_⟩ |
| 57 | exact (congrArg (fun L => L v) heq).trans hv |
| 58 | |
| 59 | omit [NormedAddCommGroup E] [NormedSpace ℂ E] [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ω M] in |
| 60 | theorem coordinateDifference_zero_iff (U : Set M) (hi : Set.InjOn c U) |
| 61 | (z : M × M) (hz : z ∈ U ×ˢ U) : coordinateDifference n c z = 0 ↔ z.1 = z.2 := by |
| 62 | change c z.1 - c z.2 = 0 ↔ z.1 = z.2 |
| 63 | exact sub_eq_zero.trans ⟨fun h => hi hz.1 hz.2 h, fun h => congrArg c h⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.CycleClass.Thom.AnalyticCoordinateDifference.Constructions |