(** Def 5 of (Rose) *)

Definition Mod2_e : Cobham :=
  Rec
    Zero
    (False_e 2)
    (One_e 2)
    (One_e 1).

Lemma OneMinusMultPlus_correct : forall l, bs2nat (Sem OneMinusMultPlus_e l) = (1 - bs2nat (hd nil l)) * bs2nat (hd nil (tl l)) + bs2nat (hd nil l) * (1 - (1 - bs2nat (hd nil l))).