Details

Time bar (total: 4.9s)

analyze766.0ms (15.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
25%75%0%4
37.5%62.5%0%5
43.7%56.2%0%6
46.9%53.1%0%7
46.9%53.1%0%8
46.9%53.1%0%9
47.2%52.7%0%10
47.2%52.7%0%11
47.3%52.6%0%12
47.4%52.6%0%13
47.4%52.5%0%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample1.4s (29.3%)

Results
532.0ms2080×body512valid
505.0ms4712×body128valid
190.0ms1060×body256valid
160.0ms404×body1024valid
Compiler

Compiled 25 to 21 computations (16% saved)

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
13×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11616
22116
32916
43716
55516
68016
79716
811416
912416
1012816
1113016
1211616

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
15.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.3b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 47 to 39 computations (17% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
3.4b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
3.0ms
(/.f64 1 (-.f64 x 1))
2.0ms
(/.f64 1 (+.f64 x 1))

rewrite162.0ms (3.3%)

Algorithm
rewrite-expression-head
Rules
870×*-un-lft-identity_binary64
804×times-frac_binary64
733×add-sqr-sqrt_binary64
486×prod-diff_binary64
465×add-cube-cbrt_binary64
Counts
3 → 661
Calls

3 calls:

34.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
4.0ms
(/.f64 1 (-.f64 x 1))
4.0ms
(/.f64 1 (+.f64 x 1))

simplify864.0ms (17.8%)

Algorithm
egg-herbie
Rules
947×fma-neg_binary64
335×times-frac_binary64
236×distribute-rgt-in_binary64
231×div-sub_binary64
202×associate-/l*_binary64
Counts
697 → 531
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027227782
163218403
2177213759
3394512706
4497212706
5498912706
6490912706

prune617.0ms (12.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New5292531
Fresh000
Picked101
Done000
Total5302532
Error
0.2b
Counts
532 → 2
Alt Table
StatusErrorProgram
31.4b
(-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4)))
14.5b
(/.f64 (-.f64 x (+.f64 2 x)) (fma.f64 x x -1))
Compiler

Compiled 23067 to 19150 computations (17% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x (+.f64 2 x)) (fma.f64 x x -1))
2.7b
(-.f64 x (+.f64 2 x))

series7.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

5.0ms
(/.f64 (-.f64 x (+.f64 2 x)) (fma.f64 x x -1))
1.0ms
(-.f64 x (+.f64 2 x))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity_binary64
32×add-sqr-sqrt_binary64
22×add-cube-cbrt_binary64
18×times-frac_binary64
12×prod-diff_binary64
Counts
2 → 81
Calls

2 calls:

7.0ms
(/.f64 (-.f64 x (+.f64 2 x)) (fma.f64 x x -1))
5.0ms
(-.f64 x (+.f64 2 x))

simplify74.0ms (1.5%)

Algorithm
egg-herbie
Rules
512×fma-def_binary64
468×associate-*r*_binary64
325×distribute-rgt-in_binary64
280×distribute-lft-in_binary64
260×div-sub_binary64
Counts
105 → 127
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01561716
13711547
211431129
344081129
448771129

prune98.0ms (2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1243127
Fresh101
Picked101
Done000
Total1263129
Error
0.2b
Counts
129 → 3
Alt Table
StatusErrorProgram
0.2b
(/.f64 -2 (fma.f64 x x -1))
31.5b
(/.f64 (/.f64 -2 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
1.4b
(*.f64 (/.f64 (*.f64 (cbrt.f64 -2) (cbrt.f64 -2)) (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))) (/.f64 (cbrt.f64 -2) (cbrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 2427 to 1673 computations (31.1% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(/.f64 -2 (fma.f64 x x -1))

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(/.f64 -2 (fma.f64 x x -1))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 29
Calls

1 calls:

2.0ms
(/.f64 -2 (fma.f64 x x -1))

simplify63.0ms (1.3%)

Algorithm
egg-herbie
Rules
741×fma-def_binary64
662×fma-neg_binary64
373×unswap-sqr_binary64
363×associate-*l*_binary64
341×associate-/r*_binary64
Counts
41 → 48
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
089680
1194628
2483625
31288622
44089622
55299622

prune28.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New48048
Fresh022
Picked011
Done000
Total48351
Error
0.2b
Counts
51 → 3
Alt Table
StatusErrorProgram
0.2b
(/.f64 -2 (fma.f64 x x -1))
31.5b
(/.f64 (/.f64 -2 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
1.4b
(*.f64 (/.f64 (*.f64 (cbrt.f64 -2) (cbrt.f64 -2)) (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))) (/.f64 (cbrt.f64 -2) (cbrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 719 to 549 computations (23.6% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))
1.0b
(cbrt.f64 -2)
1.3b
(/.f64 (*.f64 (cbrt.f64 -2) (cbrt.f64 -2)) (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1))))
15.2b
(cbrt.f64 (fma.f64 x x -1))

series64.0ms (1.3%)

Counts
4 → 36
Calls

4 calls:

48.0ms
(/.f64 (*.f64 (cbrt.f64 -2) (cbrt.f64 -2)) (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1))))
8.0ms
(cbrt.f64 (fma.f64 x x -1))
7.0ms
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))
0.0ms
(cbrt.f64 -2)

rewrite20.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
22×cbrt-prod_binary64
18×add-exp-log_binary64
14×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
Counts
4 → 91
Calls

4 calls:

7.0ms
(/.f64 (*.f64 (cbrt.f64 -2) (cbrt.f64 -2)) (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1))))
5.0ms
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))
2.0ms
(cbrt.f64 (fma.f64 x x -1))
1.0ms
(cbrt.f64 -2)

simplify139.0ms (2.9%)

Algorithm
egg-herbie
Rules
727×times-frac_binary64
520×fma-def_binary64
314×associate-/r*_binary64
232×associate-/l*_binary64
189×cancel-sign-sub-inv_binary64
Counts
127 → 168
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01932922
14692468
214382240
343312211
449542211
549992211
649252211

prune276.0ms (5.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2591260
Fresh011
Picked011
Done011
Total2594263
Error
0.2b
Counts
263 → 4
Alt Table
StatusErrorProgram
0.2b
(/.f64 -2 (fma.f64 x x -1))
31.5b
(/.f64 (/.f64 -2 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
1.5b
(*.f64 (/.f64 (*.f64 (cbrt.f64 -2) (cbrt.f64 -2)) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 6)) (cbrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 6))) (cbrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 6)))) (/.f64 (cbrt.f64 -2) (cbrt.f64 (fma.f64 x x -1))))
1.4b
(*.f64 (/.f64 (*.f64 (cbrt.f64 -2) (cbrt.f64 -2)) (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))) (/.f64 (cbrt.f64 -2) (cbrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 8622 to 6892 computations (20.1% saved)

regimes83.0ms (1.7%)

Accuracy

Total 0.0b remaining (12%)

Threshold costs 0.0b (12%)

Counts
43 → 1
Compiler

Compiled 1442 to 1160 computations (19.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
168

end92.0ms (1.9%)

Compiler

Compiled 107 to 83 computations (22.4% saved)

Profiling

Loading profile data...