Documentation

MIPRE.Tailored.Sofic.AssocValue

The value of the associated test, challenge by challenge #

For the associated test assocTest g of MIPRE/Tailored/Sofic/Assoc.lean:

Weights #

The weight of the challenge at (x, y).

Equations
Instances For

    The total weight of the challenges.

    Equations
    Instances For
      theorem MIPRE.Tailored.Sofic.sum_challenges (g : TailoredGameValue.TailoredGameData) (Ψ : List SubgroupTestValue.Word × List (List (ℕ × Bool)) → ℝ) :
      (List.map (fun (c : ℕ × List SubgroupTestValue.Word × List (List (ℕ × Bool))) => ↑c.1 * Ψ c.2) (assocTest g).challenges).sum = ∑ x ∈ Finset.range (g.nV + 1), ∑ y ∈ Finset.range (g.nV + 1), ↑(qw g x y) * Ψ (words g x y, clauses g x y)

      Every weighted sum over the challenges is the qw-weighted sum over the question pairs.

      theorem MIPRE.Tailored.Sofic.value_eq (g : TailoredGameValue.TailoredGameData) (σ : SubgroupTestValue.FiniteAction (nGen g)) :
      (assocTest g).value σ = (∑ x ∈ Finset.range (g.nV + 1), ∑ y ∈ Finset.range (g.nV + 1), ↑(qw g x y) * σ.passProb (words g x y) (clauses g x y)) / ↑(qwTot g)

      The value of the associated test as a sum over the question pairs.

      theorem MIPRE.Tailored.Sofic.sig_eq (g : TailoredGameValue.TailoredGameData) (k : ℕ) :
      sig (assocTest g) k = (∑ x ∈ Finset.range (g.nV + 1), ∑ y ∈ Finset.range (g.nV + 1), ↑(qw g x y) * (List.map (fun (w : SubgroupTestValue.Word) => ↑(wordCount k w)) (words g x y)).sum) / ↑(qwTot g)

      The significance in the associated test as a sum over the question pairs.

      Words and their permutations #

      Passing a challenge #

      theorem MIPRE.Tailored.Sofic.fixed_of_passes {g : TailoredGameValue.TailoredGameData} {n : ℕ} (σ : SubgroupTestValue.FiniteAction n) {x y : ℕ} {q : Fin σ.N} (h : σ.Passes (words g x y) (clauses g x y) q) {wb : SubgroupTestValue.Word × Bool} (hwb : wb ∈ fixedLits g x y) :
      decide (σ.InStab q wb.1) = wb.2

      Passing a challenge gives every fixed literal (Checks 1 and 2).

      theorem MIPRE.Tailored.Sofic.read_of_passes {g : TailoredGameValue.TailoredGameData} {n : ℕ} (σ : SubgroupTestValue.FiniteAction n) {x y : ℕ} {q : Fin σ.N} (h : σ.Passes (words g x y) (clauses g x y) q) {X : SubgroupTestValue.Word} (hX : X ∈ readVars g x y) :
      σ.InStab q X ∨ σ.InStab q (wJ ++ X)

      Passing a challenge gives every readable literal (Check 3).