We provide a reformulation and formalization of the classical result by Juhani Karhum\"aki characterizing intersections two languages form $\{x,y\}^*\cap \{u,v\}^*$. use terminology morphisms which allows to formulate in shorter more transparent way, we formalize proof assistant Isabelle/HOL.