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 Mathlib.Geometry.Manifold.ContMDiff.Basic |
| 2 | import Mathlib.Geometry.Manifold.ContMDiff.Atlas |
| 3 | import Mathlib.Analysis.Complex.Basic |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalPairAmbientRestriction |
| 5 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 6 | |
| 7 | /-! # Smooth Ambient Restriction -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SmoothAmbientRestriction.Constructions |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # DegreeTwo: smooth native normal charts restrict to ambient opens |
| 15 | |
| 16 | Restriction uses the actual induced manifold on the open subtype. The |
| 17 | inverse chart remains smooth because its composite with the inclusion |
| 18 | agrees with the original inverse on the entire restricted target. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.TopologicalSpace |
| 22 | open scoped ContDiff _root_.Manifold |
| 23 | |
| 24 | variable {N G E : Type*} [TopologicalSpace N] |
| 25 | [NormedAddCommGroup G] [NormedSpace ℂ G] [ChartedSpace G N] |
| 26 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 27 | |
| 28 | /-- Both directions of a smooth native chart remain smooth on an actual |
| 29 | ambient open subtype. -/ |
| 30 | theorem contMDiffOn_subtypeRestr (q : OpenPartialHomeomorph N E) |
| 31 | (hq : ContMDiffOn 𝓘(ℂ, G) 𝓘(ℂ, E) ∞ q q.source) |
| 32 | (hqi : ContMDiffOn 𝓘(ℂ, E) 𝓘(ℂ, G) ∞ q.symm q.target) |
| 33 | (U : Opens N) (hU : Nonempty U) : |
| 34 | ContMDiffOn 𝓘(ℂ, G) 𝓘(ℂ, E) ∞ (q.subtypeRestr hU) (q.subtypeRestr hU).source ∧ |
| 35 | ContMDiffOn 𝓘(ℂ, E) 𝓘(ℂ, G) ∞ (q.subtypeRestr hU).symm (q.subtypeRestr hU).target := by |
| 36 | constructor |
| 37 | · rw [q.subtypeRestr_source] |
| 38 | change ContMDiffOn 𝓘(ℂ, G) 𝓘(ℂ, E) ∞ (q ∘ (Subtype.val : U → N)) |
| 39 | ((Subtype.val : U → N) ⁻¹' q.source) |
| 40 | exact hq.comp contMDiff_subtype_val.contMDiffOn (fun _ hx => hx) |
| 41 | · have hcomp : ContMDiffOn 𝓘(ℂ, E) 𝓘(ℂ, G) ∞ |
| 42 | (Subtype.val ∘ (q.subtypeRestr hU).symm) (q.subtypeRestr hU).target := by |
| 43 | apply (hqi.mono (q.subtypeRestr_target_subset hU)).congr |
| 44 | intro z hz |
| 45 | exact q.subtypeRestr_symm_apply hU hz |
| 46 | intro z hz |
| 47 | exact (ContMDiffWithinAt.subtypeVal_comp_iff U (q.subtypeRestr hU).symm |
| 48 | (q.subtypeRestr hU).target z).mp (hcomp z hz) |
| 49 | |
| 50 | theorem normalPairRestrictAmbient_mdifferentiable |
| 51 | {M F : Type} {N G E : Type} [TopologicalSpace N] |
| 52 | [NormedAddCommGroup G] [NormedSpace ℂ G] [ChartedSpace G N] |
| 53 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 54 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 55 | {f : M → N} {x : M} (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair E F f x) |
| 56 | (U : Opens N) (hPU : P.neighborhood ⊆ U) |
| 57 | (hq : ContMDiffOn 𝓘(ℂ, G) 𝓘(ℂ, E × F) ∞ P.ambientChart P.ambientChart.source) |
| 58 | (hqi : ContMDiffOn 𝓘(ℂ, E × F) 𝓘(ℂ, G) ∞ P.ambientChart.symm P.ambientChart.target) : |
| 59 | (NormalPairAmbientRestriction.Constructions.normalPairRestrictAmbient P U hPU).ambientChart.MDifferentiable |
| 60 | 𝓘(ℂ, G) 𝓘(ℂ, E × F) := by |
| 61 | have h := contMDiffOn_subtypeRestr P.ambientChart hq hqi U |
| 62 | ⟨⟨f x, hPU P.point_mem_neighborhood⟩⟩ |
| 63 | exact ⟨h.1.mdifferentiableOn (by simp), h.2.mdifferentiableOn (by simp)⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SmoothAmbientRestriction.Constructions |