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.RegularFunctionDescent |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.DominantLinePullback |
| 3 | |
| 4 | /-! # Framed Function Descent -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.FramedFunctionDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible native line-bundle isomorphisms descend in frames once |
| 11 | their regular coefficients descend. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent |
| 16 | |
| 17 | variable {X Y : Scheme} (f : X ⟶ Y) (hi : Function.Injective f.appTop) |
| 18 | (hf : RegularFunctionDescent.HasRegularFunctionDescent f) {M N : Y.Modules} |
| 19 | (eM : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) (eN : N ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) |
| 20 | |
| 21 | include hi hf eM eN in |
| 22 | theorem existsUnique_framedHom_of_function_descent |
| 23 | (a : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 24 | (ha : AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent.CompatibleHom f a) : |
| 25 | ∃! b : M ⟶ N, (Scheme.Modules.pullback f).map b = a := by |
| 26 | let r := AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedCoefficient (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame f eM) (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame f eN) a |
| 27 | have hr : ∀ {Z : Scheme} (x y : Z ⟶ X), x ≫ f = y ≫ f → x.appTop r = y.appTop r := by |
| 28 | intro Z x y hxy |
| 29 | have h := congrArg (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedCoefficient (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame (x ≫ f) eM) |
| 30 | (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame (x ≫ f) eN)) (ha x y (x ≫ f) rfl hxy.symm) |
| 31 | rw [AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback.framedCoefficient_pullbackHomTo, AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback.framedCoefficient_pullbackHomTo] at h |
| 32 | exact h |
| 33 | obtain ⟨s, hs⟩ := hf r hr |
| 34 | refine ⟨AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedHom eM eN s, ?_, ?_⟩ |
| 35 | · change (Scheme.Modules.pullback f).map (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedHom eM eN s) = a |
| 36 | rw [AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedHom_pullback, hs] |
| 37 | exact AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedHom_coefficient (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame f eM) (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame f eN) a |
| 38 | · intro b hb |
| 39 | apply DominantLinePullback.IntrinsicDominantPullback.framedPullback_injective_of_appTop f hi eM eN |
| 40 | dsimp only |
| 41 | rw [hb, AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedHom_pullback, hs] |
| 42 | exact (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedHom_coefficient (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame f eM) (AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame f eN) a).symm |
| 43 | |
| 44 | include hi hf eM eN in |
| 45 | theorem existsUnique_framedIso_of_function_descent |
| 46 | (a : (Scheme.Modules.pullback f).obj M ≅ (Scheme.Modules.pullback f).obj N) |
| 47 | (ha : AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent.CompatibleHom f a.hom) : |
| 48 | ∃! b : M ≅ N, (Scheme.Modules.pullback f).mapIso b = a := by |
| 49 | obtain ⟨b, hb, hu⟩ := existsUnique_framedHom_of_function_descent f hi hf eM eN a.hom ha |
| 50 | obtain ⟨c, hc, _⟩ := existsUnique_framedHom_of_function_descent f hi hf eN eM a.inv |
| 51 | (AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent.compatibleHom_inverse f a ha) |
| 52 | have hbc : b ≫ c = 𝟙 M := by |
| 53 | apply DominantLinePullback.IntrinsicDominantPullback.framedPullback_injective_of_appTop f hi eM eM |
| 54 | dsimp only |
| 55 | rw [CategoryTheory.Functor.map_comp, hb, hc, a.hom_inv_id, CategoryTheory.Functor.map_id] |
| 56 | have hcb : c ≫ b = 𝟙 N := by |
| 57 | apply DominantLinePullback.IntrinsicDominantPullback.framedPullback_injective_of_appTop f hi eN eN |
| 58 | dsimp only |
| 59 | rw [CategoryTheory.Functor.map_comp, hc, hb, a.inv_hom_id, CategoryTheory.Functor.map_id] |
| 60 | refine ⟨⟨b, c, hbc, hcb⟩, Iso.ext hb, ?_⟩ |
| 61 | intro d hd |
| 62 | exact Iso.ext (hu d.hom (congrArg Iso.hom hd)) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.RepresentationTheory.Theta.Geometric.FramedFunctionDescent |