OAI/Computability/MaxCut/Games/RawMapLaw.lean
64 declarations, 0 contain sorry, 0 declared as axioms
Exact uniform sampling of linear maps on the common private coordinate target.
- def
OAI.MaxCutGames.Soundness.RawMapLaw.rawMapline 19 - theorem
OAI.MaxCutGames.Soundness.RawMapLaw.coefficients_rawMapline 23 - theorem
OAI.MaxCutGames.Soundness.RawMapLaw.rawMap_coefficientsline 34 - def
OAI.MaxCutGames.Soundness.RawMapLaw.rawMapEquivline 43 - instance
OAI.MaxCutGames.Soundness.RawMapLaw.rawMapsFintypeline 49 - def
OAI.MaxCutGames.Soundness.RawMapLaw.bitsRawMapEquivline 53 - theorem
OAI.MaxCutGames.Soundness.RawMapLaw.bits_coefficientsline 57 - theorem
OAI.MaxCutGames.Soundness.RawMapLaw.uniform_bits_rawMapsline 63Source documentation
This equality counts every raw coefficient and every genuine row map once.
theorem uniform_bits_rawMaps {Q : Type} [Fintype Q] [DecidableEq Q] (H : (RawPoint J →ₗ[F2] (Q → F2)) → ℝ) : (𝔼 gamma : RawCoefficients J (ZeroInformation.Bits Q), H (bitsRawMapEquiv J gamma)) = 𝔼 Y, H Y := …Mentions: OAI.MaxCutGames.Soundness.ZeroInformation.Bits, OAI.MaxCutGames.Soundness.RawMapLaw.bitsRawMapEquiv
- def
OAI.MaxCutGames.Reduction.Explicit.pairsline 77Source documentation
A Cartesian product that preserves repetitions in each input list.
def pairs (xs : List α) (ys : List β) : List (α × β) := …
- theorem
OAI.MaxCutGames.Reduction.Explicit.length_pairsline 80 - theorem
OAI.MaxCutGames.Reduction.Explicit.mem_pairsline 89 - def
OAI.MaxCutGames.Reduction.Explicit.wordsline 94Source documentation
Enumerate all words of length
kover an explicitly listed alphabet.def words (alphabet : List α) : Nat → List (List α) | 0 => [[]] | k + 1 => (pairs alphabet (words alphabet k)).map fun p => p.1 :: p.2
Mentions: OAI.MaxCutGames.Reduction.Explicit.pairs
- theorem
OAI.MaxCutGames.Reduction.Explicit.length_wordsline 98 - theorem
OAI.MaxCutGames.Reduction.Explicit.mem_wordsline 107Source documentation
The enumerator covers exactly the prescribed words.
theorem mem_words {alphabet : List α} {w : List α} {k : Nat} : w ∈ words alphabet k ↔ w.length = k ∧ ∀ a ∈ w, a ∈ alphabet := by …Mentions: OAI.MaxCutGames.Reduction.Explicit.words
- abbrev
OAI.MaxCutGames.Reduction.Explicit.CoordinateOutcomeline 137Source documentation
(question occurrences, binary map matrix, noise index, binary functional). The matrix is flattened and has(2*k+1)*dimRbits.abbrev CoordinateOutcome := (List Nat × List Nat) × (Nat × List Nat)
- def
OAI.MaxCutGames.Reduction.Explicit.edgeOutcomesline 139 - def
OAI.MaxCutGames.Reduction.Explicit.edgeCountline 145Source documentation
The formula in Equation (4.21).
def edgeCount (m k dimR noiseCount : Nat) : Nat := …
- theorem
OAI.MaxCutGames.Reduction.Explicit.length_edgeOutcomesline 148 - theorem
OAI.MaxCutGames.Reduction.Explicit.edgeCount_posline 156 - theorem
OAI.MaxCutGames.Reduction.Explicit.edgeOutcomes_nonemptyline 160 - theorem
OAI.MaxCutGames.Reduction.Explicit.edgeCount_monoline 167 - theorem
OAI.MaxCutGames.Reduction.Explicit.product_powline 172 - theorem
OAI.MaxCutGames.Reduction.Explicit.edgeCount_polynomial_boundline 180 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.nodup_pairsline 211 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.functionsline 215Source documentation
Exhaustive finite-function enumeration with a specified value list.
def functions (values : List α) : (n : Nat) → List (Fin n → α) | 0 => [Fin.elim0] | n + 1 => (pairs values (functions values n)).map (fun p => Fin.cons p.1 p.2) - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.length_functionsline 220 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.mem_functionsline 226 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.nodup_functionsline 236 - abbrev
OAI.MaxCutGames.Reduction.ActualEnumeration.Coefficientsline 252 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.fromCoefficientsline 254 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.toCoefficientsline 264 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.to_fromCoefficientsline 267 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.from_toCoefficientsline 276 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.coefficientEquivline 283Source documentation
Actual matrix-coefficient equivalence, rather than just a count model.
def coefficientEquiv : Coefficients k R ≃ (E k →ₗ[F2] R) where …
Mentions: OAI.MaxCutGames.Reduction.ActualEnumeration.Coefficients
- def
OAI.MaxCutGames.Reduction.ActualEnumeration.allLinearMapsline 289 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.length_allLinearMapsline 292 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.mem_allLinearMapsline 299 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.nodup_allLinearMapsline 306 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.cardinal_linearMapsline 311 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.vectorsline 323 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.length_vectorsline 326 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.mem_vectorsline 329 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.nodup_vectorsline 333 - abbrev
OAI.MaxCutGames.Reduction.ActualEnumeration.Ambientline 336 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.ambientVectorsline 339 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.length_ambientVectorsline 341 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.mem_ambientVectorsline 344 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.nodup_ambientVectorsline 347 - abbrev
OAI.MaxCutGames.Reduction.ActualEnumeration.Queryline 350 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.queriesline 352 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.mem_queriesline 355 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.nodup_queriesline 359 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.length_queriesline 363 - abbrev
OAI.MaxCutGames.Reduction.ActualEnumeration.Outcomeline 368 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.outcomesline 372 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.length_outcomesline 377 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.mem_outcomesline 387 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.nodup_outcomesline 396 - def
OAI.MaxCutGames.Reduction.ActualEnumeration.indexedOutcomesline 406Source documentation
The executable edge experiment for an arbitrary explicitly ordered noise index type. Equal noise vectors still have separate indices and entries.
def indexedOutcomes (m k s d : Nat) (indices : List N) : List (Query m k s d × (N × (E k →ₗ[F2] F2))) := … - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.length_indexedOutcomesline 410 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.mem_indexedOutcomesline 415 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.nodup_indexedOutcomesline 422 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.indexedOutcomes_nonemptyline 427 - theorem
OAI.MaxCutGames.Reduction.ActualEnumeration.length_indexedOutcomes_polynomial_boundline 436Source documentation
A genuine polynomial size bound for the actual linear-map edge list. This is deliberately separate from a certified machine running-time bound.
theorem length_indexedOutcomes_polynomial_bound {m n coefficient degree : Nat} (h : m ≤ coefficient * (n+1)^degree) (k s d : Nat) (indices : List N) : (indexedOutcomes m k s d indices).length ≤ (coefficient^k * 2^((2*k+1)*(s+d+1)) * indices.length) * (n+1)^(degree*k) := by …Mentions: OAI.MaxCutGames.Reduction.ActualEnumeration.indexedOutcomes