https://github.com/EasyCrypt/easycrypt
Revision 480c0ea6498bb31d7a24896588723f12fba9d97d authored by Pierre-Yves Strub on 28 August 2023, 15:37:04 UTC, committed by Pierre-Yves Strub on 06 September 2023, 13:42:47 UTC
When declaring an operator, it is now possible to specify which
arguments are mandatory before an operator application is
automtically unfolded during simplification.

Syntax is:

```
op name (x1 : t1) (xp : tp) / (x_p+1 : t_p+1) ... = ...
```

where the optional `/` indicated that the operator `name` will
be automatically unfolded when applied to at least `p`
arguments.
1 parent 8243791
History
Tip revision: 480c0ea6498bb31d7a24896588723f12fba9d97d authored by Pierre-Yves Strub on 28 August 2023, 15:37:04 UTC
Operator unfolding when applied to enough arguments
Tip revision: 480c0ea
File Mode Size
.github
config
examples
scripts
src
theories
.dir-locals.el -rw-r--r-- 285 bytes
.gitignore -rw-r--r-- 118 bytes
AUTHORS -rw-r--r-- 543 bytes
LICENSE -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 8.0 KB
default.nix -rw-r--r-- 1.2 KB
dune -rw-r--r-- 221 bytes
dune-project -rw-r--r-- 450 bytes
easycrypt.opam -rw-r--r-- 1.2 KB
easycrypt.opam.template -rw-r--r-- 915 bytes
easycrypt.png -rw-r--r-- 182.6 KB
shell.nix -rw-r--r-- 264 bytes

README.md

back to top