Buckets:
| 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 | |
| end SingleFold | |
| end OAI | |
Xet Storage Details
- Size:
- 1.03 kB
- Xet hash:
- 8cac3a2eb43d1ff24c6a5ed649b704d927ac6aa2617df97bae70a592ccfb71b6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.