Details

Time bar (total: 6.5s)

analyze3.0ms (0%)

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

Compiled 53 to 38 computations (28.3% saved)

sample1.2s (18.7%)

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)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series17.0ms (0.3%)

Counts
3 → 144
Calls

3 calls:

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

rewrite88.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
436×fma-neg_binary64
236×expm1-udef_binary64
236×log1p-udef_binary64
156×hypot-def_binary64
128×add-sqr-sqrt_binary64
Counts
3 → 123
Calls

3 calls:

86.0ms
(+.f64 (+.f64 (+.f64 e d) c) b)
86.0ms
(+.f64 (+.f64 e d) c)
86.0ms
(+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01030
124230
2362530
3498730
000
100

simplify39.0ms (0.6%)

Algorithm
egg-herbie
Rules
117×associate-+l+_binary64
52×associate-+r+_binary64
45×+-commutative_binary64
Counts
267 → 141
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0241248
1591248
21321248
31891248
41861248
51861248

prune132.0ms (2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1347141
Fresh000
Picked101
Done000
Total1357142
Error
0b
Counts
142 → 7
Alt Table
StatusErrorProgram
0.3b
(fma.f64 1 (+.f64 (+.f64 e d) c) (+.f64 b a))
0.6b
(/.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (+.f64 (+.f64 e d) c) b) 2) (*.f64 a (-.f64 a (+.f64 (+.f64 (+.f64 e d) c) b)))) (+.f64 (pow.f64 (+.f64 (+.f64 (+.f64 e d) c) b) 3) (pow.f64 a 3))))
1.1b
(pow.f64 (pow.f64 (+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a) 3) 1/3)
0.4b
(+.f64 c (+.f64 a (+.f64 d (+.f64 b e))))
0.6b
(+.f64 (+.f64 (/.f64 (+.f64 (pow.f64 (+.f64 e d) 3) (pow.f64 c 3)) (+.f64 (pow.f64 (+.f64 e d) 2) (*.f64 c (-.f64 c (+.f64 e d))))) b) a)
0.5b
(+.f64 (+.f64 (fma.f64 (cbrt.f64 (*.f64 e e)) (cbrt.f64 e) (+.f64 d c)) b) a)
0.6b
(+.f64 (-.f64 (/.f64 (pow.f64 (+.f64 (+.f64 e d) c) 2) (-.f64 (+.f64 (+.f64 e d) c) b)) (/.f64 (*.f64 b b) (-.f64 (+.f64 (+.f64 e d) c) b))) a)
Compiler

Compiled 2637 to 869 computations (67% saved)

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series10.0ms (0.2%)

Counts
1 → 60
Calls

1 calls:

10.0ms
(fma.f64 1 (+.f64 (+.f64 e d) c) (+.f64 b a))

rewrite54.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
631×fma-def_binary64
299×fma-neg_binary64
225×expm1-udef_binary64
225×log1p-udef_binary64
124×add-sqr-sqrt_binary64
Counts
1 → 31
Calls

1 calls:

