There are two definitions for prime - one in HOL-Computational_Algebra.Factorial_Ring
, and one in HOL-Algebra.Divisibility
. When I import both HOL-Number_Theory
and HOL-Algebra
into a theory (regardless of the order), the latter shadows the former. Thus, if I want to refer to primality of integers, I need to use the full Factorial_Ring.prime
. What's the best way to instruct Isabelle to default to Factorial_Ring.prime
in my theory?
no idea if there is one
that is a long-standing problem with a number of things
I guess you can do hide_const (open) Divisibility.prime
then you have to spell out Divisibility.prime
whenever you want to refer to that
Ah, thanks. That's satisfactory to me, as I'm not using Divisibility.prime
in particular
Last updated: Dec 21 2024 at 16:20 UTC