proposition: Lemma fold_encode_list_body_padding_0: forall (lst: list (BoundedNat 8)) str (c : CacheEncode), padding str = 0 -> padding (fst (fold_left (encode_list_body EncodeBoundedNat) lst (str, c))) = 0.
proof: Proof. induction lst; simpl; intros. - assumption. - rewrite encode_char'. rewrite ByteString_transformer_eq_app by auto. simpl; rewrite IHlst by auto; reflexivity. Qed.
imports: Fiat.Common.Coq__8_4__8_5__Compat CertifiedExtraction.Extraction.BinEncoders.Basics Coq.Lists.List Bedrock.Word Program Nomega