<div dir="ltr">Thanks! I'll try it out.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 April 2016 at 17:27, Joe Leslie-Hurd <span dir="ltr"><<a href="mailto:joe@gilith.com" target="_blank">joe@gilith.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ramana,<br>
<br>
This turned out to be a simple bug in how numerals were printed in<br>
OpenTheory: they were converted into ints by the tool and since your<br>
theory contained some large ints this caused an overflow.<br>
<br>
I've fixed the tool so it no longer converts through an int type, and<br>
now I can create the theory for your testcase without an overflow.<br>
<br>
The fix is both in the latest official version (release 20160428) and<br>
also checked into the new github repo.<br>
<br>
Cheers,<br>
<br>
Joe<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Apr 27, 2016 at 2:35 PM, Joe Leslie-Hurd <<a href="mailto:joe@gilith.com">joe@gilith.com</a>> wrote:<br>
> Hi Ramana,<br>
><br>
> Thanks for the testcase, I can reproduce your bug and I'll try to root-cause it.<br>
><br>
> Cheers,<br>
><br>
> Joe<br>
><br>
> On Tue, Apr 26, 2016 at 5:45 PM, Ramana Kumar <<a href="mailto:ramana@member.fsf.org">ramana@member.fsf.org</a>> wrote:<br>
>> Unfortunately, I have not been able to produce a small test case, but there<br>
>> is a large-ish one (12MB compressed) available here:<br>
>> <a href="https://hol-theorem-prover.org/overflow.tar.gz" rel="noreferrer" target="_blank">https://hol-theorem-prover.org/overflow.tar.gz</a>.<br>
>><br>
>> It contains three files, hol4-words.thy, hol4-words-unint.art, and <a href="http://hol4.int" rel="noreferrer" target="_blank">hol4.int</a>.<br>
>><br>
>> To produce the error, edit the paths in hol4-words.thy to point to the other<br>
>> two files, then try this:<br>
>> opentheory info --theory hol4-words.thy<br>
>><br>
>> On 21 April 2016 at 02:28, Joe Leslie-Hurd <<a href="mailto:joe@gilith.com">joe@gilith.com</a>> wrote:<br>
>>><br>
>>> It means that an integer overflow is occurring somewhere in the<br>
>>> processing, which shouldn't happen. If you give me a test case where<br>
>>> this occurs (the smaller the better) I can look into it.<br>
>>><br>
>>> Cheers,<br>
>>><br>
>>> Joe<br>
>>><br>
>>> On Tue, Apr 19, 2016 at 6:12 PM, Ramana Kumar <<a href="mailto:ramana@member.fsf.org">ramana@member.fsf.org</a>><br>
>>> wrote:<br>
>>> > Hello,<br>
>>> ><br>
>>> > I keep running into this problem:<br>
>>> ><br>
>>> > FATAL ERROR: opentheory exception:<br>
>>> > Overflow<br>
>>> ><br>
>>> > What does it mean?<br>
>>> ><br>
>>> > Thanks,<br>
>>> > Ramana<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > opentheory-users mailing list<br>
>>> > <a href="mailto:opentheory-users@gilith.com">opentheory-users@gilith.com</a><br>
>>> > <a href="http://www.gilith.com/opentheory/mailing-list" rel="noreferrer" target="_blank">http://www.gilith.com/opentheory/mailing-list</a><br>
>>> ><br>
>>><br>
>>> _______________________________________________<br>
>>> opentheory-users mailing list<br>
>>> <a href="mailto:opentheory-users@gilith.com">opentheory-users@gilith.com</a><br>
>>> <a href="http://www.gilith.com/opentheory/mailing-list" rel="noreferrer" target="_blank">http://www.gilith.com/opentheory/mailing-list</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> opentheory-users mailing list<br>
>> <a href="mailto:opentheory-users@gilith.com">opentheory-users@gilith.com</a><br>
>> <a href="http://www.gilith.com/opentheory/mailing-list" rel="noreferrer" target="_blank">http://www.gilith.com/opentheory/mailing-list</a><br>
>><br>
<br>
_______________________________________________<br>
opentheory-users mailing list<br>
<a href="mailto:opentheory-users@gilith.com">opentheory-users@gilith.com</a><br>
<a href="http://www.gilith.com/opentheory/mailing-list" rel="noreferrer" target="_blank">http://www.gilith.com/opentheory/mailing-list</a><br>
</div></div></blockquote></div><br></div>