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.Resolution.Blowups.ControlPrefix.FixedLabels |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.PrefixBoundaryReindex |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.Composition |
| 4 | |
| 5 | /-! # Fixed Label Composition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Continuations with prescribed endpoint labels compose with the original actual prefix. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {b : ℕ} {X Y Z : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 16 | {h : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {K : Y.IdealSheafData} {L : Z.IdealSheafData} |
| 17 | |
| 18 | def Smooth.ControlPrefix.Construction.SmoothControlPrefix.endpointLabelsEquivAtLength (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) (β : Type) |
| 19 | (N : ℕ) (hN : P.stepCount = N) : P.endpointLabels β ≃ ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β := |
| 20 | (P.endpointLabelsEquiv β).trans (Equiv.cast (congrArg (fun n => ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels n β) hN)) |
| 21 | |
| 22 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.boundaryAtLength_equiv (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) {β : Type} |
| 23 | (D : β → X.IdealSheafData) (N : ℕ) (hN : P.stepCount = N) (j : P.endpointLabels β) : |
| 24 | P.boundaryAtLength D N hN (P.endpointLabelsEquivAtLength β N hN j) = P.endpointBoundary D j := by |
| 25 | subst N |
| 26 | exact congrArg (P.endpointBoundary D) ((P.endpointLabelsEquiv β).symm_apply_apply j) |
| 27 | |
| 28 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible_of_fixed_labels |
| 29 | (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) (Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b Y g K Z h L) |
| 30 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) (N : ℕ) (hN : P.stepCount = N) |
| 31 | (hQ : Q.uniformBoundaryCompatible (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) (P.boundaryAtLength D N hN)) : |
| 32 | Q.uniformBoundaryCompatible (P.endpointLabels β) (P.endpointBoundary D) := by |
| 33 | have ht := Q.uniformBoundaryCompatible_reindex _ _ _ hQ (P.endpointLabelsEquivAtLength β N hN).toEmbedding |
| 34 | have heq : (fun j => P.boundaryAtLength D N hN (P.endpointLabelsEquivAtLength β N hN j)) = |
| 35 | P.endpointBoundary D := funext (P.boundaryAtLength_equiv D N hN) |
| 36 | change Q.uniformBoundaryCompatible (P.endpointLabels β) |
| 37 | (fun j => P.boundaryAtLength D N hN (P.endpointLabelsEquivAtLength β N hN j)) at ht |
| 38 | rw [heq] at ht |
| 39 | exact ht |
| 40 | |
| 41 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.append_uniformBoundaryCompatible_fixed_labels |
| 42 | (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) (Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b Y g K Z h L) |
| 43 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) (hP : P.uniformBoundaryCompatible β D) |
| 44 | (N : ℕ) (hN : P.stepCount = N) |
| 45 | (hQ : Q.uniformBoundaryCompatible (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) (P.boundaryAtLength D N hN)) : |
| 46 | (P.append Q).uniformBoundaryCompatible β D := |
| 47 | P.append_uniformBoundaryCompatible Q D hP (P.uniformBoundaryCompatible_of_fixed_labels Q D N hN hQ) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Resolution.Blowups |