Strictness of the dish-count hierarchy.
ProvedDestructiveVerification.exists_test_of_state_complexityaether-catalogcombinatorics
Strictness of the dish-count hierarchy. For every n ≥ 1 the stream
periodicStream n is the transcript of a test on n dishes but of no test on
fewer than n dishes. So each extra dish buys a genuinely new verification
behaviour.
theorem DestructiveVerification.exists_test_of_state_complexity(n : ℕ) (hn : 0 < n) :
(∃ (E : Type) (_ : Fintype E) (t : Test E) (d : E),
Fintype.card E ≤ n ∧ ∀ m, transcript t d m = periodicStream n m) ∧
¬ (∃ (E : Type) (_ : Fintype E) (t : Test E) (d : E),
Fintype.card E ≤ n - 1 ∧ ∀ m, transcript t d m = periodicStream n m) := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Combinatorics/DestructiveVerificationRealization.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Combinatorics/DestructiveVerificationRealization.lean
import Mathlib
import Definitions.Def_Combinatorics_DestructiveVerification
import Definitions.Def_Combinatorics_DestructiveVerificationDepth
import Definitions.Def_Combinatorics_DestructiveVerificationRealization
/-
# Destructive verification III: which verdict streams are realisable?
`Combinatorics.DestructiveVerificationDepth` shows that re-running a test on its
own residue produces a verdict stream — the *transcript* — that a finite dish
space cannot make arbitrarily wild. This file pins down **exactly** which
streams occur.
Main results.
* `DestructiveVerification.transcript_eventually_periodic` — on `n` dishes every
transcript is eventually periodic with preperiod `i` and period `p`
satisfying `i + p ≤ n`. (Analysis side.)
* `DestructiveVerification.transcript_realization` — conversely, *every*
eventually periodic Boolean stream with preperiod `i` and period `p` is the
transcript of an explicit test on exactly `i + p` dishes, the **rho test**
whose residue map is the classical "rho" shape: a tail of length `i` feeding a
cycle of length `p`. (Synthesis side.)
* `DestructiveVerification.transcript_characterization` — the two combine into
an exact characterisation: a stream is the transcript of a test on at most `n`
dishes **iff** it is eventually periodic with `preperiod + period ≤ n`. This
is a state-complexity duality for destructive verification: the number of
dishes needed to realise a verification behaviour is exactly the combinatorial
complexity `i + p` of its verdict stream.
* `DestructiveVerification.nondestructive_transcript_iff` — the certificates sit
exactly at the bottom of this scale: a test is nondestructive-like on a dish
(constant transcript) iff its stream has period `1` and preperiod `0`, i.e.
`i + p = 1`, the minimum possible.
* `DestructiveVerification.exists_test_of_state_complexity` — a strictness
corollary: for each `n` there is a stream realisable on `n` dishes but on no
fewer, so the dish-count hierarchy of verification behaviours is strict at
every level.
Everything is proved from the orbit lemma of the previous file plus an explicit
combinatorial construction; no hardness assumption of any kind is used.
-/
open DestructiveVerification
variable {D : Type*}
/-! ## 1. Analysis: transcripts on `n` dishes are eventually periodic -/
/-! ## 2. Synthesis: the rho test -/
variable (i p : ℕ)
variable {i p}
/-! ## 3. The characterisation -/Formal statement
theorem DestructiveVerification.exists_test_of_state_complexity(n : ℕ) (hn : 0 < n) :
(∃ (E : Type) (_ : Fintype E) (t : Test E) (d : E),
Fintype.card E ≤ n ∧ ∀ m, transcript t d m = periodicStream n m) ∧
¬ (∃ (E : Type) (_ : Fintype E) (t : Test E) (d : E),
Fintype.card E ≤ n - 1 ∧ ∀ m, transcript t d m = periodicStream n m) := by sorrySource