Details

Time bar (total: 6.5s)

analyze1.9s (29.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 53 to 38 computations (28.3% saved)

sample1.3s (19.5%)

Symmetry

(sort a b c d e)

Results
1.2s8256×body128valid
Compiler

Compiled 120 to 85 computations (29.2% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
128×associate-+l+_binary64
99×associate-+r+_binary64
56×+-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
12013
25613
314313
418813
518613
618613

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.4b
(+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a)
Compiler

Compiled 42 to 27 computations (35.7% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(+.f64 (+.f64 e d) c)
0.2b
(+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a)
0.2b
(+.f64 (+.f64 (+.f64 e d) c) b)

series21.0ms (0.3%)

Counts
3 → 144
Calls

3 calls:

8.0ms
(+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a)
8.0ms
(+.f64 (+.f64 (+.f64 e d) c) b)
4.0ms
(+.f64 (+.f64 e d) c)

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity_binary64
31×add-log-exp_binary64
29×distribute-lft-out_binary64
19×sum-log_binary64
15×fma-def_binary64
Counts
3 → 72
Calls

3 calls:

9.0ms
(+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a)
7.0ms
(+.f64 (+.f64 (+.f64 e d) c) b)
6.0ms
(+.f64 (+.f64 e d) c)

simplify89.0ms (1.4%)

Algorithm
egg-herbie
Rules
599×associate-+l+_binary64
542×fma-neg_binary64
494×associate--l+_binary64
363×associate-+r+_binary64
350×fma-def_binary64
Counts
216 → 111
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01032097
12842070
29332052
329562052
446102052
548292052

prune85.0ms (1.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1083111
Fresh000
Picked101
Done000
Total1093112
Error
0b
Counts
112 → 3
Alt Table
StatusErrorProgram
0.5b
(+.f64 (+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b) a)
0.0b
(log.f64 (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b)) (exp.f64 a)))
0.2b
(+.f64 (log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b))) a)
Compiler

Compiled 1704 to 454 computations (73.4% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (exp.f64 e) (exp.f64 d))
0.3b
(*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c))
0.4b
(*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b)) (exp.f64 a))
0.4b
(*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b))

series116.0ms (1.8%)

Counts
4 → 168
Calls

4 calls:

58.0ms
(*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b)) (exp.f64 a))
33.0ms
(*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b))
17.0ms
(*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c))
7.0ms
(*.f64 (exp.f64 e) (exp.f64 d))

rewrite44.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
34×add-cbrt-cube_binary64
34×pow1_binary64
23×*-un-lft-identity_binary64
20×cbrt-unprod_binary64
20×prod-exp_binary64
Counts
4 → 93
Calls

4 calls:

13.0ms
(*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b)) (exp.f64 a))
11.0ms
(*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b))
7.0ms
(*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c))
5.0ms
(*.f64 (exp.f64 e) (exp.f64 d))

simplify165.0ms (2.6%)

Algorithm
egg-herbie
Rules
968×prod-exp_binary64
493×*-commutative_binary64
466×fma-def_binary64
440×associate-+l+_binary64
291×associate-+r+_binary64
Counts
261 → 244
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03475120
110824130
222803920
332033914
443143914
556953914

prune128.0ms (2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2431244
Fresh112
Picked011
Done000
Total2443247
Error
0b
Counts
247 → 3
Alt Table
StatusErrorProgram
0.1b
(log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b)) (exp.f64 a)))
0.5b
(+.f64 (+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b) a)
0.0b
(log.f64 (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b)) (exp.f64 a)))
Compiler

Compiled 5764 to 1663 computations (71.1% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (exp.f64 e) (exp.f64 (+.f64 d c)))
0.4b
(*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b)) (exp.f64 a))
0.4b
(*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b))
1.9b
(exp.f64 (+.f64 d c))

series92.0ms (1.4%)

Counts
4 → 168
Calls

4 calls:

46.0ms
(*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b)) (exp.f64 a))
28.0ms
(*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b))
13.0ms
(*.f64 (exp.f64 e) (exp.f64 (+.f64 d c)))
4.0ms
(exp.f64 (+.f64 d c))

rewrite41.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity_binary64
22×exp-prod_binary64
20×add-cbrt-cube_binary64
20×pow1_binary64
12×pow-prod-up_binary64
Counts
4 → 86
Calls

4 calls:

13.0ms
(*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b)) (exp.f64 a))
9.0ms
(*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b))
7.0ms
(*.f64 (exp.f64 e) (exp.f64 (+.f64 d c)))
3.0ms
(exp.f64 (+.f64 d c))

simplify480.0ms (7.4%)

Algorithm
egg-herbie
Rules
727×associate-*r*_binary64
727×distribute-rgt-out_binary64
571×associate-*l*_binary64
402×fma-def_binary64
334×prod-exp_binary64
Counts
254 → 234
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02984635
19253810
235833654
353883654

prune158.0ms (2.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2340234
Fresh011
Picked011
Done011
Total2343237
Error
0b
Counts
237 → 3
Alt Table
StatusErrorProgram
0.1b
(log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b)) (exp.f64 a)))
0.5b
(+.f64 (+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b) a)
0.0b
(log.f64 (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b)) (exp.f64 a)))
Compiler

Compiled 5282 to 1539 computations (70.9% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(sqrt.f64 (+.f64 e d))
0.2b
(+.f64 (+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b) a)
0.3b
(+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b)
0.4b
(fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c)

series380.0ms (5.9%)

Counts
4 → 104
Calls

4 calls:

129.0ms
(+.f64 (+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b) a)
122.0ms
(+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b)
109.0ms
(fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c)
19.0ms
(sqrt.f64 (+.f64 e d))

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64
11×add-log-exp_binary64
10×add-sqr-sqrt_binary64
fma-def_binary64
add-cube-cbrt_binary64
Counts
4 → 68
Calls

4 calls:

6.0ms
(+.f64 (+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b) a)
3.0ms
(sqrt.f64 (+.f64 e d))
2.0ms
(+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b)
0.0ms
(fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c)

simplify79.0ms (1.2%)

Algorithm
egg-herbie
Rules
759×distribute-rgt-in_binary64
733×distribute-lft-in_binary64
424×fma-def_binary64
353×fma-neg_binary64
188×associate-*r*_binary64
Counts
172 → 138
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01561937
13841895
210331870
348461869
451431869

prune102.0ms (1.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1790179
Fresh000
Picked011
Done022
Total1793182
Error
0b
Counts
182 → 3
Alt Table
StatusErrorProgram
0.1b
(log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 (+.f64 d c))) (exp.f64 b)) (exp.f64 a)))
0.5b
(+.f64 (+.f64 (fma.f64 (sqrt.f64 (+.f64 e d)) (sqrt.f64 (+.f64 e d)) c) b) a)
0.0b
(log.f64 (*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b)) (exp.f64 a)))
Compiler

Compiled 3686 to 1098 computations (70.2% saved)

regimes1.1s (17.2%)

Accuracy

Total 0.0b remaining (64.8%)

Threshold costs 0.0b (64.8%)

Counts
115 → 1
Compiler

Compiled 20666 to 13493 computations (34.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01625
12025
22025

end82.0ms (1.3%)

Remove

(sort a b c d e)

Compiler

Compiled 138 to 99 computations (28.3% saved)

Profiling

Loading profile data...