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.Comparison.Betti.Holomorphic.GermMaps |
| 2 | |
| 3 | /-! # Germ Coordinate Equiv -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.GermCoordinateEquiv.AnalyticLocal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Holomorphic changes of coordinates induce ring equivalences on the |
| 10 | actual germ rings, with an explicit normalization on representatives. -/ |
| 11 | |
| 12 | open Set Filter |
| 13 | open scoped _root_.Topology |
| 14 | |
| 15 | variable {E F G : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 16 | [NormedAddCommGroup F] [NormedSpace ℂ F] [NormedAddCommGroup G] [NormedSpace ℂ G] |
| 17 | |
| 18 | def holomorphicPullbackAt (f : F → E) (hf : Differentiable ℂ f) (y : F) (x : E) (hxy : f y = x) : |
| 19 | ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm y := |
| 20 | hxy ▸ Holomorphic.GermMaps.AnalyticLocal.holomorphicComposition f hf y |
| 21 | |
| 22 | theorem holomorphicPullbackAt_val (f : F → E) (hf : Differentiable ℂ f) |
| 23 | (y : F) (x : E) (hxy : f y = x) (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) : |
| 24 | (holomorphicPullbackAt f hf y x hxy a).val = |
| 25 | GermComposition.AnalyticLocal.germComposition f (by simpa only [hxy] using hf.continuous.tendsto y) a.val := by |
| 26 | subst x |
| 27 | rfl |
| 28 | |
| 29 | theorem holomorphicPullbackAt_comp (f : F → E) (hf : Differentiable ℂ f) |
| 30 | (g : G → F) (hg : Differentiable ℂ g) (x : E) (y : F) (z : G) |
| 31 | (hfx : f y = x) (hgy : g z = y) : |
| 32 | (holomorphicPullbackAt g hg z y hgy).comp (holomorphicPullbackAt f hf y x hfx) = |
| 33 | holomorphicPullbackAt (f ∘ g) (hf.comp hg) z x (by simp only [Function.comp_apply, hgy, hfx]) := by |
| 34 | subst y |
| 35 | subst x |
| 36 | exact Holomorphic.GermMaps.AnalyticLocal.holomorphicComposition_comp f hf g hg z |
| 37 | |
| 38 | def holomorphicGermEquiv (e : E ≃ F) (he : Differentiable ℂ e) (hi : Differentiable ℂ e.symm) |
| 39 | (x : E) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x ≃+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (e x) where |
| 40 | __ := holomorphicPullbackAt e.symm hi (e x) x (e.symm_apply_apply x) |
| 41 | invFun := holomorphicPullbackAt e he x (e x) rfl |
| 42 | left_inv a := by |
| 43 | obtain ⟨f, hfa, _⟩ := a.property |
| 44 | apply Subtype.ext |
| 45 | change (holomorphicPullbackAt e he x (e x) rfl |
| 46 | (holomorphicPullbackAt e.symm hi (e x) x (e.symm_apply_apply x) a)).val = a.val |
| 47 | rw [holomorphicPullbackAt_val, holomorphicPullbackAt_val, ← hfa] |
| 48 | apply Germ.coe_eq.mpr |
| 49 | exact Filter.Eventually.of_forall (fun p => by simp) |
| 50 | right_inv a := by |
| 51 | obtain ⟨f, hfa, _⟩ := a.property |
| 52 | apply Subtype.ext |
| 53 | change (holomorphicPullbackAt e.symm hi (e x) x (e.symm_apply_apply x) |
| 54 | (holomorphicPullbackAt e he x (e x) rfl a)).val = a.val |
| 55 | rw [holomorphicPullbackAt_val, holomorphicPullbackAt_val, ← hfa] |
| 56 | apply Germ.coe_eq.mpr |
| 57 | exact Filter.Eventually.of_forall (fun p => by simp) |
| 58 | |
| 59 | theorem holomorphicGermEquiv_val (e : E ≃ F) (he : Differentiable ℂ e) |
| 60 | (hi : Differentiable ℂ e.symm) (x : E) (f : E → ℂ) {U : Set E} |
| 61 | (hU : IsOpen U) (hx : x ∈ U) (hf : DifferentiableOn ℂ f U) : |
| 62 | (holomorphicGermEquiv e he hi x (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x f hU hx hf)).val = |
| 63 | ((f ∘ e.symm) : Germ (𝓝 (e x)) ℂ) := by |
| 64 | rw [show holomorphicGermEquiv e he hi x (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x f hU hx hf) = |
| 65 | holomorphicPullbackAt e.symm hi (e x) x (e.symm_apply_apply x) (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x f hU hx hf) from rfl, |
| 66 | holomorphicPullbackAt_val] |
| 67 | rfl |
| 68 | |
| 69 | def holomorphicGermEquivAt (e : E ≃ F) (he : Differentiable ℂ e) (hi : Differentiable ℂ e.symm) |
| 70 | (x : E) (y : F) (hxy : e x = y) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x ≃+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm y := |
| 71 | hxy ▸ holomorphicGermEquiv e he hi x |
| 72 | |
| 73 | theorem holomorphicGermEquivAt_symm_val (e : E ≃ F) (he : Differentiable ℂ e) |
| 74 | (hi : Differentiable ℂ e.symm) (x : E) (y : F) (hxy : e x = y) (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm y) : |
| 75 | ((holomorphicGermEquivAt e he hi x y hxy).symm a).val = |
| 76 | GermComposition.AnalyticLocal.germComposition e (by simpa only [hxy] using he.continuous.tendsto x) a.val := by |
| 77 | subst y |
| 78 | rfl |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Comparison.Betti.GermCoordinateEquiv.AnalyticLocal |