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.ComplexPoints.Analytic.PolynomialImplicit |
| 2 | import Mathlib.Topology.OpenPartialHomeomorph.Basic |
| 3 | |
| 4 | /-! # Local Graph Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.LocalGraphChart |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Genuine local charts from analytic polynomial graphs |
| 12 | |
| 13 | The chart domain is the actual subtype cut out by polynomial evaluation in |
| 14 | ordinary complex coordinate space. Local graph existence and uniqueness give |
| 15 | an open partial homeomorphism with coordinate projection as its forward map. |
| 16 | The inverse, regarded in the ambient coordinate space, is complex analytic. |
| 17 | |
| 18 | This construction is local at a point where the specified partial derivative |
| 19 | is invertible. It does not assume or assert a comparison with scheme smoothness. |
| 20 | -/ |
| 21 | |
| 22 | open Filter Set |
| 23 | open scoped _root_.Topology ContDiff |
| 24 | |
| 25 | section LocalGraph |
| 26 | |
| 27 | variable {E F : Type*} [TopologicalSpace E] [TopologicalSpace F] |
| 28 | |
| 29 | /-- A local graph supplies a coordinate chart on the actual subset. The default |
| 30 | point is used only to give the inverse a value outside its open target. -/ |
| 31 | def localGraphChart (S : Set (E × F)) (z₀ : S) (ψ : E → F) |
| 32 | (U : Set E) (W : Set (E × F)) |
| 33 | (hU : IsOpen U) (hW : IsOpen W) (hψ : ContinuousOn ψ U) |
| 34 | (hzero : ∀ x ∈ U, (x, ψ x) ∈ S) |
| 35 | (hgraph : ∀ x ∈ U, (x, ψ x) ∈ W) |
| 36 | (hunique : ∀ z ∈ W, z ∈ S → ψ z.1 = z.2) : |
| 37 | OpenPartialHomeomorph S E := by |
| 38 | classical |
| 39 | exact |
| 40 | { toFun := fun z => z.val.1 |
| 41 | invFun := fun x => if hx : x ∈ U then ⟨(x, ψ x), hzero x hx⟩ else z₀ |
| 42 | source := {z : S | z.val ∈ W ∧ z.val.1 ∈ U} |
| 43 | target := U |
| 44 | map_source' := fun _ hz => hz.2 |
| 45 | map_target' := by |
| 46 | intro x hx |
| 47 | simp only [dite_eq_left hx, Set.mem_ofPred_eq] |
| 48 | exact ⟨hgraph x hx, hx⟩ |
| 49 | left_inv' := by |
| 50 | intro z hz |
| 51 | apply Subtype.ext |
| 52 | simp only [dite_eq_left hz.2] |
| 53 | exact Prod.ext rfl (hunique z.val hz.1 z.property) |
| 54 | right_inv' := by |
| 55 | intro x hx |
| 56 | simp only [dite_eq_left hx] |
| 57 | open_source := |
| 58 | (hW.preimage continuous_subtype_val).inter |
| 59 | (hU.preimage (continuous_fst.comp continuous_subtype_val)) |
| 60 | open_target := hU |
| 61 | continuousOn_toFun := (continuous_fst.comp continuous_subtype_val).continuousOn |
| 62 | continuousOn_invFun := by |
| 63 | apply Topology.IsInducing.subtypeVal.continuousOn_iff.mpr |
| 64 | apply (continuousOn_id.prodMk hψ).congr |
| 65 | intro x hx |
| 66 | simp only [Function.comp_apply, dite_eq_left hx, id_eq] } |
| 67 | |
| 68 | end LocalGraph |
| 69 | |
| 70 | /-- At a regular point of an actual polynomial zero set, coordinate projection |
| 71 | is a local homeomorphism and its inverse is complex analytic in ambient space. -/ |
| 72 | theorem exists_polynomial_zero_chart |
| 73 | {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 74 | (P : κ → MvPolynomial (ι ⊕ κ) ℂ) |
| 75 | (u : (ι → ℂ) × (κ → ℂ)) |
| 76 | (hu : PolynomialImplicit.splitPolynomialMap P u = 0) |
| 77 | (hreg : (fderiv ℂ (PolynomialImplicit.splitPolynomialMap P) u ∘L |
| 78 | ContinuousLinearMap.inr ℂ (ι → ℂ) (κ → ℂ)).IsInvertible) : |
| 79 | ∃ e : OpenPartialHomeomorph {z | PolynomialImplicit.splitPolynomialMap P z = 0} (ι → ℂ), |
| 80 | (⟨u, hu⟩ : {z | PolynomialImplicit.splitPolynomialMap P z = 0}) ∈ e.source ∧ |
| 81 | (∀ z, e z = z.val.1) ∧ |
| 82 | ContDiffOn ℂ ω (fun x => (e.symm x).val) e.target := by |
| 83 | classical |
| 84 | obtain ⟨ψ, hψu, hψdiff, hzeroNear, huniqueNear⟩ := |
| 85 | PolynomialImplicit.exists_polynomial_zero_graph P u hu hreg |
| 86 | obtain ⟨W, hWsub, hWopen, huW⟩ := mem_nhds_iff.mp huniqueNear |
| 87 | have hbaseW : (u.1, ψ u.1) ∈ W := by |
| 88 | simpa only [hψu, Prod.mk.eta] using huW |
| 89 | have hgraphContinuous : ContinuousAt (fun x => (x, ψ x)) u.1 := |
| 90 | continuousAt_id.prodMk hψdiff.continuousAt |
| 91 | have hgraphNear : ∀ᶠ x in 𝓝 u.1, (x, ψ x) ∈ W := |
| 92 | hgraphContinuous.preimage_mem_nhds (hWopen.mem_nhds hbaseW) |
| 93 | have hdiffNear : ∀ᶠ x in 𝓝 u.1, ContDiffAt ℂ ω ψ x := |
| 94 | hψdiff.eventually (by simp) |
| 95 | obtain ⟨U, hUsub, hUopen, huU⟩ := |
| 96 | mem_nhds_iff.mp (hzeroNear.and (hgraphNear.and hdiffNear)) |
| 97 | have hψOn : ContDiffOn ℂ ω ψ U := |
| 98 | fun x hx => (hUsub hx).2.2.contDiffWithinAt |
| 99 | let e := localGraphChart {z | PolynomialImplicit.splitPolynomialMap P z = 0} ⟨u, hu⟩ ψ U W |
| 100 | hUopen hWopen hψOn.continuousOn |
| 101 | (fun x hx => (hUsub hx).1) |
| 102 | (fun x hx => (hUsub hx).2.1) |
| 103 | (fun z hz hzero => (hWsub hz).mp hzero) |
| 104 | refine ⟨e, ?_, ?_, ?_⟩ |
| 105 | · exact ⟨huW, huU⟩ |
| 106 | · intro z |
| 107 | rfl |
| 108 | · change ContDiffOn ℂ ω (fun x => (e.symm x).val) U |
| 109 | apply (contDiffOn_id.prodMk hψOn).congr |
| 110 | intro x hx |
| 111 | change (if h : x ∈ U then |
| 112 | (⟨(x, ψ x), (hUsub h).1⟩ : {z | PolynomialImplicit.splitPolynomialMap P z = 0}) |
| 113 | else ⟨u, hu⟩).val = (id x, ψ x) |
| 114 | rw [dite_eq_left hx] |
| 115 | rfl |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.LocalGraphChart |