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.RepresentationTheory.Theta.Geometric.OpenRegularFunctionValues |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Intrinsic.OpenDifferentiableLift |
| 3 | |
| 4 | /-! # Open Regular Function Holomorphic -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.OpenRegularFunctionHolomorphic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local holomorphy of actual regular-section values on a native open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.Manifold _root_.Topology |
| 14 | |
| 15 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false in |
| 18 | theorem openRegularFunctionValue_comp_differentiableAt |
| 19 | (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 20 | (U : X.left.Opens) (s : Γ(X.left, U)) (p : V → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (x : V) |
| 21 | (hp : MDifferentiableAt (𝓘(ℂ, V)) |
| 22 | (𝓘(ℂ, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) p x) |
| 23 | (hx : (p x).left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ U) : |
| 24 | DifferentiableAt ℂ (OpenRegularFunctionValues.openRegularFunctionValue X U s ∘ p) x := by |
| 25 | let Y := OpenRegularFunctionValues.regularOpenScheme X U |
| 26 | let f := OpenRegularFunctionValues.regularOpenInclusion X U |
| 27 | have hrange : p x ∈ Set.range (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) := by |
| 28 | rw [AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isOpenImmersion f] |
| 29 | exact ⟨⟨(p x).left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase), hx⟩, rfl⟩ |
| 30 | obtain ⟨q, hq⟩ := hrange |
| 31 | let : Nonempty (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) := ⟨q⟩ |
| 32 | let : Nonempty Y.left := ⟨q.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)⟩ |
| 33 | let : IsIntegral Y.left := isIntegral_of_isOpenImmersion f.left |
| 34 | let : Smooth Y.hom := inferInstanceAs (Smooth (U.ι ≫ X.hom)) |
| 35 | let h := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion f |
| 36 | let e := h.toOpenPartialHomeomorph (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) |
| 37 | let g := e.symm ∘ p |
| 38 | have hg := Intrinsic.OpenDifferentiableLift.mdifferentiableAt_nativeOpenInverse f p x hp ⟨q, hq⟩ |
| 39 | have hdiff := ((OpenRegularFunctionValues.regularFunctionValue_contMDiff Y (U.topIso.inv s) 1).mdifferentiableAt |
| 40 | one_ne_zero).comp x hg |
| 41 | apply hdiff.differentiableAt.congr_of_eventuallyEq |
| 42 | have htarget : e.target = Set.range (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) := |
| 43 | h.toOpenPartialHomeomorph_target _ |
| 44 | filter_upwards [hp.continuousAt (e.open_target.mem_nhds (htarget.symm ▸ ⟨q, hq⟩))] with y hy |
| 45 | have heq : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f (g y) = p y := |
| 46 | h.toOpenPartialHomeomorph_right_inv _ (htarget ▸ hy) |
| 47 | exact (congrArg (OpenRegularFunctionValues.openRegularFunctionValue X U s) heq).symm.trans |
| 48 | (OpenRegularFunctionValues.openRegularFunctionValue_inclusion X U s (g y)) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.RepresentationTheory.Theta.Geometric.OpenRegularFunctionHolomorphic |