Skip to content

Instantly share code, notes, and snippets.

@Xaphiosis
Xaphiosis / Scratch.thy
Created September 24, 2025 15:38
Locale extension name shadowing needs manual intervention
theory Scratch imports Main begin
locale loc1 =
fixes magic_eq :: "nat ⇒ nat ⇒ bool"
assumes magic_eq_same: "⋀x. magic_eq x x"
begin
lemma magic_eq_blah:
"magic_eq x x ⟹ magic_eq x x"
by (simp only: magic_eq_same)