From: Michael Norrish <Michael.Norrish@nicta.com.au>
In some old code I had:
AxClass.prove_arity
(signm, [], ["Finite_Set.finite"])
(Class.intro_classes_tac [] THEN
asm_full_simp_tac (simpset_of thy addsimps
[eqn_th, @{thm "finite"}]) 1)
thy
This now fails with the error
*** exception TYPE raised: Undeclared class: "Finite_Set.finite"
This is despite the fact that there is still a class finite declared
in Finite_Set.thy. So, how should I refer to it? Or should I be
using something other than AxClass.prove_arity to do this job?
Michael.
From: Florian Haftmann <florian.haftmann@informatik.tu-muenchen.de>
Dear Michael,
For technical reasons this class is currently named
"Finite_Set.finite.finite". Anyway you may use ML antiquotations to
make your code robust with respect to such naming issues:
AxClass.prove_arity
(signm, [], @{sort "Finite_Set.finite"}) ...
Hope this helps
Florian
florian.haftmann.vcf
signature.asc
Last updated: Nov 21 2024 at 12:39 UTC