Details

Time bar (total: 3.1s)

analyze464.0ms (14.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
37.4%62.4%0.1%8
40.6%56.9%2.5%9
45.2%50.7%4%10
57.7%33.5%8.7%11
59.7%29.4%11%12
62%25%13%13
68.3%17.4%14.4%14
Compiler

Compiled 17 to 12 computations (29.4% saved)

sample1.1s (34.3%)

Symmetry

(sort d2 d3)

Results
930.0ms8217×body128valid
87.0ms665×body128invalid
6.0ms17×body1024valid
4.0ms16×body512valid
1.0msbody256valid
Compiler

Compiled 50 to 35 computations (30% saved)

simplify9.0ms (0.3%)

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

prune3.0ms (0.1%)

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.1b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
Compiler

Compiled 75 to 51 computations (32% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

8.0ms
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
associate-*r*_binary64
add-sqr-sqrt_binary64
distribute-lft-out_binary64
associate-*l*_binary64
Counts
1 → 26
Calls

1 calls:

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

simplify61.0ms (1.9%)

Algorithm
egg-herbie
Rules
961×distribute-rgt-in_binary64
953×distribute-lft-in_binary64
416×associate-*l*_binary64
318×associate-*r*_binary64
261×fma-def_binary64
Counts
62 → 50
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
065687
1163645
2700643
34006643
44316643
55142643

prune33.0ms (1.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New48250
Fresh011
Picked011
Done000
Total48452
Error
0b
Counts
52 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
28.6b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
0.1b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
22.6b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (+.f64 d2 (+.f64 d3 37))))
Compiler

Compiled 752 to 449 computations (40.3% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series25.0ms (0.8%)

Counts
3 → 96
Calls

3 calls:

12.0ms
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
9.0ms
(+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1))
4.0ms
(*.f64 (+.f64 d3 5) d1)

rewrite200.0ms (6.4%)

Algorithm
rewrite-expression-head
Rules
10×add-log-exp_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
3 → 55
Calls

3 calls:

190.0ms
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
4.0ms
(*.f64 (+.f64 d3 5) d1)
3.0ms
(+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1))

simplify127.0ms (4.1%)

Algorithm
egg-herbie
Rules
810×fma-def_binary64
695×fma-neg_binary64
486×cancel-sign-sub-inv_binary64
332×*-commutative_binary64
298×associate-+l+_binary64
Counts
151 → 108
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01211635
13481544
213261485
336011483
449411483
548431483

prune100.0ms (3.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1080108
Fresh022
Picked011
Done011
Total1084112
Error
0b
Counts
112 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
28.6b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
0.1b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
22.6b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (+.f64 d2 (+.f64 d3 37))))
Compiler

Compiled 2046 to 1217 computations (40.5% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series88.0ms (2.8%)

Counts
3 → 64
Calls

3 calls:

51.0ms
(*.f64 d1 (sqrt.f64 (+.f64 d2 (+.f64 d3 37))))
29.0ms
(sqrt.f64 (+.f64 d2 (+.f64 d3 37)))
8.0ms
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (+.f64 d2 (+.f64 d3 37))))

rewrite58.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64
16×sqrt-prod_binary64
16×associate-*r*_binary64
16×sqrt-div_binary64
16×add-sqr-sqrt_binary64
Counts
3 → 81
Calls

3 calls:

40.0ms
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (+.f64 d2 (+.f64 d3 37))))
7.0ms
(*.f64 d1 (sqrt.f64 (+.f64 d2 (+.f64 d3 37))))
5.0ms
(sqrt.f64 (+.f64 d2 (+.f64 d3 37)))

simplify88.0ms (2.8%)

Algorithm
egg-herbie
Rules
699×distribute-rgt-in_binary64
680×distribute-lft-in_binary64
605×fma-def_binary64
243×associate-*l*_binary64
192×associate-*r*_binary64
Counts
145 → 156
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01962557
15012401
215622345
349092343
449732343

prune120.0ms (3.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1990199
Fresh011
Picked011
Done022
Total1994203
Error
0b
Counts
203 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
28.6b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
0.1b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
22.6b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (+.f64 d2 (+.f64 d3 37))))
Compiler

Compiled 5067 to 3496 computations (31% saved)

localize12.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
1.5b
(fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))
9.6b
(*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2)))
17.3b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))

series100.0ms (3.2%)

Counts
3 → 96
Calls

3 calls:

60.0ms
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
32.0ms
(*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2)))
8.0ms
(fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))

rewrite14.0ms (0.4%)

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:

6.0ms
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
4.0ms
(*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2)))
0.0ms
(fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))

simplify113.0ms (3.6%)

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

prune107.0ms (3.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1540154
Fresh000
Picked011
Done033
Total1544158
Error
0b
Counts
158 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
28.6b
(/.f64 (*.f64 d1 (fma.f64 (+.f64 37 d3) (-.f64 -37 d3) (*.f64 d2 d2))) (-.f64 d2 (+.f64 d3 37)))
0.1b
(+.f64 (+.f64 (*.f64 d1 d2) (*.f64 (+.f64 d3 5) d1)) (*.f64 d1 32))
22.6b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (+.f64 d2 (+.f64 d3 37))))
Compiler

Compiled 4615 to 2849 computations (38.3% saved)

regimes226.0ms (7.2%)

Accuracy

Total 0.0b remaining (77.5%)

Threshold costs 0.0b (77.5%)

Counts
51 → 1
Compiler

Compiled 3894 to 2755 computations (29.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11110
21110

end66.0ms (2.1%)

Remove

(sort d2 d3)

Compiler

Compiled 105 to 73 computations (30.5% saved)

Profiling

Loading profile data...