cfahlgren1's picture
download
raw
1.07 kB
import Mathlib
namespace OAI
namespace SingleFold
/-- Evaluation over the integers of an integer polynomial at natural inputs. -/
noncomputable def evalNat {n m : ℕ} (P : MvPolynomial (Fin n ⊕ Fin m) ℤ)
(a : Fin n → ℕ) (w : Fin m → ℕ) : ℤ :=
MvPolynomial.eval (Sum.elim (fun i => (a i : ℤ)) (fun j => (w j : ℤ))) P
/-- Exact existence on members, no witness on nonmembers, and uniqueness of the
whole witness on every input. No coordinates are hidden outside `w`. -/
def Represents {n m : ℕ} (P : MvPolynomial (Fin n ⊕ Fin m) ℤ)
(S : Set (Fin n → ℕ)) : Prop :=
∀ a, (a ∈ S ↔ ∃ w, evalNat P a w = 0) ∧
∀ w v, evalNat P a w = 0 → evalNat P a v = 0 → w = v
/-- Single-fold representation with positive input and witness lengths. -/
def MainStatement : Prop :=
∀ (n : ℕ), 1 ≤ n → ∀ (S : Set (Fin n → ℕ)), REPred (fun a => a ∈ S) →
∃ (m : ℕ), 1 ≤ m ∧ ∃ P : MvPolynomial (Fin n ⊕ Fin m) ℤ, Represents P S
theorem main : MainStatement := by
sorry
end SingleFold
end OAI

Xet Storage Details

Size:
1.07 kB
·
Xet hash:
87faf395bf9e51af6c99f26dee4a32fa3c09a464ee6ec542e6ee5c3a674d7c76

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.