Horseshoe for an interval map (source code)

= Horseshoe for an interval map

An <interval map> $F:I\to I$ has a horseshoe when there are an <open interval> $J\subseteq I$ and disjoint <open intervals> $K_0,K_1\subseteq J$ such that
$$
F(K_0)=F(K_1)=J.
$$
Iterating inverse branches produces full two-symbol itinerary dynamics.