Compares arrays lexicographically with respect to a comparison lt on their elements.
Specifically, Array.lex as bs lt is true if
- bsis larger than- asand- asis pairwise equivalent via- ==to the initial segment of- bs, or
- there is an index isuch thatlt as[i] bs[i], and for allj < i,as[j] == bs[j].
Equations
- One or more equations did not get rendered due to their size.