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.Isogenies.NeighborCounting.LineEndomorphisms |
| 2 | |
| 3 | /-! # Automorphism Units -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.AutomorphismUnits |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual automorphisms of line bundles are unique regular units, compatibly with pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar OAI.AlgebraicGeometry.Isogenies.NeighborCounting.LineEndomorphisms |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} {M : X.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) |
| 18 | |
| 19 | /-- The global scalar of an actual endomorphism of a line bundle. -/ |
| 20 | def coefficient (a : M ⟶ M) : Γ(X, ⊤) := (Isogenies.NeighborCounting.LineEndomorphisms.lineEndEquiv hM).symm a |
| 21 | |
| 22 | theorem coefficient_spec (a : M ⟶ M) : Isogenies.NeighborCounting.ModuleScalar.scalarEnd M (coefficient hM a) = a := |
| 23 | (Isogenies.NeighborCounting.LineEndomorphisms.lineEndEquiv hM).apply_symm_apply a |
| 24 | |
| 25 | theorem coefficient_id : coefficient hM (𝟙 M) = 1 := by |
| 26 | apply Isogenies.NeighborCounting.LineEndomorphisms.scalarEnd_injective hM |
| 27 | rw [coefficient_spec, Isogenies.NeighborCounting.ModuleScalar.scalarEnd_one] |
| 28 | |
| 29 | theorem coefficient_comp (a b : M ⟶ M) : |
| 30 | coefficient hM (a ≫ b) = coefficient hM a * coefficient hM b := by |
| 31 | apply Isogenies.NeighborCounting.LineEndomorphisms.scalarEnd_injective hM |
| 32 | rw [coefficient_spec, Isogenies.NeighborCounting.ModuleScalar.scalarEnd_mul, coefficient_spec, coefficient_spec] |
| 33 | |
| 34 | /-- An automorphism has an invertible global coefficient. -/ |
| 35 | def unitOfAut (e : M ≅ M) : Γ(X, ⊤)ˣ where |
| 36 | val := coefficient hM e.hom |
| 37 | inv := coefficient hM e.inv |
| 38 | val_inv := by rw [← coefficient_comp, e.hom_inv_id, coefficient_id] |
| 39 | inv_val := by rw [← coefficient_comp, e.inv_hom_id, coefficient_id] |
| 40 | |
| 41 | theorem scalarIso_unitOfAut (e : M ≅ M) : Isogenies.NeighborCounting.ModuleScalar.scalarIso M (unitOfAut hM e) = e := by |
| 42 | apply Iso.ext |
| 43 | exact coefficient_spec hM e.hom |
| 44 | |
| 45 | theorem unitOfAut_injective : Function.Injective (unitOfAut hM) := by |
| 46 | intro e f h |
| 47 | exact (scalarIso_unitOfAut hM e).symm.trans |
| 48 | ((congrArg (Isogenies.NeighborCounting.ModuleScalar.scalarIso M) h).trans (scalarIso_unitOfAut hM f)) |
| 49 | |
| 50 | theorem unitOfAut_refl : unitOfAut hM (Iso.refl M) = 1 := by |
| 51 | apply Units.ext |
| 52 | exact coefficient_id hM |
| 53 | |
| 54 | theorem unitOfAut_trans (e f : M ≅ M) : |
| 55 | unitOfAut hM (e ≪≫ f) = unitOfAut hM e * unitOfAut hM f := by |
| 56 | apply Units.ext |
| 57 | exact coefficient_comp hM e.hom f.hom |
| 58 | |
| 59 | theorem unitOfAut_symm (e : M ≅ M) : unitOfAut hM e.symm = (unitOfAut hM e)⁻¹ := by |
| 60 | apply Units.ext |
| 61 | rfl |
| 62 | |
| 63 | theorem coefficient_pullback (f : Y ⟶ X) (a : M ⟶ M) : |
| 64 | coefficient (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_pullback f M hM) ((Scheme.Modules.pullback f).map a) = |
| 65 | f.appTop (coefficient hM a) := by |
| 66 | apply Isogenies.NeighborCounting.LineEndomorphisms.scalarEnd_injective (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_pullback f M hM) |
| 67 | rw [coefficient_spec, ← Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback, coefficient_spec] |
| 68 | |
| 69 | /-- This is arbitrary scheme pullback, with no reducedness or affineness condition. -/ |
| 70 | theorem unitOfAut_pullback (f : Y ⟶ X) (e : M ≅ M) : |
| 71 | unitOfAut (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_pullback f M hM) ((Scheme.Modules.pullback f).mapIso e) = |
| 72 | Units.map f.appTop.hom (unitOfAut hM e) := by |
| 73 | apply Units.ext |
| 74 | exact coefficient_pullback hM f e.hom |
| 75 | |
| 76 | theorem unitOfAut_conjugate {N : X.Modules} (hN : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle N) |
| 77 | (s : M ≅ N) (e : M ≅ M) : |
| 78 | unitOfAut hN (s.symm ≪≫ e ≪≫ s) = unitOfAut hM e := by |
| 79 | apply Units.ext |
| 80 | apply Isogenies.NeighborCounting.LineEndomorphisms.scalarEnd_injective hN |
| 81 | change Isogenies.NeighborCounting.ModuleScalar.scalarEnd N (coefficient hN (s.inv ≫ e.hom ≫ s.hom)) = |
| 82 | Isogenies.NeighborCounting.ModuleScalar.scalarEnd N (coefficient hM e.hom) |
| 83 | rw [coefficient_spec] |
| 84 | calc |
| 85 | s.inv ≫ e.hom ≫ s.hom = s.inv ≫ Isogenies.NeighborCounting.ModuleScalar.scalarEnd M (coefficient hM e.hom) ≫ s.hom := |
| 86 | congrArg (fun a => s.inv ≫ a ≫ s.hom) (coefficient_spec hM e.hom).symm |
| 87 | _ = Isogenies.NeighborCounting.ModuleScalar.scalarEnd N (coefficient hM e.hom) := by |
| 88 | rw [Isogenies.NeighborCounting.ModuleScalar.scalarEnd_naturality, Iso.inv_hom_id_assoc] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.AutomorphismUnits |