Expression 3, p15

Time bar (total: 3.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%25%75%0%0%0%0
100%25%0%75%0%0%0%1
Compiler

Compiled 17 to 10 computations (41.2% saved)

sample914.0ms (24.6%)

Memory
50.2MiB live, 1 029.2MiB allocated
Samples
636.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 403.0ms
ival-mult: 229.0ms (56.8% of total)
ival-<=: 104.0ms (25.8% of total)
ival-add: 46.0ms (11.4% of total)
ival-and: 12.0ms (3% of total)
exact: 10.0ms (2.5% of total)
ival-assert: 3.0ms (0.7% of total)
Bogosity

explain142.0ms (3.8%)

Memory
-15.4MiB live, 71.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x))
00-0-(*.f64 x (*.f64 x x))
00-0-(*.f64 x x)
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
20.0ms512×0valid
Compiler

Compiled 67 to 20 computations (70.1% saved)

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

preprocess31.0ms (0.8%)

Memory
-15.3MiB live, 20.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0617
13114
211314
330914
441814
542214
049
077
1167
2247
3337
4417
5517
6547
0546
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x))
Outputs
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
Compiler

Compiled 9 to 4 computations (55.6% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 4 computations (55.6% saved)

simplify4.0ms (0.1%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff-5824
(*.f64 x (*.f64 x x))
cost-diff0
(*.f64 x x)
cost-diff128
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0418
0714
11614
22414
33314
44114
55114
65414
05413
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x))
(*.f64 x (*.f64 x x))
x
(*.f64 x x)
Outputs
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(*.f64 x (*.f64 x x))
(pow.f64 x #s(literal 3 binary64))
x
(*.f64 x x)

localize14.0ms (0.4%)

Memory
19.0MiB live, 19.0MiB allocated
Localize:

Found 3 expressions of interest:

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

Compiled 38 to 10 computations (73.7% saved)

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

series8.0ms (0.2%)

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

3 calls:

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

simplify169.0ms (4.6%)

Memory
29.2MiB live, 115.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011144
130144
264144
3103144
4286144
51326144
62335144
73183144
83904144
94731144
105074144
115337144
125549144
135769144
145852144
156642144
167744144
08032135
Stop Event
iter limit
node limit
Counts
36 → 36
Calls
Call 1
Inputs
(pow x 2)
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 3)
(pow x 3)
(pow x 3)
(pow x 3)
Outputs
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 x))
(*.f64 (fma.f64 x x x) x)
(* (pow x 2) (+ 1 x))
(*.f64 (fma.f64 x x x) x)
(* (pow x 2) (+ 1 x))
(*.f64 (fma.f64 x x x) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))

rewrite230.0ms (6.2%)

Memory
-21.5MiB live, 302.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0417
0713
13013
219913
3176813
0845012
Stop Event
iter limit
node limit
iter limit
Counts
3 → 243
Calls
Call 1
Inputs
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x))
(*.f64 x x)
(*.f64 x (*.f64 x x))
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>

eval182.0ms (4.9%)

Memory
-10.9MiB live, 64.5MiB allocated
Compiler

Compiled 6 488 to 692 computations (89.3% saved)

prune5.0ms (0.1%)

Memory
23.8MiB live, 23.9MiB allocated
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3004304
Fresh000
Picked101
Done000
Total3014305
Accuracy
100.0%
Counts
305 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 x x) x (*.f64 x x))
100.0%
(*.f64 (fma.f64 x x x) x)
100.0%
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
97.0%
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
Compiler

Compiled 25 to 14 computations (44% saved)

simplify4.0ms (0.1%)

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

Found 9 expressions of interest:

