-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: occurence check in
mkInjectiveTheoremTypeCore?
- Loading branch information
1 parent
88a5d27
commit 8aba2de
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/- Verify that injectivity lemmas are constructed with the right level of generality | ||
in order to avoid type errors. | ||
-/ | ||
|
||
inductive Tyₛ : Type (u+1) | ||
| SPi : (T : Type u) -> (T -> Tyₛ) -> Tyₛ | ||
|
||
inductive Tmₛ.{u} : Tyₛ.{u} -> Type (u+1) | ||
| app : Tmₛ (.SPi T A) -> (arg : T) -> Tmₛ (A arg) |