forked from agda/agda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mutual information not being set properly by the positivity check…
…er (agda#7149) fix agda#7133: mutual information not being set properly by the positivity checker _Note to future git-bisecters_ The missing mutual information caused some functions to not be considered for projection-likeness, so if you end up blaming this commit, there might be a bug with projection-likeness.
- Loading branch information
1 parent
3df0d10
commit 1273cbf
Showing
5 changed files
with
52 additions
and
28 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{-# OPTIONS --overlapping-instances #-} | ||
|
||
open import Agda.Primitive | ||
open import Agda.Builtin.List | ||
|
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,18 @@ | ||
|
||
module _ where | ||
|
||
open import Agda.Primitive | ||
|
||
record Point (A : Set) : Set where | ||
field | ||
pt : A | ||
|
||
record PointedSet : Set₁ where | ||
field | ||
Carrier : Set | ||
point : Point Carrier | ||
|
||
module _ (sto : PointedSet) where | ||
|
||
foo : Set | ||
foo = {!!} |
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,2 @@ | ||
top_command (cmd_load currentFile []) | ||
goal_command 0 cmd_autoOne "" |
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,8 @@ | ||
(agda2-status-action "") | ||
(agda2-info-action "*Type-checking*" "" nil) | ||
(agda2-highlight-clear) | ||
(agda2-status-action "") | ||
(agda2-info-action "*All Goals*" "?0 : Set " nil) | ||
((last . 1) . (agda2-goals-action '(0))) | ||
(agda2-give-action 0 "PointedSet.Carrier sto") | ||
((last . 1) . (agda2-goals-action '())) |