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 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms |
| 3 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt |
| 4 | |
| 5 | /-! # Germ Polynomial Ne -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.GermPolynomialNe.AnalyticLocal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Polynomials with actual holomorphic coefficient germs evaluate in the |
| 14 | local ring with one extra coordinate, preserving their concrete families. -/ |
| 15 | |
| 16 | open Set Filter _root_.Polynomial |
| 17 | open scoped _root_.Topology BigOperators |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 22 | |
| 23 | def coordinateGerm (x : E) (c : ℂ) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (x, c) := |
| 24 | ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction (x, c) Prod.snd isOpen_univ (mem_univ _) differentiable_snd.differentiableOn |
| 25 | |
| 26 | def polynomialEvaluationGerm (x : E) (c : ℂ) : (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x)[X] →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (x, c) := |
| 27 | Polynomial.eval₂RingHom (Holomorphic.GermMaps.AnalyticLocal.holomorphicComposition Prod.fst differentiable_fst (x, c)) (coordinateGerm x c) |
| 28 | |
| 29 | theorem polynomialEvaluationGerm_monomial (x : E) (c : ℂ) (f : E → ℂ) {U : Set E} |
| 30 | (hU : IsOpen U) (hx : x ∈ U) (hf : DifferentiableOn ℂ f U) (k : ℕ) : |
| 31 | (polynomialEvaluationGerm x c (monomial k (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x f hU hx hf))).val = |
| 32 | ((fun p : E × ℂ => f p.1 * p.2 ^ k) : Germ (𝓝 (x, c)) ℂ) := by |
| 33 | change (Polynomial.eval₂ (Holomorphic.GermMaps.AnalyticLocal.holomorphicComposition Prod.fst differentiable_fst (x, c)) |
| 34 | (coordinateGerm x c) (monomial k (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x f hU hx hf))).val = _ |
| 35 | rw [eval₂_monomial] |
| 36 | rfl |
| 37 | |
| 38 | theorem polynomialEvaluationGerm_family (x : E) (c : ℂ) (P : E → ℂ[X]) (d : ℕ) {U : Set E} |
| 39 | (hU : IsOpen U) (hx : x ∈ U) |
| 40 | (hcoeff : ∀ k : ℕ, DifferentiableOn ℂ (fun y => (P y).coeff k) U) |
| 41 | (hdegree : ∀ y ∈ U, (P y).natDegree ≤ d) : |
| 42 | (polynomialEvaluationGerm x c (ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x P d hU hx hcoeff)).val = |
| 43 | ((fun p : E × ℂ => (P p.1).eval p.2) : Germ (𝓝 (x, c)) ℂ) := by |
| 44 | let e := (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.holomorphicGerms (x, c)).subtype.comp (polynomialEvaluationGerm x c) |
| 45 | change e (ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x P d hU hx hcoeff) = _ |
| 46 | unfold ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily |
| 47 | rw [map_sum] |
| 48 | change (∑ k ∈ Finset.range (d + 1), |
| 49 | (polynomialEvaluationGerm x c (monomial k |
| 50 | (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x (fun y => (P y).coeff k) hU hx (hcoeff k)))).val) = _ |
| 51 | simp only [polynomialEvaluationGerm_monomial] |
| 52 | rw [← Germ.coe_sum] |
| 53 | apply Germ.coe_eq.mpr |
| 54 | filter_upwards [(hU.prod isOpen_univ).mem_nhds (show (x, c) ∈ U ×ˢ univ from ⟨hx, mem_univ c⟩)] with p hp |
| 55 | simp only [Finset.sum_apply] |
| 56 | exact (eval_eq_sum_range' (lt_of_le_of_lt (hdegree p.1 hp.1) (Nat.lt_succ_self d)) p.2).symm |
| 57 | |
| 58 | end |
| 59 | |
| 60 | section |
| 61 | |
| 62 | /-! Evaluation on a coordinate slice splits the inclusion of parameter germs. -/ |
| 63 | |
| 64 | open Set Filter |
| 65 | open scoped _root_.Topology |
| 66 | |
| 67 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs |
| 68 | |
| 69 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 70 | |
| 71 | def sliceEvaluation (x : E) (c : ℂ) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (x, c) →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 72 | Holomorphic.GermMaps.AnalyticLocal.holomorphicComposition (fun y : E => (y, c)) |
| 73 | (differentiable_id.prodMk (differentiable_const c)) x |
| 74 | |
| 75 | def parameterInclusion (x : E) (c : ℂ) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (x, c) := |
| 76 | Holomorphic.GermMaps.AnalyticLocal.holomorphicComposition Prod.fst differentiable_fst (x, c) |
| 77 | |
| 78 | theorem sliceEvaluation_parameterInclusion (x : E) (c : ℂ) : |
| 79 | (sliceEvaluation x c).comp (parameterInclusion x c) = RingHom.id _ := by |
| 80 | rw [sliceEvaluation, parameterInclusion, Holomorphic.GermMaps.AnalyticLocal.holomorphicComposition_comp] |
| 81 | exact Holomorphic.GermMaps.AnalyticLocal.holomorphicComposition_id x |
| 82 | |
| 83 | theorem parameterInclusion_injective (x : E) (c : ℂ) : |
| 84 | Function.Injective (parameterInclusion x c) := by |
| 85 | have h : Function.LeftInverse (sliceEvaluation x c) (parameterInclusion x c) := |
| 86 | fun a => DFunLike.congr_fun (sliceEvaluation_parameterInclusion x c) a |
| 87 | exact h.injective |
| 88 | |
| 89 | theorem sliceEvaluation_surjective (x : E) (c : ℂ) : |
| 90 | Function.Surjective (sliceEvaluation x c) := by |
| 91 | intro a |
| 92 | exact ⟨parameterInclusion x c a, |
| 93 | DFunLike.congr_fun (sliceEvaluation_parameterInclusion x c) a⟩ |
| 94 | |
| 95 | def centeredCoordinateGerm (x : E) (c : ℂ) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (x, c) := |
| 96 | coordinateGerm x c - Holomorphic.GermMaps.AnalyticLocal.holomorphicConstantHom (x, c) c |
| 97 | |
| 98 | theorem centeredCoordinateGerm_val (x : E) (c : ℂ) : |
| 99 | (centeredCoordinateGerm x c).val = |
| 100 | ((fun p : E × ℂ => p.2 - c) : Germ (𝓝 (x, c)) ℂ) := rfl |
| 101 | |
| 102 | theorem sliceEvaluation_centeredCoordinate (x : E) (c : ℂ) : |
| 103 | sliceEvaluation x c (centeredCoordinateGerm x c) = 0 := by |
| 104 | apply Subtype.ext |
| 105 | change ((fun _ : E => c - c) : Germ (𝓝 x) ℂ) = 0 |
| 106 | simp only [sub_self] |
| 107 | rfl |
| 108 | |
| 109 | end |
| 110 | |
| 111 | /-! The centered coordinate is a nonzero element of the holomorphic |
| 112 | germ domain, so multiplication by it can be cancelled. -/ |
| 113 | |
| 114 | open Set Filter |
| 115 | open scoped _root_.Topology |
| 116 | |
| 117 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs |
| 118 | |
| 119 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 120 | |
| 121 | theorem centeredCoordinateGerm_ne_zero (x : E) (c : ℂ) : centeredCoordinateGerm x c ≠ 0 := by |
| 122 | intro h |
| 123 | have he := congrArg Subtype.val h |
| 124 | rw [centeredCoordinateGerm_val] at he |
| 125 | have hp : ∀ᶠ p in 𝓝 (x, c), p.2 - c = 0 := Germ.coe_eq.mp he |
| 126 | have hz : ∀ᶠ z in 𝓝 c, z = c := by |
| 127 | filter_upwards [((continuous_const.prodMk continuous_id).tendsto c).eventually hp] with z hz |
| 128 | exact sub_eq_zero.mp hz |
| 129 | exact (infinite_of_mem_nhds c hz) (Set.finite_singleton c) |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.Comparison.Betti.GermPolynomialNe.AnalyticLocal |