Sharp failure of the plus-one permutation p-value with a fixed cyclic comparison
ProvedMindUploadPermutation.fixed_cyclic_comparison_sharp_false_positive_countcounterexamplefinite-probabilitymind-uploadpermutation-test
Let the null assignment be uniform on the states of a cyclic group, with . For an arbitrary natural-valued statistic , compare the observed state only with its deterministic cyclic successor . Count ties in the upper tail. With one comparison, the site's rule rejects at level exactly when .
What is the largest possible number of null assignments on which this rule rejects? Show that it is exactly , i.e. the worst-case false-positive probability is
This isolates a finite failure mode: invariance of the null under the allowed group does not make this fixed sampling scheme valid. It does not contradict validity with adequately randomized reference scores.
Preamble
import Mathlib.Data.Finset.Max
Formal statement
namespace MindUploadPermutation
theorem fixed_cyclic_comparison_sharp_false_positive_count
(n : Nat) (hn : 0 < n) :
let rejects : (Nat → Nat) → Finset Nat := fun score =>
(Finset.range n).filter (fun i => score ((i + 1) % n) < score i)
(∀ score, (rejects score).card ≤ n - 1) ∧
∃ score, (rejects score).card = n - 1 := by sorry
end MindUploadPermutationSource
mind-upload.com, Validation protocol step 6 (Randomly sampling assignments), https://mind-upload.com/validation.html#protocol ; related analysis: Hemerik and Goeman (2018), Exact testing with random permutations, §§3.2–3.4, https://doi.org/10.1007/s11749-017-0571-1 . The sharp fixed-cycle example is a new specialization, not a quoted theorem.