Skip to content

Commit

Permalink
remove unsound rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpal committed Jan 9, 2025
1 parent 0f1a22b commit 2873c56
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions dag_in_context/src/interval_analysis.egg
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,6 @@
:ruleset interval-analysis)

; Abs

; absolute value is non-negative
(rule (
(= lhs (Uop (Abs) x))
)
((set (lo-bound lhs) (IntB 0)))
:ruleset interval-analysis)

; abs(x) = x if x >= 0
(rule (
(= lhs (Uop (Abs) x))
Expand Down

0 comments on commit 2873c56

Please sign in to comment.