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.MonicGermRepresentative |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.GermPolynomialNe |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Coordinate.Division |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.DivisionParameters |
| 5 | |
| 6 | /-! # Germ Polynomial Division -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.GermPolynomialDivision.AnalyticLocal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Division by a distinguished monic polynomial in the actual local |
| 13 | ring has a polynomial remainder with strictly smaller degree. -/ |
| 14 | |
| 15 | open Set Filter _root_.Metric _root_.Polynomial |
| 16 | open scoped _root_.Topology |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder |
| 19 | |
| 20 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 21 | |
| 22 | theorem germ_polynomial_division (x : E) (c : ℂ) (Q : (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x)[X]) (hQ : Q.Monic) |
| 23 | (hcenter : Q.map (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x) = (X - C c) ^ Q.natDegree) (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (x, c)) : |
| 24 | ∃ (b : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (x, c)) (S : (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x)[X]), |
| 25 | (∀ k : ℕ, Q.natDegree ≤ k → S.coeff k = 0) ∧ |
| 26 | a = GermPolynomialNe.AnalyticLocal.polynomialEvaluationGerm x c S + GermPolynomialNe.AnalyticLocal.polynomialEvaluationGerm x c Q * b := by |
| 27 | obtain ⟨F, hFa, W, hW, hxc, hF⟩ := a.property |
| 28 | obtain ⟨P, U₀, hU₀, hx₀, hc₀, hP₀, hv, hQrepr⟩ := MonicGermRepresentative.AnalyticLocal.exists_monic_germ_representative x Q hQ |
| 29 | obtain ⟨R, U₁, hR, hU₁, hx₁, hUW₁⟩ := Coordinate.Division.Weierstrass.exists_product_closedDisk hW hxc |
| 30 | obtain ⟨U₂, hU₂, hx₂, hsub₂, hPn⟩ := Holomorphic.DivisionParameters.Weierstrass.polynomial_circle_neighborhood hU₀ hx₀ hc₀ |
| 31 | (fun y hy => (hP₀ y hy).2.le) (hv.trans hcenter) hR |
| 32 | let U := U₁ ∩ U₂ |
| 33 | have hU : IsOpen U := hU₁.inter hU₂ |
| 34 | have hx : x ∈ U := ⟨hx₁, hx₂⟩ |
| 35 | have hsub : U ⊆ U₀ := fun y hy => hsub₂ hy.2 |
| 36 | have hc : ∀ k : ℕ, DifferentiableOn ℂ (fun y => (P y).coeff k) U := |
| 37 | fun k => (hc₀ k).mono hsub |
| 38 | have hd : ∀ y ∈ U, (P y).natDegree = Q.natDegree := fun y hy => (hP₀ y (hsub hy)).2 |
| 39 | have hUW : U ×ˢ closedBall c R ⊆ W := fun p hp => hUW₁ ⟨hp.1.1, hp.2⟩ |
| 40 | obtain ⟨hq, hrem, hremzero, hdivision⟩ := Holomorphic.DivisionParameters.Weierstrass.holomorphic_family_division hW hF hU hc hd hR |
| 41 | hUW (fun y hy => hPn y hy.2) |
| 42 | let A : E → ℂ[X] := fun y => ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderPolynomial Q.natDegree (P y) (fun z => F (y, z)) c R |
| 43 | let S := ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x A Q.natDegree hU hx hrem |
| 44 | have hSdeg : ∀ y ∈ U, (A y).natDegree ≤ Q.natDegree := by |
| 45 | intro y hy |
| 46 | exact natDegree_le_iff_coeff_eq_zero.mpr (fun k hk => hremzero y hy k hk.le) |
| 47 | let q : E × ℂ → ℂ := fun p => |
| 48 | Holomorphic.DivisionFormula.Weierstrass.divisionQuotient (P p.1) (fun z => F (p.1, z)) c R p.2 |
| 49 | have hxcU : (x, c) ∈ U ×ˢ ball c R := ⟨hx, mem_ball_self hR⟩ |
| 50 | let b := ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction (x, c) q (hU.prod isOpen_ball) hxcU hq |
| 51 | have hQnew : ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x P Q.natDegree hU hx hc = Q := by |
| 52 | apply GermCoefficientRealization.AnalyticLocal.polynomialRealization_injective x |
| 53 | rw [ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.realize_polynomialOfFamily x P Q.natDegree hU hx hc (fun y hy => (hd y hy).le), |
| 54 | ← hQrepr, ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.realize_polynomialOfFamily x P Q.natDegree hU₀ hx₀ hc₀ |
| 55 | (fun y hy => (hP₀ y hy).2.le)] |
| 56 | refine ⟨b, S, ?_, ?_⟩ |
| 57 | · intro k hk |
| 58 | rw [GermPolynomialCoefficients.AnalyticLocal.polynomialOfFamily_coeff] |
| 59 | split_ifs |
| 60 | · apply Subtype.ext |
| 61 | apply Germ.coe_eq.mpr |
| 62 | filter_upwards [hU.mem_nhds hx] with y hy |
| 63 | exact hremzero y hy k hk |
| 64 | · rfl |
| 65 | · have heQ : (GermPolynomialNe.AnalyticLocal.polynomialEvaluationGerm x c Q).val = |
| 66 | ((fun p : E × ℂ => (P p.1).eval p.2) : Germ (𝓝 (x, c)) ℂ) := by |
| 67 | rw [← hQnew] |
| 68 | exact GermPolynomialNe.AnalyticLocal.polynomialEvaluationGerm_family x c P Q.natDegree hU hx hc (fun y hy => (hd y hy).le) |
| 69 | apply Subtype.ext |
| 70 | change a.val = (GermPolynomialNe.AnalyticLocal.polynomialEvaluationGerm x c S).val + |
| 71 | (GermPolynomialNe.AnalyticLocal.polynomialEvaluationGerm x c Q).val * (q : Germ (𝓝 (x, c)) ℂ) |
| 72 | rw [← hFa, heQ, GermPolynomialNe.AnalyticLocal.polynomialEvaluationGerm_family x c A Q.natDegree hU hx hrem hSdeg] |
| 73 | apply Germ.coe_eq.mpr |
| 74 | filter_upwards [(hU.prod isOpen_ball).mem_nhds hxcU] with p hp |
| 75 | exact hdivision p.1 hp.1 p.2 hp.2 |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Comparison.Betti.GermPolynomialDivision.AnalyticLocal |