Details

Time bar (total: 7.2s)

analyze182.0ms (2.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%31.2%6.3%6
68.7%21.9%9.5%7
68.7%17.2%14.1%8
71.8%11.7%16.5%9
71.8%9%19.2%10
73.4%6%20.6%11
73.4%4.6%22%12
74.1%3.1%22.8%13
74.1%2.3%23.5%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample90.0ms (1.2%)

Algorithm
intervals
Results
29.0ms49×body2048valid
21.0ms53×body1024valid
6.0ms36×body512valid
5.0ms94×body128valid
3.0ms24×body256valid
0.0msbody128invalid
Compiler

Compiled 19 to 15 computations (21.1% saved)

simplify93.0ms (1.3%)

Algorithm
egg-herbie
Rules
571×fma-neg_binary64
455×*-commutative_binary64
440×unswap-sqr_binary64
344×associate-*l*_binary64
274×associate-+l+_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076
1166
2236
3356
4706
51606
64326
715646
834906
949546
1049936
1148746

prune6.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
30.2b
(-.f64 (exp.f64 (*.f64 a x)) 1)
Compiler

Compiled 40 to 27 computations (32.5% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
1 → 11
Calls

1 calls:

1.0ms
(expm1.f64 (*.f64 a x))

series11.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

11.0ms
(expm1.f64 (*.f64 a x))

simplify105.0ms (1.5%)

Algorithm
egg-herbie
Rules
910×fma-def_binary64
844×distribute-lft-out_binary64
785×fma-neg_binary64
383×*-commutative_binary64
308×unswap-sqr_binary64
Counts
35 → 59
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
040382
196369
2262363
3966347
42376333
53696333
64842333
75375333

prune21.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New58159
Fresh011
Picked011
Done000
Total58361
Error
0.0b
Counts
61 → 3
Alt Table
StatusErrorProgram
17.8b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
0.0b
(expm1.f64 (*.f64 a x))
30.2b
(-.f64 (exp.f64 (*.f64 a x)) 1)
Compiler

Compiled 261 to 133 computations (49% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
0.2b
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
17.8b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
cube-prod_binary64
Counts
2 → 48
Calls

2 calls:

3.0ms
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
3.0ms
(pow.f64 (expm1.f64 (*.f64 a x)) 3)

series67.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

57.0ms
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
10.0ms
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))

simplify160.0ms (2.2%)

Algorithm
egg-herbie
Rules
674×associate-*l*_binary64
587×associate-*r*_binary64
337×log-prod_binary64
288×fma-def_binary64
278×exp-prod_binary64
Counts
96 → 176
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0941262
12021199
26291177
330981171
447911171
549621171

prune80.0ms (1.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2341235
Fresh101
Picked011
Done011
Total2353238
Error
0.0b
Counts
238 → 3
Alt Table
StatusErrorProgram
17.8b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
44.0b
(pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 1/3)
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 1256 to 673 computations (46.4% saved)

localize13.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
0.2b
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
25.0b
(pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 1/3)

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×unpow-prod-down_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
pow-exp_binary64
Counts
1 → 31
Calls

1 calls:

5.0ms
(pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 1/3)

series1.2s (16.3%)

Counts
1 → 24
Calls

1 calls:

1.2s
(pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3) 1/3)

simplify122.0ms (1.7%)

Algorithm
egg-herbie
Rules
746×distribute-rgt-in_binary64
551×associate-*l*_binary64
462×associate-*r*_binary64
447×log-prod_binary64
296×fma-def_binary64
Counts
55 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01141018
1230903
2648619
32618591
45595591

prune99.0ms (1.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3092311
Fresh000
Picked101
Done022
Total3104314
Error
0.0b
Counts
314 → 4
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
50.8b
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) 1/3)
17.8b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
38.8b
(*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2/3) (cbrt.f64 (expm1.f64 (*.f64 a x))))
Compiler

Compiled 1746 to 1044 computations (40.2% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
0.1b
(*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2/3) (cbrt.f64 (expm1.f64 (*.f64 a x))))
10.2b
(pow.f64 (expm1.f64 (*.f64 a x)) 2/3)
10.3b
(cbrt.f64 (expm1.f64 (*.f64 a x)))

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
10×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
cbrt-prod_binary64
add-exp-log_binary64
Counts
3 → 66
Calls

3 calls:

10.0ms
(*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2/3) (cbrt.f64 (expm1.f64 (*.f64 a x))))
3.0ms
(pow.f64 (expm1.f64 (*.f64 a x)) 2/3)
1.0ms
(cbrt.f64 (expm1.f64 (*.f64 a x)))

series1.8s (24.8%)

Counts
3 → 72
Calls

3 calls:

1.2s
(pow.f64 (expm1.f64 (*.f64 a x)) 2/3)
606.0ms
(cbrt.f64 (expm1.f64 (*.f64 a x)))
11.0ms
(*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2/3) (cbrt.f64 (expm1.f64 (*.f64 a x))))

simplify274.0ms (3.8%)

Algorithm
egg-herbie
Rules
572×fma-def_binary64
437×distribute-rgt-in_binary64
429×distribute-lft-in_binary64
398×*-commutative_binary64
232×unswap-sqr_binary64
Counts
138 → 254
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01532314
13702252
210441905
324761793
448391765
549781765
649701765
748901765

prune175.0ms (2.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4891490
Fresh011
Picked101
Done022
Total4904494
Error
0.0b
Counts
494 → 4
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
50.8b
(pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 3) 1/3)
38.8b
(*.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2/3) (*.f64 (sqrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))) (sqrt.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))
17.8b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
Compiler

Compiled 2918 to 1132 computations (61.2% saved)

regimes125.0ms (1.7%)

Accuracy

Total 0.0b remaining (37.9%)

Threshold costs 0.0b (37.9%)

Compiler

Compiled 810 to 514 computations (36.5% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end11.0ms (0.2%)

Remove

(sort a x)

Compiler

Compiled 18 to 12 computations (33.3% saved)

sample2.5s (35.1%)

Algorithm
intervals
Results
893.0ms1455×body2048valid
568.0ms1727×body1024valid
231.0ms3070×body128valid
210.0ms1093×body512valid
76.0ms655×body256valid
7.0ms128×body128invalid
Compiler

Compiled 66 to 44 computations (33.3% saved)

Profiling

Loading profile data...