Details

Time bar (total: 5.9s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 53 to 38 computations (28.3% saved)

sample1.2s (20.9%)

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.3b
(+.f64 (+.f64 (+.f64 e d) c) b)

series23.0ms (0.4%)

Counts
3 → 144
Calls

3 calls:

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

rewrite28.0ms (0.5%)

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)
5.0ms
(+.f64 (+.f64 e d) c)

simplify93.0ms (1.6%)

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

prune79.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.2b
(+.f64 (log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 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.3b
(+.f64 c (+.f64 e (+.f64 (+.f64 d b) a)))
Compiler

Compiled 1694 to 452 computations (73.3% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (exp.f64 e) (exp.f64 d))
0.3b
(*.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))
0.4b
(*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c))

series114.0ms (1.9%)

Counts
4 → 168
Calls

4 calls:

56.0ms
(*.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b)) (exp.f64 a))
34.0ms
(*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b))
16.0ms
(*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c))
8.0ms
(*.f64 (exp.f64 e) (exp.f64 d))

rewrite47.0ms (0.8%)

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

simplify162.0ms (2.7%)

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
110844130
222803920
332033914
443143914
556953914

prune134.0ms (2.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2440244
Fresh022
Picked011
Done000
Total2443247
Error
0b
Counts
247 → 3
Alt Table
StatusErrorProgram
0.2b
(+.f64 (log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 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.3b
(+.f64 c (+.f64 e (+.f64 (+.f64 d b) a)))
Compiler

Compiled 5760 to 1660 computations (71.2% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series2.1s (35.9%)

Counts
1 → 60
Calls

1 calls:

2.1s
(+.f64 (log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b))) a)

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
21×pow1_binary64
12×*-un-lft-identity_binary64
12×pow-prod-down_binary64
log-pow_binary64
fma-def_binary64
Counts
1 → 27
Calls

1 calls:

11.0ms
(+.f64 (log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 b))) a)

simplify69.0ms (1.2%)

Algorithm
egg-herbie
Rules
901×fma-def_binary64
541×sub-neg_binary64
479×fma-neg_binary64
447×cancel-sign-sub-inv_binary64
360×associate--r+_binary64
Counts
87 → 47
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0681479
11681076
24401067
319221067
437261067
550861067

prune128.0ms (2.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2150215
Fresh011
Picked011
Done011
Total2153218
Error
0b
Counts
218 → 3
Alt Table
StatusErrorProgram
0.2b
(+.f64 (log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 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.3b
(+.f64 c (+.f64 e (+.f64 (+.f64 d b) a)))
Compiler

Compiled 4445 to 1302 computations (70.7% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series21.0ms (0.4%)

Counts
3 → 144
Calls

3 calls:

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

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity_binary64
31×add-log-exp_binary64
20×distribute-lft-out_binary64
19×sum-log_binary64
10×fma-def_binary64
Counts
3 → 67
Calls

3 calls:

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

simplify95.0ms (1.6%)

Algorithm
egg-herbie
Rules
585×associate-+l+_binary64
496×associate-+r+_binary64
426×fma-neg_binary64
412×fma-def_binary64
378×sub-neg_binary64
Counts
211 → 112
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0992085
12862058
211342055
337732055
449312055
548222055

prune74.0ms (1.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh000
Picked011
Done022
Total1123115
Error
0b
Counts
115 → 3
Alt Table
StatusErrorProgram
0.2b
(+.f64 (log.f64 (*.f64 (*.f64 (*.f64 (exp.f64 e) (exp.f64 d)) (exp.f64 c)) (exp.f64 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.3b
(+.f64 c (+.f64 e (+.f64 (+.f64 d b) a)))
Compiler

Compiled 1626 to 417 computations (74.4% saved)

regimes1.3s (22.1%)

Accuracy

Total 0.0b remaining (75.8%)

Threshold costs 0.0b (75.8%)

Counts
141 → 1
Compiler

Compiled 23489 to 16069 computations (31.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01625
12025
22025

end82.0ms (1.4%)

Remove

(sort a b c d e)

Compiler

Compiled 133 to 98 computations (26.3% saved)

Profiling

Loading profile data...