security(proof): keep imported division opaque pending interpreter-to-Lean quotient semantic equivalence

This commit is contained in:
cflmy committed 2026-11-18 12:51:44 +08:00
1 parent 42600c8a2c
commit 50786ddea0
1 file changed
+3 -1
+3 -1
View File
@@ -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,
}
}