open import Padova2025.ProgrammingBasics.Lists open import Padova2025.ProvingBasics.Connectives module Padova2025.VerifiedAlgorithms.InsertionSort.Implementation (A : Set) (_β€_ : A β A β Set) (cmp? : (x y : A) β x β€ y β y β€ x) where
Implementation
Explanation
Contract: βinsert x ysβ is ascendingly ordered, if βysβ is ascendingly ordered.
insert : A β List A β List A insert = {!!}
sort : List A β List A sort = {!!}