Details

Time bar (total: 3.7s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 17 to 12 computations (29.4% saved)

sample1.5s (39.3%)

Symmetry

(sort d2 d3)

Results
1.3s8219×body128valid
6.0ms13×body1024valid
5.0ms15×body512valid
2.0msbody256valid
Compiler

Compiled 50 to 35 computations (30% saved)

simplify21.0ms (0.6%)

Algorithm
egg-herbie
Rules
114×fma-def_binary64
61×associate-+l+_binary64
40×associate-+r+_binary64
34×distribute-lft-out_binary64
33×+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01217
12114
25010
312510
421610
523710
624910
723510

prune7.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
0.8b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
Compiler

Compiled 75 to 51 computations (32% saved)

localize14.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 d2 (+.f64 d3 37))
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))

series23.0ms (0.6%)

Counts
2 → 60
Calls

2 calls:

17.0ms
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
6.0ms
(+.f64 d2 (+.f64 d3 37))

rewrite31.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-log-exp_binary64
distribute-lft-out_binary64
associate-*r*_binary64
Counts
2 → 46
Calls

2 calls:

14.0ms
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
13.0ms
(+.f64 d2 (+.f64 d3 37))

simplify128.0ms (3.4%)

Algorithm
egg-herbie
Rules
963×distribute-rgt-in_binary64
933×distribute-lft-in_binary64
419×associate-*l*_binary64
323×associate-*r*_binary64
297×fma-def_binary64
Counts
106 → 84
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0801022
1201965
2789961
33884961
44178961
54995961

prune102.0ms (2.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New82284
Fresh101
Picked101
Done000
Total84286
Error
0b
Counts
86 → 2
Alt Table
StatusErrorProgram
0.8b
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))
20.1b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
Compiler

Compiled 1091 to 643 computations (41.1% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 d1 d3) (*.f64 37 d1))
0.7b
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))

series16.0ms (0.4%)

Counts
2 → 54
Calls

2 calls:

11.0ms
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))
5.0ms
(+.f64 (*.f64 d1 d3) (*.f64 37 d1))

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
sum-log_binary64
+-commutative_binary64
flip-+_binary64
*-un-lft-identity_binary64
Counts
2 → 30
Calls

2 calls:

5.0ms
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))
3.0ms
(+.f64 (*.f64 d1 d3) (*.f64 37 d1))

simplify93.0ms (2.5%)

Algorithm
egg-herbie
Rules
539×fma-def_binary64
530×associate-*l*_binary64
468×fma-neg_binary64
414×associate-*r*_binary64
378×distribute-rgt-in_binary64
Counts
84 → 63
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065918
1233834
2852826
33375821
44728821
55046821

prune76.0ms (2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New63063
Fresh011
Picked011
Done000
Total63265
Error
0b
Counts
65 → 2
Alt Table
StatusErrorProgram
0.8b
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))
20.1b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
Compiler

Compiled 1024 to 518 computations (49.4% saved)

localize28.0ms (0.7%)

Local error

Found 3 expressions with local error:

NewErrorProgram
1.0b
(fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))
7.5b
(*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2)))
12.1b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))

series178.0ms (4.8%)

Counts
3 → 96
Calls

3 calls:

112.0ms
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
47.0ms
(*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2)))
18.0ms
(fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))

rewrite30.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
add-cube-cbrt_binary64
Counts
3 → 63
Calls

3 calls:

14.0ms
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
6.0ms
(*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2)))
1.0ms
(fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))

simplify236.0ms (6.4%)

Algorithm
egg-herbie
Rules
419×fma-neg_binary64
248×associate-/l*_binary64
220×cancel-sign-sub-inv_binary64
202×times-frac_binary64
179×sub-neg_binary64
Counts
159 → 154
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02514238
17383715
232143593
346203589
449673589

prune226.0ms (6.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1540154
Fresh000
Picked011
Done011
Total1542156
Error
0b
Counts
156 → 2
Alt Table
StatusErrorProgram
0.8b
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))
20.1b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
Compiler

Compiled 4585 to 2827 computations (38.3% saved)

regimes908.0ms (24.5%)

Accuracy

Total -0.4b remaining (-1985.9%)

Threshold costs -0.4b (-1985.9%)

Counts
78 → 1
Compiler

Compiled 5501 to 3880 computations (29.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11110
21110

end103.0ms (2.8%)

Remove

(sort d2 d3)

Compiler

Compiled 75 to 51 computations (32% saved)

Profiling

Loading profile data...