security(proof): keep imported division opaque pending interpreter-to-Lean quotient semantic equivalence
This commit is contained in:
1 parent
42600c8a2c
commit
50786ddea0
1 file changed
+3
-1
+3
-1
@@ -979,7 +979,9 @@ fn imported_leaf_arithmetic_safe(target:&Function, call:&CallExpr)->bool {
|
||||
BinaryOp::Add=>x.checked_add(y),
|
||||
BinaryOp::Sub=>x.checked_sub(y),
|
||||
BinaryOp::Mul=>x.checked_mul(y),
|
||||
BinaryOp::Div=>x.checked_div(y),
|
||||
// Division semantics (integer rounding/Num coercion)
|
||||
// require a differential proof before source transparency.
|
||||
BinaryOp::Div=>None,
|
||||
_=>None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user