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.Divisors.LineBundles.MultiplicationSequence |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.EquationEulerEquiv |
| 3 | import Mathlib.LinearAlgebra.Isomorphisms |
| 4 | |
| 5 | /-! # Two Equation Symmetry -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.TwoEquationSymmetry.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: symmetry of successive local intersection Euler lengths |
| 13 | |
| 14 | The double cokernel is the quotient by the sum of the two equation |
| 15 | images. Combined with the actual snake-boundary kernel isomorphism, |
| 16 | this proves symmetry of the finite local intersection invariant. |
| 17 | -/ |
| 18 | |
| 19 | variable {R : Type*} [CommRing R] (a b : R) |
| 20 | |
| 21 | theorem equationQuotient_range : |
| 22 | (MultiplicationSequence.BundleCycles.equationEndomorphism a (MultiplicationSequence.BundleCycles.equationCokernel b R)).range = |
| 23 | (MultiplicationSequence.BundleCycles.equationEndomorphism a R).range.map (MultiplicationSequence.BundleCycles.equationEndomorphism b R).range.mkQ := by |
| 24 | ext y |
| 25 | constructor |
| 26 | · rintro ⟨q, rfl⟩ |
| 27 | obtain ⟨x, hx⟩ := (MultiplicationSequence.BundleCycles.equationEndomorphism b R).range.mkQ_surjective q |
| 28 | refine ⟨MultiplicationSequence.BundleCycles.equationEndomorphism a R x, ⟨x, rfl⟩, ?_⟩ |
| 29 | exact ((MultiplicationSequence.BundleCycles.equationEndomorphism b R).range.mkQ.map_smul a x).trans (congrArg (fun z => a • z) hx) |
| 30 | · rintro ⟨_, ⟨x, rfl⟩, rfl⟩ |
| 31 | exact ⟨(MultiplicationSequence.BundleCycles.equationEndomorphism b R).range.mkQ x, ((MultiplicationSequence.BundleCycles.equationEndomorphism b R).range.mkQ.map_smul a x).symm⟩ |
| 32 | |
| 33 | /-- The double cokernel is the actual quotient by the sum of the two equation images. -/ |
| 34 | def twoEquationCokernelQuotientEquiv : |
| 35 | MultiplicationSequence.BundleCycles.equationCokernel a (MultiplicationSequence.BundleCycles.equationCokernel b R) ≃ₗ[R] |
| 36 | R ⧸ ((MultiplicationSequence.BundleCycles.equationEndomorphism b R).range ⊔ (MultiplicationSequence.BundleCycles.equationEndomorphism a R).range) := |
| 37 | (Submodule.quotEquivOfEq _ _ (equationQuotient_range a b)).trans |
| 38 | (Submodule.quotientQuotientEquivQuotientSup (MultiplicationSequence.BundleCycles.equationEndomorphism b R).range (MultiplicationSequence.BundleCycles.equationEndomorphism a R).range) |
| 39 | |
| 40 | def twoEquationCokernelEquiv : |
| 41 | MultiplicationSequence.BundleCycles.equationCokernel a (MultiplicationSequence.BundleCycles.equationCokernel b R) ≃ₗ[R] MultiplicationSequence.BundleCycles.equationCokernel b (MultiplicationSequence.BundleCycles.equationCokernel a R) := |
| 42 | (twoEquationCokernelQuotientEquiv a b).trans |
| 43 | ((Submodule.quotEquivOfEq _ _ (sup_comm _ _)).trans (twoEquationCokernelQuotientEquiv b a).symm) |
| 44 | |
| 45 | /-- Successive intersection Euler lengths agree under interchange of the two regular equations. -/ |
| 46 | theorem equationEulerLength_comm |
| 47 | (ha : Function.Injective (MultiplicationSequence.BundleCycles.equationEndomorphism a R)) |
| 48 | (hb : Function.Injective (MultiplicationSequence.BundleCycles.equationEndomorphism b R)) |
| 49 | (hKab : Module.length R (MultiplicationSequence.BundleCycles.equationKernel a (MultiplicationSequence.BundleCycles.equationCokernel b R)) ≠ ⊤) |
| 50 | (hCab : Module.length R (MultiplicationSequence.BundleCycles.equationCokernel a (MultiplicationSequence.BundleCycles.equationCokernel b R)) ≠ ⊤) |
| 51 | (hKba : Module.length R (MultiplicationSequence.BundleCycles.equationKernel b (MultiplicationSequence.BundleCycles.equationCokernel a R)) ≠ ⊤) |
| 52 | (hCba : Module.length R (MultiplicationSequence.BundleCycles.equationCokernel b (MultiplicationSequence.BundleCycles.equationCokernel a R)) ≠ ⊤) : |
| 53 | EquationEulerLength.BundleCycles.equationEulerLength a (MultiplicationSequence.BundleCycles.equationCokernel b R) hKab hCab = |
| 54 | EquationEulerLength.BundleCycles.equationEulerLength b (MultiplicationSequence.BundleCycles.equationCokernel a R) hKba hCba := by |
| 55 | unfold EquationEulerLength.BundleCycles.equationEulerLength |
| 56 | rw [(MultiplicationSequence.BundleCycles.twoEquationKernelEquiv a b hb ha).length_eq, (twoEquationCokernelEquiv a b).length_eq] |
| 57 | |
| 58 | theorem equationEndomorphism_injective [IsDomain R] (ha : a ≠ 0) : Function.Injective (MultiplicationSequence.BundleCycles.equationEndomorphism a R) := by |
| 59 | intro x y h |
| 60 | change a * x = a * y at h |
| 61 | exact mul_left_cancel₀ ha h |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Divisors.LineBundles.TwoEquationSymmetry.BundleCycles |