theorem String.Slice.Pattern.Internal.memcmpStrCompare_eq_compare {lhs rhs : String} {lstart rstart : Pos.Raw} {len : Nat} {h₁ : lstart.increaseBy len ≤ lhs.rawEndPos} {h₂ : rstart.increaseBy len ≤ rhs.rawEndPos} :
memcmpStrCompare lhs rhs lstart rstart len h₁ h₂ = compare (lhs.toByteArray.extract lstart.byteIdx (lstart.byteIdx + len))
(rhs.toByteArray.extract rstart.byteIdx (rstart.byteIdx + len))
theorem String.Slice.Pattern.Internal.memcmpStr_eq_true_iff {lhs rhs : String} {lstart rstart : Pos.Raw} {len : Nat} {h₁ : lstart.increaseBy len ≤ lhs.rawEndPos} {h₂ : rstart.increaseBy len ≤ rhs.rawEndPos} :
theorem String.Slice.Pattern.Internal.memcmpStrLt_eq_true_iff {lhs rhs : String} {lstart rstart : Pos.Raw} {len : Nat} {h₁ : lstart.increaseBy len ≤ lhs.rawEndPos} {h₂ : rstart.increaseBy len ≤ rhs.rawEndPos} :
memcmpStrLt lhs rhs lstart rstart len h₁ h₂ = true ↔ lhs.toByteArray.extract lstart.byteIdx (lstart.byteIdx + len) < rhs.toByteArray.extract rstart.byteIdx (rstart.byteIdx + len)
theorem String.Slice.Pattern.Internal.memcmpSliceCompare_eq_compare {lhs rhs : Slice} {lstart rstart : Pos.Raw} {len : Nat} {h₁ : lstart.increaseBy len ≤ lhs.rawEndPos} {h₂ : rstart.increaseBy len ≤ rhs.rawEndPos} :
memcmpSliceCompare lhs rhs lstart rstart len h₁ h₂ = compare (lhs.copy.toByteArray.extract lstart.byteIdx (lstart.byteIdx + len))
(rhs.copy.toByteArray.extract rstart.byteIdx (rstart.byteIdx + len))
theorem String.Slice.Pattern.Internal.memcmpSlice_eq_true_iff {lhs rhs : Slice} {lstart rstart : Pos.Raw} {len : Nat} {h₁ : lstart.increaseBy len ≤ lhs.rawEndPos} {h₂ : rstart.increaseBy len ≤ rhs.rawEndPos} :
theorem String.Slice.Pattern.Internal.memcmpSliceLt_eq_true_iff {lhs rhs : Slice} {lstart rstart : Pos.Raw} {len : Nat} {h₁ : lstart.increaseBy len ≤ lhs.rawEndPos} {h₂ : rstart.increaseBy len ≤ rhs.rawEndPos} :