Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADP-3153] Add fine-types-core package with Agda proofs #36

Draft
wants to merge 1 commit into
base: HeinrichApfelmus/ADP-3191/nix-agda2hs
Choose a base branch
from

Conversation

HeinrichApfelmus
Copy link
Collaborator

This pull request adds a fine-types-core package which defines the core types Typ, Value and which implements embeddings such as A x (B + C)(A x B) + (A x C).

Importantly, the definitions are written in Agda and exported to Haskell using agda2hs. The main properties are proven, in particular:

  • Embeddings map the Typ as claimed.
  • An embedding can be applied to a Value if the type checks (using hasTyp).

Issue number

ADP-3153

@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-3153/embedding-agda branch 3 times, most recently from 34e6f87 to 1904885 Compare September 27, 2023 09:39
@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-3153/embedding-agda branch 4 times, most recently from 0df5e06 to 8064570 Compare December 1, 2023 15:01
@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-3153/embedding-agda branch from 8064570 to 301cf78 Compare March 11, 2024 17:08
@HeinrichApfelmus HeinrichApfelmus changed the base branch from main to HeinrichApfelmus/ADP-3191/nix-agda2hs March 11, 2024 17:08
@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-3191/nix-agda2hs branch 2 times, most recently from 893c479 to 990e6d6 Compare March 13, 2024 13:52
@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-3153/embedding-agda branch from 301cf78 to 7a2fcf5 Compare March 13, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant