*To*: cl-isabelle-users at lists.cam.ac.uk*Subject*: Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error*From*: Tjark Weber <webertj at in.tum.de>*Date*: Fri, 18 Jan 2013 17:48:40 +0100*In-reply-to*: <50F96542.3020505@gmx.com>*References*: <50F85B11.4080205@gmx.com> <50F85E20.2060301@gmx.com> <50F8D10E.9000502@gmx.com> <50F8FAE2.8010205@in.tum.de> <50F96542.3020505@gmx.com>

On Fri, 2013-01-18 at 09:07 -0600, Gottfried Barrow wrote: > However, it's not obvious to me why "sFOLf (Rec f1)" is not smaller. No > matter what "f1" is, it looks like I should get ""sFOLf (Rec f1) = True" > on the second call of sFOLf. You know that, but the primrec command doesn't. Quoting from Section 10.3 of the Isabelle/Isar reference manual (http://www.cl.cam.ac.uk/research/hvg/Isabelle/dist/Isabelle2012/doc/isar-ref.pdf): Each equation needs to be of the form: f x1 ... xm (C y1 ... yk) z1 ... zn = rhs such that C is a datatype constructor, rhs contains only the free variables on the left-hand side (or from the context), and all recursive occurrences of f in rhs are of the form f ... yi ... for some i. Best regards, Tjark

**Follow-Ups**:**Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error***From:*Gottfried Barrow

**References**:**[isabelle] Trying to use "datatype" to restrict types of formulas used, getting error***From:*Gottfried Barrow

**Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error***From:*Gottfried Barrow

**Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error***From:*Gottfried Barrow

**Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error***From:*Lars Noschinski

**Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error***From:*Gottfried Barrow

- Previous by Date: Re: [isabelle] extending well-founded partial orders to total well-founded orders
- Next by Date: Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error
- Previous by Thread: Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error
- Next by Thread: Re: [isabelle] Trying to use "datatype" to restrict types of formulas used, getting error
- Cl-isabelle-users January 2013 archives indexes sorted by: [ thread ] [ subject ] [ author ] [ date ]
- Cl-isabelle-users list archive Table of Contents
- More information about the Cl-isabelle-users mailing list