*To*: John Munroe <munddr at gmail.com>*Subject*: Re: [isabelle] Handling failed proof*From*: Makarius <makarius at sketis.net>*Date*: Wed, 29 Sep 2010 21:21:58 +0200 (CEST)*Cc*: isabelle-users at cl.cam.ac.uk*In-reply-to*: <AANLkTikS1oojjFRqEFGKJPeK0cSQWj-jHk-PqC3PGG3d@mail.gmail.com>*References*: <AANLkTikS1oojjFRqEFGKJPeK0cSQWj-jHk-PqC3PGG3d@mail.gmail.com>*User-agent*: Alpine 1.10 (LNX 962 2008-03-14)

On Wed, 29 Sep 2010, John Munroe wrote:

I'm wondering why the exception handling in the following doesn't behave what I expected to. Does it not try to prove goal1, and if it fails, it tries to prove goal2? goal2 should be provable, but I still get a Proof failed exception. let val ctxt = @{context} val goal1 = @{prop "EX x y. x > y"} val goal2 = @{prop "EX (x::real) y. x > y"} in Goal.prove ctxt [] [] goal1 (fn _ => auto_tac (clasimpset_of ctxt)) handle THM _ => Goal.prove ctxt [] [] goal2 (fn _ => auto_tac (clasimpset_of ctxt)) end;

Makarius

**References**:**[isabelle] Handling failed proof***From:*John Munroe

- Previous by Date: [isabelle] Handling failed proof
- Next by Date: Re: [isabelle] Handling failed proof
- Previous by Thread: [isabelle] Handling failed proof
- Next by Thread: Re: [isabelle] Handling failed proof
- Cl-isabelle-users September 2010 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