No-adjacent-ones property: strings vs support finsets
ProvedNoAdjString.noAdjacentOnes_iff_noAdjacentbinary-stringscombinatorics
The predicate on a binary string saying that no two consecutive entries are true is equivalent to the predicate on its support finset saying that no two consecutive positions belong to it:
This lemma connects the binary-string and finset formulations of the family, so that the counting arguments can be carried out with finsets and then transferred back to strings.
Preamble
import Definitions.Def_NoAdjacentBinaryStrings open Finset Function
Formal statement
namespace NoAdjString
theorem noAdjacentOnes_iff_noAdjacent {n : ℕ} (f : Fin n → Bool) :
NoAdjacentOnes f ↔ (supportFinset f).noAdjacent := by sorry
end NoAdjStringSource
Kenneth H. Rosen, Discrete Mathematics and Its Applications, 8th ed., McGraw-Hill 2019. The no-consecutive-ones count is the worked example on bit strings without consecutive 1s in Section 8.1 (Applications of Recurrence Relations); the exact-k binomial count is the restricted-combinations (gap) argument of Chapter 6.