<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi,</div>
<div><br>
</div>
<div>I am mutually defining an equality and some other things. To be able to type check the other things I need the equality as a rewriting rule but agda doesn't let me.</div>
<div><br>
</div>
That is I get the error <br>
<div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>Rewrite rule from function Skm-∘ cannot be added before the function definition</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>when checking the pragma REWRITE Skm-∘</div>
</div>
<div>when checking the attached file.</div>
<div><br>
</div>
<div>I know that I am cheating but I want to do it. Can I tell it that I am a doctor and I know what I am doing. Otherwise I shouldn't be allowed to use Rewrite anyway.</div>
<div><br>
</div>
<div>Yes, I can replace it by a postulate but that misses the point.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Thorsten</div>
<div><br>
</div>
<PRE>
This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please contact the sender and delete the email and
attachment.
Any views or opinions expressed by the author of this email do not
necessarily reflect the views of the University of Nottingham. Email
communications with the University of Nottingham may be monitored
where permitted by law.
</PRE></body>
</html>