CakeML/cakeml

better support for translating recursion through higher-order functions

Open

#9 opened on Dec 23, 2014

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Standard ML (98 forks)auto 404
help wantedhigh effortmedium rewardtranslator

Repository metrics

Stars
 (1,169 stars)
PR merge metrics
 (PR metrics pending)

Description

The translator works on recursive functions that recurse as an argument to MAP (and maybe some other simple functions), but in general recursion as an argument to a higher-order function makes the translator fail when attempting to prove the certificate theorem using the induction theorem. A solution to the problem will probably require a more general form of certificate theorems (in particular, allowing arbitrary preconditions on arguments).

See this thread: https://lists.cakeml.org/private/dev/2014-December/000662.html

Contributor guide