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.Quotients.FiniteDescent.TwoAxis |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ScalarFunctor |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FlatCycle |
| 4 | import Mathlib.Algebra.Module.Projective |
| 5 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 6 | import Mathlib.RingTheory.TensorProduct.Finite |
| 7 | |
| 8 | /-! # Two Axis Cycle Lift -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.TwoAxisCycleLift |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Fiber detection on two axes produces a section cycle over the |
| 15 | original ring through a flat local extension. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace Construction.FlatTwoAxisCycleLift |
| 25 | |
| 26 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 27 | variable [IsLocalRing A] [Module.Flat R A] |
| 28 | variable (D C T₁ T₂ Q₁ Q₂ : ShortComplex (ModuleCat.{u} R)) |
| 29 | variable [Module.Finite R D.X₁] [Module.Projective R D.X₁] |
| 30 | variable [Module.Finite R D.X₂] [Module.Projective R D.X₂] |
| 31 | variable [Module.Finite R D.X₃] [Module.Projective R D.X₃] |
| 32 | variable [Module.Finite R Q₁.X₂] [Module.Free R Q₁.X₂] |
| 33 | variable [Module.Finite R Q₂.X₂] [Module.Free R Q₂.X₂] |
| 34 | |
| 35 | theorem exists_cycle (φ : D ⟶ C) (r₁ : C ⟶ T₁) (r₂ : C ⟶ T₂) |
| 36 | (p₁ : T₁ ⟶ Q₁) (p₂ : T₂ ⟶ Q₂) (h₁ : Q₁.f = 0) (h₂ : Q₂.f = 0) |
| 37 | [ShortComplex.QuasiIso ((ModuleCat.extendScalars |
| 38 | ((algebraMap A (IsLocalRing.ResidueField A)).comp (algebraMap R A))).mapShortComplex.map φ)] |
| 39 | [ShortComplex.QuasiIso ((ModuleCat.extendScalars |
| 40 | ((algebraMap A (IsLocalRing.ResidueField A)).comp (algebraMap R A))).mapShortComplex.map p₁)] |
| 41 | [ShortComplex.QuasiIso ((ModuleCat.extendScalars |
| 42 | ((algebraMap A (IsLocalRing.ResidueField A)).comp (algebraMap R A))).mapShortComplex.map p₂)] |
| 43 | (hj : CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 44 | ((ModuleCat.extendScalars ((algebraMap A (IsLocalRing.ResidueField A)).comp |
| 45 | (algebraMap R A))).mapShortComplex.map r₁) |
| 46 | ((ModuleCat.extendScalars ((algebraMap A (IsLocalRing.ResidueField A)).comp |
| 47 | (algebraMap R A))).mapShortComplex.map r₂)) |
| 48 | (z : IsLocalRing.ResidueField A ⊗[A] (A ⊗[R] D.X₁)) |
| 49 | (hz : (D.f.hom.baseChange A).baseChange (IsLocalRing.ResidueField A) z = 0) (hne : z ≠ 0) : |
| 50 | ∃ x : D.X₁, D.f x = 0 ∧ |
| 51 | (1 : IsLocalRing.ResidueField A) ⊗ₜ[A] ((1 : A) ⊗ₜ[R] x) ≠ 0 := by |
| 52 | let f := algebraMap R A |
| 53 | let g := algebraMap A (IsLocalRing.ResidueField A) |
| 54 | let F₀ := ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R A |
| 55 | let F := F₀.mapShortComplex |
| 56 | let G := (ModuleCat.extendScalars g).mapShortComplex |
| 57 | let e := ModuleCat.extendScalarsComp f g ≪≫ |
| 58 | Functor.isoWhiskerRight (ScalarFunctor.Construction.ScalarFunctorComparison.iso R A).symm (ModuleCat.extendScalars g) |
| 59 | let D' := F.obj D |
| 60 | have : Module.Finite A D'.X₁ := inferInstanceAs (Module.Finite A (A ⊗[R] D.X₁)) |
| 61 | have : Module.Finite A D'.X₂ := inferInstanceAs (Module.Finite A (A ⊗[R] D.X₂)) |
| 62 | have : Module.Finite A D'.X₃ := inferInstanceAs (Module.Finite A (A ⊗[R] D.X₃)) |
| 63 | have : Module.Flat A D'.X₁ := inferInstanceAs (Module.Flat A (A ⊗[R] D.X₁)) |
| 64 | have : Module.Flat A D'.X₂ := inferInstanceAs (Module.Flat A (A ⊗[R] D.X₂)) |
| 65 | have : Module.Flat A D'.X₃ := inferInstanceAs (Module.Flat A (A ⊗[R] D.X₃)) |
| 66 | have : Module.Free A D'.X₁ := Module.free_of_flat_of_isLocalRing |
| 67 | have : Module.Free A D'.X₂ := Module.free_of_flat_of_isLocalRing |
| 68 | have : Module.Free A D'.X₃ := Module.free_of_flat_of_isLocalRing |
| 69 | have : Module.Finite A (F.obj Q₁).X₂ := inferInstanceAs (Module.Finite A (A ⊗[R] Q₁.X₂)) |
| 70 | have : Module.Free A (F.obj Q₁).X₂ := inferInstanceAs (Module.Free A (A ⊗[R] Q₁.X₂)) |
| 71 | have : Module.Finite A (F.obj Q₂).X₂ := inferInstanceAs (Module.Finite A (A ⊗[R] Q₂.X₂)) |
| 72 | have : Module.Free A (F.obj Q₂).X₂ := inferInstanceAs (Module.Free A (A ⊗[R] Q₂.X₂)) |
| 73 | have : ShortComplex.QuasiIso (G.map (F.map φ)) := ShortComplexNatural.Construction.ShortComplexNaturalIso.quasiIso e φ |
| 74 | have : ShortComplex.QuasiIso (G.map (F.map p₁)) := ShortComplexNatural.Construction.ShortComplexNaturalIso.quasiIso e p₁ |
| 75 | have : ShortComplex.QuasiIso (G.map (F.map p₂)) := ShortComplexNatural.Construction.ShortComplexNaturalIso.quasiIso e p₂ |
| 76 | have hd : CechBoundary.Construction.CechBoundaryTransport.JointlyDetects (G.map (F.map r₁)) (G.map (F.map r₂)) := |
| 77 | ShortComplexNatural.Construction.ShortComplexNaturalIso.jointly e r₁ r₂ hj |
| 78 | have hf₁ : (F.obj Q₁).f = 0 := by |
| 79 | change F₀.map Q₁.f = 0 |
| 80 | rw [h₁, Functor.map_zero] |
| 81 | have hf₂ : (F.obj Q₂).f = 0 := by |
| 82 | change F₀.map Q₂.f = 0 |
| 83 | rw [h₂, Functor.map_zero] |
| 84 | obtain ⟨x, hx, he⟩ := TwoAxis.Construction.TwoAxisCycleLift.lift D' (F.obj C) (F.obj T₁) (F.obj T₂) (F.obj Q₁) (F.obj Q₂) |
| 85 | (F.map φ) (F.map r₁) (F.map r₂) (F.map p₁) (F.map p₂) hf₁ hf₂ hd z hz |
| 86 | exact FlatCycle.Construction.FlatCycleDetection.exists_cycle D.f.hom |
| 87 | (TensorProduct.mk A (IsLocalRing.ResidueField A) (A ⊗[R] D.X₁) 1) x hx |
| 88 | (fun h => hne (he.symm.trans h)) |
| 89 | |
| 90 | end Construction.FlatTwoAxisCycleLift |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.TwoAxisCycleLift |