Details

Time bar (total: 3.3s)

analyze60.0ms (1.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)

sample2.0s (61%)

Symmetry

(sort a x)

Results
756.0ms1496×body2048valid
570.0ms1800×body1024valid
273.0ms3123×body128valid
258.0ms1174×body512valid
109.0ms663×body256valid
12.0ms135×body128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify77.0ms (2.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.2%)

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)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.2%)

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

simplify67.0ms (2%)

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

prune9.0ms (0.3%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New18119
Fresh000
Picked101
Done000
Total19120
Error
0.0b
Counts
20 → 1
Alt Table
StatusErrorProgram
0.0b
(log1p.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))
Compiler

Compiled 237 to 115 computations (51.5% saved)

localize5.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series20.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

10.0ms
(expm1.f64 (expm1.f64 (*.f64 a x)))
9.0ms
(log1p.f64 (expm1.f64 (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
2 → 22
Calls

2 calls:

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

simplify77.0ms (2.3%)

Algorithm
egg-herbie
Rules
591×distribute-rgt-in_binary64
563×*-commutative_binary64
525×distribute-lft-in_binary64
499×fma-neg_binary64
308×unswap-sqr_binary64
Counts
70 → 44
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
063806
1143776
2398764
31490756
42768728
54828728
65151728

prune29.0ms (0.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New61263
Fresh000
Picked011
Done000
Total61364
Error
0.0b
Counts
64 → 3
Alt Table
StatusErrorProgram
37.6b
(log1p.f64 (*.f64 (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x)))) (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))))
0.0b
(log1p.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))
22.6b
(log1p.f64 (cbrt.f64 (*.f64 (*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (expm1.f64 (*.f64 a x))))))
Compiler

Compiled 898 to 382 computations (57.5% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
0.1b
(*.f64 (*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (expm1.f64 (*.f64 a x))))
0.1b
(*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x))))
22.3b
(cbrt.f64 (*.f64 (*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (expm1.f64 (*.f64 a x)))))

series56.0ms (1.7%)

Counts
3 → 72
Calls

3 calls:

29.0ms
(*.f64 (*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (expm1.f64 (*.f64 a x))))
17.0ms
(*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x))))
10.0ms
(cbrt.f64 (*.f64 (*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (expm1.f64 (*.f64 a x)))))

rewrite13.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
13×add-cbrt-cube_binary64
11×add-sqr-sqrt_binary64
10×add-exp-log_binary64
*-un-lft-identity_binary64
Counts
3 → 70
Calls

3 calls:

4.0ms
(*.f64 (*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (expm1.f64 (*.f64 a x))))
3.0ms
(cbrt.f64 (*.f64 (*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (expm1.f64 (*.f64 a x)))))
3.0ms
(*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x))))

simplify119.0ms (3.6%)

Algorithm
egg-herbie
Rules
688×unswap-sqr_binary64
424×fma-def_binary64
258×fma-neg_binary64
239×*-commutative_binary64
221×exp-prod_binary64
Counts
142 → 112
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01082141
12571924
28001894
321361834
440571753
547521753
649201753

prune82.0ms (2.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1690169
Fresh011
Picked011
Done011
Total1693172
Error
0.0b
Counts
172 → 3
Alt Table
StatusErrorProgram
37.6b
(log1p.f64 (*.f64 (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x)))) (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))))
0.0b
(log1p.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))
22.6b
(log1p.f64 (cbrt.f64 (*.f64 (*.f64 (expm1.f64 (expm1.f64 (*.f64 a x))) (expm1.f64 (expm1.f64 (*.f64 a x)))) (expm1.f64 (expm1.f64 (*.f64 a x))))))
Compiler

Compiled 4155 to 1320 computations (68.2% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (expm1.f64 (*.f64 a x)))
0.0b
(expm1.f64 (*.f64 a x))
0.1b
(*.f64 (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x)))) (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x)))))
8.3b
(sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))

series38.0ms (1.1%)

Counts
2 → 40
Calls

2 calls:

28.0ms
(sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))
10.0ms
(*.f64 (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x)))) (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 a x)))))

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

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

simplify73.0ms (2.2%)

Algorithm
egg-herbie
Rules
961×fma-def_binary64
522×distribute-lft-out_binary64
475×*-commutative_binary64
358×unswap-sqr_binary64
322×associate-*l*_binary64
Counts
108 → 85
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0781443
11511362
24141323
314441251
436341157
551071157

prune94.0ms (2.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1811182
Fresh000
Picked101
Done112
Total1832185
Error
0.0b
Counts
185 → 2
Alt Table
StatusErrorProgram
0.0b
(log1p.f64 (expm1.f64 (expm1.f64 (*.f64 a x))))
19.2b
(log1p.f64 (fma.f64 a (*.f64 (fma.f64 a x 1) x) (fma.f64 5/6 (pow.f64 (*.f64 a x) 3) (*.f64 5/8 (pow.f64 (*.f64 a x) 4)))))
Compiler

Compiled 3624 to 1015 computations (72% saved)

regimes386.0ms (11.5%)

Accuracy

Total 0.0b remaining (12.1%)

Threshold costs 0.0b (12.1%)

Counts
80 → 1
Compiler

Compiled 6710 to 4209 computations (37.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1810
2810

end53.0ms (1.6%)

Remove

(sort a x)

Compiler

Compiled 65 to 46 computations (29.2% saved)

Profiling

Loading profile data...