Equations
Instances For
Equations
- Chapter12.rightmax xs = xs.all fun (x : ℕ) => decide (x ≤ Chapter12.last xs)
Instances For
Equations
- Chapter12.ordered xs = (List.zipWith (fun (x1 x2 : ℕ) => decide (x1 ≤ x2)) xs xs.tail).and
Instances For
Equations
- Chapter12.nmatch xs = (List.zipWith (fun (x1 x2 : ℕ) => decide (x1 ≠ x2)) xs (List.range xs.length)).and