Numeric.Log:$cexpm1 from log-domain-0.10.2.1, B

Time bar (total: 4.7s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.0s (21.8%)

Memory
7.6MiB live, 638.5MiB allocated
Samples
761.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 433.0ms
ival-add: 248.0ms (57.3% of total)
ival-mult: 175.0ms (40.5% of total)
ival-true: 6.0ms (1.4% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain97.0ms (2.1%)

Memory
15.2MiB live, 88.3MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 (*.f64 x y) x)
00-0-y
00-0-(+.f64 (+.f64 (*.f64 x y) x) y)
00-0-(*.f64 x y)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
49.0ms512×0valid
Compiler

Compiled 45 to 19 computations (57.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-add: 5.0ms (53.2% of total)
ival-mult: 4.0ms (42.6% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess101.0ms (2.2%)

Memory
-36.4MiB live, 12.3MiB allocated
Algorithm
egg-herbie
Rules
178×sub-neg
170×cancel-sign-sub-inv
156×unsub-neg
138×distribute-rgt-in
120×associate-+l-
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01541
15138
216435
355835
4112635
5129135
6129735
057
087
1137
2237
3307
4387
5447
6547
7607
8647
0646
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x y) x) y)
Outputs
(+.f64 (+.f64 (*.f64 x y) x) y)
(fma.f64 (+.f64 #s(literal 1 binary64) x) y x)
Symmetry

(sort x y)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify5.0ms (0.1%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(+.f64 (+.f64 (*.f64 x y) x) y)
cost-diff128
(+.f64 (*.f64 x y) x)
Rules
76×lower-fma.f64
76×lower-fma.f32
48×lower-*.f32
46×lower-*.f64
32×lower-+.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0517
0817
11317
22317
33017
43817
54417
65417
76017
86417
06415
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x y) x) y)
(+.f64 (*.f64 x y) x)
(*.f64 x y)
x
y
Outputs
(+.f64 (+.f64 (*.f64 x y) x) y)
(fma.f64 (+.f64 #s(literal 1 binary64) x) y x)
(+.f64 (*.f64 x y) x)
(fma.f64 y x x)
(*.f64 x y)
(*.f64 y x)
x
y

localize15.0ms (0.3%)

Memory
11.4MiB live, 11.4MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x y)
accuracy0.00390625
(+.f64 (+.f64 (*.f64 x y) x) y)
accuracy0.0078125
(+.f64 (*.f64 x y) x)
Samples
10.0ms256×0valid
Compiler

Compiled 19 to 7 computations (63.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-add: 2.0ms (45.3% of total)
ival-mult: 2.0ms (45.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
5.3MiB live, 5.3MiB allocated
Counts
3 → 72
Calls
Call 1
Inputs
#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())
#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())
#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((+ (* x y) x) (+ (+ (* x y) x) y) (* x y))
1.0ms
x
@-inf
((+ (* x y) x) (+ (+ (* x y) x) y) (* x y))
1.0ms
x
@0
((+ (* x y) x) (+ (+ (* x y) x) y) (* x y))
1.0ms
y
@-inf
((+ (* x y) x) (+ (+ (* x y) x) y) (* x y))
1.0ms
x
@inf
((+ (* x y) x) (+ (+ (* x y) x) y) (* x y))

simplify203.0ms (4.3%)

Memory
16.9MiB live, 171.3MiB allocated
Algorithm
egg-herbie
Rules
8 312×lower-fma.f64
8 312×lower-fma.f32
3 168×lower-*.f64
3 168×lower-*.f32
2 488×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041332
1131332
2333332
3942332
42133332
53036332
63587332
74298332
84513332
94656332
105354332
08413289
Stop Event
iter limit
node limit
Counts
72 → 69
Calls
Call 1
Inputs
x
(+ x (* x y))
(+ x (* x y))
(+ x (* x y))
x
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* y (+ 1 x))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
y
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* x y)
(* x y)
(* x y)
(* x y)
Outputs
x
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
x
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
y
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)

rewrite190.0ms (4.1%)

