Hi,
I asked this question on the mailing list a while back, but it seemingly wasn't fixed, so I'm going to ask again for a workaround.
The following theory gives the error:
Duplicate fact declaration "Scratch.suc_underS" vs. "Scratch.suc_underS"⌂
The above error(s) occurred while activating facts of locale instance wo_rel "|UNIV|"
theory Scratch imports "HOL-Cardinals.Cardinal_Order_Relation" begin
interpretation wo_rel ‹|UNIV|›
by unfold_locales simp
end
As far as I can tell, the error occurs because both HOL/Cardinals/Wellorder_Constructions.thy and HOL/BNF_Wellorder_Relation include lemmas "suc_underS" for wo_rel. I tried to hide_fact wo_rel.suc_underS
twice before the interpretation, but it doesn't make the error go away.
Any hints?
Best,
Asta
Old post: https://lists.cam.ac.uk/sympa/arc/cl-isabelle-users/2022-12/msg00012.html
As far as I know there is no way in Isabelle to delete theorems (even private does not do that), so I do not think that you have any solution.
Please ask again on the mailing so that this gets fixed.
Oh I thought I did submit my fix already, sorry about that. Will set myself a reminder for when I finally get access to the testing infrastructure myself
Thanks, Jan!
Last updated: Dec 21 2024 at 16:20 UTC