*To*: cl-isabelle-users at lists.cam.ac.uk*Subject*: [isabelle] simple question*From*: "lucas cavalcante" <thesupervisar at gmail.com>*Date*: Fri, 3 Aug 2007 19:53:52 -0300

Hello all, The function 'f' (above) does not work, returning the fallowing message. I'd like to know what's wrong in this definition. typedecl sbf datatype frm = At sbf | Nt frm consts f :: "frm => frm" primrec "f (At x) = At x" "f (Nt x) = Nt(x)" "f (Nt(Nt x)) = f (x)" *** Primrec definition error: *** illegal argument in pattern *** in *** "f (Nt (Nt x)) = f x" *** At command "primrec". Thank you, Lucas Cavalcante

**Follow-Ups**:**Re: [isabelle] simple question***From:*George Karabotsos

**Re: [isabelle] simple question***From:*John Ridgway

**Re: [isabelle] simple question***From:*Alexander Krauss

- Previous by Date: [isabelle] (no subject)
- Next by Date: Re: [isabelle] help
- Previous by Thread: [isabelle] (no subject)
- Next by Thread: Re: [isabelle] simple question
- Cl-isabelle-users August 2007 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