def internal_order_cmp

bend-mathlib@0.8.1.0 · string.bend:236

import bend-mathlib@0.8.1.0/string.bend as String
import Base

236# Proofs about String.eq unfold String.order only through this.
237def internal_order_cmp(+a: String, +b: String) -> {Pair.snd(String & String, Cmp, String.cmp(a, b)) == String.order(a, b) : Cmp}:
238  Equal.sym(Cmp, String.order(a, b), Pair.snd(String & String, Cmp, String.cmp(a, b)), internal_order_cmp_go(a, b))

Uses (8)

Used by (3)