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.Picard.PoincareBundle.Affine.LineDescent |
| 2 | import Mathlib.RingTheory.LocalProperties.FinitePresentation |
| 3 | import Mathlib.RingTheory.LocalProperties.Exactness |
| 4 | |
| 5 | /-! # Local Invertibility -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.LocalInvertibility |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Zariski-local invertibility of modules for PoincareBundle |
| 13 | |
| 14 | Invertibility is checked on a principal-open cover by testing the actual |
| 15 | evaluation map after localization. The finite-presentation hypothesis |
| 16 | needed to commute duals with localization follows from the same cover. |
| 17 | -/ |
| 18 | |
| 19 | open TensorProduct |
| 20 | |
| 21 | variable (R S M : Type*) [CommRing R] [CommRing S] [Algebra R S] |
| 22 | [AddCommGroup M] [Module R M] |
| 23 | |
| 24 | /-- The evaluation map becomes bijective after flat base change to a ring |
| 25 | over which the module is invertible. -/ |
| 26 | theorem baseChangedContraction_bijective |
| 27 | [Module.Flat R S] [Module.FinitePresentation R M] |
| 28 | [Module.Invertible S (S ⊗[R] M)] : |
| 29 | Function.Bijective (AlgebraTensorModule.lTensor S S (contractLeft R M)) := by |
| 30 | let F := AlgebraTensorModule.lTensor S S (contractLeft R M) |
| 31 | let e := AlgebraTensorModule.rid R S S |
| 32 | have heval := (Affine.LineDescent.evaluationAfterBaseChangeEquiv R S M).bijective |
| 33 | have hcomp (x : S ⊗[R] (Module.Dual R M ⊗[R] M)) : |
| 34 | e (F x) = Affine.LineDescent.evaluationAfterBaseChangeEquiv R S M x := |
| 35 | LinearMap.congr_fun (Affine.LineDescent.evaluationAfterBaseChange_eq R S M) x |
| 36 | constructor |
| 37 | · intro x y hxy |
| 38 | apply heval.1 |
| 39 | rw [← hcomp x, ← hcomp y] |
| 40 | exact congrArg e hxy |
| 41 | · intro y |
| 42 | obtain ⟨x, hx⟩ := heval.2 (e y) |
| 43 | refine ⟨x, e.injective ?_⟩ |
| 44 | rw [hcomp x] |
| 45 | exact hx |
| 46 | |
| 47 | /-- A module that is invertible on a principal-open cover is invertible. -/ |
| 48 | theorem invertible_of_localizationSpan (s : Set R) (hs : Ideal.span s = ⊤) |
| 49 | (hloc : ∀ r : s, |
| 50 | Module.Invertible (Localization.Away r.1) (LocalizedModule.Away r.1 M)) : |
| 51 | Module.Invertible R M := by |
| 52 | have : Module.FinitePresentation R M := |
| 53 | Module.FinitePresentation.of_localizationSpan s hs (fun r => by |
| 54 | have := hloc r |
| 55 | exact Module.finitePresentation_of_projective _ _) |
| 56 | constructor |
| 57 | let c : (Module.Dual R M ⊗[R] M) →ₗ[R] R := { |
| 58 | toFun := contractLeft R M |
| 59 | map_add' := (contractLeft R M).map_add |
| 60 | map_smul' := (contractLeft R M).map_smul |
| 61 | } |
| 62 | change Function.Bijective c |
| 63 | apply bijective_of_isLocalized_span s hs |
| 64 | (fun r => Localization.Away r.1 ⊗[R] (Module.Dual R M ⊗[R] M)) |
| 65 | (fun r => TensorProduct.mk R (Localization.Away r.1) _ 1) |
| 66 | (fun r => Localization.Away r.1 ⊗[R] R) |
| 67 | (fun r => TensorProduct.mk R (Localization.Away r.1) R 1) c |
| 68 | intro r |
| 69 | have := hloc r |
| 70 | have : Module.Invertible (Localization.Away r.1) (Localization.Away r.1 ⊗[R] M) := |
| 71 | Module.Invertible.congr |
| 72 | (IsLocalizedModule.isBaseChange (.powers r.1) (Localization.Away r.1) |
| 73 | (LocalizedModule.mkLinearMap (.powers r.1) M)).equiv.symm |
| 74 | have heq : IsLocalizedModule.map (.powers r.1) |
| 75 | (TensorProduct.mk R (Localization.Away r.1) _ 1) |
| 76 | (TensorProduct.mk R (Localization.Away r.1) R 1) c = |
| 77 | (AlgebraTensorModule.lTensor (Localization.Away r.1) |
| 78 | (Localization.Away r.1) c).restrictScalars R := by |
| 79 | apply IsLocalizedModule.linearMap_ext (.powers r.1) |
| 80 | (TensorProduct.mk R (Localization.Away r.1) _ 1) |
| 81 | (TensorProduct.mk R (Localization.Away r.1) R 1) |
| 82 | ext x y |
| 83 | exact IsLocalizedModule.map_apply (.powers r.1) |
| 84 | (TensorProduct.mk R (Localization.Away r.1) _ 1) |
| 85 | (TensorProduct.mk R (Localization.Away r.1) R 1) c (x ⊗ₜ[R] y) |
| 86 | rw [heq] |
| 87 | exact baseChangedContraction_bijective R (Localization.Away r.1) M |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.LocalInvertibility |