/- Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ module public import FormalConjecturesUtil

Zariski Cancellation

References:

    arxiv/2208.14736 The Zariski Cancellation Problem and related problems in Affine Algebraic Geometry by Neena Gupta

    [OAI26a] OpenAI, An explicit failure of complex affine-space cancellation. OpenAI Math Release preprint (2026). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/An-explicit-failure-of-complex-affine-space-cancellation-September-23-2026/paper.pdf

@[expose] public sectionnamespace Arxiv.«2208.14736»open Polynomial

A finitely generated k-algebra A is cancellative if for all finitely generated k algebras B such that B[X] ≅ₖ A[X] we have B ≅ₖ A.

def IsCancellative (k A : Type*) [Field k] [CommRing A] [Algebra k A] [Algebra.FiniteType k A] : Prop := ∀ {B : Type*} [CommRing B] [Algebra k B] [Algebra.FiniteType k B], Nonempty (A[X] ≃ₐ[k] B[X]) → Nonempty (A ≃ₐ[k] B)

The Zariski Cancellation Problem: is every polynomial ring over a field k of characteristic 0 cancellative?

The answer is no: the polynomial ring in four variables over $\mathbb{C}$ is not cancellative. This was disproved by an internal OpenAI model in September 2026 [OAI26a]; see the linked Lean proof and zariski_cancellation_problem.variants.false_complex_four.

@[category research solved, AMS 13 14, formal_proof using lean4 at "https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Algebra/AffineCancellation/Main.lean#L32"] theorem zariski_cancellation_problem : ¬ ∀ {k : Type} [Field k] [CharZero k] {ι : Type} [Fintype ι], IsCancellative k (MvPolynomial ι k) := ⊢ ¬∀ {k : Type} [inst : Field k] [CharZero k] {ι : Type} [inst_2 : Fintype ι], IsCancellative k (MvPolynomial ι k) All goals completed! 🐙

The polynomial ring in four variables over $\mathbb{C}$ is not cancellative: there is a finitely generated $\mathbb{C}$-domain $A$ of Krull dimension $4$ with $A[w] \cong \mathbb{C}[x_1, \dots, x_5]$ but $A \not\cong \mathbb{C}[x_1, \dots, x_4]$. This was proved by an internal OpenAI model in September 2026 [OAI26a]; see the linked Lean proof.

@[category research solved, AMS 13 14, formal_proof using lean4 at "https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Algebra/AffineCancellation/Main.lean#L32"] theorem zariski_cancellation_problem.variants.false_complex_four : ¬ IsCancellative ℂ (MvPolynomial (Fin 4) ℂ) := ⊢ ¬IsCancellative ℂ (MvPolynomial (Fin 4) ℂ) All goals completed! 🐙

The single variable polynomial ring k[X] is cancellative in any characteristic

@[category research solved, AMS 13 14] theorem zariski_cancellation_problem.variants.dim_one {k : Type*} [Field k] : IsCancellative k k[X] := k:Type u_1inst✝:Field k⊢ IsCancellative k k[X] All goals completed! 🐙

The two variable polynomial ring k[X] is cancellative in any characteristic

@[category research solved, AMS 13 14] theorem zariski_cancellation_problem.variants.dim_two {k : Type*} [Field k] : IsCancellative k (MvPolynomial (Fin 2) k) := k:Type u_1inst✝:Field k⊢ IsCancellative k (MvPolynomial (Fin 2) k) All goals completed! 🐙

The positive characteristic case of the Zariski Cancellation Problem is false in dimension 3

@[category research solved, AMS 13 14] theorem zariski_cancellation_problem.variants.false_pos_card (p : ℕ) [hp : Fact p.Prime] {ι : Type*} [Fintype ι] (hι : Fintype.card ι = 3) : ¬ IsCancellative (ZMod p) (MvPolynomial ι (ZMod p)) := p:ℕhp:Fact (Nat.Prime p)ι:Type u_1inst✝:Fintype ιhι:Fintype.card ι = 3⊢ ¬IsCancellative (ZMod p) (MvPolynomial ι (ZMod p)) All goals completed! 🐙end Arxiv.«2208.14736»