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

Time bar (total: 4.7s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

sample1.0s (21.4%)

Memory
11.9MiB live, 911.5MiB allocated
Samples
699.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 504.0ms
ival-add: 428.0ms (84.9% of total)
ival-mult: 66.0ms (13.1% of total)
ival-true: 6.0ms (1.2% of total)
ival-assert: 4.0ms (0.8% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain122.0ms (2.6%)

Memory
-21.6MiB live, 139.0MiB 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
22.0ms512×0valid
Compiler

Compiled 45 to 19 computations (57.8% saved)

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

preprocess34.0ms (0.7%)

Memory
28.5MiB live, 28.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

(sort x y)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify4.0ms (0.1%)

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

localize29.0ms (0.6%)

Memory
-5.2MiB live, 29.7MiB 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
23.0ms256×0valid
Compiler

Compiled 19 to 7 computations (63.2% saved)

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

series5.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((+ (* x y) x) (+ (+ (* x y) x) y) (* x y))
1.0ms
x
@0
((+ (* x y) x) (+ (+ (* x y) x) y) (* x y))
1.0ms
x
@-inf
((+ (* 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))

simplify168.0ms (3.6%)

Memory
-21.8MiB live, 109.7MiB allocated
Algorithm
egg-herbie
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)

rewrite187.0ms (4%)

Memory
-12.1MiB live, 303.6MiB allocated
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>

eval28.0ms (0.6%)

Memory
-3.4MiB live, 72.5MiB allocated
Compiler

Compiled 4 891 to 555 computations (88.7% saved)

prune5.0ms (0.1%)

Memory
21.4MiB live, 21.4MiB 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)
64.2%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
65.5%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Compiler

Compiled 16 to 13 computations (18.8% saved)

simplify5.0ms (0.1%)

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

localize34.0ms (0.7%)

Memory
-34.9MiB live, 88.1MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x #s(literal 1 binary64))
accuracy0.0078125
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
accuracy0
(fma.f64 y x y)
accuracy22.92953222074143
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
accuracy0
(fma.f64 y x x)
accuracy22.101271759920486
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Samples
24.0ms256×0valid
Compiler

Compiled 43 to 14 computations (67.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-add: 10.0ms (62.4% of total)
ival-mult: 6.0ms (37.5% 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.2%)

Memory
14.2MiB live, 14.2MiB 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
@0
((+ (+ (* 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))

simplify333.0ms (7.1%)

Memory
-14.4MiB live, 196.8MiB allocated
Algorithm
egg-herbie
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))

rewrite258.0ms (5.5%)

Memory
15.3MiB live, 53.5MiB allocated
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>

eval160.0ms (3.4%)

Memory
-0.8MiB live, 46.1MiB allocated
Compiler

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

prune90.0ms (1.9%)

Memory
-15.1MiB live, 22.8MiB allocated
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New5322534
Fresh000
Picked033
Done000
Total5325537
Accuracy
100.0%
Counts
537 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
71.3%
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
64.2%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
65.5%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
30.9%
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify6.0ms (0.1%)

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

localize25.0ms (0.5%)

Memory
11.6MiB live, 11.6MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0078125
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
accuracy32.934584516848155
#s(approx (+ x 1) #s(literal 1 binary64))
accuracy0
(*.f64 y x)
accuracy22.92953222074143
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
accuracy30.265020714322482
#s(approx (+ (* y x) y) (*.f64 y x))
Samples
19.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: 6.0ms (54.1% of total)
ival-mult: 5.0ms (45.1% 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
3.1MiB live, 3.1MiB allocated
Counts
5 → 108
Calls
Call 1
Inputs
#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())
#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())
#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())
#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify393.0ms (8.4%)

Memory
-22.1MiB live, 52.3MiB allocated
Algorithm
egg-herbie
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))

rewrite322.0ms (6.9%)

Memory
9.9MiB live, 251.1MiB allocated
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.4%)

Memory
26.5MiB live, 65.2MiB allocated
Compiler

Compiled 2 522 to 227 computations (91% saved)

prune10.0ms (0.2%)

Memory
-4.9MiB live, 33.6MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New1760176
Fresh000
Picked022
Done033
Total1765181
Accuracy
100.0%
Counts
181 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
71.3%
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
64.2%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
65.5%
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
30.9%
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Compiler

Compiled 59 to 40 computations (32.2% saved)

regimes55.0ms (1.2%)

Memory
-14.0MiB live, 70.4MiB 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
(+.f64 (+.f64 (*.f64 x y) x) y)
Calls

3 calls:

49.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
3.0ms
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)

regimes8.0ms (0.2%)

Memory
-11.5MiB live, 28.0MiB allocated
Counts
5 → 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)
Outputs
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
Calls

3 calls:

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

Compiled 9 to 9 computations (0% saved)

regimes7.0ms (0.2%)

Memory
22.5MiB live, 22.5MiB 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
(+.f64 (+.f64 (*.f64 x y) x) y)
2.0ms
y
Results
AccuracySegmentsBranch
99.3%3x
99.0%3y
98.7%2(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 9 to 9 computations (0% saved)

regimes6.0ms (0.1%)

Memory
-23.2MiB live, 16.5MiB 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
2.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
Results
AccuracySegmentsBranch
65.5%1y
65.5%1x
65.5%1(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.1%)

Memory
13.6MiB live, 13.6MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

3 calls:

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

Compiled 9 to 9 computations (0% saved)

bsearch0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.087114076945593e-271
1.128881170465991e-268
Compiler

Compiled 10 to 10 computations (0% saved)

simplify24.0ms (0.5%)

Memory
-6.3MiB live, 74.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02376
13076
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x y) x) y)
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(if (<=.f64 (+.f64 (+.f64 (*.f64 x y) x) y) #s(literal -7613526571406249/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992 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
(+.f64 (+.f64 (*.f64 x y) x) y)
(+.f64 (+.f64 (*.f64 y x) x) y)
(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 -7613526571406249/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992 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 -7613526571406249/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992 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.2s (26.5%)

Memory
-5.8MiB live, 393.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 72 to 39 computations (45.8% saved)

preprocess90.0ms (1.9%)

Memory
-8.1MiB live, 191.5MiB allocated
Remove

(sort x y)

Compiler

Compiled 142 to 74 computations (47.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...