Proposition BC_to_TRS_arity bc n s st:
  let trs := snd (BC_to_TRS bc st) in
  arities bc = ok_arities n s →
  max_arity_prog trs.(rules) ≤ trs.(maxar).

(* maxrank is indeed a bound on the ranks of fun *) Lemma BC_to_TRS_maxrank bc st: