Details

Time bar (total: 4.7s)

analyze54.0ms (1.2%)

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)

sample87.0ms (1.9%)

Algorithm
intervals
Symmetry

(sort a x)

Results
16.0ms44×body2048valid
8.0ms50×body1024valid
3.0ms108×body128valid
3.0ms32×body512valid
2.0ms22×body256valid
0.0msbody128invalid
Compiler

Compiled 19 to 15 computations (21.1% saved)

simplify71.0ms (1.5%)

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

prune4.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))
28.0b
(-.f64 (exp.f64 (*.f64 a x)) 1)
Compiler

Compiled 40 to 27 computations (32.5% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

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

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

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

simplify79.0ms (1.7%)

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 → 19
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
040382
196369
2262363
3966347
42376333
53696333
64842333
75375333

prune13.0ms (0.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New17219
Fresh011
Picked011
Done000
Total17421
Error
0.0b
Counts
21 → 4
Alt Table
StatusErrorProgram
0.7b
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
15.1b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
0.0b
(expm1.f64 (*.f64 a x))
28.0b
(-.f64 (exp.f64 (*.f64 a x)) 1)
Compiler

Compiled 299 to 147 computations (50.8% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
0.2b
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
0.3b
(*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
9.4b
(cbrt.f64 (expm1.f64 (*.f64 a x)))

series1.1s (23.7%)

Counts
3 → 72
Calls

3 calls:

597.0ms
(*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
502.0ms
(cbrt.f64 (expm1.f64 (*.f64 a x)))
7.0ms
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x))))

rewrite26.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
24×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
16×pow1/3_binary64
14×*-un-lft-identity_binary64
Counts
3 → 93
Calls

3 calls:

7.0ms
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
5.0ms
(*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
1.0ms
(cbrt.f64 (expm1.f64 (*.f64 a x)))

simplify143.0ms (3.1%)

Algorithm
egg-herbie
Rules
739×fma-def_binary64
437×*-commutative_binary64
358×distribute-rgt-in_binary64
343×distribute-lft-in_binary64
260×unswap-sqr_binary64
Counts
165 → 151
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01682948
14092621
211542203
326372016
448491965
549621965
649321965

prune130.0ms (2.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2651266
Fresh022
Picked101
Done011
Total2664270
Error
0b
Counts
270 → 4
Alt Table
StatusErrorProgram
0.7b
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))
15.1b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
0.0b
(expm1.f64 (*.f64 a x))
28.0b
(-.f64 (exp.f64 (*.f64 a x)) 1)
Compiler

Compiled 6873 to 1931 computations (71.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))
0.2b
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))
0.3b
(*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
9.4b
(cbrt.f64 (expm1.f64 (*.f64 a x)))

series1.1s (23.6%)

Counts
2 → 48
Calls

2 calls:

1.1s
(log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))
7.0ms
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64
pow1_binary64
add-cbrt-cube_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
Counts
2 → 32
Calls

2 calls:

6.0ms
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))
0.0ms
(log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))

simplify60.0ms (1.3%)

Algorithm
egg-herbie
Rules
798×times-frac_binary64
585×associate-/l*_binary64
363×associate-/r*_binary64
264×fma-def_binary64
239×unswap-sqr_binary64
Counts
80 → 64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01492539
14091869
212081654
349681654

prune122.0ms (2.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2220222
Fresh022
Picked011
Done011
Total2224226
Error
0b
Counts
226 → 4
Alt Table
StatusErrorProgram
0.7b
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))
15.1b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
0.0b
(expm1.f64 (*.f64 a x))
28.0b
(-.f64 (exp.f64 (*.f64 a x)) 1)
Compiler

Compiled 7144 to 2275 computations (68.2% saved)

localize5.0ms (0.1%)

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)
15.1b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))

series28.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

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

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

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

simplify85.0ms (1.8%)

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 → 70
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0941262
12021199
26291177
330981171
447911171
549621171

prune48.0ms (1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done022
Total89493
Error
0b
Counts
93 → 4
Alt Table
StatusErrorProgram
0.7b
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (log1p.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))))))
15.1b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
0.0b
(expm1.f64 (*.f64 a x))
28.0b
(-.f64 (exp.f64 (*.f64 a x)) 1)
Compiler

Compiled 1321 to 700 computations (47% saved)

regimes47.0ms (1%)

Accuracy

Total 0.0b remaining (28.5%)

Threshold costs 0.0b (28.5%)

Counts
10 → 1
Compiler

Compiled 750 to 419 computations (44.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end5.0ms (0.1%)

Remove

(sort a x)

Compiler

Compiled 18 to 12 computations (33.3% saved)

sample1.4s (30.3%)

Algorithm
intervals
Results
485.0ms1435×body2048valid
320.0ms1807×body1024valid
130.0ms1060×body512valid
123.0ms3075×body128valid
46.0ms623×body256valid
5.0ms140×body128invalid
Compiler

Compiled 61 to 39 computations (36.1% saved)

Profiling

Loading profile data...