Details

Time bar (total: 3.9s)

analyze109.0ms (2.8%)

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)

sample29.0ms (0.7%)

Algorithm
intervals
Results
10.0ms64×body1024valid
6.0ms133×body128valid
4.0ms37×body512valid
1.0msbody2048valid
1.0ms15×body256valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

simplify92.0ms (2.3%)

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

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

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

rewrite155.0ms (3.9%)

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:

46.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

series7.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

simplify837.0ms (21.3%)

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

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

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

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

20.0ms
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
8.0ms
(exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))
4.0ms
(exp.f64 (/.f64 x (+.f64 x 1)))

series14.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

7.0ms
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
3.0ms
(exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))
3.0ms
(exp.f64 (/.f64 x (+.f64 x 1)))

simplify126.0ms (3.2%)

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

prune180.0ms (4.6%)

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)

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

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

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

series33.0ms (0.8%)

Counts
4 → 36
Calls

4 calls:

15.0ms
(/.f64 -1 (pow.f64 x 4))
7.0ms
(/.f64 1 (*.f64 x x))
7.0ms
(fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x))
4.0ms
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))

simplify105.0ms (2.7%)

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

prune113.0ms (2.9%)

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)

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

0.0ms
(fma.f64 3 x 1)

series5.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

5.0ms
(fma.f64 3 x 1)

simplify76.0ms (1.9%)

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

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

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

bsearch5.0ms (0.1%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify5.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
02978
13978
24978
35878
46578
56878
66978
76678

end1.0ms (0%)

Compiler

Compiled 53 to 40 computations (24.5% saved)

sample1.0s (26.2%)

Algorithm
intervals
Results
337.0ms2028×body1024valid
184.0ms4215×body128valid
127.0ms1048×body512valid
41.0ms488×body256valid
41.0ms221×body2048valid
Compiler

Compiled 174 to 133 computations (23.6% saved)

Profiling

Loading profile data...