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

elimProp for the FreeCommAlgebra HIT #1035

Merged
merged 8 commits into from
Aug 25, 2023

Conversation

MatthiasHu
Copy link
Contributor

This PR replaces the huge repetitive proveEq lemma in FreeCommAlgebra.Properties by a simpler, more general and somewhat shorter (but also repetitive) elimProp eliminator.

(on+ (elimProp x) (elimProp y))
(on+ (elimProp y) (elimProp x))
i
elimProp (C.·-assoc x y z i) =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be interested if all these path constructor cases can be made any shorter than this.

Copy link
Collaborator

@felixwellen felixwellen Aug 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No good ideas here.

@felixwellen
Copy link
Collaborator

Thanks! I wanted to have/do this for a long time...

@felixwellen felixwellen self-assigned this Aug 25, 2023
@felixwellen felixwellen merged commit 6d3a630 into agda:master Aug 25, 2023
1 check passed
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.

2 participants