HepLean Documentation

Init.Data.Array.InsertionSort

@[inline]
def Array.insertionSort {α : Type u_1} (a : Array α) (lt : ααBool) :
Equations
Instances For
    @[specialize #[]]
    def Array.insertionSort.traverse {α : Type u_1} (lt : ααBool) (a : Array α) (i fuel : Nat) :
    Equations
    Instances For
      @[specialize #[]]
      def Array.insertionSort.swapLoop {α : Type u_1} (lt : ααBool) (a : Array α) (j : Nat) (h : j < a.size) :
      Equations
      Instances For