<div dir="ltr">The problem is that _1 is frozen. After checking each set of mutually recursive<div>definitions, any left-over metavariables are frozen, preventing them from being</div><div>solved. In this case that means you can't solve metas in the module telescope</div><div>using information from the module definitions.</div><div><br></div><div>It would indeed be nice if this was explained in the error message in some way.</div><div><br></div><div>/ Ulf</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 17, 2017 at 1:02 AM, Martin Stone Davis <span dir="ltr"><<a href="mailto:martin.stone.davis@gmail.com" target="_blank">martin.stone.davis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This looks like an Agda bug to me. If it's not, would someone please explain the error message? I'm confused especially (but not only) by the last line, "_1 = .Agda.Primitive.lzero". That should be pretty easy to solve uniquely, no?<br>
<br>
The code:<br>
<br>
postulate<br>
set : Set<br>
prop : set → Set<br>
<br>
module _ x y where<br>
postulate<br>
_ : prop x<br>
_ : prop y<br>
<br>
The error:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sort _1 [ at *.agda:5,10-11 ]<br>
_2 : Set _1 [ at *.agda:5,10-11 ]<br>
_7 : set [ at *.agda:8,14-15 ]<br>
_8 : set [ at *.agda:8,14-15 ]<br>
<br>
———— Errors ——————————————————————————————<wbr>——————————————————<br>
Failed to solve the following constraints:<br>
_7 := (λ x y → x) [blocked on problem 4]<br>
[4] _2 =< set : (Set _1)<br>
_1 = .Agda.Primitive.lzero<br>
<br>
<br>
</blockquote>
______________________________<wbr>_________________<br>
Agda mailing list<br>
<a href="mailto:Agda@lists.chalmers.se" target="_blank">Agda@lists.chalmers.se</a><br>
<a href="https://lists.chalmers.se/mailman/listinfo/agda" rel="noreferrer" target="_blank">https://lists.chalmers.se/mail<wbr>man/listinfo/agda</a><br>
</blockquote></div><br></div>