Statistics.Correlation.Kendall:numOfTiesBy from math-functions-0.1.5.2

Time bar (total: 2.9s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

sample525.0ms (18.3%)

Memory
-0.9MiB live, 677.7MiB allocated
Samples
342.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 198.0ms
ival-mult: 96.0ms (48.4% of total)
ival-sub: 89.0ms (44.9% of total)
ival-true: 6.0ms (3% of total)
exact: 5.0ms (2.5% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain64.0ms (2.2%)

Memory
-5.7MiB live, 154.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 x (-.f64 x #s(literal 1 binary64)))
00-0-(-.f64 x #s(literal 1 binary64))
00-0-#s(literal 1 binary64)
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 59 to 34 computations (42.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 5.0ms (54.4% of total)
ival-sub: 3.0ms (32.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess19.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
12211
25510
316110
421010
521810
045
065
1125
2185
3215
4235
5285
6385
7565
81135
91995
102285
112285
02285
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 x (-.f64 x #s(literal 1 binary64)))
Outputs
(*.f64 x (-.f64 x #s(literal 1 binary64)))
(fma.f64 x x (neg.f64 x))
Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 5 to 4 computations (20% saved)

simplify7.0ms (0.3%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x #s(literal 1 binary64))
cost-diff0
(*.f64 x (-.f64 x #s(literal 1 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11210
21810
32110
42310
52810
63810
75610
811310
919910
1022810
1122810
022810
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 x (-.f64 x #s(literal 1 binary64)))
x
(-.f64 x #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
(*.f64 x (-.f64 x #s(literal 1 binary64)))
(fma.f64 x x (neg.f64 x))
x
(-.f64 x #s(literal 1 binary64))
#s(literal 1 binary64)

localize43.0ms (1.5%)

Memory
-42.4MiB live, 16.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x #s(literal 1 binary64))
accuracy0.0078125
(*.f64 x (-.f64 x #s(literal 1 binary64)))
Samples
10.0ms256×0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

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

series2.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())
#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<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 (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<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 (pow x 2) (taylor -inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<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 (* -1 (* x (- (/ 1 x) 1))) (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 x) 1))) (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 x) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify139.0ms (4.9%)

Memory
6.0MiB live, 115.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01583
13283
27583
313383
438183
5159283
6275783
7387583
8522483
9670583
10760083
0801083
Stop Event
iter limit
node limit
Counts
24 → 22
Calls
Call 1
Inputs
(* -1 x)
(* x (- x 1))
(* x (- x 1))
(* x (- x 1))
-1
(- x 1)
(- x 1)
(- x 1)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
x
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
x
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
Outputs
(* -1 x)
(neg.f64 x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
-1
#s(literal -1 binary64)
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) 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))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
x
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))

rewrite244.0ms (8.5%)

Memory
22.8MiB live, 178.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1258
21388
312508
089528
Stop Event
iter limit
node limit
iter limit
Counts
2 → 299
Calls
Call 1
Inputs
(*.f64 x (-.f64 x #s(literal 1 binary64)))
(-.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>

eval145.0ms (5.1%)

Memory
1.0MiB live, 85.7MiB allocated
Compiler

Compiled 6 888 to 877 computations (87.3% saved)

prune27.0ms (0.9%)

Memory
-19.2MiB live, 17.9MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3183321
Fresh000
Picked101
Done000
Total3193322
Accuracy
100.0%
Counts
322 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x (neg.f64 x))
48.9%
#s(approx (* x (- x 1)) (*.f64 x x))
54.2%
#s(approx (* x (- x 1)) (neg.f64 x))
Compiler

Compiled 12 to 9 computations (25% saved)

simplify8.0ms (0.3%)

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

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 x)
cost-diff0
(fma.f64 x x (neg.f64 x))
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (* x (- x 1)) (*.f64 x x))
cost-diff0
(neg.f64 x)
cost-diff0
#s(approx (* x (- x 1)) (neg.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0932
01232
12232
23132
34232
46032
511732
620332
723232
823232
023232
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) (neg.f64 x))
(neg.f64 x)
x
#s(approx (* x (- x 1)) (*.f64 x x))
(*.f64 x x)
x
(fma.f64 x x (neg.f64 x))
x
(neg.f64 x)
Outputs
#s(approx (* x (- x 1)) (neg.f64 x))
(neg.f64 x)
x
#s(approx (* x (- x 1)) (*.f64 x x))
(*.f64 x x)
x
(fma.f64 x x (neg.f64 x))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
x
(neg.f64 x)

localize37.0ms (1.3%)

Memory
-14.9MiB live, 23.4MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 x x (neg.f64 x))
accuracy0
(neg.f64 x)
accuracy0
(*.f64 x x)
accuracy32.69904141940115
#s(approx (* x (- x 1)) (*.f64 x x))
accuracy0
(neg.f64 x)
accuracy29.287733940579365
#s(approx (* x (- x 1)) (neg.f64 x))
Samples
30.0ms256×0valid
Compiler

Compiled 50 to 15 computations (70% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-neg: 18.0ms (74.9% of total)
ival-mult: 3.0ms (12.5% of total)
ival-sub: 2.0ms (8.3% of total)
ival-add: 1.0ms (4.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
5.2MiB live, 5.2MiB allocated
Counts
5 → 60
Calls
Call 1
Inputs
#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())
#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.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 x) (taylor 0 x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.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 2) (taylor inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (*.f64 x x)) (patch #s(approx (* x (- x 1)) (*.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 2) (taylor -inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify130.0ms (4.5%)

Memory
26.1MiB live, 138.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011219
122219
240219
382219
4191219
5373219
6698219
72322219
83755219
95759219
107525219
08089219
Stop Event
iter limit
node limit
Counts
60 → 60
Calls
Call 1
Inputs
(* -1 x)
(* x (- x 1))
(* x (- x 1))
(* x (- x 1))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* x (- x 1))
(* x (- x 1))
(* x (- x 1))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* -1 x)
(* x (- x 1))
(* x (- x 1))
(* x (- x 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* -1 x)
(* -1 x)
(* -1 x)
(* -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 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) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* -1 x)
(* -1 x)
(* -1 x)
(* -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 2)
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
Outputs
(* -1 x)
(neg.f64 x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) 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)
(* -1 x)
(neg.f64 x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) 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 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) 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 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)

rewrite142.0ms (4.9%)

Memory
-25.3MiB live, 142.4MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0927
01227
14827
232722
3360922
0850722
Stop Event
iter limit
node limit
iter limit
Counts
5 → 277
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) (neg.f64 x))
(neg.f64 x)
#s(approx (* x (- x 1)) (*.f64 x x))
(*.f64 x x)
(fma.f64 x x (neg.f64 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>

eval105.0ms (3.7%)

Memory
-7.6MiB live, 73.8MiB allocated
Compiler

Compiled 4 760 to 698 computations (85.3% saved)

prune9.0ms (0.3%)

Memory
28.7MiB live, 28.7MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3891390
Fresh000
Picked033
Done000
Total3894393
Accuracy
100.0%
Counts
393 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x (neg.f64 x))
48.9%
#s(approx (* x (- x 1)) (*.f64 x x))
54.2%
#s(approx (* x (- x 1)) (neg.f64 x))
3.6%
#s(approx (* x (- x 1)) x)
Compiler

Compiled 14 to 11 computations (21.4% saved)

simplify11.0ms (0.4%)

Memory
-28.5MiB live, 9.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (* x (- x 1)) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
058
1118
2178
3208
4228
5278
6388
7568
81138
92008
102298
112298
02298
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) x)
x
Outputs
#s(approx (* x (- x 1)) x)
x

localize14.0ms (0.5%)

Memory
-1.5MiB live, 36.1MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy61.71178072063238
#s(approx (* x (- x 1)) x)
Samples
8.0ms256×0valid
Compiler

Compiled 11 to 8 computations (27.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult: 2.0ms (54.7% of total)
ival-sub: 1.0ms (27.4% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series1.0ms (0%)

Memory
3.7MiB live, 3.6MiB allocated
Counts
1 → 12
Calls
Call 1
Inputs
#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify130.0ms (4.5%)

Memory
21.8MiB live, 180.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01153
12253
24053
38253
419153
537353
669853
7232253
8375553
9575953
10752553
0808953
Stop Event
iter limit
node limit
Counts
12 → 12
Calls
Call 1
Inputs
(* -1 x)
(* x (- x 1))
(* x (- x 1))
(* x (- x 1))
(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) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
Outputs
(* -1 x)
(neg.f64 x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)

rewrite179.0ms (6.3%)

Memory
7.0MiB live, 285.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
057
1247
21377
312517
089377
Stop Event
iter limit
node limit
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) x)
Outputs
#<batchref>

eval1.0ms (0%)

Memory
5.2MiB live, 5.2MiB allocated
Compiler

Compiled 67 to 10 computations (85.1% saved)

prune4.0ms (0.1%)

Memory
-28.5MiB live, 10.8MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done033
Total13417
Accuracy
100.0%
Counts
17 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x (neg.f64 x))
48.9%
#s(approx (* x (- x 1)) (*.f64 x x))
54.2%
#s(approx (* x (- x 1)) (neg.f64 x))
3.6%
#s(approx (* x (- x 1)) x)
Compiler

Compiled 33 to 21 computations (36.4% saved)

regimes5.0ms (0.2%)

Memory
17.5MiB live, 17.5MiB allocated
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) x)
#s(approx (* x (- x 1)) (neg.f64 x))
#s(approx (* x (- x 1)) (*.f64 x x))
(*.f64 x (-.f64 x #s(literal 1 binary64)))
(fma.f64 x x (neg.f64 x))
Outputs
(fma.f64 x x (neg.f64 x))
Calls

2 calls:

2.0ms
(*.f64 x (-.f64 x #s(literal 1 binary64)))
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes6.0ms (0.2%)

Memory
-20.6MiB live, 18.3MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) x)
#s(approx (* x (- x 1)) (neg.f64 x))
#s(approx (* x (- x 1)) (*.f64 x x))
(*.f64 x (-.f64 x #s(literal 1 binary64)))
Outputs
(*.f64 x (-.f64 x #s(literal 1 binary64)))
Calls

2 calls:

2.0ms
x
2.0ms
(*.f64 x (-.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes4.0ms (0.1%)

Memory
7.9MiB live, 7.9MiB allocated
Counts
3 → 2
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) x)
#s(approx (* x (- x 1)) (neg.f64 x))
#s(approx (* x (- x 1)) (*.f64 x x))
Outputs
#s(approx (* x (- x 1)) (neg.f64 x))
#s(approx (* x (- x 1)) (*.f64 x x))
Calls

2 calls:

2.0ms
(*.f64 x (-.f64 x #s(literal 1 binary64)))
2.0ms
x
Results
AccuracySegmentsBranch
98.1%3x
98.1%2(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes3.0ms (0.1%)

Memory
7.0MiB live, 7.0MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) x)
#s(approx (* x (- x 1)) (neg.f64 x))
Outputs
#s(approx (* x (- x 1)) (neg.f64 x))
Calls

2 calls:

2.0ms
(*.f64 x (-.f64 x #s(literal 1 binary64)))
2.0ms
x
Results
AccuracySegmentsBranch
54.2%1x
54.2%1(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes3.0ms (0.1%)

Memory
6.1MiB live, 6.1MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* x (- x 1)) x)
Outputs
#s(approx (* x (- x 1)) x)
Calls

2 calls:

1.0ms
(*.f64 x (-.f64 x #s(literal 1 binary64)))
1.0ms
x
Results
AccuracySegmentsBranch
3.6%1x
3.6%1(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
5.445568960706395e-5
49506.371385121885
Compiler

Compiled 8 to 8 computations (0% saved)

simplify71.0ms (2.5%)

Memory
-4.5MiB live, 41.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01550
12450
22950
33550
44250
55150
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 x x (neg.f64 x))
(*.f64 x (-.f64 x #s(literal 1 binary64)))
(if (<=.f64 (*.f64 x (-.f64 x #s(literal 1 binary64))) #s(literal 7378697629483821/73786976294838206464 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) (*.f64 x x)))
#s(approx (* x (- x 1)) (neg.f64 x))
#s(approx (* x (- x 1)) x)
Outputs
(fma.f64 x x (neg.f64 x))
(*.f64 x (-.f64 x #s(literal 1 binary64)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(if (<=.f64 (*.f64 x (-.f64 x #s(literal 1 binary64))) #s(literal 7378697629483821/73786976294838206464 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) (*.f64 x x)))
(if (<=.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x) #s(literal 7378697629483821/73786976294838206464 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) (*.f64 x x)))
#s(approx (* x (- x 1)) (neg.f64 x))
#s(approx (* x (- x 1)) x)

soundness720.0ms (25.1%)

Memory
3.0MiB live, 317.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
01227
14827
232722
3360922
0850722
048
068
1258
21388
312508
089528
01583
13283
27583
313383
438183
5159283
6275783
7387583
8522483
9670583
10760083
0801083
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
Compiler

Compiled 52 to 30 computations (42.3% saved)

preprocess65.0ms (2.3%)

Memory
-7.6MiB live, 68.7MiB allocated
Compiler

Compiled 80 to 40 computations (50% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...