lean4-htt/tests/lean/986.lean.expected.out

10 lines
699 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

_root_.Array.insertionSort.swapLoop._eq_1.{u_1} {α : Type u_1} (lt : αα → Bool) (a : Array α)
(h : 0 < Array.size a) : Array.insertionSort.swapLoop lt a 0 h = a
_root_.Array.insertionSort.swapLoop._eq_2.{u_1} {α : Type u_1} (lt : αα → Bool) (a : Array α) (j' : Nat)
(h : Nat.succ j' < Array.size a) :
Array.insertionSort.swapLoop lt a (Nat.succ j') h =
let_fun h' := (_ : j' < Array.size a);
if lt a[Nat.succ j'] a[j'] = true then
Array.insertionSort.swapLoop lt (Array.swap a { val := Nat.succ j', isLt := h } { val := j', isLt := h' }) j'
(_ : j' < Array.size (Array.swap a { val := Nat.succ j', isLt := h } { val := j', isLt := h' }))
else a