Details

Time bar (total: 5.0s)

analyze142.0ms (2.8%)

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)

sample93.0ms (1.8%)

Algorithm
intervals
Results
38.0ms64×body2048valid
17.0ms50×body1024valid
6.0ms31×body512valid
5.0ms90×body128valid
2.0ms21×body256valid
0.0msbody128invalid
Compiler

Compiled 19 to 15 computations (21.1% saved)

simplify123.0ms (2.4%)

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

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 24 to 15 computations (37.5% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

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

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

simplify115.0ms (2.3%)

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

prune20.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New17219
Fresh000
Picked011
Done000
Total17320
Error
0.0b
Counts
20 → 3
Alt Table
StatusErrorProgram
27.7b
(log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))
0.0b
(expm1.f64 (*.f64 a x))
35.0b
(exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))
Compiler

Compiled 259 to 131 computations (49.4% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (expm1.f64 (*.f64 a x)))
0.0b
(expm1.f64 (*.f64 a x))
4.2b
(log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))

series31.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

18.0ms
(exp.f64 (expm1.f64 (*.f64 a x)))
12.0ms
(log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
exp-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
log-pow_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))
2.0ms
(exp.f64 (expm1.f64 (*.f64 a x)))

simplify178.0ms (3.6%)

Algorithm
egg-herbie
Rules
828×fma-neg_binary64
492×*-commutative_binary64
308×unswap-sqr_binary64
230×associate-*l*_binary64
214×fma-def_binary64
Counts
80 → 61
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
075873
1150832
2389818
31394814
42468794
53637794
64918794
75097794

prune63.0ms (1.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh011
Picked011
Done011
Total80383
Error
0.0b
Counts
83 → 3
Alt Table
StatusErrorProgram
27.7b
(log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))
0.0b
(expm1.f64 (*.f64 a x))
35.0b
(exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))
Compiler

Compiled 1002 to 392 computations (60.9% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
1.4b
(exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))
12.9b
(log.f64 (expm1.f64 (*.f64 a x)))

series780.0ms (15.6%)

Counts
2 → 48
Calls

2 calls:

768.0ms
(log.f64 (expm1.f64 (*.f64 a x)))
12.0ms
(exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
log-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
exp-prod_binary64
Counts
2 → 31
Calls

2 calls:

3.0ms
(log.f64 (expm1.f64 (*.f64 a x)))
3.0ms
(exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))

simplify160.0ms (3.2%)

Algorithm
egg-herbie
Rules
843×fma-neg_binary64
513×*-commutative_binary64
379×distribute-rgt-neg-in_binary64
370×cancel-sign-sub-inv_binary64
362×distribute-lft-neg-in_binary64
Counts
79 → 56
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
078972
1162921
2425911
31545891
43112871
54905871
65066871

prune69.0ms (1.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New74175
Fresh000
Picked101
Done022
Total75378
Error
0.0b
Counts
78 → 3
Alt Table
StatusErrorProgram
27.7b
(log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))
42.2b
(cbrt.f64 (*.f64 (*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 1031 to 405 computations (60.7% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))))
1.4b
(exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))
8.2b
(cbrt.f64 (*.f64 (*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))))
12.9b
(log.f64 (expm1.f64 (*.f64 a x)))

series39.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

25.0ms
(*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))))
14.0ms
(cbrt.f64 (*.f64 (*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))))

rewrite58.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
36×exp-prod_binary64
24×add-sqr-sqrt_binary64
22×*-un-lft-identity_binary64
21×pow1_binary64
16×exp-sum_binary64
Counts
2 → 69
Calls

2 calls:

28.0ms
(cbrt.f64 (*.f64 (*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))))
15.0ms
(*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))))

simplify183.0ms (3.7%)

Algorithm
egg-herbie
Rules
632×unswap-sqr_binary64
435×associate-*l*_binary64
365×associate-*r*_binary64
350×prod-exp_binary64
305×fma-def_binary64
Counts
117 → 103
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01181738
12301453
26281337
321831289
447781289
549721289

prune225.0ms (4.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2701271
Fresh000
Picked011
Done022
Total2704274
Error
0.0b
Counts
274 → 4
Alt Table
StatusErrorProgram
27.7b
(log.f64 (exp.f64 (expm1.f64 (*.f64 a x))))
42.2b
(cbrt.f64 (*.f64 (*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (pow.f64 (E.f64) (log.f64 (expm1.f64 (*.f64 a x))))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))))
42.2b
(cbrt.f64 (*.f64 (*.f64 (exp.f64 (log.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))) (exp.f64 (log.f64 (expm1.f64 (*.f64 a x))))))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 7343 to 1635 computations (77.7% saved)

regimes276.0ms (5.5%)

Accuracy

Total 0.0b remaining (16.8%)

Threshold costs 0.0b (16.8%)

Counts
27 → 1
Compiler

Compiled 2117 to 1280 computations (39.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end12.0ms (0.2%)

Remove

(sort a x)

Compiler

Compiled 18 to 12 computations (33.3% saved)

sample2.4s (47.1%)

Algorithm
intervals
Results
879.0ms1429×body2048valid
539.0ms1678×body1024valid
204.0ms1127×body512valid
162.0ms3121×body128valid
73.0ms645×body256valid
7.0ms132×body128invalid
Compiler

Compiled 78 to 43 computations (44.9% saved)

Profiling

Loading profile data...