*To*: John Munroe <munddr at gmail.com>*Subject*: Re: [isabelle] Product or function?*From*: Elsa L Gunter <egunter at illinois.edu>*Date*: Thu, 26 Apr 2012 08:56:02 -0500*Cc*: USR Isabelle Mailinglist <isabelle-users at cl.cam.ac.uk>*In-reply-to*: <CAP0k5J5ov_BB8QOFaxQVQ2tOko2u8wpT1E9qO8eMv5_6fBOpYA@mail.gmail.com>*References*: <CAP0k5J5ov_BB8QOFaxQVQ2tOko2u8wpT1E9qO8eMv5_6fBOpYA@mail.gmail.com>*Reply-to*: egunter at illinois.edu*User-agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

is_line L =

\<or>

\<and> (\<forall> x. \<exists> p \<in> L. fst p = x))

y = 0.

---Elsa On 4/26/12 12:31 AM, John Munroe wrote:

Hi If I want to model a line graph, should I give it the type of a product (real * real) or a function (real => real)? With a product type, would the graph be perceived as a set of pairs? Thanks for the help in advance. John

**References**:**[isabelle] Product or function?***From:*John Munroe

- Previous by Date: Re: [isabelle] Product or function?
- Next by Date: [isabelle] A course based on Isabelle/HOL and some feedback...
- Previous by Thread: Re: [isabelle] Product or function?
- Next by Thread: Re: [isabelle] Product or function?
- Cl-isabelle-users April 2012 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