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.RepresentationTheory.Theta.Geometric.Period.ThetaAt |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicManifold |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.OfCompLeft |
| 4 | import Mathlib.Geometry.Manifold.LocalDiffeomorph |
| 5 | |
| 6 | /-! # Cover Sheets -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric.Holomorphic.CoverSheets |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A holomorphic covering with bijective differential has genuine smooth |
| 13 | local inverse sheets. The continuous inverse is supplied by the covering. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | section LocalInverse |
| 19 | |
| 20 | variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 21 | [FiniteDimensional ℂ V] [NormedAddCommGroup W] [NormedSpace ℂ W] |
| 22 | {M N : Type*} [TopologicalSpace M] [ChartedSpace V M] |
| 23 | [TopologicalSpace N] [ChartedSpace W N] |
| 24 | |
| 25 | /-- Invertibility of the complex derivative makes the actual continuous |
| 26 | local inverse complex differentiable. -/ |
| 27 | theorem mdifferentiableAt_local_inverse |
| 28 | (e : OpenPartialHomeomorph M N) {x : M} (hx : x ∈ e.source) |
| 29 | (hf : MDifferentiableAt 𝓘(ℂ, V) 𝓘(ℂ, W) e x) |
| 30 | (hbij : Function.Bijective (mfderiv 𝓘(ℂ, V) 𝓘(ℂ, W) e x)) : |
| 31 | MDifferentiableAt 𝓘(ℂ, W) 𝓘(ℂ, V) e.symm (e x) := by |
| 32 | let a := chartAt V x x |
| 33 | let u : OpenPartialHomeomorph V W := |
| 34 | (chartAt V x).symm.trans (e.trans (chartAt W (e x))) |
| 35 | have ha : a ∈ u.source := by |
| 36 | change a ∈ (chartAt V x).target ∧ |
| 37 | (chartAt V x).symm a ∈ e.source ∧ |
| 38 | e ((chartAt V x).symm a) ∈ (chartAt W (e x)).source |
| 39 | simpa only [a, mem_chart_target, mem_chart_source, true_and, and_true, |
| 40 | (chartAt V x).left_inv (mem_chart_source V x)] using hx |
| 41 | have hua : u a = chartAt W (e x) (e x) := by |
| 42 | change chartAt W (e x) (e ((chartAt V x).symm (chartAt V x x))) = _ |
| 43 | rw [(chartAt V x).left_inv (mem_chart_source V x)] |
| 44 | have hd : DifferentiableAt ℂ u a := by |
| 45 | simpa only [u, a, writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 46 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 47 | Function.id_comp, Function.comp_id, Set.range_id, differentiableWithinAt_univ, |
| 48 | OpenPartialHomeomorph.coe_trans, Function.comp_assoc] |
| 49 | using hf.differentiableWithinAt_writtenInExtChartAt |
| 50 | have hderiv : (show V →L[ℂ] W from mfderiv 𝓘(ℂ, V) 𝓘(ℂ, W) e x) = |
| 51 | fderiv ℂ u a := by |
| 52 | have he := hf.mfderiv |
| 53 | simp only [TangentSpace, writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 54 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 55 | Function.id_comp, Function.comp_id, Set.range_id, fderivWithin_univ] at he |
| 56 | convert! he using 1 |
| 57 | let A : V ≃L[ℂ] W := |
| 58 | (LinearEquiv.ofBijective (fderiv ℂ u a).toLinearMap (hderiv ▸ hbij)).toContinuousLinearEquiv |
| 59 | have hA : (A : V →L[ℂ] W) = fderiv ℂ u a := by ext z; rfl |
| 60 | have hu : HasFDerivAt u (A : V →L[ℂ] W) (u.symm (u a)) := by |
| 61 | rw [u.left_inv ha, hA] |
| 62 | exact hd.hasFDerivAt |
| 63 | have hi := (u.hasFDerivAt_symm (u.map_source ha) hu).differentiableAt |
| 64 | rw [hua] at hi |
| 65 | apply (mdifferentiableAt_iff e.symm (e x)).mpr |
| 66 | refine ⟨e.symm.continuousAt (e.map_source hx), ?_⟩ |
| 67 | simpa only [u, OpenPartialHomeomorph.coe_trans_symm, OpenPartialHomeomorph.symm_symm, |
| 68 | e.left_inv hx, |
| 69 | writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 70 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 71 | Function.id_comp, Function.comp_id, Set.range_id, differentiableWithinAt_univ, |
| 72 | Function.comp_assoc] using hi |
| 73 | |
| 74 | end LocalInverse |
| 75 | |
| 76 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicManifold.Constructions.HolomorphicManifoldRegularity |
| 77 | |
| 78 | theorem holomorphicCover_isLocalDiffeomorph |
| 79 | {V W M N : Type*} |
| 80 | [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] |
| 81 | [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] |
| 82 | [TopologicalSpace M] [ChartedSpace V M] [IsManifold 𝓘(ℂ, V) ∞ M] |
| 83 | [TopologicalSpace N] [ChartedSpace W N] [IsManifold 𝓘(ℂ, W) ∞ N] |
| 84 | (f : M → N) (hcover : IsCoveringMap f) |
| 85 | (hf : MDifferentiable 𝓘(ℂ, V) 𝓘(ℂ, W) f) |
| 86 | (hbij : ∀ x, Function.Bijective (mfderiv 𝓘(ℂ, V) 𝓘(ℂ, W) f x)) : |
| 87 | IsLocalDiffeomorph 𝓘(ℂ, V) 𝓘(ℂ, W) ∞ f := by |
| 88 | intro x |
| 89 | obtain ⟨e, hx, he⟩ := hcover.isLocalHomeomorph x |
| 90 | have hinv : MDifferentiable 𝓘(ℂ, W) 𝓘(ℂ, V) |
| 91 | (fun y : (⟨e.target, e.open_target⟩ : TopologicalSpace.Opens N) => e.symm y) := by |
| 92 | intro y |
| 93 | have hi := mdifferentiableAt_local_inverse e (e.map_target y.property) |
| 94 | (he ▸ hf (e.symm y)) (he ▸ hbij (e.symm y)) |
| 95 | rw [e.right_inv y.property] at hi |
| 96 | exact hi.comp y ((contMDiff_subtype_val (I := 𝓘(ℂ, W)) (n := ∞)).mdifferentiable (by simp) y) |
| 97 | have hs := OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicManifold.Constructions.HolomorphicManifoldRegularity.contMDiff_of_mdifferentiable hf |
| 98 | have his := OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicManifold.Constructions.HolomorphicManifoldRegularity.contMDiff_of_mdifferentiable hinv |
| 99 | let p : PartialDiffeomorph 𝓘(ℂ, V) 𝓘(ℂ, W) M N ∞ := |
| 100 | { e.toPartialEquiv with |
| 101 | open_source := e.open_source |
| 102 | open_target := e.open_target |
| 103 | contMDiffOn_toFun := by |
| 104 | change ContMDiffOn 𝓘(ℂ, V) 𝓘(ℂ, W) ∞ (e : M → N) e.source |
| 105 | rw [← he] |
| 106 | exact hs.contMDiffOn |
| 107 | contMDiffOn_invFun := by |
| 108 | intro y hy |
| 109 | exact (contMDiffAt_subtype_iff.mp (his ⟨y, hy⟩)).contMDiffWithinAt } |
| 110 | exact ⟨p, hx, fun y _ => congrFun he y⟩ |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.RepresentationTheory.Theta.Geometric.Holomorphic.CoverSheets |