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.ComplexMultiplication.HodgeComparison.Intersection |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.LocallyConstant |
| 3 | import Mathlib.Topology.Constructions |
| 4 | |
| 5 | /-! # Closed Form Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Albanese.Construction.ClosedFormDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open Set _root_.TopologicalSpace |
| 12 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 13 | |
| 14 | /-- Local constancy descends along any quotient map. -/ |
| 15 | theorem locallyConstant_of_quotient_comp {X Y Z : Type*} |
| 16 | [TopologicalSpace X] [TopologicalSpace Y] (f : X → Y) |
| 17 | (hf : Topology.IsQuotientMap f) (g : Y → Z) |
| 18 | (hg : IsLocallyConstant (g ∘ f)) : IsLocallyConstant g := |
| 19 | fun s => hf.isCoinducing.isOpen_preimage.mp (hg s) |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 23 | [IsManifold 𝓘(ℝ, E) ∞ M] |
| 24 | |
| 25 | /-- A global smooth zero-form with zero exterior derivative has a locally |
| 26 | constant scalar function, without a compactness assumption. -/ |
| 27 | theorem zeroFormScalar_locallyConstant_of_d_zero (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 28 | (hform : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d form = 0) : |
| 29 | IsLocallyConstant (ComplexMultiplication.HodgeComparison.HolomorphicPrimitive.CM.Construction.zeroFormScalar form) := by |
| 30 | have h := (Analysis.DifferentialForms.Manifold.LocallyConstant.d_openManifoldZeroForm_eq_zero_iff (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen ⊤ form)).mp (by |
| 31 | rw [Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen_d, hform, map_zero]) |
| 32 | exact h.comp_continuous (continuous_id.subtype_mk (fun _ => trivial)) |
| 33 | |
| 34 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 35 | {N : Type*} [TopologicalSpace N] [ChartedSpace F N] |
| 36 | [IsManifold 𝓘(ℝ, F) ∞ N] |
| 37 | |
| 38 | /-- Pullback of zero-forms is ordinary composition of their scalar functions. -/ |
| 39 | theorem zeroFormScalar_pullback (f : M → N) |
| 40 | (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, F) ∞ f) (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm F N 0) : |
| 41 | ComplexMultiplication.HodgeComparison.HolomorphicPrimitive.CM.Construction.zeroFormScalar (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback f hf form) = |
| 42 | ComplexMultiplication.HodgeComparison.HolomorphicPrimitive.CM.Construction.zeroFormScalar form ∘ f := by |
| 43 | funext x |
| 44 | change form (f x) _ = form (f x) 0 |
| 45 | congr 1 |
| 46 | exact Subsingleton.elim _ _ |
| 47 | |
| 48 | /-- Closed one-forms are detected by smooth quotient maps. A local primitive |
| 49 | pulls back to a locally constant function, which descends through the quotient. -/ |
| 50 | theorem closed_oneForm_eq_zero_of_quotient_pullback [FiniteDimensional ℝ F] |
| 51 | (f : M → N) (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, F) ∞ f) |
| 52 | (hq : Topology.IsQuotientMap f) (form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms F N 1) |
| 53 | (hzero : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback f hf form.val = 0) : form = 0 := by |
| 54 | apply Subtype.ext |
| 55 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 56 | intro y |
| 57 | obtain ⟨U, hy, primitive, hp⟩ := ComplexMultiplication.HodgeComparison.Intersection.CM.Construction.exists_local_intrinsic_primitive form y |
| 58 | let V : Opens M := ⟨f ⁻¹' (U : Set N), U.isOpen.preimage hf.continuous⟩ |
| 59 | let g : V → U := fun x => ⟨f x, x.property⟩ |
| 60 | have hg : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, F) ∞ g := by |
| 61 | rw [← ContMDiff.subtypeVal_comp_iff] |
| 62 | exact hf.comp (contMDiff_subtype_val (I := 𝓘(ℝ, E)) (n := ∞)) |
| 63 | have hqg : Topology.IsQuotientMap g := hq.restrictPreimage_isOpen U.isOpen |
| 64 | have hdp : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback g hg primitive) = 0 := by |
| 65 | rw [Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_pullback, hp] |
| 66 | have hcomp : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback g hg (ComplexMultiplication.HodgeComparison.Intersection.CM.Construction.restrictSmoothForm U 1 form.val) = |
| 67 | ComplexMultiplication.HodgeComparison.Intersection.CM.Construction.restrictSmoothForm V 1 (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback f hf form.val) := by |
| 68 | unfold ComplexMultiplication.HodgeComparison.Intersection.CM.Construction.restrictSmoothForm |
| 69 | rw [← Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback_comp, ← Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback_comp] |
| 70 | rfl |
| 71 | rw [hcomp, hzero, map_zero] |
| 72 | have hloc := zeroFormScalar_locallyConstant_of_d_zero _ hdp |
| 73 | rw [zeroFormScalar_pullback] at hloc |
| 74 | have hpzero : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d primitive = 0 := |
| 75 | ComplexMultiplication.HodgeComparison.HolomorphicPrimitive.CM.Construction.d_zeroForm_eq_zero_of_locallyConstant primitive |
| 76 | (locallyConstant_of_quotient_comp g hqg _ hloc) |
| 77 | have hrest : ComplexMultiplication.HodgeComparison.Intersection.CM.Construction.restrictSmoothForm U 1 form.val = 0 := hp.symm.trans hpzero |
| 78 | have hopen : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen U form.val = 0 := by |
| 79 | apply (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv F U 1).injective |
| 80 | rw [map_zero, Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv_onOpen] |
| 81 | exact hrest |
| 82 | exact congrArg (fun a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm F U 1 => a ⟨y, hy⟩) hopen |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Albanese.Construction.ClosedFormDescent |