Commit 6689cec7 by François Bobot

[Driver] add use export to force importation of a theory

`  use it for converting ComputerDivision to EuclideanDivision`
parent 12bb2ef0
 ... ... @@ -98,20 +98,7 @@ end theory int.ComputerDivision prelude "logic comp_div: int, int -> int" prelude "axiom comp_div_def1: forall x, y:int. x >= 0 and y > 0 -> comp_div(x,y) = x / y" prelude "axiom comp_div_def2: forall x, y:int. x <= 0 and y > 0 -> comp_div(x,y) = - ((-x) / y)" prelude "axiom comp_div_def3: forall x, y:int. x >= 0 and y < 0 -> comp_div(x,y) = - (x / (-y)))" prelude "axiom comp_div_def4: forall x, y:int. x <= 0 and y < 0 -> comp_div(x,y) = (-x) / (-y)" prelude "logic comp_mod: int, int -> int" prelude "axiom comp_mod_def1: forall x, y:int. x >= 0 and y > 0 -> comp_mod(x,y) = x % y" prelude "axiom comp_mod_def2: forall x, y:int. x <= 0 and y > 0 -> comp_mod(x,y) = -((-x) % y)" prelude "axiom comp_mod_def3: forall x, y:int. x >= 0 and y < 0 -> comp_mod(x,y) = x % (-y)" prelude "axiom comp_mod_def4: forall x, y:int. x <= 0 and y < 0 -> comp_mod(x,y) = -((-x) % (-y)" syntax function div "comp_div(%1,%2)" syntax function mod "comp_mod(%1,%2)" use export for_drivers.ComputerOfEuclideanDivision end ... ...