Details

Time bar (total: 7.7s)

analyze127.0ms (1.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%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 15 to 11 computations (26.7% saved)

sample57.0ms (0.7%)

Algorithm
intervals
Results
20.0ms64×body1024valid
12.0ms133×body128valid
8.0ms37×body512valid
3.0msbody2048valid
2.0ms15×body256valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

simplify113.0ms (1.5%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
770×fma-def_binary64
322×div-sub_binary64
178×associate-/l*_binary64
150×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
45719
59119
617819
727719
864319
978819
10102419
11126519
12124219
13124819
14124619
15124819
16125019
17126019
18126019
19117119

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
30.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.4b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize13.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite347.0ms (4.5%)

Algorithm
rewrite-expression-head
Rules
1304×*-un-lft-identity_binary64
1000×times-frac_binary64
859×add-sqr-sqrt_binary64
612×prod-diff_binary64
523×add-cube-cbrt_binary64
Counts
2 → 748
Calls

2 calls:

86.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
11.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

series16.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

simplify1.7s (22.7%)

Algorithm
egg-herbie
Rules
552×fma-neg_binary64
418×distribute-rgt-in_binary64
361×unsub-neg_binary64
255×fma-udef_binary64
202×associate-+r-_binary64
Counts
772 → 1534
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
052154026
1123430580
2284822272
3449522270
4471822270

prune1.4s (18.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New153041534
Fresh000
Picked101
Done000
Total153141535
Error
0.0b
Counts
1535 → 4
Alt Table
StatusErrorProgram
30.4b
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
32.5b
(fma.f64 3 x 1)
62.1b
(+.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (neg.f64 (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))
31.1b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
Compiler

Compiled 29165 to 21565 computations (26.1% saved)

localize20.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (/.f64 x (+.f64 x 1)))
0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.0b
(exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))
2.7b
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))

rewrite83.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
108×*-un-lft-identity_binary64
70×exp-prod_binary64
65×times-frac_binary64
46×add-sqr-sqrt_binary64
30×add-cube-cbrt_binary64
Counts
3 → 107
Calls

3 calls:

41.0ms
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
15.0ms
(exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))
12.0ms
(exp.f64 (/.f64 x (+.f64 x 1)))

series27.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

14.0ms
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
6.0ms
(exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(exp.f64 (/.f64 x (+.f64 x 1)))

simplify240.0ms (3.1%)

Algorithm
egg-herbie
Rules
798×fma-neg_binary64
423×times-frac_binary64
373×fma-def_binary64
256×cancel-sign-sub-inv_binary64
214×associate-/l/_binary64
Counts
143 → 264
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02322510
14692367
211212258
327402242
447482232
551022232

prune367.0ms (4.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3961397
Fresh123
Picked011
Done000
Total3974401
Error
0.0b
Counts
401 → 4
Alt Table
StatusErrorProgram
30.4b
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
32.5b
(fma.f64 3 x 1)
62.1b
(+.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (neg.f64 (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))
31.1b
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))
Compiler

Compiled 6852 to 5191 computations (24.2% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 -1 (pow.f64 x 4))
0.1b
(fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x))
0.2b
(/.f64 1 (*.f64 x x))
10.3b
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))

rewrite40.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity_binary64
24×times-frac_binary64
23×add-sqr-sqrt_binary64
23×add-cube-cbrt_binary64
20×add-exp-log_binary64
Counts
4 → 109
Calls

4 calls:

16.0ms
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))
6.0ms
(/.f64 1 (*.f64 x x))
6.0ms
(/.f64 -1 (pow.f64 x 4))
1.0ms
(fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x))

series71.0ms (0.9%)

Counts
4 → 36
Calls

4 calls:

40.0ms
(/.f64 -1 (pow.f64 x 4))
12.0ms
(/.f64 1 (*.f64 x x))
12.0ms
(fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x))
8.0ms
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))

simplify188.0ms (2.5%)

Algorithm
egg-herbie
Rules
918×fma-neg_binary64
349×times-frac_binary64
282×associate-/r*_binary64
268×associate-*l*_binary64
265×fma-def_binary64
Counts
145 → 251
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01732367
13452153
29422026
341221992
449391992

prune217.0ms (2.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2510251
Fresh022
Picked011
Done011
Total2514255
Error
0.0b
Counts
255 → 4
Alt Table
StatusErrorProgram
30.4b
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
32.5b
(fma.f64 3 x 1)
62.1b
(+.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (neg.f64 (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))
31.1b
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))
Compiler

Compiled 4490 to 3314 computations (26.2% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 3 x 1)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

1.0ms
(fma.f64 3 x 1)

series10.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

10.0ms
(fma.f64 3 x 1)

simplify106.0ms (1.4%)

Algorithm
egg-herbie
Rules
483×associate-+l+_binary64
481×associate-*l/_binary64
464×unswap-sqr_binary64
402×distribute-rgt-out_binary64
368×fma-def_binary64
Counts
22 → 33
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
016142
121130
244130
3102130
4266130
5932130
61828130
72069130
82367130
94354130
105116130

prune25.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New33033
Fresh011
Picked011
Done022
Total33437
Error
0.0b
Counts
37 → 4
Alt Table
StatusErrorProgram
30.4b
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
32.5b
(fma.f64 3 x 1)
62.1b
(+.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (neg.f64 (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))
31.1b
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))
Compiler

Compiled 215 to 171 computations (20.5% saved)

regimes482.0ms (6.3%)

Accuracy

Total 0.1b remaining (76.4%)

Threshold costs 0.1b (76.4%)

Compiler

Compiled 6242 to 4642 computations (25.6% saved)

bsearch10.0ms (0.1%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02777
13777
24377
35077
45677
55977
66077
75877

end2.0ms (0%)

Compiler

Compiled 52 to 39 computations (25% saved)

sample1.9s (24.7%)

Algorithm
intervals
Results
636.0ms2028×body1024valid
330.0ms4215×body128valid
237.0ms1048×body512valid
84.0ms221×body2048valid
75.0ms488×body256valid
Compiler

Compiled 173 to 132 computations (23.7% saved)

Profiling

Loading profile data...