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.LocalOutgoingReduction |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GaussianIncomingComplex |
| 3 | |
| 4 | /-! # Local Incoming Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalIncomingReduction.Construction.LocalSectionLifting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Removing the invertible summands of an incoming differential while preserving residue vanishing. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 17 | (S : ShortComplex (ModuleCat.{u} R)) (P : LocalMinimalOf.Construction.LocalSectionLifting.LocalMinimalDifferential S.f.hom) |
| 18 | |
| 19 | def localIncomingFollowingMap : (P.target × P.cancelled) →ₗ[R] S.X₃ := |
| 20 | S.g.hom.comp P.targetEquiv.symm.toLinearMap |
| 21 | |
| 22 | theorem localIncomingFollowing_zero : |
| 23 | (localIncomingFollowingMap S P).comp |
| 24 | (ComplexGaussian.Construction.LocalSectionLifting.blockDifferential P.differential 0 0 (LinearEquiv.refl R P.cancelled)) = 0 := by |
| 25 | apply LinearMap.ext |
| 26 | intro x |
| 27 | change S.g (P.targetEquiv.symm (P.differential x.1 + 0, 0 + x.2)) = 0 |
| 28 | simp only [add_zero, zero_add] |
| 29 | rw [← P.normal_form, LinearEquiv.symm_apply_apply, S.moduleCat_zero_apply] |
| 30 | |
| 31 | abbrev localIncomingCoordinateComplex : ShortComplex (ModuleCat.{u} R) := |
| 32 | GaussianIncomingComplex.Construction.LocalSectionLifting.blockIncomingComplex P.differential 0 0 (LinearEquiv.refl R P.cancelled) |
| 33 | (localIncomingFollowingMap S P) (localIncomingFollowing_zero S P) |
| 34 | |
| 35 | abbrev localIncomingReducedComplex : ShortComplex (ModuleCat.{u} R) := |
| 36 | GaussianIncomingComplex.Construction.LocalSectionLifting.schurIncomingComplex P.differential 0 0 (LinearEquiv.refl R P.cancelled) |
| 37 | (localIncomingFollowingMap S P) (localIncomingFollowing_zero S P) |
| 38 | |
| 39 | def localIncomingCoordinateIso : S ≅ localIncomingCoordinateComplex S P := |
| 40 | ShortComplex.isoMk P.sourceEquiv.symm.toModuleIso P.targetEquiv.toModuleIso (Iso.refl _) |
| 41 | (by |
| 42 | ext x |
| 43 | change (P.differential (P.sourceEquiv.symm x).1 + 0, |
| 44 | 0 + (P.sourceEquiv.symm x).2) = P.targetEquiv (S.f x) |
| 45 | simp only [add_zero, zero_add] |
| 46 | rw [← P.normal_form, LinearEquiv.apply_symm_apply]) |
| 47 | (by |
| 48 | ext x |
| 49 | change S.g (P.targetEquiv.symm (P.targetEquiv x)) = S.g x |
| 50 | rw [LinearEquiv.symm_apply_apply]) |
| 51 | |
| 52 | def localIncomingReduction : ShortComplex.HomotopyEquiv S (localIncomingReducedComplex S P) := |
| 53 | (LocalOutgoingReduction.Construction.LocalSectionLifting.shortComplexHomotopyEquivOfIso (localIncomingCoordinateIso S P)).trans |
| 54 | (GaussianIncomingComplex.Construction.LocalSectionLifting.blockIncomingHomotopyEquiv P.differential 0 0 (LinearEquiv.refl R P.cancelled) |
| 55 | (localIncomingFollowingMap S P) (localIncomingFollowing_zero S P)) |
| 56 | |
| 57 | theorem localIncomingReduction_hom_h₀ : |
| 58 | (localIncomingReduction S P).homotopyHomInvId.h₀ = 0 := |
| 59 | ShortComplexEndpointHomotopy.Construction.LocalSectionLifting.shortComplexHomotopyEquiv_trans_hom_h₀ _ _ rfl rfl |
| 60 | |
| 61 | theorem localIncomingReduction_inv_h₀ : |
| 62 | (localIncomingReduction S P).homotopyInvHomId.h₀ = 0 := |
| 63 | ShortComplexEndpointHomotopy.Construction.LocalSectionLifting.shortComplexHomotopyEquiv_trans_inv_h₀ _ _ rfl rfl |
| 64 | |
| 65 | theorem localIncomingReduced_residue_zero : |
| 66 | (localIncomingReducedComplex S P).f.hom.baseChange (IsLocalRing.ResidueField R) = 0 := by |
| 67 | have hf : (localIncomingReducedComplex S P).f.hom = P.differential := by |
| 68 | apply LinearMap.ext |
| 69 | intro x |
| 70 | change P.differential x - 0 = P.differential x |
| 71 | exact sub_zero _ |
| 72 | rw [hf] |
| 73 | exact P.residue_zero |
| 74 | |
| 75 | theorem localIncomingReduced_preserves_outgoing_residue_zero |
| 76 | (hg : S.g.hom.baseChange (IsLocalRing.ResidueField R) = 0) : |
| 77 | (localIncomingReducedComplex S P).g.hom.baseChange (IsLocalRing.ResidueField R) = 0 := by |
| 78 | change ((S.g.hom.comp P.targetEquiv.symm.toLinearMap).comp |
| 79 | (LinearMap.inl R P.target P.cancelled)).baseChange (IsLocalRing.ResidueField R) = 0 |
| 80 | rw [LinearMap.baseChange_comp, LinearMap.baseChange_comp, hg, |
| 81 | LinearMap.zero_comp, LinearMap.zero_comp] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalIncomingReduction.Construction.LocalSectionLifting |