On Dec 22, 2007, at 12:21 PM, [EMAIL PROTECTED] wrote:

> val F_defn = Hol_defn "F"
>      `F (x:real) = if x <= 0 then 0 else x + F(x - 0.5)`;
>
>

The "x.y" syntax is used for record field selection in HOL-4.
I got the example to be accepted by using 1/2 instead
of 0.5:

    Hol_defn
       "Fn"
       `Fn (x:real) = if x <= 0 then 0 else x + Fn(x - 1/2)`;


Konrad.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
hol-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hol-info

Reply via email to