No-adjacent strings vs no-adjacent finsets under the canonical equivalence
ProvedNoAdjString.noAdjacentStrings_image_equivbinary-stringscombinatoricsequivalence
Under the canonical equivalence between binary strings and finsets, the family of length- strings with no adjacent ones maps exactly onto the family of finsets of with no consecutive elements:
Preamble
import Definitions.Def_NoAdjacentBinaryStrings open Finset Function
Formal statement
namespace NoAdjString
theorem noAdjacentStrings_image_equiv (n : ℕ) :
(noAdjacentStrings n).image (boolFinsetEquiv n) = noAdjacentFinset n := 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.