Is it possible to use both Isabelles F-Division and the euclidean division for Integers in the same theory?
Or would this require redefining one of the two as a separate function?
What is "F-division"?
Division that always rounds down.
So 5/2 = 2 and -5/2 = -3 etc.
That's what Isabelle/HOL's normal div
operator already does.
I assume the alternative would be to always round to 0? We don't have one like that, I think. If you want that you'll have to define one yourself and it will be separate from the normal one.
Of course you are then free to introduce whatever kind of notation you want for that operator, e.g. .
Last updated: Dec 21 2024 at 16:20 UTC