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

Time bar (total: 4.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample755.0ms (16.1%)

Memory
-4.4MiB live, 856.4MiB allocated
Samples
515.0ms8 254×0valid
0.0ms2valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 276.0ms
ival-add: 154.0ms (55.9% of total)
ival-mult: 112.0ms (40.6% of total)
ival-true: 6.0ms (2.2% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain74.0ms (1.6%)

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

Compiled 62 to 24 computations (61.3% saved)

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

preprocess64.0ms (1.4%)

Memory
1.7MiB live, 39.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
2.3MiB live, 2.3MiB 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

localize26.0ms (0.6%)

Memory
-8.2MiB live, 31.0MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 (+.f64 (*.f64 x y) x) y)
accuracy0
(*.f64 x y)
accuracy0.01171875
(+.f64 (*.f64 x y) x)
Samples
22.0ms256×0valid
Compiler

Compiled 36 to 12 computations (66.7% saved)

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

series9.0ms (0.2%)

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

6 calls:

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

simplify175.0ms (3.7%)

Memory
28.7MiB live, 136.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)

rewrite227.0ms (4.8%)

Memory
-8.4MiB live, 206.9MiB 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>

eval31.0ms (0.6%)

Memory
-2.0MiB live, 72.0MiB allocated
Compiler

Compiled 4 891 to 555 computations (88.7% saved)

prune5.0ms (0.1%)

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

Compiled 16 to 13 computations (18.8% saved)

simplify7.0ms (0.2%)

Memory
-23.6MiB live, 12.4MiB 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))
#s(approx (+ (+ (* x y) x) y) (fma.f64 x y x))
(fma.f64 y x x)
(fma.f64 x y x)
y
x
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
#s(approx (+ (+ (* x y) x) y) (fma.f64 x y y))
(fma.f64 y x y)
(fma.f64 x y y)
y
x
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(+.f64 (fma.f64 x y x) y)
(+.f64 x #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) x)
x
#s(literal 1 binary64)
y

localize52.0ms (1.1%)

Memory
12.6MiB live, 93.7MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x #s(literal 1 binary64))
accuracy0.00390625
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
accuracy0
(fma.f64 y x y)
accuracy24.85978306004727
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))
accuracy0
(fma.f64 y x x)
accuracy22.196155360994133
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
Samples
44.0ms256×0valid
Compiler

Compiled 77 to 23 computations (70.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
ival-add: 25.0ms (82.6% of total)
ival-mult: 5.0ms (16.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series31.0ms (0.7%)

Memory
-16.5MiB live, 22.8MiB 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))
1.0ms
y
@inf
((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1))
0.0ms
y
@0
((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1))

simplify313.0ms (6.7%)

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

rewrite265.0ms (5.6%)

Memory
18.7MiB live, 294.6MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01241
01839
19939
269239
0821739
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>

eval74.0ms (1.6%)

Memory
-15.5MiB live, 141.8MiB allocated
Compiler

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

prune11.0ms (0.2%)

Memory
37.6MiB live, 37.6MiB allocated
Pruning

4 alts after pruning (2 fresh and 2 done)

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

Compiled 20 to 18 computations (10% saved)

simplify27.0ms (0.6%)

Memory
-33.6MiB live, 6.2MiB allocated
Algorithm
egg-herbie
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (+ x 1) #s(literal 1 binary64))
cost-diff0
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
cost-diff0
(*.f64 y x)
cost-diff0
#s(approx (+ (* y x) y) (*.f64 y x))
cost-diff0
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
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 (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 x y)))
#s(approx (+ (* y x) y) (*.f64 y x))
#s(approx (+ (* y x) y) (*.f64 x y))
(*.f64 y x)
(*.f64 x y)
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

localize29.0ms (0.6%)

Memory
23.8MiB live, 61.0MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.00390625
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x)
accuracy33.481695341063215
#s(approx (+ x 1) #s(literal 1 binary64))
accuracy0
(*.f64 y x)
accuracy24.85978306004727
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
accuracy30.118223226588718
#s(approx (+ (* y x) y) (*.f64 y x))
Samples
22.0ms256×0valid
Compiler

Compiled 56 to 21 computations (62.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-add: 8.0ms (57% of total)
ival-mult: 5.0ms (35.6% 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
12.0MiB live, 12.0MiB allocated
Counts
5 → 108
Calls
Call 1
Inputs
#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())
#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())
#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())
#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify261.0ms (5.5%)

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

rewrite559.0ms (11.9%)

Memory
-42.1MiB live, 143.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01442
01742
19042
264942
0831939
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>

eval17.0ms (0.4%)

Memory
14.8MiB live, 14.8MiB allocated
Compiler

Compiled 2 522 to 227 computations (91% saved)

prune9.0ms (0.2%)

Memory
11.3MiB live, 11.3MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

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

Compiled 53 to 35 computations (34% saved)

regimes8.0ms (0.2%)

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

3 calls:

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

Compiled 9 to 9 computations (0% saved)

regimes93.0ms (2%)

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

3 calls:

88.0ms
x
2.0ms
y
2.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
Results
AccuracySegmentsBranch
98.9%3x
99.6%3y
99.0%2(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 9 to 9 computations (0% saved)

regimes5.0ms (0.1%)

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

Compiled 9 to 9 computations (0% saved)

regimes46.0ms (1%)

Memory
-29.5MiB live, 9.5MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

3 calls:

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

Compiled 9 to 9 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-3.4139388243618245e-239
1.0216229468618185e-276
Compiler

Compiled 10 to 10 computations (0% saved)

simplify93.0ms (2%)

Memory
-0.5MiB live, 38.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02369
13069
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(if (<=.f64 (+.f64 (+.f64 (*.f64 x y) x) y) #s(literal -2346099009001469/117304950450073441093299338992332138457996243649210992760592177980666118165925495436678284352817677825758656549761022853424729541660972550965022826666248518125620733165482852770884817967017897067499683873717228533661411547573197142488509591988118713532416 binary64)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))
Outputs
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x)
(fma.f64 (+.f64 #s(literal 1 binary64) x) y x)
(if (<=.f64 (+.f64 (+.f64 (*.f64 x y) x) y) #s(literal -2346099009001469/117304950450073441093299338992332138457996243649210992760592177980666118165925495436678284352817677825758656549761022853424729541660972550965022826666248518125620733165482852770884817967017897067499683873717228533661411547573197142488509591988118713532416 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 -2346099009001469/117304950450073441093299338992332138457996243649210992760592177980666118165925495436678284352817677825758656549761022853424729541660972550965022826666248518125620733165482852770884817967017897067499683873717228533661411547573197142488509591988118713532416 binary64)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)))
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x))
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x)))

soundness1.3s (28.4%)

Memory
4.5MiB live, 318.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 65 to 39 computations (40% saved)

preprocess87.0ms (1.9%)

Memory
10.7MiB live, 99.4MiB allocated
Remove

(sort x y)

Compiler

Compiled 110 to 64 computations (41.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...