Compares arrays lexicographically with respect to a comparison lt
on their elements.
Specifically, Array.lex as bs lt
is true if
bs
is larger thanas
andas
is pairwise equivalent via==
to the initial segment ofbs
, or- there is an index
i
such 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.