53.0ms
(fma.f64 1 (+.f64 (+.f64 e d) c) (+.f64 b a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01113
124113
2325413
3496913
000
100

simplify23.0ms (0.4%)

Algorithm
egg-herbie
Rules
125×associate-+l+_binary64
60×associate-+r+_binary64
52×+-commutative_binary64
Counts
91 → 42
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019645
146645
2121645
3187645
4186645
5186645

prune75.0ms (1.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New85287
Fresh336
Picked011
Done000
Total88694
Error
0b
Counts
94 → 6
Alt Table
StatusErrorProgram
0.3b
(fma.f64 1 (+.f64 (+.f64 e d) c) (+.f64 b a))
0.3b
(+.f64 e (+.f64 (+.f64 d c) (+.f64 b a)))
0.5b
(fma.f64 1 (/.f64 (+.f64 (pow.f64 e 3) (pow.f64 (+.f64 d c) 3)) (+.f64 (*.f64 e e) (-.f64 (*.f64 (+.f64 d c) (+.f64 d c)) (*.f64 e (+.f64 d c))))) (+.f64 b a))
1.1b
(pow.f64 (pow.f64 (+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a) 3) 1/3)
0.4b
(+.f64 c (+.f64 a (+.f64 d (+.f64 b e))))
0.6b
(+.f64 (+.f64 (/.f64 (+.f64 (pow.f64 (+.f64 e d) 3) (pow.f64 c 3)) (+.f64 (pow.f64 (+.f64 e d) 2) (*.f64 c (-.f64 c (+.f64 e d))))) b) a)
Compiler

Compiled 1607 to 574 computations (64.3% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series13.0ms (0.2%)

Counts
2 → 108
Calls

2 calls:

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

rewrite79.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
906×fma-def_binary64
436×fma-neg_binary64
236×expm1-udef_binary64
236×log1p-udef_binary64
158×egg-rr
Counts
2 → 158
Calls

2 calls:

76.0ms
(+.f64 e (+.f64 (+.f64 d c) (+.f64 b a)))
76.0ms
(+.f64 (+.f64 d c) (+.f64 b a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
124223
2370523
3578623
000
100

simplify97.0ms (1.5%)

Algorithm
egg-herbie
Rules
131×associate-+l+_binary64
56×associate-+r+_binary64
41×+-commutative_binary64
Counts
266 → 176
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0241041
1571041
21301041
31871041
41861041
51861041

prune178.0ms (2.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1733176
Fresh314
Picked011
Done101
Total1775182
Error
0b
Counts
182 → 5
Alt Table
StatusErrorProgram
0.4b
(+.f64 c (+.f64 a (+.f64 d (+.f64 b e))))
0.3b
(fma.f64 (-.f64 (pow.f64 (+.f64 d c) 2) (pow.f64 (+.f64 b a) 2)) (/.f64 1 (-.f64 (+.f64 d c) (+.f64 b a))) e)
0.3b
(fma.f64 (+.f64 (pow.f64 (+.f64 d c) 3) (pow.f64 (+.f64 b a) 3)) (/.f64 1 (fma.f64 (+.f64 b a) (-.f64 (+.f64 b a) (+.f64 d c)) (pow.f64 (+.f64 d c) 2))) e)
0.3b
(fma.f64 (+.f64 (pow.f64 d 3) (pow.f64 c 3)) (/.f64 1 (fma.f64 d d (*.f64 c (-.f64 c d)))) (+.f64 (+.f64 b a) e))
0.3b
(+.f64 e (+.f64 (+.f64 d c) (+.f64 b a)))
Compiler

Compiled 3201 to 894 computations (72.1% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(+.f64 (+.f64 b a) e)
0.2b
(+.f64 (pow.f64 d 3) (pow.f64 c 3))
0.2b
(fma.f64 (+.f64 (pow.f64 d 3) (pow.f64 c 3)) (/.f64 1 (fma.f64 d d (*.f64 c (-.f64 c d)))) (+.f64 (+.f64 b a) e))
0.3b
(/.f64 1 (fma.f64 d d (*.f64 c (-.f64 c d))))

series204.0ms (3.1%)

Counts
4 → 144
Calls

4 calls:

176.0ms
(fma.f64 (+.f64 (pow.f64 d 3) (pow.f64 c 3)) (/.f64 1 (fma.f64 d d (*.f64 c (-.f64 c d)))) (+.f64 (+.f64 b a) e))
10.0ms
(/.f64 1 (fma.f64 d d (*.f64 c (-.f64 c d))))
9.0ms
(+.f64 (pow.f64 d 3) (pow.f64 c 3))
7.0ms
(+.f64 (+.f64 b a) e)

rewrite95.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
597×prod-diff_binary64
205×add-sqr-sqrt_binary64
197×log1p-expm1-u_binary64
197×expm1-log1p-u_binary64
191×add-cbrt-cube_binary64
Counts
4 → 118
Calls

4 calls:

92.0ms
(+.f64 (+.f64 b a) e)
92.0ms
(+.f64 (pow.f64 d 3) (pow.f64 c 3))
92.0ms
(fma.f64 (+.f64 (pow.f64 d 3) (pow.f64 c 3)) (/.f64 1 (fma.f64 d d (*.f64 c (-.f64 c d)))) (+.f64 (+.f64 b a) e))
92.0ms
(/.f64 1 (fma.f64 d d (*.f64 c (-.f64 c d))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01864
140763
2469063
3589663
000
100

simplify99.0ms (1.5%)

Algorithm
egg-herbie
Rules
772×associate-/r*_binary64
504×cancel-sign-sub-inv_binary64
447×fma-def_binary64
442×fma-neg_binary64
306×div-sub_binary64
Counts
262 → 160
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0642862
11632562
24762562
315222562
443922562
550592562

prune154.0ms (2.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1591160
Fresh123
Picked011
Done011
Total1605165
Error
0b
Counts
165 → 5
Alt Table
StatusErrorProgram
0.3b
(+.f64 e (+.f64 (+.f64 d c) (+.f64 b a)))
0.3b
(+.f64 c (+.f64 d (+.f64 a (+.f64 b e))))
0.3b
(fma.f64 (-.f64 (pow.f64 (+.f64 d c) 2) (pow.f64 (+.f64 b a) 2)) (/.f64 1 (-.f64 (+.f64 d c) (+.f64 b a))) e)
0.3b
(fma.f64 (+.f64 (pow.f64 (+.f64 d c) 3) (pow.f64 (+.f64 b a) 3)) (/.f64 1 (fma.f64 (+.f64 b a) (-.f64 (+.f64 b a) (+.f64 d c)) (pow.f64 (+.f64 d c) 2))) e)
0.3b
(fma.f64 (+.f64 (pow.f64 d 3) (pow.f64 c 3)) (/.f64 1 (fma.f64 d d (*.f64 c (-.f64 c d)))) (+.f64 (+.f64 b a) e))
Compiler

Compiled 4583 to 1959 computations (57.3% saved)

regimes3.8s (57.8%)

Accuracy

Total 0.2b remaining (97.5%)

Threshold costs 0.2b (97.5%)

Counts
285 → 1
Compiler

Compiled 63744 to 38592 computations (39.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
*-rgt-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01318
11918
21818

end104.0ms (1.6%)

Remove

(sort a b c d e)

Compiler

Compiled 187 to 111 computations (40.6% saved)

Profiling

Loading profile data...