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

add tactics for box,cap #410

Closed
ecavallo opened this issue Oct 17, 2018 · 5 comments
Closed

add tactics for box,cap #410

ecavallo opened this issue Oct 17, 2018 · 5 comments
Labels
elaborator enhancement New feature or request

Comments

@ecavallo
Copy link
Collaborator

No description provided.

@ecavallo ecavallo added enhancement New feature or request elaborator labels Oct 17, 2018
@cangiuli
Copy link
Collaborator

Can this tactic just print "Why are you trying to input a box???" (I agree there should probably be a tactic, but have a hard time imagining people using it.)

@ecavallo ecavallo changed the title add a tactic for box add a tactics for box,cap Oct 17, 2018
@ecavallo
Copy link
Collaborator Author

I think it has come up at least once, though i forget where. cap might be useful in paths.s2...

@ecavallo ecavallo changed the title add a tactics for box,cap add tactics for box,cap Oct 17, 2018
@favonia
Copy link
Collaborator

favonia commented Oct 17, 2018

Can this tactic just print "Why are you trying to input a box???" (I agree there should probably be a tactic, but have a hard time imagining people using it.)

We can have --expert mode. (OTOH --favonia will print out more trolling messages.) RedPRL/algaett#23

@clayrat
Copy link
Contributor

clayrat commented Nov 9, 2018

One possible use-case is for #457. The idea there is that you prove a certain lemma by introducing a relation P : susp A -> susp A -> type on props A (where P(N,N)=(), P(N,S)=A, P(S,N)=A, P(S,S)=() and meridians map to univalences) and then showing it's reflexive, implies identity and so on. So for showing reflexivity, you need to construct (x : susp A) -> P x x, which is easy for poles, but in the case of a meridian you get a pretty big box made out of univalences in the type. I might be doing something wrong, but it seems that you need to provide a term for that box directly?

@favonia
Copy link
Collaborator

favonia commented Nov 13, 2018

I realized there is an annoying technical issue: box is empirically different from comp because you cannot reorder its faces arbitrarily. The core language never allows permutation, but I want to hide this aspect if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elaborator enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants