fact: Fixpoint ctrmsize (cp : cprog) : nat := match cp with | CpR _ :: cp' => ctrmsize cp' | [:: CpY] => 0 | CpY :: cp' => (ctrmsize cp').+1 | CpH :: cp' => (ctrmsize cp').+3 | _ => 0 end.
imports: mathcomp(ssreflect ssrfun ssrbool eqtype ssrnat seq choice) mathcomp(fintype path fingraph) fourcolor(hypermap geometry color coloring cfmap ctree) fourcolor(cfcolor)