Stream: Archive Mirror: Isabelle Users Mailing List

Topic: [isabelle] Simplifier looping


view this post on Zulip Email Gateway (Aug 18 2022 at 10:28):

From: John Ridgway <john@jacelridge.com>
I have a problem with simplification in Isabelle/Isar with HOL.
Specifically, given the following, the attempt to apply(simp) goes
into never-never-land. Can anyone explain to me why, or tell me how
to fix it?

Peace

lemma temp: "
[|
(n, fn) : fib;
! fn'.
((n, fn') : fib -->
fn' = fn);
fn2 = fn + 1
|]
==>
epsilon2 = epsilon_90";

apply(simp);

view this post on Zulip Email Gateway (Aug 18 2022 at 10:28):

From: Alexander Krauss <krauss@in.tum.de>
John,

Specifically, given the following, the attempt to apply(simp) goes into
never-never-land. Can anyone explain to me why, or tell me how to fix it?
[...]
lemma temp: "
[|
(n, fn) : fib;
! fn'.
((n, fn') : fib -->
fn' = fn);
fn2 = fn + 1
|]
==>
epsilon2 = epsilon_90";

apply(simp);

From the trace, it seems that the following happens:

To avoid this situation, you can either change your theorem statement,
or use one of the modifiers "no_asm", "no_asm_use" or "no_asm_simp".
They are explained in Section 3.1.5. in the tutorial.

Hope this helps,
Alex


Last updated: Nov 21 2024 at 12:39 UTC