Details

Time bar (total: 3.1s)

analyze470.0ms (15.1%)

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.4s (45.9%)

Symmetry

(sort d2 d3)

Results
1.3s8199×body128valid
84.0ms696×body128invalid
6.0ms26×body512valid
4.0ms14×body1024valid
3.0ms17×body256valid
Compiler

Compiled 50 to 35 computations (30% saved)

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

prune9.0ms (0.3%)

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

Compiled 75 to 51 computations (32% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series9.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

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

simplify73.0ms (2.4%)

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

prune34.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New48250
Fresh101
Picked011
Done000
Total49352
Error
0b
Counts
52 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
29.7b
(*.f64 (sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37)))))
0.0b
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))
Compiler

Compiled 710 to 419 computations (41% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series15.0ms (0.5%)

Counts
2 → 54
Calls

2 calls:

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

rewrite13.0ms (0.4%)

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:

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

simplify72.0ms (2.3%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
065918
1233834
2852826
33375821
44728821
55046821

prune40.0ms (1.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh011
Picked011
Done011
Total62365
Error
0b
Counts
65 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
29.7b
(*.f64 (sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37)))))
0.0b
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))
Compiler

Compiled 1031 to 523 computations (49.3% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series407.0ms (13.1%)

Counts
2 → 40
Calls

2 calls:

243.0ms
(sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37))))
164.0ms
(*.f64 (sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37)))))

rewrite27.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
54×pow1_binary64
30×sqrt-pow1_binary64
21×pow-prod-down_binary64
16×associate-*r/_binary64
14×sqrt-div_binary64
Counts
2 → 74
Calls

2 calls:

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

simplify85.0ms (2.7%)

Algorithm
egg-herbie
Rules
817×distribute-rgt-in_binary64
795×distribute-lft-in_binary64
370×fma-def_binary64
115×unswap-sqr_binary64
104×associate-*r*_binary64
Counts
114 → 119
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01451904
13171753
211391646
349711646
449821646

prune161.0ms (5.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2570257
Fresh000
Picked011
Done022
Total2573260
Error
0b
Counts
260 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (+.f64 d3 37)))
29.7b
(*.f64 (sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37)))) (sqrt.f64 (*.f64 d1 (+.f64 d2 (+.f64 d3 37)))))
0.0b
(+.f64 (*.f64 d2 d1) (+.f64 (*.f64 d1 d3) (*.f64 37 d1)))
Compiler

Compiled 6263 to 4077 computations (34.9% saved)

regimes174.0ms (5.6%)

Accuracy

Total 0.0b remaining (54.5%)

Threshold costs 0.0b (54.5%)

Counts
33 → 1
Compiler

Compiled 2349 to 1665 computations (29.1% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11110
21110

end59.0ms (1.9%)

Remove

(sort d2 d3)

Compiler

Compiled 84 to 58 computations (31% saved)

Profiling

Loading profile data...