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

Time bar (total: 3.3s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample518.0ms (15.8%)

Memory
2.1MiB live, 755.0MiB allocated
Samples
329.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 138.0ms
ival-sub: 69.0ms (50% of total)
ival-mult: 55.0ms (39.9% of total)
ival-true: 6.0ms (4.4% of total)
exact: 4.0ms (2.9% of total)
ival-assert: 3.0ms (2.2% of total)
Bogosity

explain42.0ms (1.3%)

Memory
4.0MiB live, 79.4MiB 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
17.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

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

preprocess22.0ms (0.7%)

Memory
-2.2MiB live, 35.1MiB allocated
Algorithm
egg-herbie
Rules
144×lower-fma.f64
144×lower-fma.f32
88×lower-*.f32
86×lower-*.f64
48×lower-+.f64
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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0%)

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

simplify9.0ms (0.3%)

Memory
18.3MiB live, 18.3MiB 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)))
Rules
144×lower-fma.f64
144×lower-fma.f32
88×lower-*.f32
86×lower-*.f64
48×lower-+.f64
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)

localize21.0ms (0.6%)

Memory
-6.6MiB live, 33.7MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 12 to 6 computations (50% 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.3% 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
3.8MiB live, 3.8MiB 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))

simplify149.0ms (4.5%)

Memory
2.9MiB live, 167.4MiB allocated
Algorithm
egg-herbie
Rules
5 856×lower-fma.f64
5 856×lower-fma.f32
3 966×lower-*.f64
3 966×lower-*.f32
1 360×lower-/.f32
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))

rewrite164.0ms (5%)

Memory
-0.9MiB live, 193.2MiB allocated
Rules
8 622×lower-fma.f64
8 622×lower-fma.f32
4 178×lower-/.f64
4 178×lower-/.f32
3 404×lower-*.f32
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>

eval53.0ms (1.6%)

Memory
15.1MiB live, 52.8MiB allocated
Compiler

Compiled 6 888 to 877 computations (87.3% saved)

prune15.0ms (0.5%)

Memory
-22.1MiB live, 16.3MiB 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))
47.5%
#s(approx (* x (- x 1)) (*.f64 x x))
54.4%
#s(approx (* x (- x 1)) (neg.f64 x))
Compiler

Compiled 12 to 9 computations (25% saved)

simplify9.0ms (0.3%)

Memory
7.1MiB live, 7.1MiB 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))
Rules
144×lower-fma.f32
142×lower-fma.f64
88×lower-*.f32
86×lower-*.f64
48×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0932
01232
12232
23132
34232
46032
511732
620532
723432
823432
023432
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)

localize51.0ms (1.5%)

Memory
-22.2MiB live, 29.2MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 x x (neg.f64 x))
accuracy0
(neg.f64 x)
accuracy0
(*.f64 x x)
accuracy33.58884358136624
#s(approx (* x (- x 1)) (*.f64 x x))
accuracy0
(neg.f64 x)
accuracy29.205861381676833
#s(approx (* x (- x 1)) (neg.f64 x))
Samples
14.0ms256×0valid
Compiler

Compiled 28 to 9 computations (67.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 3.0ms (39% of total)
ival-sub: 2.0ms (26% of total)
ival-add: 1.0ms (13% of total)
ival-neg: 1.0ms (13% 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
2.2MiB live, 2.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)))

simplify269.0ms (8.2%)

Memory
28.4MiB live, 103.3MiB allocated
Algorithm
egg-herbie
Rules
7 050×lower-fma.f64
7 050×lower-fma.f32
4 338×lower-*.f64
4 338×lower-*.f32
1 582×lower-/.f32
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)

rewrite253.0ms (7.7%)

Memory
1.2MiB live, 147.8MiB allocated
Rules
4 136×lower-fma.f32
4 134×lower-fma.f64
3 126×lower-/.f64
3 126×lower-/.f32
1 934×lower-*.f32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0927
01227
14827
232722
3361122
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>