NewMetricScoreProgram
cost-diff-5824
(fma.f64 (*.f64 x x) x (*.f64 x x))
cost-diff0
(*.f64 x x)
cost-diff-6144
(*.f64 (fma.f64 x x x) x)
cost-diff0
(fma.f64 x x x)
cost-diff-6016
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
cost-diff0
(*.f64 x x)
cost-diff0
(+.f64 #s(literal 1 binary64) x)
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01255
02049
13349
24249
35049
46049
56349
06349
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
(*.f64 x x)
x
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(*.f64 x x)
(*.f64 (fma.f64 x x x) x)
(fma.f64 x x x)
x
(fma.f64 (*.f64 x x) x (*.f64 x x))
(*.f64 x x)
x
Outputs
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
(*.f64 x x)
x
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(*.f64 x x)
(*.f64 (fma.f64 x x x) x)
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(fma.f64 x x x)
x
(fma.f64 (*.f64 x x) x (*.f64 x x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(*.f64 x x)
x

localize48.0ms (1.3%)

Memory
7.7MiB live, 46.4MiB allocated
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy0.00390625
(fma.f64 (*.f64 x x) x (*.f64 x x))
accuracy0
(fma.f64 x x x)
accuracy0.015625
(*.f64 (fma.f64 x x x) x)
accuracy0
(+.f64 #s(literal 1 binary64) x)
accuracy0
(*.f64 x x)
accuracy0.01171875
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
accuracy0
(*.f64 x x)
accuracy1.8952387925850342
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
Samples
39.0ms256×0valid
Compiler

Compiled 102 to 22 computations (78.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.0ms
ival-mult: 27.0ms (86.3% of total)
ival-add: 4.0ms (12.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series23.0ms (0.6%)

Memory
-33.7MiB live, 8.2MiB allocated
Counts
7 → 84
Calls
Call 1
Inputs
#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())
#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())
#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())
#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())
#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())
Outputs
#s(alt (pow x 2) (taylor 0 x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (pow x 3) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ())
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ())
#s(alt (pow x 3) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) x (*.f64 x x)) (patch (fma.f64 (*.f64 x x) x (*.f64 x x)) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify165.0ms (4.4%)

Memory
18.4MiB live, 176.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
014406
148406
268406
3217406
41311406
52296406
63141406
73889406
84698406
95041406
105306406
115518406
125738406
135821406
146610406
157705406
08001361
Stop Event
iter limit
node limit
Counts
84 → 81
Calls
Call 1
Inputs
(pow x 2)
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(pow x 2)
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
x
(* x (+ 1 x))
(* x (+ 1 x))
(* x (+ 1 x))
(pow x 2)
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(pow x 2)
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
Outputs
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 2) (+ 1 x))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (+ 1 (/ 1 x)))
(fma.f64 x x (pow.f64 x #s(literal 3 binary64)))

rewrite224.0ms (6%)

Memory
-27.9MiB live, 280.8MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01244
02038
16438
239338
3382138
0899238
Stop Event
iter limit
node limit
iter limit
Counts
7 → 661
Calls
Call 1
Inputs
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
(*.f64 x x)
(+.f64 #s(literal 1 binary64) x)
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
(fma.f64 x x x)
(*.f64 (fma.f64 x x x) x)
(fma.f64 (*.f64 x x) x (*.f64 x x))
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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval118.0ms (3.2%)

Memory
-9.5MiB live, 187.3MiB allocated
Compiler

Compiled 13 690 to 1 081 computations (92.1% saved)

prune14.0ms (0.4%)

Memory
14.0MiB live, 52.2MiB allocated
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New8131814
Fresh000
Picked044
Done000
Total8135818
Accuracy
100.0%
Counts
818 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 x x) x (*.f64 x x))
100.0%
(*.f64 (fma.f64 x x x) x)
100.0%
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
54.5%
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x)
97.0%
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify4.0ms (0.1%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (+ (* x x) x) (*.f64 x x))
cost-diff0
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0624
0824
11324
21724
32324
42324
53724
63724
03722
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x)
#s(approx (+ (* x x) x) (*.f64 x x))
(*.f64 x x)
x
Outputs
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x)
#s(approx (+ (* x x) x) (*.f64 x x))
(*.f64 x x)
x

localize17.0ms (0.5%)

