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.LocalMinimalOf |
| 2 | |
| 3 | /-! # Local Differential Normal Form -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalDifferentialNormalForm.Construction.LocalSectionLifting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Existence of a minimal form for a map of finite free modules over a local ring. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 14 | |
| 15 | theorem exists_localMinimalDifferential_of_finrank (n : ℕ) : |
| 16 | ∀ (M N : ModuleCat.{u} R) [Module.Finite R M] [Module.Free R M] |
| 17 | [Module.Finite R N] [Module.Free R N], |
| 18 | Module.finrank R M = n → ∀ f : M →ₗ[R] N, Nonempty (LocalMinimalOf.Construction.LocalSectionLifting.LocalMinimalDifferential f) := by |
| 19 | classical |
| 20 | induction n using Nat.strong_induction_on with |
| 21 | | h n ih => |
| 22 | intro M N hMF hMFree hNF hNFree hn f |
| 23 | by_cases hf : f.baseChange (IsLocalRing.ResidueField R) = 0 |
| 24 | · exact ⟨LocalMinimalOf.Construction.LocalSectionLifting.localMinimalDifferentialOfResidueZero f hf⟩ |
| 25 | obtain ⟨i, j, eM, eN, g, d, hd⟩ := LocalGaussianStep.Construction.LocalSectionLifting.exists_gaussian_step_of_residue_ne_zero |
| 26 | (Module.finBasis R M) (Module.finBasis R N) f hf |
| 27 | let M₁ : ModuleCat.{u} R := ModuleCat.of R ({l : Fin (Module.finrank R M) // l ≠ i} → R) |
| 28 | let N₁ : ModuleCat.{u} R := ModuleCat.of R ({l : Fin (Module.finrank R N) // l ≠ j} → R) |
| 29 | have hlt : Module.finrank R M₁ < n := by |
| 30 | change Module.finrank R ({l : Fin (Module.finrank R M) // l ≠ i} → R) < n |
| 31 | rw [Module.finrank_fintype_fun_eq_card] |
| 32 | have hc := Fintype.card_subtype_lt (p := fun l : Fin (Module.finrank R M) => l ≠ i) |
| 33 | (x := i) (not_not.mpr rfl) |
| 34 | simpa only [Fintype.card_fin, hn] using hc |
| 35 | obtain ⟨P⟩ := ih (Module.finrank R M₁) hlt M₁ N₁ rfl g |
| 36 | exact ⟨LocalMinimalOf.Construction.LocalSectionLifting.localMinimalDifferentialStep (M₁ := M₁) (N₁ := N₁) f g eM eN d hd P⟩ |
| 37 | |
| 38 | theorem exists_localMinimalDifferential (M N : ModuleCat.{u} R) |
| 39 | [Module.Finite R M] [Module.Free R M] [Module.Finite R N] [Module.Free R N] |
| 40 | (f : M →ₗ[R] N) : Nonempty (LocalMinimalOf.Construction.LocalSectionLifting.LocalMinimalDifferential f) := |
| 41 | exists_localMinimalDifferential_of_finrank (Module.finrank R M) M N rfl f |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalDifferentialNormalForm.Construction.LocalSectionLifting |