Comments (5)
agda/src/full/Agda/TypeChecking/Constraints.hs
Lines 66 to 71 in fe43379
This is another instance of
from agda.
With -v tc:30
the last words of Agda are:
solving _9 := _10
completed assignment of _9@14618456326245523507
Postponing constraint
funSort SSet _10 == SSet
adding constraint funSort SSet _10 = SSet
(blocked on _7, belongs to problem 6) unblocker: _7
Attempted to block on solved meta _7
The diff between Set
and SSet
seems to be the unsolvability of funSort SSet _10 == SSet
(the equivalent for Set
solves _10 := Set
).
from agda.
Could be related:
Relevant debug print seems to be:
equalSort _7 (y = y) == _9
term _9 := _7 (y = y)
...
initOccursCheck: we look into the following definitions:
(none)
offending variable: y
of type A
(after singleton test)
error during flexible occurs check, we are StronglyRigid
Pattern violation (you shouldn't see this)
oops, pattern violation for _7@14618456326245523507
attempting kills
m' = _7@14618456326245523507
vs = [y]
kills = [True]
after kill analysis
metavar = _7
kills = [True]
kills' = [True]
oldType = (y₁ : A) →
"dummyType: __DUMMY_TYPE__, called at src/full/Agda/TypeChecking/MetaVars.hs:197:25 in Agda-2.6.5-4ATBkX6jZbSGAWG421gpPu:Agda.TypeChecking.MetaVars"
newType = "dummyType: __DUMMY_TYPE__, called at src/full/Agda/TypeChecking/MetaVars.hs:197:25 in Agda-2.6.5-4ATBkX6jZbSGAWG421gpPu:Agda.TypeChecking.MetaVars"
...
actual killing
new meta: _10@14618456326245523507
kills : True
inst : _7@14618456326245523507 := _10
completed assignment of _7@14618456326245523507
passed occursCheck
...
solving _9 := _10
completed assignment of _9@14618456326245523507
funSortEquals
s0 = SSet
s1 = SSet
s2 = _10
Postponing constraint
funSort SSet _10 == SSet
adding constraint funSort SSet _10 = SSet
(blocked on _7, belongs to problem 6) unblocker: _7
Attempted to block on solved meta _7
_7
is solved by pruning, so it is not a valid blocker anymore. The logic of blockers does not seem to expect a meta suddently solved by pruning.
Relevant code:
agda/src/full/Agda/TypeChecking/Conversion.hs
Lines 1690 to 1704 in fe43379
agda/src/full/Agda/TypeChecking/Conversion.hs
Line 1711 in fe43379
agda/src/full/Agda/TypeChecking/Conversion.hs
Lines 1741 to 1743 in fe43379
agda/src/full/Agda/TypeChecking/Conversion.hs
Lines 1880 to 1883 in fe43379
from agda.
I might have introduced this regression when I refactored some code related to sorts during AIM XXXVI Delft and after.
Could be:
from agda.
Unfortunately, bisection only produces the usual suspect:
536b73f is the first bad commit
Author: Jesper Cockx
Date: Fri Nov 11 11:34:05 2022 +0000
[ re #6211 ] Pull off the band-aid
This does not provide any interesting information...
Only that I could have been wrong about blaming myself...
from agda.
Related Issues (20)
- Don't recompile if --keep-pattern-variables option changes HOT 2
- Feature request: 'computed patterns' HOT 4
- Generate a `let`-expression in agda-mode
- [bug?] Mismatch between pattern-matching and manifest `record` field requiring `unsafe` irrelevant projection? HOT 2
- Documentation for anonymous modules HOT 1
- agda-mode syntax highlighting slows down Emacs signficantly HOT 3
- Don't set a default maximum heapsize for Agda runs HOT 8
- Import libraries from a system path HOT 13
- Missing `IsString` instance with debug flags enabled HOT 5
- Generate a `.XCompose` file HOT 6
- Mimer triggers __IMPOSSIBLE__ in my homework assignment HOT 1
- Mimer doesn't recognize qualified identifiers from unopened modules as hints
- "No match in record selector ipcQName" when using Mimer in type signatures
- REWRITE rule with confluence, inconsistencies with documentation and error messages HOT 3
- Agda build flags appear as "automatic", but they are all "manual" HOT 1
- Mimer triggers __IMPOSSIBLE__ in my homework assignment HOT 3
- Warning "there are two interface files" should not be serialized
- Internal error in generate-helper (C-c C-h) HOT 1
- Preserve let-bindings when pretty-printing HOT 2
- Mutually recursive definition doesn't recognize data constructor defined later HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agda.