Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. mkUninterpretedSort :: Name -> Q [Dec]

    sbv Data.SBV.Trans

    Make an uninterpred sort.

  2. module Documentation.SBV.Examples.BitPrecise.MergeSort

    Symbolic implementation of merge-sort and its correctness. Note that this version, while fully push-button, proves merge-sort correct for fixed number of elements, i.e., not in its generality. A general proof would require non-trivial applications of induction and more manual guiding. We do such a proof in Documentation.SBV.Examples.KnuckleDragger.MergeSort, which shows the full-power of the theorem-proving like aspects of SBV.

  3. mergeSort :: [E] -> [E]

    sbv Documentation.SBV.Examples.BitPrecise.MergeSort

    Simple merge-sort implementation. We simply divide the input list in two halves so long as it has at least two elements, sort each half on its own, and then merge.

  4. module Documentation.SBV.Examples.KnuckleDragger.InsertionSort

    Proving insertion sort correct.

  5. insertionSort :: SList Integer -> SList Integer

    sbv Documentation.SBV.Examples.KnuckleDragger.InsertionSort

    Insertion sort, using insert above to successively insert the elements.

  6. module Documentation.SBV.Examples.KnuckleDragger.MergeSort

    Proving merge sort correct.

  7. mergeSort :: SList Integer -> SList Integer

    sbv Documentation.SBV.Examples.KnuckleDragger.MergeSort

    Merge sort, using merge above to successively sort halved input

  8. module Documentation.SBV.Examples.KnuckleDragger.QuickSort

    Proving quick sort correct. The proof here closely follows the development given by Tobias Nipkow, in his paper "Term Rewriting and Beyond -- Theorem Proving in Isabelle," published in Formal Aspects of Computing 1: 320-338 back in 1989.

  9. quickSort :: SList Integer -> SList Integer

    sbv Documentation.SBV.Examples.KnuckleDragger.QuickSort

    Quick-sort, using the first element as pivot.

  10. module Documentation.SBV.Examples.Uninterpreted.UISortAllSat

    Demonstrates uninterpreted sorts and how all-sat behaves for them. Thanks to Eric Seidel for the idea.

Page 161 of many | Previous | Next