Skip to main content

diff_functions

Function diff_functions 

Source
pub fn diff_functions(
    old: &Model,
    old_expr: &Expr,
    new: &Model,
    new_expr: &Expr,
    scope: usize,
    bitwidth: u32,
    options: &Options,
) -> DiffReport
Expand description

Compares the tuples returned by a function expression old_expr in old against new_expr in new over cases allowed by both models (W10).

  • Tightened: new_expr drops tuples old_expr returns (only_in_old).
  • Loosened: new_expr gains tuples old_expr lacks (only_in_new).
  • Diverged: new_expr both loses and gains tuples.
  • Equivalent: both functions return the same tuples in every shared case.