Memory
-7.3MiB live, 29.4MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy0.015625
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x)
accuracy59.393367156382254
#s(approx (+ (* x x) x) (*.f64 x x))
Samples
12.0ms256×0valid
Compiler

Compiled 32 to 10 computations (68.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 6.0ms (84.7% of total)
ival-add: 1.0ms (14.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

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

3 calls:

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

simplify163.0ms (4.4%)

Memory
2.0MiB live, 119.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013160
142160
276160
3133160
4298160
51306160
62309160
73166160
83908160
94706160
105049160
115314160
125526160
135746160
145829160
156619160
167711160
08007142
Stop Event
iter limit
node limit
Counts
36 → 35
Calls
Call 1
Inputs
(pow x 2)
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
(* (pow x 2) (+ 1 x))
x
(* x (+ 1 x))
(* x (+ 1 x))
(* x (+ 1 x))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 3)
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(* (pow x 3) (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(* (pow x 2) (+ 1 (/ 1 x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 x))
(*.f64 (fma.f64 x x x) x)
(* (pow x 2) (+ 1 x))
(*.f64 (fma.f64 x x x) x)
(* (pow x 2) (+ 1 x))
(*.f64 (fma.f64 x x x) x)
x
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(* x (+ 1 x))
(fma.f64 x x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 3)
(pow.f64 x #s(literal 3 binary64))
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(* (pow x 3) (+ 1 (/ 1 x)))
(*.f64 (fma.f64 x x x) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(* (pow x 2) (+ 1 (/ 1 x)))
(fma.f64 x x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)

rewrite208.0ms (5.6%)

Memory
1.5MiB live, 286.6MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
0823
12723
215823
3140123
0824721
Stop Event
iter limit
node limit
iter limit
Counts
3 → 16
Calls
Call 1
Inputs
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x)
#s(approx (+ (* x x) x) (*.f64 x x))
(*.f64 x x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval7.0ms (0.2%)

Memory
-27.6MiB live, 11.1MiB allocated
Compiler

Compiled 355 to 63 computations (82.3% saved)

prune3.0ms (0.1%)

Memory
8.2MiB live, 8.2MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New51051
Fresh000
Picked011
Done044
Total51556
Accuracy
100.0%
Counts
56 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 x x) x (*.f64 x x))
100.0%
(*.f64 (fma.f64 x x x) x)
100.0%
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
54.5%
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x)
97.0%
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
Compiler

Compiled 71 to 31 computations (56.3% saved)

regimes5.0ms (0.1%)

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

2 calls:

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

Compiled 10 to 5 computations (50% saved)

regimes4.0ms (0.1%)

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

2 calls:

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

Compiled 10 to 5 computations (50% saved)

regimes3.0ms (0.1%)

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

2 calls:

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

Compiled 10 to 5 computations (50% saved)

regimes3.0ms (0.1%)

Memory
3.6MiB live, 3.6MiB allocated
Accuracy

Total -27.3b remaining (-1438.1%)

Threshold costs -27.3b (-1438.1%)

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

2 calls:

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

Compiled 10 to 5 computations (50% saved)

simplify174.0ms (4.7%)

Memory
-13.3MiB live, 25.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01234
11834
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) x (*.f64 x x))
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
(*.f64 (fma.f64 x x x) x)
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))
Outputs
(fma.f64 (*.f64 x x) x (*.f64 x x))
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x))
(*.f64 (fma.f64 x x x) x)
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x))

soundness786.0ms (21.2%)

Memory
-2.5MiB live, 275.8MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011144
130144
264144
3103144
4286144
51326144
62335144
73183144
83904144
94731144
105074144
115337144
125549144
135769144
145852144
156642144
167744144
08032135
0417
0713
13013
219913
3176813
0845012
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 76 to 29 computations (61.8% saved)

preprocess35.0ms (0.9%)

Memory
29.2MiB live, 104.4MiB allocated
Compiler

Compiled 82 to 36 computations (56.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...