Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

polymorphic-type-slicing-formalism

Agda mechanisation accompanying for Bidirectional polymorphic type slicing. Core language is based upon the Hazel calculus. See relevant paper and dissertation

Verify type-checking with Nix

Install Nix with flakes if you don't have it:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Then:

nix build github:MaxCarroll0/polymorphic-type-slicing-formalism

Alternatively, clone the repo and run nix build within.

The build runs agda -W error all.agda against the pinned standard library and writes:

  • result/TYPECHECK_RESULTS/build.log — full Agda output
  • result/TYPECHECK_RESULTS/status — PASS … or FAIL … with the agda exit code
  • result/TYPECHECK_RESULTS/postulates_and_holes.txt — every postulate block and hole ({! … !}, ?). Holes mark in-progress proof fragments corresponding to results marked UNMECHANISED in the dissertation.
  • result/out/ — checked sources and built .agdai interfaces

The Nix build itself always succeeds (so the log is recoverable even on a failing check); read result/TYPECHECK_RESULTS/status to confirm type-checking actually passed.

Dev shell

Use direnv with the .envrc or nix develop:

nix develop

Then, agda all.agda type-checks the whole project.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages