Created
February 24, 2022 09:35
-
-
Save donovancrichton/ead684b114057218f588fae45080e7c2 to your computer and use it in GitHub Desktop.
Not strictly positivite when using an equality proof inside a data type that has a forward declaration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%default total | |
data Foo : Type | |
-- comment out the next line to have things type check. | |
data Bar : Foo -> Foo -> Type | |
data Foo : Type where | |
MkFoo : Foo | |
data Bar : Foo -> Foo -> Type where | |
MkBar : {f : Foo} -> {prf : f = MkFoo} -> Bar f f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment