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.GermComposition |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms |
| 3 | |
| 4 | /-! # Germ Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.GermMaps.AnalyticLocal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Constants and actual holomorphic pullback on the existing local rings |
| 13 | of holomorphic germs. These preserve point evaluation and composition. -/ |
| 14 | |
| 15 | open Set Filter |
| 16 | open scoped _root_.Topology |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs |
| 19 | |
| 20 | variable {E F G : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 21 | [NormedAddCommGroup F] [NormedSpace ℂ F] [NormedAddCommGroup G] [NormedSpace ℂ G] |
| 22 | |
| 23 | def holomorphicConstantHom (x : E) : ℂ →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x where |
| 24 | toFun c := ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x (fun _ => c) isOpen_univ (mem_univ x) (differentiableOn_const c) |
| 25 | map_zero' := by apply Subtype.ext; rfl |
| 26 | map_one' := by apply Subtype.ext; rfl |
| 27 | map_add' a b := by apply Subtype.ext; rfl |
| 28 | map_mul' a b := by apply Subtype.ext; rfl |
| 29 | |
| 30 | instance holomorphicGermAlgebra (x : E) : Algebra ℂ (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) := |
| 31 | (holomorphicConstantHom x).toAlgebra |
| 32 | |
| 33 | def holomorphicComposition (f : F → E) (hf : Differentiable ℂ f) (y : F) : |
| 34 | ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (f y) →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm y where |
| 35 | toFun a := ⟨GermComposition.AnalyticLocal.germComposition f hf.continuous.continuousAt a.val, by |
| 36 | obtain ⟨u, hua, U, hU, hyU, hu⟩ := a.property |
| 37 | refine ⟨u ∘ f, ?_, f ⁻¹' U, hU.preimage hf.continuous, hyU, ?_⟩ |
| 38 | · rw [← hua] |
| 39 | rfl |
| 40 | · exact hu.comp hf.differentiableOn (fun _ hp => hp)⟩ |
| 41 | map_zero' := by apply Subtype.ext; exact map_zero (GermComposition.AnalyticLocal.germComposition f hf.continuous.continuousAt) |
| 42 | map_one' := by apply Subtype.ext; exact map_one (GermComposition.AnalyticLocal.germComposition f hf.continuous.continuousAt) |
| 43 | map_add' a b := by apply Subtype.ext; exact map_add (GermComposition.AnalyticLocal.germComposition f hf.continuous.continuousAt) a.val b.val |
| 44 | map_mul' a b := by apply Subtype.ext; exact map_mul (GermComposition.AnalyticLocal.germComposition f hf.continuous.continuousAt) a.val b.val |
| 45 | |
| 46 | def holomorphicCompositionAlgHom (f : F → E) (hf : Differentiable ℂ f) (y : F) : |
| 47 | ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (f y) →ₐ[ℂ] ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm y where |
| 48 | __ := holomorphicComposition f hf y |
| 49 | commutes' c := by apply Subtype.ext; rfl |
| 50 | |
| 51 | theorem holomorphicComposition_value (f : F → E) (hf : Differentiable ℂ f) (y : F) |
| 52 | (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (f y)) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom y (holomorphicComposition f hf y a) = ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom (f y) a := |
| 53 | GermComposition.AnalyticLocal.germComposition_value f y hf.continuous.continuousAt a.val |
| 54 | |
| 55 | theorem holomorphicComposition_id (x : E) : |
| 56 | holomorphicComposition id differentiable_id x = RingHom.id _ := by |
| 57 | ext a |
| 58 | exact DFunLike.congr_fun GermComposition.AnalyticLocal.germComposition_id a.val |
| 59 | |
| 60 | theorem holomorphicComposition_comp (f : F → E) (hf : Differentiable ℂ f) |
| 61 | (g : G → F) (hg : Differentiable ℂ g) (z : G) : |
| 62 | (holomorphicComposition g hg z).comp (holomorphicComposition f hf (g z)) = |
| 63 | holomorphicComposition (f ∘ g) (hf.comp hg) z := by |
| 64 | ext a |
| 65 | exact DFunLike.congr_fun (GermComposition.AnalyticLocal.germComposition_comp f hf.continuous.continuousAt |
| 66 | g hg.continuous.continuousAt) a.val |
| 67 | |
| 68 | end |
| 69 | |
| 70 | /-! Identifying equal base points transports holomorphic germs while |
| 71 | preserving their actual function representatives. -/ |
| 72 | |
| 73 | open Filter |
| 74 | open scoped _root_.Topology |
| 75 | |
| 76 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs |
| 77 | |
| 78 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] {x y : E} |
| 79 | |
| 80 | def holomorphicGermPointEquiv (h : x = y) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x ≃+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm y := |
| 81 | h ▸ RingEquiv.refl (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) |
| 82 | |
| 83 | theorem holomorphicGermPointEquiv_val (h : x = y) (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) (f : E → ℂ) |
| 84 | (ha : a.val = (f : Germ (𝓝 x) ℂ)) : |
| 85 | (holomorphicGermPointEquiv h a).val = (f : Germ (𝓝 y) ℂ) := by |
| 86 | subst y |
| 87 | exact ha |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.GermMaps.AnalyticLocal |