eval55.0ms (1.7%)

Memory
13.1MiB live, 50.0MiB allocated
Compiler

Compiled 4 760 to 698 computations (85.3% saved)

prune47.0ms (1.4%)

Memory
-24.7MiB live, 30.5MiB 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))
47.5%
#s(approx (* x (- x 1)) (*.f64 x x))
54.4%
#s(approx (* x (- x 1)) (neg.f64 x))
3.8%
#s(approx (* x (- x 1)) x)
Compiler

Compiled 14 to 11 computations (21.4% saved)

simplify9.0ms (0.3%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (* x (- x 1)) x)
Rules
144×lower-fma.f64
144×lower-fma.f32
88×lower-*.f64
88×lower-*.f32
48×lower-+.f64
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

localize68.0ms (2.1%)

Memory
-18.6MiB live, 17.9MiB allocated
Localize:

Found 1 expressions of interest:

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

Compiled 8 to 6 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 59.0ms
ival-mult: 57.0ms (96.4% of total)
ival-sub: 2.0ms (3.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
1.3MiB live, 1.3MiB 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)))

simplify248.0ms (7.6%)

Memory
13.0MiB live, 133.3MiB allocated
Algorithm
egg-herbie
Rules
7 050×lower-fma.f64
7 050×lower-fma.f32
4 338×lower-*.f64
4 338×lower-*.f32
1 582×lower-/.f32
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)

rewrite235.0ms (7.2%)

Memory
3.8MiB live, 176.7MiB allocated
Rules
8 622×lower-fma.f64
8 622×lower-fma.f32
4 178×lower-/.f64
4 178×lower-/.f32
3 404×lower-*.f64
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>

eval31.0ms (0.9%)

Memory
-34.0MiB live, 4.6MiB allocated
Compiler

Compiled 67 to 10 computations (85.1% saved)

prune3.0ms (0.1%)

Memory
11.3MiB live, 11.3MiB 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))
47.5%
#s(approx (* x (- x 1)) (*.f64 x x))
54.4%
#s(approx (* x (- x 1)) (neg.f64 x))
3.8%
#s(approx (* x (- x 1)) x)
Compiler

Compiled 33 to 21 computations (36.4% saved)

regimes5.0ms (0.2%)

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

regimes97.0ms (2.9%)

Memory
-24.7MiB live, 15.0MiB 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:

94.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
12.9MiB live, 12.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
96.8%3x
96.8%2(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes3.0ms (0.1%)

Memory
4.8MiB live, 4.8MiB 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.4%1x
54.4%1(*.f64 x (-.f64 x #s(literal 1 binary64)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes3.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB 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.8%1(*.f64 x (-.f64 x #s(literal 1 binary64)))
3.8%1x
Compiler

Compiled 6 to 5 computations (16.7% saved)

bsearch0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.030063748955450435
31179.22948089689
Compiler

Compiled 8 to 8 computations (0% saved)

simplify54.0ms (1.7%)

Memory
10.3MiB live, 49.7MiB allocated
Algorithm
egg-herbie
Rules
10×neg-mul-1-binary64-*.f64-neg.f64
*-commutative-binary64-*.f64
unsub-neg-binary64--.f64-neg.f64-+.f64
+-commutative-binary64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
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 3602879701896397/72057594037927936 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 3602879701896397/72057594037927936 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 3602879701896397/72057594037927936 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)

soundness750.0ms (22.9%)

Memory
-26.3MiB live, 215.7MiB allocated
Rules
8 622×lower-fma.f64
8 622×lower-fma.f32
5 856×lower-fma.f64
5 856×lower-fma.f32
4 178×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1258
21388
312508
089528
0927
01227
14827
232722
3361122
0850722
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)

preprocess79.0ms (2.4%)

Memory
21.9MiB live, 60.7MiB allocated
Compiler

Compiled 80 to 40 computations (50% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...