Details

Time bar (total: 6.4s)

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.1s (17.7%)

Symmetry

(sort a b c d e)

Results
1.1s8256×body128valid
Compiler

Compiled 120 to 85 computations (29.2% saved)

simplify7.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

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

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(+.f64 (+.f64 e d) c)
0.2b
(+.f64 (+.f64 (+.f64 e d) c) b)
0.3b
(+.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)
6.0ms
(+.f64 (+.f64 (+.f64 e d) c) b)
4.0ms
(+.f64 (+.f64 e d) c)

rewrite69.0ms (1.1%)

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 → 120
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01030
124230
2362530
3498730
000
100

simplify35.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0241248
1591248
21321248
31891248
41861248
51861248

prune122.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1317138
Fresh000
Picked101
Done000
Total1327139
Error
0b
Counts
139 → 7
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 e d) c)) (sqrt.f64 (+.f64 (+.f64 e d) c)) (+.f64 b a))
0.5b
(+.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.4b
(+.f64 (/.f64 (-.f64 (pow.f64 (+.f64 e d) 2) (*.f64 (+.f64 c b) (+.f64 c b))) (-.f64 (+.f64 e d) (+.f64 c b))) a)
0.4b
(+.f64 (+.f64 (fma.f64 1 e (+.f64 d c)) b) a)
0.6b
(+.f64 (pow.f64 (sqrt.f64 (+.f64 (+.f64 (+.f64 e d) c) b)) 2) a)
0.8b
(expm1.f64 (log1p.f64 (+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a)))
1.0b
(+.f64 (+.f64 (fma.f64 (pow.f64 (cbrt.f64 (+.f64 e d)) 2) (cbrt.f64 (+.f64 e d)) c) b) a)
Compiler

Compiled 2560 to 846 computations (67% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series21.0ms (0.3%)

Counts
3 → 144
Calls

3 calls:

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

rewrite65.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
623×fma-def_binary64
304×fma-neg_binary64
225×expm1-udef_binary64
225×log1p-udef_binary64
134×egg-rr
Counts
3 → 134
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01130
124130
2323630
3503230
000
100

simplify34.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0241248
1591248
21321248
31891248
41861248
51861248

prune119.0ms (1.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1502152
Fresh336
Picked101
Done000
Total1545159
Error
0b
Counts
159 → 5
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 e d) c)) (sqrt.f64 (+.f64 (+.f64 e d) c)) (+.f64 b a))
0.5b
(+.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.2b
(fma.f64 1 e (+.f64 (+.f64 d c) (+.f64 b a)))
0.4b
(fma.f64 (cbrt.f64 b) (cbrt.f64 (*.f64 b b)) (+.f64 (+.f64 e (+.f64 d c)) a))
0.6b
(+.f64 (pow.f64 (sqrt.f64 (+.f64 (+.f64 (+.f64 e d) c) b)) 2) a)
Compiler

Compiled 2502 to 730 computations (70.8% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series18.0ms (0.3%)

Counts
2 → 108
Calls

2 calls:

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

rewrite62.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
703×fma-def_binary64
343×fma-neg_binary64
227×expm1-udef_binary64
227×log1p-udef_binary64
125×add-sqr-sqrt_binary64
Counts
2 → 113
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01123
124323
2337823
3511223
000
100

simplify31.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0241041
1571041
21301041
31871041
41861041
51861041

prune120.0ms (1.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1301131
Fresh134
Picked011
Done000
Total1315136
Error
0b
Counts
136 → 5
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 e d) c)) (sqrt.f64 (+.f64 (+.f64 e d) c)) (+.f64 b a))
0.5b
(+.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.4b
(fma.f64 1 e (fma.f64 (sqrt.f64 (+.f64 (+.f64 d c) b)) (sqrt.f64 (+.f64 (+.f64 d c) b)) a))
0.2b
(fma.f64 1 e (+.f64 (+.f64 d c) (+.f64 b a)))
0.4b
(fma.f64 (cbrt.f64 b) (cbrt.f64 (*.f64 b b)) (+.f64 (+.f64 e (+.f64 d c)) a))
Compiler

Compiled 2401 to 798 computations (66.8% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series599.0ms (9.4%)

Counts
4 → 108
Calls

4 calls:

283.0ms
(fma.f64 1 e (fma.f64 (sqrt.f64 (+.f64 (+.f64 d c) b)) (sqrt.f64 (+.f64 (+.f64 d c) b)) a))
264.0ms
(fma.f64 (sqrt.f64 (+.f64 (+.f64 d c) b)) (sqrt.f64 (+.f64 (+.f64 d c) b)) a)
47.0ms
(sqrt.f64 (+.f64 (+.f64 d c) b))
4.0ms
(+.f64 (+.f64 d c) b)

rewrite67.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
514×fma-def_binary64
258×fma-neg_binary64
226×expm1-udef_binary64
226×log1p-udef_binary64
170×egg-rr
Counts
4 → 170
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01239
125039
2314139
3494739
000
100

simplify68.0ms (1.1%)

Algorithm
egg-herbie
Rules
800×cancel-sign-sub-inv_binary64
793×fma-neg_binary64
472×*-commutative_binary64
303×fma-def_binary64
270×unswap-sqr_binary64
Counts
278 → 214
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0981242
12661232
27031218
319141215
433511213
551381213

prune269.0ms (4.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3510351
Fresh033
Picked011
Done011
Total3515356
Error
0b
Counts
356 → 5
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 e d) c)) (sqrt.f64 (+.f64 (+.f64 e d) c)) (+.f64 b a))
0.5b
(+.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.4b
(fma.f64 1 e (fma.f64 (sqrt.f64 (+.f64 (+.f64 d c) b)) (sqrt.f64 (+.f64 (+.f64 d c) b)) a))
0.2b
(fma.f64 1 e (+.f64 (+.f64 d c) (+.f64 b a)))
0.4b
(fma.f64 (cbrt.f64 b) (cbrt.f64 (*.f64 b b)) (+.f64 (+.f64 e (+.f64 d c)) a))
Compiler

Compiled 7865 to 2606 computations (66.9% saved)

regimes3.4s (53.3%)

Accuracy

Total 0.2b remaining (90.3%)

Threshold costs 0.2b (90.3%)

Counts
313 → 1
Compiler

Compiled 61055 to 37738 computations (38.2% 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
01319
11819
21719

end93.0ms (1.5%)

Remove

(sort a b c d e)

Compiler

Compiled 181 to 106 computations (41.4% saved)

Profiling

Loading profile data...