Re: [isabelle-dev] ~~/src/Benchmarks/Datatype_Benchmark/Misc_N2M.thy broken

2018-06-02 Thread Dmitriy Traytel
Hi Makarius, > On 1 Jun 2018, at 23:32, Makarius wrote: > > On 01/06/18 10:35, Dmitriy Traytel wrote: >> Hi all, >> >> thanks for pointing this out, Lars. And thanks for looking at the sources, >> Jasmin. >> >> The problem seems to only show up when the declaration in question is inside >>

Re: [isabelle-dev] ~~/src/Benchmarks/Datatype_Benchmark/Misc_N2M.thy broken

2018-06-01 Thread Makarius
On 01/06/18 10:35, Dmitriy Traytel wrote: > Hi all, > > thanks for pointing this out, Lars. And thanks for looking at the sources, > Jasmin. > > The problem seems to only show up when the declaration in question is inside > of a class context. Here is a reduced version that does not involve

Re: [isabelle-dev] ~~/src/Benchmarks/Datatype_Benchmark/Misc_N2M.thy broken

2018-06-01 Thread Dmitriy Traytel
Hi all, thanks for pointing this out, Lars. And thanks for looking at the sources, Jasmin. The problem seems to only show up when the declaration in question is inside of a class context. Here is a reduced version that does not involve primrec at all. context linorder begin context fixes b

Re: [isabelle-dev] ~~/src/Benchmarks/Datatype_Benchmark/Misc_N2M.thy broken

2018-05-31 Thread Blanchette, J.C.
Hi Lars, Thanks for the heads-up. Makarius's change e0cd57aeb60c is clearly the immediate source of the problem, but the more profound cause seems to be some nonstandard handling of variables. The "illegal fixed variable" in question, "s1", seems to originate from line 397 in "bnf_fp_n2m.ML":

[isabelle-dev] ~~/src/Benchmarks/Datatype_Benchmark/Misc_N2M.thy broken

2018-05-31 Thread Lars Hupel
since approximately Isabelle/e0cd57aeb60c (~1 week): *** Malformed global fact "Misc_N2M.linorder_class.f1_t.n2m_t_ctor_fold_dict" *** Illegal fixed variable: "s1" *** At command "primrec" (line 164 of "~~/src/Benchmarks/Datatype_Benchmark/Misc_N2M.thy")