Skip to content

Commit

Permalink
Update src/lib/reasoners/ac.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Pierrot <[email protected]>
  • Loading branch information
bclement-ocp and Halbaroth authored Aug 19, 2024
1 parent 6d1f643 commit 921916d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/reasoners/ac.ml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ module Make (X : Sig.X) = struct
let rec abstract2 sy r =
match List.find (is_other_ac_symbol sy) (X.leaves r) with
| ac_lv ->
(* Abstraction in depth: [f(x, y) + 1] -> [@ac(f(x, y) + 1]
(* Abstraction in depth: [f(x, y) + 1] -> [@ac(f(x, y)) + 1]
and not [@ac(f(x, y) + 1)]. *)
abstract2 sy (X.subst ac_lv (X.abstract ~kind:Ac ac_lv) r)
| exception Not_found -> r
Expand Down

0 comments on commit 921916d

Please sign in to comment.