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

split fails with Error: Refiner was given an argument "(objC * 0)%type" of type "Type" instead of "Set". #13

Closed
JasonGross opened this issue Feb 14, 2013 · 2 comments

Comments

@JasonGross
Copy link

The code at https://gist.github.com/JasonGross/4956482 gives me a failure on split with Error: Refiner was given an argument "(objC * 0)%type" of type "Type" instead of "Set". I think this is different from issue #7 , since the split code there seems to work now. I'll try to trim this down shortly.

@JasonGross
Copy link
Author

Here's a smaller version which reproduces the error:

Set Implicit Arguments.
Generalizable All Variables.

Polymorphic Record Category (obj : Type) :=.

Polymorphic Record Functor objC (C : Category objC) objD (D : Category objD) :=.

Polymorphic Definition ComposeFunctors objC C objD D objE E (G : @Functor objD D objE E) (F : @Functor objC C objD D) : Functor C E.
Admitted.

Polymorphic Definition ProductCategory objC (C : Category objC) objD (D : Category objD) : @Category (objC * objD)%type.
Admitted.

Polymorphic Definition Cat0 : Category Empty_set.
Admitted.

Set Printing Universes.

Lemma ProductLaw0 objC (C : Category objC) (F : Functor (ProductCategory C Cat0) Cat0) (G : Functor Cat0 (ProductCategory C Cat0)) x y :
  ComposeFunctors F G = x /\
  ComposeFunctors G F = y.
Proof.
  split.

@mattam82
Copy link
Member

mattam82 commented Apr 4, 2013

No longer applies.

@mattam82 mattam82 closed this as completed Apr 4, 2013
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

No branches or pull requests

2 participants