Details

Time bar (total: 4.4s)

analyze6.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample41.0ms (0.9%)

Algorithm
intervals
Results
7.0ms65×body512valid
5.0ms144×body128valid
2.0ms17×body1024valid
2.0ms30×body256valid
Compiler

Compiled 26 to 22 computations (15.4% saved)

simplify12.0ms (0.3%)

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.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 47 to 39 computations (17% saved)

localize6.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))
2.9b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

series10.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite161.0ms (3.6%)

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:

33.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))

simplify605.0ms (13.7%)

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

prune555.0ms (12.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New5292531
Fresh000
Picked011
Done000
Total5293532
Error
0.7b
Counts
532 → 3
Alt Table
StatusErrorProgram
14.1b
(/.f64 (-.f64 x (+.f64 2 x)) (fma.f64 x x -1))
33.1b
(-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4)))
14.4b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 23079 to 19160 computations (17% saved)

localize5.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))

series4.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.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:

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

simplify729.0ms (16.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

prune91.0ms (2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1234127
Fresh101
Picked101
Done101
Total1264130
Error
0.6b
Counts
130 → 4
Alt Table
StatusErrorProgram
33.0b
(/.f64 (/.f64 -2 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
0.9b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))) (/.f64 -2 (cbrt.f64 (fma.f64 x x -1))))
1.8b
(*.f64 (*.f64 (cbrt.f64 (/.f64 -2 (fma.f64 x x -1))) (cbrt.f64 (/.f64 -2 (fma.f64 x x -1)))) (cbrt.f64 (/.f64 -2 (fma.f64 x x -1))))
10.3b
(cbrt.f64 (pow.f64 (/.f64 -2 (fma.f64 x x -1)) 3))
Compiler

Compiled 2471 to 1705 computations (31% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 -2 (cbrt.f64 (fma.f64 x x -1)))
0.2b
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))
0.8b
(/.f64 1 (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1))))
15.9b
(cbrt.f64 (fma.f64 x x -1))

series37.0ms (0.8%)

Counts
4 → 48
Calls

4 calls:

16.0ms
(/.f64 -2 (cbrt.f64 (fma.f64 x x -1)))
7.0ms
(cbrt.f64 (fma.f64 x x -1))
6.0ms
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1)))
6.0ms
(/.f64 1 (*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1))))

rewrite22.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
31×cbrt-prod_binary64
30×*-un-lft-identity_binary64
30×add-cube-cbrt_binary64
21×times-frac_binary64
Counts
4 → 133
Calls

4 calls:

6.0ms
(/.f64 -2 (cbrt.f64 (fma.f64 x x -1)))
5.0ms
(/.f64 1 (*.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)))
1.0ms
(cbrt.f64 (fma.f64 x x -1))

simplify131.0ms (3%)

Algorithm
egg-herbie
Rules
643×fma-def_binary64
499×associate-*l*_binary64
417×fma-neg_binary64
242×times-frac_binary64
231×cancel-sign-sub-inv_binary64
Counts
181 → 230
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02513566
15813284
216393053
345123042
449953042
549023042

prune291.0ms (6.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2902292
Fresh123
Picked101
Done000
Total2924296
Error
0.6b
Counts
296 → 4
Alt Table
StatusErrorProgram
33.0b
(/.f64 (/.f64 -2 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
0.9b
(*.f64 (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))) (/.f64 -2 (cbrt.f64 (fma.f64 x x -1))))
1.1b
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 6)) (/.f64 -2 (cbrt.f64 (fma.f64 x x -1))))
10.3b
(cbrt.f64 (pow.f64 (/.f64 -2 (fma.f64 x x -1)) 3))
Compiler

Compiled 8360 to 6366 computations (23.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 -2 (cbrt.f64 (fma.f64 x x -1)))
0.1b
(/.f64 1 (cbrt.f64 (fma.f64 x x -1)))
0.2b
(*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))
15.9b
(cbrt.f64 (fma.f64 x x -1))

series14.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

7.0ms
(/.f64 1 (cbrt.f64 (fma.f64 x x -1)))
7.0ms
(*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))

rewrite39.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
139×add-sqr-sqrt_binary64
130×times-frac_binary64
91×*-un-lft-identity_binary64
69×add-cube-cbrt_binary64
68×cbrt-prod_binary64
Counts
2 → 189
Calls

2 calls:

14.0ms
(*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))
3.0ms
(/.f64 1 (cbrt.f64 (fma.f64 x x -1)))

simplify196.0ms (4.4%)

Algorithm
egg-herbie
Rules
465×associate-/l/_binary64
386×times-frac_binary64
356×associate-*l*_binary64
321×unswap-sqr_binary64
306×fma-def_binary64
Counts
213 → 269
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01765398
14004750
29374408
324894262
447154121
549634121
648944121

prune508.0ms (11.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4970497
Fresh033
Picked011
Done000
Total4974501
Error
0.6b
Counts
501 → 4
Alt Table
StatusErrorProgram
33.0b
(/.f64 (/.f64 -2 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
0.9b
(*.f64 (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))) (/.f64 -2 (cbrt.f64 (fma.f64 x x -1))))
1.1b
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 6)) (/.f64 -2 (cbrt.f64 (fma.f64 x x -1))))
10.3b
(cbrt.f64 (pow.f64 (/.f64 -2 (fma.f64 x x -1)) 3))
Compiler

Compiled 16103 to 12479 computations (22.5% saved)

regimes156.0ms (3.5%)

Accuracy

Total 0.0b remaining (5.9%)

Threshold costs 0.0b (5.9%)

Counts
87 → 1
Compiler

Compiled 3182 to 2442 computations (23.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
168

end0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

sample764.0ms (17.3%)

Algorithm
intervals
Results
225.0ms1996×body512valid
173.0ms4581×body128valid
73.0ms1026×body256valid
57.0ms397×body1024valid
Compiler

Compiled 88 to 68 computations (22.7% saved)

Profiling

Loading profile data...