Memory
-11.8MiB live, 217.5MiB allocated
Rules
5 328×lower-fma.f64
5 328×lower-fma.f32
4 296×lower-*.f32
4 294×lower-*.f64
2 370×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
13815
233215
3528915
0814313
Stop Event
iter limit
node limit
iter limit
Counts
3 → 181
Calls
Call 1
Inputs
(+.f64 (*.f64 x y) x)
(+.f64 (+.f64 (*.f64 x y) x) y)
(*.f64 x y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval77.0ms (1.6%)

Memory
-32.2MiB live, 108.9MiB allocated
Compiler

Compiled 4 891 to 555 computations (88.7% saved)

prune6.0ms (0.1%)

Memory
22.3MiB live, 22.3MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2473250
Fresh000
Picked101
Done000
Total2483251
Accuracy
100.0%
Counts
251 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
66.8%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
57.7%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Compiler

Compiled 16 to 13 computations (18.8% saved)

simplify6.0ms (0.1%)

Memory
14.0MiB live, 14.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff0
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
cost-diff0
(fma.f64 y x y)
cost-diff0
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
cost-diff0
(fma.f64 y x x)
cost-diff0
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Rules
76×lower-fma.f32
70×lower-fma.f64
48×lower-*.f64
48×lower-*.f32
32×lower-+.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01248
01846
13346
24546
35146
46146
56746
67146
07146
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
(fma.f64 y x x)
y
x
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
(fma.f64 y x y)
y
x
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
y
Outputs
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
(fma.f64 y x x)
y
x
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
(fma.f64 y x y)
y
x
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(+.f64 (fma.f64 y x x) y)
(+.f64 x #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) x)
x
#s(literal 1 binary64)
y

localize63.0ms (1.4%)

Memory
-31.8MiB live, 85.5MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
accuracy0
(+.f64 x #s(literal 1 binary64))
accuracy0
(fma.f64 y x y)
accuracy21.25410157112478
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
accuracy0
(fma.f64 y x x)
accuracy27.052808326099964
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Samples
51.0ms256×0valid
Compiler

Compiled 43 to 14 computations (67.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-add: 7.0ms (48% of total)
ival-mult: 7.0ms (48% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.1%)

Memory
20.9MiB live, 20.9MiB allocated
Counts
6 → 132
Calls
Call 1
Inputs
#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())
#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())
#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())
#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())
#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())
#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1))
1.0ms
y
@-inf
((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1))
1.0ms
x
@inf
((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1))
0.0ms
y
@inf
((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1))
0.0ms
y
@0
((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1))

simplify239.0ms (5.1%)

Memory
26.7MiB live, 332.5MiB allocated
Algorithm
egg-herbie
Rules
29 368×lower-fma.f64
29 368×lower-fma.f32
3 356×lower-*.f64
3 356×lower-*.f32
2 524×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
052698
1182698
2465698
31205698
42732698
53560698
63956698
74242698
84392698
94480698
08407590
Stop Event
iter limit
node limit
Counts
132 → 122
Calls
Call 1
Inputs
x
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
x
(+ x (* x y))
(+ x (* x y))
(+ x (* x y))
x
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
x
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(* y (+ 1 x))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* x y)
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* y (+ x (/ x y)))
(* y (+ 1 x))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* x y)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
y
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
y
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
y
(+ y (* x y))
(+ y (* x y))
(+ y (* x y))
y
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(* x (+ 1 y))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 y))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x y)
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x (+ 1 y))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
x
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
x
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
(+ x (* x y))
(fma.f64 y x x)
x
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
x
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ x (/ x y)))
(fma.f64 y x x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (+ (* -1 x) (* -1 (/ x y)))))
(fma.f64 y x x)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
y
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
y
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
y
(+ y (* x y))
(fma.f64 y x y)
(+ y (* x y))
(fma.f64 y x y)
(+ y (* x y))
(fma.f64 y x y)
y
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
1
#s(literal 1 binary64)
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))

rewrite228.0ms (4.9%)

