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.CycleClass.Thom.Product.SmallerOpen |
| 2 | import Mathlib.SetTheory.Cardinal.NatCard |
| 3 | |
| 4 | /-! # Restricted Graph Smaller Fibers -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphSmallerFibers.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual graph restricted to two nested base opens has the original base differential and the full original fibers over points of the smaller open. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Product.SmallerOpen.Constructions |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.ProductHomeomorphAnalytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SubsetHomeomorph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.InclusionDifferential.Constructions.Manifold |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable {L N E G F : Type} [TopologicalSpace L] [TopologicalSpace N] |
| 22 | [NormedAddCommGroup E] [NormedSpace ℂ E] [ChartedSpace E L] |
| 23 | [NormedAddCommGroup G] [NormedSpace ℂ G] [ChartedSpace G N] |
| 24 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 25 | (g : L → N) (hg : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, G) ω g) |
| 26 | (e : L → F) (he : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ω e) |
| 27 | (U P : Opens N) (hP : P ≤ U) |
| 28 | |
| 29 | local instance (priority := low) (A : Opens N) : ChartedSpace (G × F) (A × F) := |
| 30 | prodChartedSpace G A F F |
| 31 | |
| 32 | abbrev firstGraph : GraphOpenImmersion.Constructions.graphSourceOpen g hg U → U × F := GraphBaseRestriction.Constructions.restrictedGraph g e (U : Set N) |
| 33 | |
| 34 | abbrev doubleSource := GraphOpenImmersion.Constructions.graphSourceOpen (firstGraph g hg e U) (GraphOpenImmersion.Constructions.restrictedGraph_analytic g hg U e he) |
| 35 | (Open.ProductHomeomorphAnalytic.Constructions.productBaseOpen (Open.SubsetHomeomorph.Constructions.insideOpen U P)) |
| 36 | |
| 37 | def doubleGraph : doubleSource g hg e he U P → P × F := |
| 38 | Product.SmallerOpen.Constructions.smallerGraph U P hP (firstGraph g hg e U) (GraphOpenImmersion.Constructions.restrictedGraph_analytic g hg U e he) |
| 39 | |
| 40 | theorem doubleGraph_base (x : doubleSource g hg e he U P) : |
| 41 | (doubleGraph g hg e he U P hP x).1.val = g x.val.val := rfl |
| 42 | |
| 43 | theorem doubleGraph_projected_mfderiv (x : doubleSource g hg e he U P) : |
| 44 | mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G) (Prod.fst ∘ doubleGraph g hg e he U P hP) x = |
| 45 | mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G) g x.val.val := by |
| 46 | have hv := (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω |
| 47 | (Subtype.val : GraphOpenImmersion.Constructions.graphSourceOpen g hg U → L) from contMDiff_subtype_val) |
| 48 | have hw := (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω |
| 49 | (Subtype.val : doubleSource g hg e he U P → GraphOpenImmersion.Constructions.graphSourceOpen g hg U) from contMDiff_subtype_val) |
| 50 | have hd := ComplexPoints.Analytic.RegularLocusComplement.mfderiv_intoOpen_eq (𝕜 := ℂ) («E» := E) (F := G) P |
| 51 | (Prod.fst ∘ doubleGraph g hg e he U P hP) x |
| 52 | change mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G) (Prod.fst ∘ doubleGraph g hg e he U P hP) x = |
| 53 | mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G) |
| 54 | ((g ∘ (Subtype.val : GraphOpenImmersion.Constructions.graphSourceOpen g hg U → L)) ∘ |
| 55 | (Subtype.val : doubleSource g hg e he U P → GraphOpenImmersion.Constructions.graphSourceOpen g hg U)) x at hd |
| 56 | rw [mfderiv_comp x ((hg.comp hv).mdifferentiableAt (by simp)) (hw.mdifferentiableAt (by simp)), |
| 57 | Open.InclusionDifferential.Constructions.Manifold.mfderiv_subtypeVal, mfderiv_comp x.val (hg.mdifferentiableAt (by simp)) (hv.mdifferentiableAt (by simp)), |
| 58 | Open.InclusionDifferential.Constructions.Manifold.mfderiv_subtypeVal] at hd |
| 59 | exact hd |
| 60 | |
| 61 | def doubleGraph_fiberEquiv (u : P) : |
| 62 | {z : doubleSource g hg e he U P | (doubleGraph g hg e he U P hP z).1 = u} ≃ |
| 63 | {y : L | g y = u.val} where |
| 64 | toFun z := ⟨z.val.val.val, congrArg Subtype.val z.property⟩ |
| 65 | invFun y := |
| 66 | ⟨⟨⟨y.val, by change g y.val ∈ U; rw [y.property]; exact hP u.property⟩, |
| 67 | by change g y.val ∈ P; rw [y.property]; exact u.property⟩, Subtype.ext y.property⟩ |
| 68 | left_inv _ := rfl |
| 69 | right_inv _ := rfl |
| 70 | |
| 71 | theorem doubleGraph_fiber_card (u : P) : |
| 72 | Nat.card {z : doubleSource g hg e he U P | (doubleGraph g hg e he U P hP z).1 = u} = |
| 73 | Nat.card {y : L | g y = u.val} := Nat.card_congr (doubleGraph_fiberEquiv g hg e he U P hP u) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphSmallerFibers.Constructions |