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

Time bar (total: 5.3s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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)

sample736.0ms (13.9%)

Memory
10.9MiB live, 949.5MiB allocated
Samples
397.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 152.0ms
ival-add: 73.0ms (47.9% of total)
ival-mult: 70.0ms (46% of total)
ival-true: 6.0ms (3.9% of total)
ival-assert: 3.0ms (2% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain66.0ms (1.2%)

Memory
11.5MiB live, 100.9MiB 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
23.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: 4.0ms (44.3% of total)
ival-mult: 4.0ms (44.3% of total)
ival-true: 1.0ms (11.1% of total)
ival-assert: 0.0ms (0% of total)

preprocess56.0ms (1.1%)

Memory
-27.0MiB live, 12.1MiB 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.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB 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
7.0MiB live, 7.0MiB 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
23.4MiB live, 23.4MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 (+.f64 (*.f64 x y) x) y)
accuracy0
(*.f64 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.1% of total)
ival-mult: 2.0ms (45.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series15.0ms (0.3%)

Memory
-25.7MiB live, 8.8MiB 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
10.0ms
y
@-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))
1.0ms
x
@inf
((+ (* x y) x) (+ (+ (* x y) x) y) (* x y))

simplify236.0ms (4.5%)

Memory
16.5MiB live, 143.5MiB 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)

rewrite396.0ms (7.5%)

Memory
-27.9MiB live, 254.0MiB 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>

eval26.0ms (0.5%)

Memory
34.1MiB live, 34.1MiB allocated
Compiler

Compiled 4 891 to 555 computations (88.7% saved)

prune22.0ms (0.4%)

Memory
-23.0MiB live, 15.2MiB 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)
63.3%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
67.5%
#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
8.3MiB live, 8.3MiB 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

localize49.0ms (0.9%)

Memory
6.5MiB live, 43.4MiB 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)
accuracy23.500280605308024
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
accuracy0
(fma.f64 y x x)
accuracy20.82140605463511
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Samples
41.0ms256×0valid
Compiler

Compiled 43 to 14 computations (67.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-add: 6.0ms (50.2% of total)
ival-mult: 5.0ms (41.8% 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
11.1MiB live, 11.1MiB 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))

simplify345.0ms (6.5%)

Memory
-55.8MiB live, 211.2MiB 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))

rewrite376.0ms (7.1%)

Memory
25.2MiB live, 220.0MiB 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>

eval382.0ms (7.2%)

Memory
0.7MiB live, 122.6MiB allocated
Compiler

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

prune33.0ms (0.6%)

Memory
-0.3MiB live, 37.9MiB 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
70.2%
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
63.3%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
67.5%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
31.2%
#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
10.2MiB live, 10.2MiB 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

localize81.0ms (1.5%)

Memory
-37.5MiB live, 45.4MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
accuracy34.733844495506865
#s(approx (+ x 1) #s(literal 1 binary64))
accuracy0
(*.f64 y x)
accuracy23.500280605308024
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
accuracy28.296854070814145
#s(approx (+ (* y x) y) (*.f64 y x))
Samples
45.0ms256×0valid
Compiler

Compiled 32 to 13 computations (59.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-add: 5.0ms (46% of total)
ival-mult: 5.0ms (46% 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
11.8MiB live, 11.8MiB 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))
0.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))

simplify354.0ms (6.7%)

Memory
16.2MiB live, 296.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))

rewrite147.0ms (2.8%)

Memory
7.7MiB live, 282.2MiB 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>

eval18.0ms (0.3%)

Memory
4.1MiB live, 43.1MiB allocated
Compiler

Compiled 2 522 to 227 computations (91% saved)

prune12.0ms (0.2%)

Memory
-14.9MiB live, 30.1MiB 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
70.2%
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
63.3%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
67.5%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
31.2%
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Compiler

Compiled 53 to 35 computations (34% saved)

regimes9.0ms (0.2%)

Memory
-15.8MiB live, 23.7MiB 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
y
3.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
3.0ms
x
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)

regimes7.0ms (0.1%)

Memory
18.1MiB live, 18.1MiB 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:

2.0ms
x
2.0ms
y
2.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
Results
AccuracySegmentsBranch
99.7%3x
99.7%3y
98.5%2(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 9 to 9 computations (0% saved)

regimes5.0ms (0.1%)

Memory
10.2MiB live, 10.2MiB 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
y
1.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
Results
AccuracySegmentsBranch
67.5%1y
67.5%1x
67.5%1(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 9 to 9 computations (0% saved)

regimes35.0ms (0.7%)

Memory
-29.9MiB live, 9.2MiB 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:

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

Compiled 9 to 9 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.0967124523631728e-250
1.554513895208913e-275
Compiler

Compiled 10 to 10 computations (0% saved)

simplify41.0ms (0.8%)

Memory
6.7MiB live, 46.1MiB 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 -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 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 -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 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 -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 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.6s (29.7%)

Memory
-13.4MiB live, 472.3MiB 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
0515
0815
13815
233215
3528915
0814313
052698
1182698
2465698
31205698
42732698
53560698
63956698
74242698
84392698
94480698
08407590
041332
1131332
2333332
3942332
42133332
53036332
63587332
74298332
84513332
94656332
105354332
08413289
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 65 to 39 computations (40% saved)

preprocess239.0ms (4.5%)

Memory
33.4MiB live, 110.9MiB allocated
Compiler

Compiled 110 to 64 computations (41.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...