proposition: Lemma substring_min_length str x y : substring x (min y (length str)) str =s substring x y str.
proof: Proof. apply Nat.min_case_strong; try reflexivity. intro H. apply substring_correct4; omega. Qed.
imports: Fiat.Common.Coq__8_4__8_5__Compat Coq.ZArith.ZArith Fiat.Common Fiat.Common.List.Operations Fiat.Common.List.ListFacts Fiat.Common.Le Fiat.Common.Tactics.SetoidSubst Fiat.Common.Tactics.IsClosed Fiat.Parsers.StringLike.Core Fiat.Common.UIP