Skip to content

lengyijun/MergeSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 7, 2022
6338b54 · Jun 7, 2022
May 11, 2022
May 10, 2022
Jun 7, 2022
Mar 6, 2022
May 10, 2022
Apr 26, 2022
May 4, 2022
May 4, 2022
May 4, 2022
May 4, 2022
Apr 20, 2022
May 4, 2022
May 4, 2022
May 4, 2022

Repository files navigation

MergeSort

Agda : 2.6.2.1

agda-stdlib-1.7.1

coq 8.15.1

4 way to prove correctness 1 way to prove permutation

Definition of merge and proof of correctness

Based on different definition of merge, we have multiply way to prove sorted property.

MergeSort.agda : single definition, single correctness

single-mutual.agda : single definition, mutual correctness

mutual-mutual.agda : mutual definition, mutual correctness

AgdaCoq
use `with` to
define merge
define merge
mutually
Fixpointfunction
nested
recursion
??oktodo
mutual
recursion
single-mutualmutual-mutual-todo
length + lengthlength-decreasemutual-length-decreaseoktodo
other tacticwith--functional induction

Proof of permutation

Only one way avaiable.

Proof of time complexity

TODO

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages