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.ComplexPoints.Analytic.ImmersionChartDerivative |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 3 | import Mathlib.LinearAlgebra.Complex.FiniteDimensional |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 6 | |
| 7 | /-! # Holomorphic Homeomorph Inverse -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.HolomorphicHomeomorphInverse.BundleCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A holomorphic homeomorphism with bijective complex differential has |
| 14 | a holomorphic inverse, proved in the actual preferred manifold charts. -/ |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionChartDerivative |
| 17 | open scoped _root_.Manifold ContDiff |
| 18 | |
| 19 | variable {E F M N : Type} |
| 20 | [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 21 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 22 | [TopologicalSpace M] [ChartedSpace E M] [TopologicalSpace N] [ChartedSpace F N] |
| 23 | |
| 24 | omit [FiniteDimensional ℂ E] [FiniteDimensional ℂ F] in |
| 25 | theorem contMDiffAt_of_preferredChartMap {f : M → N} {x : M} {n : ℕ∞ω} |
| 26 | (hc : ContinuousAt f x) |
| 27 | (hf : ContDiffAt ℂ n (ComplexPoints.Analytic.ImmersionChartDerivative.preferredChartMap (E := E) (F := F) f x) (chartAt E x x)) : |
| 28 | ContMDiffAt 𝓘(ℂ, E) 𝓘(ℂ, F) n f x := by |
| 29 | unfold ComplexPoints.Analytic.ImmersionChartDerivative.preferredChartMap at hf |
| 30 | apply contMDiffAt_iff.mpr |
| 31 | refine ⟨hc, ?_⟩ |
| 32 | simpa only [ComplexPoints.Analytic.ImmersionChartDerivative.preferredChartMap, extChartAt_coe, extChartAt_coe_symm, |
| 33 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 34 | Function.comp_def, id_eq, Set.range_id, contDiffWithinAt_univ] using hf |
| 35 | |
| 36 | def homeomorphPreferredChart (e : M ≃ₜ N) (x : M) : OpenPartialHomeomorph E F := |
| 37 | ((chartAt E x).symm.transHomeomorph e).trans (chartAt F (e x)) |
| 38 | |
| 39 | omit [NormedSpace ℂ E] [FiniteDimensional ℂ E] [NormedSpace ℂ F] [FiniteDimensional ℂ F] in |
| 40 | theorem homeomorphPreferredChart_coe (e : M ≃ₜ N) (x : M) : |
| 41 | (homeomorphPreferredChart (E := E) (F := F) e x : E → F) = ComplexPoints.Analytic.ImmersionChartDerivative.preferredChartMap e x := rfl |
| 42 | |
| 43 | omit [NormedSpace ℂ E] [FiniteDimensional ℂ E] [NormedSpace ℂ F] [FiniteDimensional ℂ F] in |
| 44 | theorem homeomorphPreferredChart_source (e : M ≃ₜ N) (x : M) : |
| 45 | chartAt E x x ∈ (homeomorphPreferredChart (E := E) (F := F) e x).source := by |
| 46 | change chartAt E x x ∈ (chartAt E x).target ∧ |
| 47 | e ((chartAt E x).symm (chartAt E x x)) ∈ (chartAt F (e x)).source |
| 48 | refine ⟨(chartAt E x).map_source (mem_chart_source E x), ?_⟩ |
| 49 | rw [(chartAt E x).left_inv (mem_chart_source E x)] |
| 50 | exact mem_chart_source F (e x) |
| 51 | |
| 52 | omit [NormedSpace ℂ E] [FiniteDimensional ℂ E] [NormedSpace ℂ F] [FiniteDimensional ℂ F] in |
| 53 | theorem homeomorphPreferredChart_center (e : M ≃ₜ N) (x : M) : |
| 54 | homeomorphPreferredChart (E := E) (F := F) e x (chartAt E x x) = chartAt F (e x) (e x) := by |
| 55 | change chartAt F (e x) (e ((chartAt E x).symm (chartAt E x x))) = _ |
| 56 | rw [(chartAt E x).left_inv (mem_chart_source E x)] |
| 57 | |
| 58 | omit [NormedSpace ℂ E] [FiniteDimensional ℂ E] [NormedSpace ℂ F] [FiniteDimensional ℂ F] in |
| 59 | theorem homeomorphPreferredChart_symm (e : M ≃ₜ N) (x : M) : |
| 60 | ComplexPoints.Analytic.ImmersionChartDerivative.preferredChartMap (E := F) (F := E) e.symm (e x) = |
| 61 | (homeomorphPreferredChart (E := E) (F := F) e x).symm := by |
| 62 | funext z |
| 63 | change chartAt E (e.symm (e x)) (e.symm ((chartAt F (e x)).symm z)) = |
| 64 | chartAt E x (e.symm ((chartAt F (e x)).symm z)) |
| 65 | rw [Homeomorph.symm_apply_apply] |
| 66 | |
| 67 | omit [FiniteDimensional ℂ F] in |
| 68 | theorem holomorphicHomeomorph_inverse (e : M ≃ₜ N) |
| 69 | (he : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ω e) |
| 70 | (hd : ∀ x, Function.Bijective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) e x)) : |
| 71 | ContMDiff 𝓘(ℂ, F) 𝓘(ℂ, E) ω e.symm := by |
| 72 | let := FiniteDimensional.complete ℂ E |
| 73 | intro y |
| 74 | obtain ⟨x, rfl⟩ := e.surjective y |
| 75 | let q := homeomorphPreferredChart (E := E) (F := F) e x |
| 76 | let a := chartAt E x x |
| 77 | have ha : a ∈ q.source := homeomorphPreferredChart_source e x |
| 78 | have hq : ContDiffAt ℂ ω q a := ComplexPoints.Analytic.ImmersionChartDerivative.contDiffAt_preferredChartMap (he x) |
| 79 | have hb : Function.Bijective (fderiv ℂ q a) := by |
| 80 | have h := ComplexPoints.Analytic.ImmersionChartDerivative.mfderiv_eq_preferredChartDerivative ((he x).mdifferentiableAt (by simp)) |
| 81 | exact (congrArg (fun l : E →L[ℂ] F => Function.Bijective l) h).mp (hd x) |
| 82 | let l : E ≃L[ℂ] F := (LinearEquiv.ofBijective (fderiv ℂ q a).toLinearMap hb).toContinuousLinearEquiv |
| 83 | have hderiv : HasFDerivAt q (l : E →L[ℂ] F) a := (hq.differentiableAt (by simp)).hasFDerivAt |
| 84 | have hqi : ContDiffAt ℂ ω q.symm (q a) := |
| 85 | q.contDiffAt_symm (q.map_source ha) |
| 86 | (by rw [q.left_inv ha]; exact hderiv) (by rw [q.left_inv ha]; exact hq) |
| 87 | apply contMDiffAt_of_preferredChartMap e.symm.continuous.continuousAt |
| 88 | rw [homeomorphPreferredChart_symm] |
| 89 | exact (congrArg (fun z => ContDiffAt ℂ ω q.symm z) (homeomorphPreferredChart_center e x)).mp hqi |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.Divisors.LineBundles.HolomorphicHomeomorphInverse.BundleCycles |