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.AffineOpenDifferential |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineOpenSmooth |
| 3 | |
| 4 | /-! # Intrinsic Open Differential -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Differentials of open immersions on native complex scheme points |
| 12 | |
| 13 | Every source point lies in a genuine affine open. The differential of that |
| 14 | affine inclusion and of its composite with the given open immersion are |
| 15 | bijective by the established affine theorem. The manifold chain rule then |
| 16 | proves bijectivity for the original native scheme-point map. |
| 17 | -/ |
| 18 | |
| 19 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | section DifferentialTransfer |
| 23 | |
| 24 | variable {𝕜 : Type*} [NontriviallyNormedField 𝕜] |
| 25 | variable {E₁ E₂ E₃ : Type*} |
| 26 | variable [NormedAddCommGroup E₁] [NormedSpace 𝕜 E₁] |
| 27 | variable [NormedAddCommGroup E₂] [NormedSpace 𝕜 E₂] |
| 28 | variable [NormedAddCommGroup E₃] [NormedSpace 𝕜 E₃] |
| 29 | variable {P M N : Type*} |
| 30 | variable [TopologicalSpace P] [ChartedSpace E₁ P] |
| 31 | variable [TopologicalSpace M] [ChartedSpace E₂ M] |
| 32 | variable [TopologicalSpace N] [ChartedSpace E₃ N] |
| 33 | |
| 34 | set_option backward.isDefEq.respectTransparency false in |
| 35 | /-- A bijective differential can be cancelled on the source side of a |
| 36 | composition. This is the actual manifold chain rule followed by cancellation |
| 37 | of a bijective linear map. -/ |
| 38 | theorem bijective_mfderiv_of_comp |
| 39 | (f : M → N) (a : P → M) (x : P) |
| 40 | (hf : MDifferentiableAt (𝓘(𝕜, E₂)) (𝓘(𝕜, E₃)) f (a x)) |
| 41 | (ha : MDifferentiableAt (𝓘(𝕜, E₁)) (𝓘(𝕜, E₂)) a x) |
| 42 | (ha_bij : Function.Bijective (mfderiv (𝓘(𝕜, E₁)) (𝓘(𝕜, E₂)) a x)) |
| 43 | (hfa_bij : Function.Bijective |
| 44 | (mfderiv (𝓘(𝕜, E₁)) (𝓘(𝕜, E₃)) (f ∘ a) x)) : |
| 45 | Function.Bijective (mfderiv (𝓘(𝕜, E₂)) (𝓘(𝕜, E₃)) f (a x)) := by |
| 46 | apply (Function.Bijective.of_comp_iff |
| 47 | (mfderiv (𝓘(𝕜, E₂)) (𝓘(𝕜, E₃)) f (a x)) ha_bij).mp |
| 48 | change Function.Bijective |
| 49 | ((mfderiv (𝓘(𝕜, E₂)) (𝓘(𝕜, E₃)) f (a x)).comp |
| 50 | (mfderiv (𝓘(𝕜, E₁)) (𝓘(𝕜, E₂)) a x)) |
| 51 | rw [← mfderiv_comp x hf ha] |
| 52 | exact hfa_bij |
| 53 | |
| 54 | end DifferentialTransfer |
| 55 | |
| 56 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 57 | variable [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 58 | |
| 59 | local notation "ModelX" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) |
| 60 | local notation "ModelY" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) |
| 61 | |
| 62 | /-- Every actual open immersion between integral smooth complex schemes has |
| 63 | bijective complex differential on the constructed native point manifolds. -/ |
| 64 | theorem mfderiv_nativeScheme_openImmersion_bijective (φ : X ⟶ Y) |
| 65 | [IsOpenImmersion φ.left] (x : SchemePointHomeomorphs.schemeComplexPoints X) : |
| 66 | Function.Bijective |
| 67 | (mfderiv (𝓘(ℂ, ModelX)) (𝓘(ℂ, ModelY)) (SchemePointHomeomorphs.schemeComplexPoints.map φ) x) := by |
| 68 | obtain ⟨U, hU, y, hy⟩ := SchemePointHomeomorphs.schemeComplexPoints.exists_affineOpenPoint_lift X x |
| 69 | have hxU : SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ U := by |
| 70 | have hr : x ∈ Set.range (SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X U hU) := ⟨y, hy⟩ |
| 71 | rwa [SchemePointHomeomorphs.schemeComplexPoints.range_affineOpenPointMap] at hr |
| 72 | let : Nonempty U := ⟨⟨SchemePointHomeomorphs.schemeComplexPoints.underlying x, hxU⟩⟩ |
| 73 | let A := SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U |
| 74 | let : IsDomain A := SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_isDomain X U |
| 75 | let : Algebra.Smooth ℂ A := SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_smooth X U hU |
| 76 | let i := SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU |
| 77 | let : IsOpenImmersion (i ≫ φ).left := by |
| 78 | change IsOpenImmersion (i.left ≫ φ.left) |
| 79 | infer_instance |
| 80 | have hy' : SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i y = x := hy |
| 81 | rw [← hy'] |
| 82 | apply bijective_mfderiv_of_comp |
| 83 | (SchemePointHomeomorphs.schemeComplexPoints.map φ) (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i) y |
| 84 | ((IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map φ 1).mdifferentiableAt one_ne_zero) |
| 85 | ((AffineOpenDifferential.contMDiff_affinePointMap A i 1).mdifferentiableAt one_ne_zero) |
| 86 | (AffineOpenDifferential.mfderiv_affinePointMap_bijective A i y) |
| 87 | have hcomp : SchemePointHomeomorphs.schemeComplexPoints.map φ ∘ SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i = |
| 88 | SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A (i ≫ φ) := by |
| 89 | funext z |
| 90 | exact (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comp A i φ z).symm |
| 91 | rw [hcomp] |
| 92 | exact AffineOpenDifferential.mfderiv_affinePointMap_bijective A (i ≫ φ) y |
| 93 | |
| 94 | /-- The same actual open immersion has bijective differential on the |
| 95 | underlying real smooth manifolds. -/ |
| 96 | theorem real_mfderiv_nativeScheme_openImmersion_bijective (φ : X ⟶ Y) |
| 97 | [IsOpenImmersion φ.left] (x : SchemePointHomeomorphs.schemeComplexPoints X) : |
| 98 | Function.Bijective |
| 99 | (mfderiv (𝓘(ℝ, ModelX)) (𝓘(ℝ, ModelY)) (SchemePointHomeomorphs.schemeComplexPoints.map φ) x) := by |
| 100 | obtain ⟨U, hU, y, hy⟩ := SchemePointHomeomorphs.schemeComplexPoints.exists_affineOpenPoint_lift X x |
| 101 | have hxU : SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ U := by |
| 102 | have hr : x ∈ Set.range (SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X U hU) := ⟨y, hy⟩ |
| 103 | rwa [SchemePointHomeomorphs.schemeComplexPoints.range_affineOpenPointMap] at hr |
| 104 | let : Nonempty U := ⟨⟨SchemePointHomeomorphs.schemeComplexPoints.underlying x, hxU⟩⟩ |
| 105 | let A := SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U |
| 106 | let : IsDomain A := SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_isDomain X U |
| 107 | let : Algebra.Smooth ℂ A := SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_smooth X U hU |
| 108 | let i := SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU |
| 109 | let : IsOpenImmersion (i ≫ φ).left := by |
| 110 | change IsOpenImmersion (i.left ≫ φ.left) |
| 111 | infer_instance |
| 112 | have hy' : SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i y = x := hy |
| 113 | rw [← hy'] |
| 114 | apply bijective_mfderiv_of_comp |
| 115 | (SchemePointHomeomorphs.schemeComplexPoints.map φ) (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i) y |
| 116 | ((IntrinsicSmoothSchemeMaps.real_contMDiff_nativeScheme_map φ 1).mdifferentiableAt one_ne_zero) |
| 117 | ((AffineOpenDifferential.real_contMDiff_affinePointMap A i 1).mdifferentiableAt one_ne_zero) |
| 118 | (AffineOpenDifferential.real_mfderiv_affinePointMap_bijective A i y) |
| 119 | have hcomp : SchemePointHomeomorphs.schemeComplexPoints.map φ ∘ SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i = |
| 120 | SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A (i ≫ φ) := by |
| 121 | funext z |
| 122 | exact (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comp A i φ z).symm |
| 123 | rw [hcomp] |
| 124 | exact AffineOpenDifferential.real_mfderiv_affinePointMap_bijective A (i ≫ φ) y |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential |