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.MFDeriv.FDeriv |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.OfCompLeft |
| 3 | import Mathlib.Analysis.Normed.Operator.Banach |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | |
| 6 | /-! # Homeomorph Inverse Differentiable -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HomeomorphInverseDifferentiable |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! # An actual homeomorphism with bijective complex differential has differentiable inverse -/ |
| 15 | |
| 16 | open scoped _root_.Manifold |
| 17 | |
| 18 | variable {E F M N : Type*} |
| 19 | [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℂ F] [CompleteSpace F] |
| 21 | [TopologicalSpace M] [ChartedSpace E M] |
| 22 | [TopologicalSpace N] [ChartedSpace F N] |
| 23 | |
| 24 | set_option backward.defeqAttrib.useBackward true in |
| 25 | set_option backward.isDefEq.respectTransparency false in |
| 26 | set_option backward.isDefEq.respectTransparency.types false in |
| 27 | theorem homeomorph_inverse_mDifferentiableAt (h : M ≃ₜ N) (x : M) |
| 28 | (hf : MDifferentiableAt 𝓘(ℂ, E) 𝓘(ℂ, F) h x) |
| 29 | (hb : Function.Bijective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) h x)) : |
| 30 | MDifferentiableAt 𝓘(ℂ, F) 𝓘(ℂ, E) h.symm (h x) := by |
| 31 | let e := ((chartAt E x).symm.trans h.toOpenPartialHomeomorph).trans (chartAt F (h x)) |
| 32 | have hd : DifferentiableAt ℂ e ((chartAt E x) x) := by |
| 33 | simpa only [mfld_simps, writtenInExtChartAt, e, OpenPartialHomeomorph.coe_trans, |
| 34 | differentiableWithinAt_univ, Function.comp_def] using |
| 35 | hf.differentiableWithinAt_writtenInExtChartAt |
| 36 | have hfb : Function.Bijective (fderiv ℂ e ((chartAt E x) x)) := by |
| 37 | rw [hf.mfderiv] at hb |
| 38 | simpa only [mfld_simps, writtenInExtChartAt, e, OpenPartialHomeomorph.coe_trans, |
| 39 | fderivWithin_univ, Function.comp_def] using! hb |
| 40 | let f' : E ≃L[ℂ] F := ContinuousLinearEquiv.ofBijective (fderiv ℂ e ((chartAt E x) x)) |
| 41 | (LinearMap.ker_eq_bot.mpr hfb.1) (LinearMap.range_eq_top.mpr hfb.2) |
| 42 | have hs : (chartAt E x) x ∈ e.source := by |
| 43 | simp [e] |
| 44 | have hv : e ((chartAt E x) x) = (chartAt F (h x)) (h x) := by |
| 45 | simp [e] |
| 46 | have ht : (chartAt F (h x)) (h x) ∈ e.target := hv ▸ e.map_source hs |
| 47 | have hi : e.symm ((chartAt F (h x)) (h x)) = (chartAt E x) x := by |
| 48 | rw [← hv, e.left_inv hs] |
| 49 | have he : HasFDerivAt e (f' : E →L[ℂ] F) (e.symm ((chartAt F (h x)) (h x))) := by |
| 50 | rw [hi] |
| 51 | exact hd.hasFDerivAt |
| 52 | have hinv := e.hasFDerivAt_symm ht he |
| 53 | refine (mdifferentiableAt_iff _ _).mpr ⟨h.symm.continuous.continuousAt, ?_⟩ |
| 54 | simpa only [mfld_simps, writtenInExtChartAt, e, OpenPartialHomeomorph.coe_trans, |
| 55 | Homeomorph.symm_toOpenPartialHomeomorph, Homeomorph.symm_apply_apply, |
| 56 | Function.comp_def] using hinv.differentiableAt.differentiableWithinAt |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-! # An actual open partial homeomorphism has differentiable inverse on its target -/ |
| 61 | |
| 62 | open scoped _root_.Manifold |
| 63 | |
| 64 | variable {E F M N : Type*} |
| 65 | [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] |
| 66 | [NormedAddCommGroup F] [NormedSpace ℂ F] [CompleteSpace F] |
| 67 | [TopologicalSpace M] [ChartedSpace E M] |
| 68 | [TopologicalSpace N] [ChartedSpace F N] |
| 69 | |
| 70 | set_option backward.defeqAttrib.useBackward true in |
| 71 | set_option backward.isDefEq.respectTransparency false in |
| 72 | set_option backward.isDefEq.respectTransparency.types false in |
| 73 | theorem partialHomeomorph_inverse_mDifferentiableAt (h : OpenPartialHomeomorph M N) |
| 74 | (x : M) (hx : x ∈ h.source) |
| 75 | (hf : MDifferentiableAt 𝓘(ℂ, E) 𝓘(ℂ, F) h x) |
| 76 | (hb : Function.Bijective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) h x)) : |
| 77 | MDifferentiableAt 𝓘(ℂ, F) 𝓘(ℂ, E) h.symm (h x) := by |
| 78 | let e := ((chartAt E x).symm.trans h).trans (chartAt F (h x)) |
| 79 | have hd : DifferentiableAt ℂ e ((chartAt E x) x) := by |
| 80 | simpa only [mfld_simps, writtenInExtChartAt, e, OpenPartialHomeomorph.coe_trans, |
| 81 | differentiableWithinAt_univ, Function.comp_def] using |
| 82 | hf.differentiableWithinAt_writtenInExtChartAt |
| 83 | have hfb : Function.Bijective (fderiv ℂ e ((chartAt E x) x)) := by |
| 84 | rw [hf.mfderiv] at hb |
| 85 | simpa only [mfld_simps, writtenInExtChartAt, e, OpenPartialHomeomorph.coe_trans, |
| 86 | fderivWithin_univ, Function.comp_def] using! hb |
| 87 | let f' : E ≃L[ℂ] F := ContinuousLinearEquiv.ofBijective (fderiv ℂ e ((chartAt E x) x)) |
| 88 | (LinearMap.ker_eq_bot.mpr hfb.1) (LinearMap.range_eq_top.mpr hfb.2) |
| 89 | have hs : (chartAt E x) x ∈ e.source := by |
| 90 | simp [e, hx] |
| 91 | have hv : e ((chartAt E x) x) = (chartAt F (h x)) (h x) := by |
| 92 | simp [e] |
| 93 | have ht : (chartAt F (h x)) (h x) ∈ e.target := hv ▸ e.map_source hs |
| 94 | have hi : e.symm ((chartAt F (h x)) (h x)) = (chartAt E x) x := by |
| 95 | rw [← hv, e.left_inv hs] |
| 96 | have he : HasFDerivAt e (f' : E →L[ℂ] F) (e.symm ((chartAt F (h x)) (h x))) := by |
| 97 | rw [hi] |
| 98 | exact hd.hasFDerivAt |
| 99 | have hinv := e.hasFDerivAt_symm ht he |
| 100 | refine (mdifferentiableAt_iff _ _).mpr ⟨h.continuousAt_symm (h.map_source hx), ?_⟩ |
| 101 | simpa only [mfld_simps, writtenInExtChartAt, e, OpenPartialHomeomorph.coe_trans, |
| 102 | OpenPartialHomeomorph.coe_trans_symm, OpenPartialHomeomorph.symm_symm, |
| 103 | h.left_inv hx, |
| 104 | Function.comp_def] using hinv.differentiableAt.differentiableWithinAt |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.ComplexMultiplication.HomeomorphInverseDifferentiable |