Details

Time bar (total: 6.7s)

analyze58.0ms (0.9%)

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.3%)

Algorithm
intervals
Symmetry

(sort a x)

Results
13.0ms39×body2048valid
8.0ms51×body1024valid
3.0ms35×body512valid
3.0ms106×body128valid
2.0ms25×body256valid
0.0msbody128invalid
Compiler

Compiled 19 to 15 computations (21.1% saved)

simplify73.0ms (1.1%)

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

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

localize3.0ms (0%)

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

simplify66.0ms (1%)

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

prune11.0ms (0.2%)

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

Compiled 283 to 135 computations (52.3% saved)

localize8.0ms (0.1%)

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

series1.1s (16%)

Counts
3 → 72
Calls

3 calls:

610.0ms
(*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
449.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))))

rewrite17.0ms (0.3%)

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

simplify129.0ms (1.9%)

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

prune126.0ms (1.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2642266
Fresh101
Picked101
Done011
Total2663269
Error
0.0b
Counts
269 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))) (cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))))) (cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
22.7b
(fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 6913 to 1923 computations (72.2% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
0.3b
(*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))) (cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))))
1.2b
(cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))))
8.3b
(cbrt.f64 (expm1.f64 (*.f64 a x)))

series1.3s (20.3%)

Counts
2 → 48
Calls

2 calls:

681.0ms
(cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))))
669.0ms
(*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))) (cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x))))))

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
cbrt-prod_binary64
pow1_binary64
pow1/3_binary64
*-un-lft-identity_binary64
Counts
2 → 47
Calls

2 calls:

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

simplify156.0ms (2.3%)

Algorithm
egg-herbie
Rules
597×unswap-sqr_binary64
487×fma-def_binary64
411×*-commutative_binary64
228×sqr-pow_binary64
200×exp-prod_binary64
Counts
95 → 96
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01542978
13312820
28712214
319122146
435551620
546801600
649591600
749071600

prune417.0ms (6.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New5751576
Fresh011
Picked101
Done011
Total5763579
Error
0.0b
Counts
579 → 3
Alt Table
StatusErrorProgram
22.7b
(fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2))
0.0b
(expm1.f64 (*.f64 a x))
1.0b
(*.f64 (*.f64 (expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)) 2))) (cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
Compiler

Compiled 31355 to 6253 computations (80.1% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)) 2)
1.2b
(cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))
1.2b
(cbrt.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))))
8.3b
(cbrt.f64 (expm1.f64 (*.f64 a x)))

series1.2s (18.6%)

Counts
2 → 48
Calls

2 calls:

636.0ms
(pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)) 2)
599.0ms
(cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod_binary64
26×unpow-prod-down_binary64
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
Counts
2 → 53
Calls

2 calls:

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

simplify120.0ms (1.8%)

Algorithm
egg-herbie
Rules
654×distribute-lft-out_binary64
585×fma-def_binary64
317×*-commutative_binary64
274×sqr-pow_binary64
228×distribute-rgt-out_binary64
Counts
101 → 94
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01752520
13782384
29241988
322071904
433861794
547831764
649471764

prune238.0ms (3.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2411242
Fresh011
Picked101
Done011
Total2423245
Error
0.0b
Counts
245 → 3
Alt Table
StatusErrorProgram
1.8b
(*.f64 (*.f64 (expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2)) 2))) (exp.f64 (log.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) 2))))) (cbrt.f64 (expm1.f64 (*.f64 a x))))
22.7b
(fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 10605 to 4354 computations (58.9% saved)

regimes87.0ms (1.3%)

Accuracy

Total 0.0b remaining (35.4%)

Threshold costs 0.0b (35.4%)

Counts
16 → 1
Compiler

Compiled 2130 to 889 computations (58.3% 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.3s (20.2%)

Algorithm
intervals
Results
505.0ms1454×body2048valid
291.0ms1757×body1024valid
119.0ms1099×body512valid
100.0ms3083×body128valid
46.0ms607×body256valid
5.0ms160×body128invalid
Compiler

Compiled 66 to 44 computations (33.3% saved)

Profiling

Loading profile data...