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

Time bar (total: 2.6s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample770.0ms (29.9%)

Memory
6.9MiB live, 687.2MiB allocated
Samples
557.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 287.0ms
ival-sub: 181.0ms (63.1% of total)
ival-mult: 89.0ms (31% of total)
ival-true: 7.0ms (2.4% of total)
exact: 6.0ms (2.1% of total)
ival-assert: 4.0ms (1.4% of total)
Bogosity

explain64.0ms (2.5%)

Memory
-12.1MiB live, 46.9MiB 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
41.0ms512×0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

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

preprocess53.0ms (2.1%)

Memory
-18.9MiB live, 19.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.4MiB live, 0.4MiB 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)

simplify8.0ms (0.3%)

Memory
0.9MiB live, 0.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)

localize13.0ms (0.5%)

Memory
5.5MiB live, 5.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x #s(literal 1 binary64))
accuracy0
(*.f64 x (-.f64 x #s(literal 1 binary64)))
Samples
9.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 (52.1% of total)
ival-mult: 2.0ms (52.1% 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
0.7MiB live, 0.7MiB 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))

simplify189.0ms (7.3%)

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

rewrite297.0ms (11.5%)

Memory
15.5MiB live, 236.8MiB 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>

eval84.0ms (3.3%)

Memory
10.9MiB live, 96.6MiB allocated
Compiler

Compiled 6 888 to 877 computations (87.3% saved)

prune53.0ms (2.1%)

Memory
-18.6MiB live, 20.0MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3192321
Fresh000
Picked011
Done000
Total3193322
Accuracy
100.0%
Counts
322 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (-.f64 x #s(literal 1 binary64)))
58.4%
#s(approx (* x (- x 1)) (*.f64 x x))
45.2%
#s(approx (* x (- x 1)) (neg.f64 x))
Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify8.0ms (0.3%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
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
0824
01024
11824
22324
33024
43824
55024
69124
714724
820024
922224
1022224
022224
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
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

localize55.0ms (2.1%)

Memory
-8.1MiB live, 29.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy26.636760370831773
#s(approx (* x (- x 1)) (*.f64 x x))
accuracy0
(neg.f64 x)
accuracy35.05963589171694
#s(approx (* x (- x 1)) (neg.f64 x))
Samples
12.0ms256×0valid
Compiler

Compiled 33 to 13 computations (60.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 3.0ms (47% of total)
ival-sub: 2.0ms (31.3% of total)
ival-neg: 1.0ms (15.7% 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
3.7MiB live, 3.7MiB allocated
Counts
4 → 48
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>) () ())
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 (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 #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>) () ())) ())
Calls

3 calls:

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

simplify197.0ms (7.6%)

Memory
28.9MiB live, 182.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011166
122166
240166
382166
4191166
5373166
6698166
72322166
83755166
95759166
107525166
08089166
Stop Event
iter limit
node limit
Counts
48 → 48
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)
(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)))
(* -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)
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)
(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)
(* -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)

rewrite262.0ms (10.2%)

Memory
-31.1MiB live, 173.6MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
01022
13222
215922
3138922
0850022
Stop Event
iter limit
node limit
iter limit
Counts
4 → 71
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)
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>

eval11.0ms (0.4%)

Memory
16.4MiB live, 16.4MiB allocated
Compiler

Compiled 959 to 227 computations (76.3% saved)

prune5.0ms (0.2%)

Memory
8.2MiB live, 8.2MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1190119
Fresh000
Picked022
Done011
Total1193122
Accuracy
100.0%
Counts
122 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (-.f64 x #s(literal 1 binary64)))
58.4%
#s(approx (* x (- x 1)) (*.f64 x x))
45.2%
#s(approx (* x (- x 1)) (neg.f64 x))
Compiler

Compiled 24 to 18 computations (25% saved)

regimes4.0ms (0.2%)

Memory
6.6MiB live, 6.6MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#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
(*.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)

regimes3.0ms (0.1%)

Memory
3.7MiB live, 3.7MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
#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.6%3x
98.6%2(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes59.0ms (2.3%)

Memory
-21.0MiB live, 23.4MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

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

Compiled 6 to 5 computations (16.7% saved)

bsearch0.0ms (0%)

Memory
1.3MiB live, 1.3MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0010964023822559973
64012024.63771379
Compiler

Compiled 8 to 8 computations (0% saved)

simplify25.0ms (1%)

Memory
20.2MiB live, 57.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01338
12238
22738
33338
44038
54938
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 x (-.f64 x #s(literal 1 binary64)))
(if (<=.f64 (*.f64 x (-.f64 x #s(literal 1 binary64))) #s(literal 1152921504606847/576460752303423488 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))
Outputs
(*.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 1152921504606847/576460752303423488 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 1152921504606847/576460752303423488 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))

soundness370.0ms (14.4%)

Memory
-33.6MiB live, 86.6MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01583
13283
27583
313383
438183
5159283
6275783
7387583
8522483
9670583
10760083
0801083
Stop Event
done
iter limit
node limit
Compiler

Compiled 30 to 17 computations (43.3% saved)

preprocess35.0ms (1.4%)

Memory
-0.6MiB live, 76.2MiB allocated
Compiler

Compiled 66 to 36 computations (45.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...