Stream: Mirror: Isabelle Users Mailing List

Topic: [isabelle] congproc crashes on atomic RHS


view this post on Zulip Email Gateway (Nov 08 2026 at 21:48):

From: Mete Polat <cl-isabelle-users@lists.cam.ac.uk>

Hi,

This crashes in Isabelle 2026 and I think it also does in earlier versions:

theory Scratch
imports Main
begin

simproc_setup congproc p ("id id True") = ‹K (K (K (SOME @{lemma "id id True ≡ True" by simp})))›

lemma "id id True" by simp

end

exception THM 0 raised (line 1534 of "thm.ML"):
transitive: middle term
id id True ≡ True
id id True ≡ id True

Best,
Mete

view this post on Zulip Email Gateway (Nov 09 2026 at 16:51):

From: Peter <cl-isabelle-users@lists.cam.ac.uk>

Hi Mete

Did you really mean to declare a congproc? "id id True ≡ True" is not a
typical congruence rule.

--

Peter

On 08/11/2026 22:48, Mete Polat (via cl-isabelle-users Mailing List) wrote:

Hi,

This crashes in Isabelle 2026 and I think it also does in earlier versions:

theory Scratch
imports Main
begin

simproc_setup congproc p ("id id True") = ‹K (K (K (SOME @{lemma "id id True ≡ True" by simp})))›

lemma "id id True" by simp

end

exception THM 0 raised (line 1534 of "thm.ML"):
transitive: middle term
id id True ≡ True
id id True ≡ id True

Best,
Mete

view this post on Zulip Email Gateway (Nov 09 2026 at 17:21):

From: Mete Polat <cl-isabelle-users@lists.cam.ac.uk>

Hi Peter,

It’s a minimal example of the crash. I should have mentioned that. The actual congproc where we first encountered the crash is way more elaborate.

Best,
Mete

On Nov 9, 2026, at 7:50 PM, Peter (via cl-isabelle-users Mailing List) <cl-isabelle-users@lists.cam.ac.uk> wrote:

Hi Mete

Did you really mean to declare a congproc? "id id True ≡ True" is not a typical congruence rule.

--

Peter

On 08/11/2026 22:48, Mete Polat (via cl-isabelle-users Mailing List) wrote:

Hi,

This crashes in Isabelle 2026 and I think it also does in earlier versions:

theory Scratch
imports Main
begin

simproc_setup congproc p ("id id True") = ‹K (K (K (SOME @{lemma "id id True ≡ True" by simp})))›

lemma "id id True" by simp

end

exception THM 0 raised (line 1534 of "thm.ML"):
transitive: middle term
id id True ≡ True
id id True ≡ id True

Best,
Mete


Last updated: Nov 19 2026 at 01:46 UTC