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.HodgeConjecture.DegreeTwo.ExponentialM |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.UniformizationEq |
| 3 | import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ContDiff |
| 4 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 5 | import Mathlib.Topology.IsLocalHomeomorph |
| 6 | |
| 7 | /-! # Exponential Local -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal.Constructions.Exponential |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # DegreeTwo: local invertibility of the constructed exponential |
| 15 | |
| 16 | The inverse function theorem is applied in the actual manifold chart at the |
| 17 | identity. Translation then gives local invertibility at every tangent vector. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.Manifold _root_.Topology |
| 21 | open scoped _root_.Manifold ContDiff |
| 22 | |
| 23 | /-- Replacing the irrelevant values outside a partial homeomorphism's source |
| 24 | does not change its inverse or its homeomorphism properties on that source. -/ |
| 25 | def withFun {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] |
| 26 | (e : OpenPartialHomeomorph X Y) (f : X → Y) (hf : Set.EqOn f e e.source) : |
| 27 | OpenPartialHomeomorph X Y where |
| 28 | toFun := f |
| 29 | invFun := e.symm |
| 30 | source := e.source |
| 31 | target := e.target |
| 32 | map_source' := fun x hx => hf hx ▸ e.map_source hx |
| 33 | map_target' := fun _ hx => e.map_target hx |
| 34 | left_inv' := fun x hx => by rw [hf hx]; exact e.left_inv hx |
| 35 | right_inv' := fun y hy => by rw [hf (e.map_target hy)]; exact e.right_inv hy |
| 36 | continuousOn_toFun := e.continuousOn.congr hf |
| 37 | continuousOn_invFun := e.continuousOn_symm |
| 38 | open_source := e.open_source |
| 39 | open_target := e.open_target |
| 40 | |
| 41 | variable {E C : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 42 | [FiniteDimensional ℝ E] [CompleteSpace E] |
| 43 | [TopologicalSpace C] [ChartedSpace E C] [CommGroup C] |
| 44 | [LieGroup (𝓘(ℝ, E)) ∞ C] [T2Space C] |
| 45 | |
| 46 | /-- The inverse function theorem produces a genuine local inverse near zero. -/ |
| 47 | theorem exists_expMap_localHomeomorph_zero : |
| 48 | ∃ e : OpenPartialHomeomorph E C, |
| 49 | (0 : E) ∈ e.source ∧ (e : E → C) = ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) := by |
| 50 | let f := ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) |
| 51 | let c := chartAt E (f 0) |
| 52 | let g : E → E := extChartAt (𝓘(ℝ, E)) (f 0) ∘ f |
| 53 | have hc : ContDiffAt ℝ 1 g (0 : E) := |
| 54 | ((contMDiffAt_extChartAt (I := 𝓘(ℝ, E)) (x := f 0) (n := 1)).comp |
| 55 | 0 (ExponentialM.Constructions.Exponential.expMap_contMDiff_one (E := E) (C := C) 0)).contDiffAt |
| 56 | have hd : HasFDerivAt g |
| 57 | (ContinuousLinearEquiv.refl ℝ E : E →L[ℝ] E) (0 : E) := by |
| 58 | apply HasMFDerivAt.hasFDerivAt |
| 59 | have hchart := (mdifferentiableAt_extChartAt (I := 𝓘(ℝ, E)) |
| 60 | (mem_chart_source E (f 0))).hasMFDerivAt |
| 61 | have h := hchart.comp 0 (ExponentialM.Constructions.Exponential.hasMFDerivAt_expMap_zero (E := E) (C := C)) |
| 62 | apply h.congr_mfderiv |
| 63 | rw [mfderiv_extChartAt_self] |
| 64 | ext x |
| 65 | rfl |
| 66 | let r := hc.toOpenPartialHomeomorph g hd (by norm_num) |
| 67 | have hr₀ : (0 : E) ∈ r.source := hc.mem_toOpenPartialHomeomorph_source hd (by norm_num) |
| 68 | have hcf₀ : f 0 ∈ c.source := mem_chart_source E (f 0) |
| 69 | let k := (r.trans c.symm).restrOpen (f ⁻¹' c.source) |
| 70 | (c.open_source.preimage (ExponentialM.Constructions.Exponential.expMap_continuous (E := E) (C := C))) |
| 71 | have hk₀ : (0 : E) ∈ k.source := by |
| 72 | refine ⟨⟨hr₀, ?_⟩, hcf₀⟩ |
| 73 | exact c.map_source hcf₀ |
| 74 | have heq : Set.EqOn f k k.source := by |
| 75 | intro x hx |
| 76 | change f x = c.symm (c (f x)) |
| 77 | exact (c.left_inv hx.2).symm |
| 78 | exact ⟨withFun k f heq, hk₀, rfl⟩ |
| 79 | |
| 80 | /-- The constructed exponential is a local homeomorphism everywhere. -/ |
| 81 | theorem expMap_isLocalHomeomorph : |
| 82 | IsLocalHomeomorph (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) := by |
| 83 | let : IsTopologicalGroup C := topologicalGroup_of_lieGroup (𝓘(ℝ, E)) ∞ |
| 84 | obtain ⟨e, he₀, he⟩ := exists_expMap_localHomeomorph_zero (E := E) (C := C) |
| 85 | intro v |
| 86 | let d := ((Homeomorph.subRight v).toOpenPartialHomeomorph.trans e).trans |
| 87 | (Homeomorph.mulLeft (ExponentialM.Constructions.Exponential.expMap (C := C) v)).toOpenPartialHomeomorph |
| 88 | refine ⟨d, ?_, ?_⟩ |
| 89 | · exact ⟨⟨Set.mem_univ v, by simpa using he₀⟩, Set.mem_univ _⟩ |
| 90 | · funext x |
| 91 | change ExponentialM.Constructions.Exponential.expMap (C := C) x = ExponentialM.Constructions.Exponential.expMap (C := C) v * e (x - v) |
| 92 | rw [he, ← ExponentialM.Constructions.Exponential.expMap_add] |
| 93 | congr 1 |
| 94 | abel |
| 95 | |
| 96 | /-- The exponential as an additive homomorphism into the additive spelling of |
| 97 | the commutative group. -/ |
| 98 | def expAddHom : E →+ Additive C where |
| 99 | toFun := fun v => Additive.ofMul (ExponentialM.Constructions.Exponential.expMap (C := C) v) |
| 100 | map_zero' := ExponentialM.Constructions.Exponential.exp_zero (G := C) |
| 101 | map_add' := ExponentialM.Constructions.Exponential.expMap_add (C := C) |
| 102 | |
| 103 | /-- The actual period subgroup of the exponential. -/ |
| 104 | def expLattice : Submodule ℤ E := (expAddHom (E := E) (C := C)).ker.toIntSubmodule |
| 105 | |
| 106 | instance expLattice_discrete : DiscreteTopology (expLattice (E := E) (C := C)) := |
| 107 | UniformizationEq.Constructions.Uniformization.kernel_discrete (expAddHom (E := E) (C := C)) |
| 108 | (expMap_isLocalHomeomorph (E := E) (C := C)) |
| 109 | |
| 110 | /-- Connectedness gives surjectivity of the constructed exponential. -/ |
| 111 | theorem expMap_surjective [ConnectedSpace C] : |
| 112 | Function.Surjective (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) := by |
| 113 | let : IsTopologicalGroup C := topologicalGroup_of_lieGroup (𝓘(ℝ, E)) ∞ |
| 114 | let : ConnectedSpace (Additive C) := ‹ConnectedSpace C› |
| 115 | exact UniformizationEq.Constructions.Uniformization.surjective_of_localHomeomorph |
| 116 | (expAddHom (E := E) (C := C)) (expMap_isLocalHomeomorph (E := E) (C := C)) |
| 117 | |
| 118 | /-- Compactness forces the actual periods to span the real tangent space. -/ |
| 119 | instance expLattice_full [ConnectedSpace C] [CompactSpace C] : |
| 120 | IsZLattice ℝ (expLattice (E := E) (C := C)) := by |
| 121 | let : IsTopologicalGroup C := topologicalGroup_of_lieGroup (𝓘(ℝ, E)) ∞ |
| 122 | let : ConnectedSpace (Additive C) := ‹ConnectedSpace C› |
| 123 | let : CompactSpace (Additive C) := ‹CompactSpace C› |
| 124 | exact (UniformizationEq.Constructions.Uniformization.kernel_is_lattice (expAddHom (E := E) (C := C)) |
| 125 | (expMap_isLocalHomeomorph (E := E) (C := C))).choose_spec |
| 126 | |
| 127 | /-- A compact connected commutative real Lie group is the quotient of its |
| 128 | tangent space by the periods of its constructed exponential. -/ |
| 129 | def expQuotientHomeomorph [ConnectedSpace C] : |
| 130 | (E ⧸ (expLattice (E := E) (C := C)).toAddSubgroup) ≃ₜ C := by |
| 131 | let : IsTopologicalGroup C := topologicalGroup_of_lieGroup (𝓘(ℝ, E)) ∞ |
| 132 | exact UniformizationEq.Constructions.Uniformization.quotientHomeomorph (expAddHom (E := E) (C := C)) |
| 133 | (expMap_isLocalHomeomorph (E := E) (C := C)) |
| 134 | (expMap_surjective (E := E) (C := C)) |
| 135 | |
| 136 | @[simp] |
| 137 | theorem expQuotientHomeomorph_mk [ConnectedSpace C] (v : E) : |
| 138 | expQuotientHomeomorph (C := C) (QuotientAddGroup.mk v) = ExponentialM.Constructions.Exponential.expMap (C := C) v := rfl |
| 139 | |
| 140 | end |
| 141 | |
| 142 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal.Constructions.Exponential |