Memory
-19.9MiB live, 346.7MiB allocated
Rules
11 386×lower-fma.f32
11 380×lower-fma.f64
5 370×lower-*.f64
5 370×lower-*.f32
3 920×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01241
01839
19939
269239
0822139
Stop Event
iter limit
node limit
iter limit
Counts
6 → 412
Calls
Call 1
Inputs
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
(fma.f64 y x x)
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
(fma.f64 y x y)
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(+.f64 x #s(literal 1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval89.0ms (1.9%)

Memory
-4.6MiB live, 148.4MiB allocated
Compiler

Compiled 10 072 to 1 208 computations (88% saved)

prune14.0ms (0.3%)

Memory
8.2MiB live, 45.7MiB allocated
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New5322534
Fresh000
Picked123
Done000
Total5334537
Accuracy
100.0%
Counts
537 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.2%
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
66.8%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
57.7%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
25.6%
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Compiler

Compiled 20 to 18 computations (10% saved)

simplify6.0ms (0.1%)

Memory
14.9MiB live, 14.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (+ x 1) #s(literal 1 binary64))
cost-diff0
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
cost-diff0
(*.f64 y x)
cost-diff0
#s(approx (+ (* y x) y) (*.f64 y x))
cost-diff0
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Rules
88×lower-fma.f32
86×lower-fma.f64
64×lower-*.f32
62×lower-*.f64
36×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01447
01747
13047
23847
34147
45347
55347
67347
77647
87847
07844
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
#s(approx (+ (* y x) y) (*.f64 y x))
(*.f64 y x)
y
x
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
#s(approx (+ x 1) #s(literal 1 binary64))
#s(literal 1 binary64)
y
x
Outputs
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
#s(approx (+ (* y x) y) (*.f64 y x))
(*.f64 y x)
y
x
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
#s(approx (+ x 1) #s(literal 1 binary64))
#s(literal 1 binary64)
y
x

localize86.0ms (1.8%)

Memory
-35.4MiB live, 52.5MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
accuracy30.64573298451062
#s(approx (+ x 1) #s(literal 1 binary64))
accuracy0
(*.f64 y x)
accuracy21.25410157112478
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
accuracy33.56580286691604
#s(approx (+ (* y x) y) (*.f64 y x))
Samples
47.0ms256×0valid
Compiler

Compiled 32 to 13 computations (59.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 40.0ms
ival-mult: 34.0ms (86% of total)
ival-add: 6.0ms (15.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
9.3MiB live, 9.3MiB allocated
Counts
5 → 108
Calls
Call 1
Inputs
#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())
#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())
#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())
#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1))
1.0ms
x
@-inf
((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1))
0.0ms
y
@inf
((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1))
0.0ms
x
@inf
((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1))
0.0ms
y
@0
((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1))

simplify377.0ms (8.1%)

Memory
13.4MiB live, 178.8MiB allocated
Algorithm
egg-herbie
Rules
29 368×lower-fma.f64
29 368×lower-fma.f32
3 356×lower-*.f64
3 356×lower-*.f32
2 524×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048510
1164510
2435510
31187510
42706510
53498510
63894510
74177510
84326510
94412510
08340445
Stop Event
iter limit
node limit
Counts
108 → 101
Calls
Call 1
Inputs
x
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* x y)
(* x y)
(* x y)
(* x y)
x
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(+ x (* y (+ 1 x)))
(* y (+ 1 x))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* y (+ 1 x))
(* x y)
(* x y)
(* x y)
(* x y)
(* y (+ 1 x))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* y (+ 1 (+ x (/ x y))))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* -1 (* y (- (* -1 x) 1)))
(* x y)
(* x y)
(* x y)
(* x y)
(* y (+ 1 x))
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
y
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
y
(+ y (* x y))
(+ y (* x y))
(+ y (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
y
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
(+ y (* x (+ 1 y)))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(* x (+ 1 y))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x y)
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x (+ y (/ y x)))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (+ 1 y))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
(* x (+ 1 (+ y (/ y x))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* x (- (* -1 y) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
x
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
x
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ x (* y (+ 1 x)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 x))
(fma.f64 y x y)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* y (+ 1 (+ x (/ x y))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* -1 (* y (- (* -1 x) 1)))
(fma.f64 y x y)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* y (+ 1 x))
(fma.f64 y x y)
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y)))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
y
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
y
(+ y (* x y))
(fma.f64 y x y)
(+ y (* x y))
(fma.f64 y x y)
(+ y (* x y))
(fma.f64 y x y)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
y
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(+ y (* x (+ 1 y)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
1
#s(literal 1 binary64)
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x (+ y (/ y x)))
(fma.f64 y x y)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (+ 1 y))
(fma.f64 y x x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x (+ 1 (+ y (/ y x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* x y)
(*.f64 y x)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(fma.f64 y x y)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* x (- (* -1 y) 1)))
(fma.f64 y x x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1)))
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x)
x
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))
(* x (+ 1 (/ 1 x)))
(-.f64 x #s(literal -1 binary64))

rewrite239.0ms (5.1%)

Memory
6.6MiB live, 77.4MiB allocated
Rules
9 148×lower-fma.f32
9 146×lower-fma.f64
5 880×lower-*.f32
5 878×lower-*.f64
4 372×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01442
01742
19042
264842
0831339
Stop Event
iter limit
node limit
iter limit
Counts
5 → 75
Calls
Call 1
Inputs
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
#s(approx (+ (* y x) y) (*.f64 y x))
(*.f64 y x)
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
#s(approx (+ x 1) #s(literal 1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval31.0ms (0.7%)

Memory
-17.8MiB live, 19.7MiB allocated
Compiler

Compiled 2 522 to 227 computations (91% saved)

prune9.0ms (0.2%)

Memory
17.8MiB live, 17.8MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1760176
Fresh000
Picked022
Done022
Total1764180
Accuracy
100.0%
Counts
180 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.2%
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
66.8%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
57.7%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
25.6%
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Compiler

Compiled 53 to 35 computations (34% saved)

regimes21.0ms (0.4%)

Memory
-38.4MiB live, 14.8MiB allocated
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(+.f64 (+.f64 (*.f64 x y) x) y)
Outputs
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
Calls

3 calls:

3.0ms
x
3.0ms
y
3.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 9 to 9 computations (0% saved)

regimes38.0ms (0.8%)

Memory
4.4MiB live, 44.0MiB allocated
Counts
4 → 2
Calls
Call 1
Inputs
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
Outputs
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
Calls

3 calls:

26.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
9.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
98.9%3x
99.4%3y
98.1%2(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 9 to 9 computations (0% saved)

regimes5.0ms (0.1%)

Memory
12.4MiB live, 12.4MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Outputs
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Calls

3 calls:

2.0ms
x
2.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
2.0ms
y
Results
AccuracySegmentsBranch
57.7%1x
57.7%1y
57.7%1(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.1%)

Memory
8.5MiB live, 8.5MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Outputs
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Calls

3 calls:

1.0ms
x
1.0ms
y
1.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
Results
AccuracySegmentsBranch
25.6%1y
25.6%1(+.f64 (+.f64 (*.f64 x y) x) y)
25.6%1x
Compiler

Compiled 9 to 9 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-5.822486770037609e-289
3.0003042953860427e-231
Compiler

Compiled 10 to 10 computations (0% saved)

simplify113.0ms (2.4%)

Memory
-5.8MiB live, 34.0MiB allocated
Algorithm
egg-herbie
Rules
+-commutative-binary64-+.f64
1-exp-binary32-exp.f32
*-commutative-binary64-*.f64
1-exp-binary64-exp.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02369
13069
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(if (<=.f64 (+.f64 (+.f64 (*.f64 x y) x) y) #s(literal -5486124068793689/10972248137587377366511872502374418540148785271864664140224003976912394763519345894330351399072725587226569450675744223489916367725489295806448207436491340599228997401420012529071180395583868049283025082524719590383187907857816337980585517000782912424520905193151019179684280147612287372121298604103041024 binary64)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Outputs
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(fma.f64 (+.f64 #s(literal 1 binary64) x) y x)
(if (<=.f64 (+.f64 (+.f64 (*.f64 x y) x) y) #s(literal -5486124068793689/10972248137587377366511872502374418540148785271864664140224003976912394763519345894330351399072725587226569450675744223489916367725489295806448207436491340599228997401420012529071180395583868049283025082524719590383187907857816337980585517000782912424520905193151019179684280147612287372121298604103041024 binary64)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)))
(if (<=.f64 (+.f64 (+.f64 (*.f64 y x) x) y) #s(literal -5486124068793689/10972248137587377366511872502374418540148785271864664140224003976912394763519345894330351399072725587226569450675744223489916367725489295806448207436491340599228997401420012529071180395583868049283025082524719590383187907857816337980585517000782912424520905193151019179684280147612287372121298604103041024 binary64)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))

soundness1.3s (28.7%)

Memory
-4.0MiB live, 392.9MiB allocated
Rules
29 368×lower-fma.f64
29 368×lower-fma.f32
8 312×lower-fma.f64
8 312×lower-fma.f32
5 328×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
052698
1182698
2465698
31205698
42732698
53560698
63956698
74242698
84392698
94480698
08407590
041332
1131332
2333332
3942332
42133332
53036332
63587332
74298332
84513332
94656332
105354332
08413289
0515
0815
13815
233215
3528915
0814313
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
iter limit
node limit
Compiler

Compiled 65 to 39 computations (40% saved)

preprocess31.0ms (0.7%)

Memory
8.7MiB live, 86.2MiB allocated
Remove

(sort x y)

Compiler

Compiled 110 to 64 computations (41.8% saved)

end0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

Profiling

Loading profile data...