Details

Time bar (total: 4.6s)

analyze432.0ms (9.4%)

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%57.7%1.7%9
45.2%51.1%3.7%10
57.7%33.5%8.7%11
59.7%29.4%10.9%12
62%25%13%13
68.3%17.4%14.4%14
Compiler

Compiled 15 to 10 computations (33.3% saved)

sample1.3s (28.5%)

Symmetry

(sort d2 d3)

Results
1.1s7775×body128valid
72.0ms663×body128invalid
52.0ms199×body512valid
51.0ms161×body1024valid
21.0ms121×body256valid
Compiler

Compiled 44 to 29 computations (34.1% saved)

simplify9.0ms (0.2%)

Algorithm
egg-herbie
Rules
25×fma-def_binary64
+-commutative_binary64
*-commutative_binary64
distribute-lft-out_binary64
associate-+r+_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01013
12010
24410
36410
46610
56710
66710

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(*.f64 d1 (+.f64 3 (+.f64 d2 d3)))
Compiler

Compiled 41 to 27 computations (34.1% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.2%)

Counts
1 → 28
Calls

1 calls:

7.0ms
(*.f64 d1 (+.f64 3 (+.f64 d2 d3)))

rewrite9.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:

7.0ms
(*.f64 d1 (+.f64 3 (+.f64 d2 d3)))

simplify69.0ms (1.5%)

Algorithm
egg-herbie
Rules
949×distribute-rgt-in_binary64
943×distribute-lft-in_binary64
503×fma-neg_binary64
394×associate-*l*_binary64
294×associate-*r*_binary64
Counts
54 → 48
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
063601
1162559
2683559
32795559
43172559
54459559
64975559

prune37.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New45348
Fresh000
Picked011
Done000
Total45449
Error
0.0b
Counts
49 → 4
Alt Table
StatusErrorProgram
22.7b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
36.6b
(/.f64 (*.f64 d1 (+.f64 27 (pow.f64 (+.f64 d2 d3) 3))) (+.f64 (*.f64 3 3) (-.f64 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)) (*.f64 3 (+.f64 d2 d3)))))
0.1b
(*.f64 d1 (+.f64 3 (+.f64 d2 d3)))
28.6b
(/.f64 (*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))) (-.f64 3 (+.f64 d2 d3)))
Compiler

Compiled 759 to 417 computations (45.1% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series97.0ms (2.1%)

Counts
3 → 60
Calls

3 calls:

52.0ms
(*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
35.0ms
(sqrt.f64 (+.f64 3 (+.f64 d2 d3)))
10.0ms
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))

rewrite35.0ms (0.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:

13.0ms
(*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
13.0ms
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
4.0ms
(sqrt.f64 (+.f64 3 (+.f64 d2 d3)))

simplify157.0ms (3.4%)

Algorithm
egg-herbie
Rules
644×fma-def_binary64
436×fma-neg_binary64
421×*-commutative_binary64
307×cancel-sign-sub-inv_binary64
244×associate-*l*_binary64
Counts
141 → 133
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01952457
15102313
216642269
331162260
448162258
549982258
649502258

prune131.0ms (2.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1671168
Fresh112
Picked011
Done011
Total1684172
Error
0b
Counts
172 → 4
Alt Table
StatusErrorProgram
22.7b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
22.8b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))))
0.1b
(*.f64 d1 (+.f64 3 (+.f64 d2 d3)))
28.6b
(/.f64 (*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))) (-.f64 3 (+.f64 d2 d3)))
Compiler

Compiled 4477 to 2751 computations (38.6% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
0.2b
(cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
0.3b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))))
0.4b
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))))

series121.0ms (2.6%)

Counts
3 → 84
Calls

3 calls:

72.0ms
(cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
38.0ms
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))))
10.0ms
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))))

rewrite179.0ms (3.9%)

Algorithm
rewrite-expression-head
Rules
230×sqrt-div_binary64
176×cbrt-div_binary64
140×frac-times_binary64
115×flip-+_binary64
115×flip3-+_binary64
Counts
3 → 208
Calls

3 calls:

52.0ms
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))))
17.0ms
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))))
4.0ms
(cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))

simplify270.0ms (5.9%)

Algorithm
egg-herbie
Rules
771×associate-*l*_binary64
456×fma-def_binary64
295×*-commutative_binary64
172×times-frac_binary64
168×associate--l+_binary64
Counts
292 → 364
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
070614600
1185114009
2507814009

prune764.0ms (16.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New5580558
Fresh011
Picked011
Done022
Total5584562
Error
0b
Counts
562 → 4
Alt Table
StatusErrorProgram
22.7b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
22.8b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))))
0.1b
(*.f64 d1 (+.f64 3 (+.f64 d2 d3)))
28.6b
(/.f64 (*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))) (-.f64 3 (+.f64 d2 d3)))
Compiler

Compiled 33526 to 22096 computations (34.1% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))
0.0b
(*.f64 (+.f64 d2 d3) (+.f64 d2 d3))
9.6b
(*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3))))
17.3b
(/.f64 (*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))) (-.f64 3 (+.f64 d2 d3)))

series122.0ms (2.7%)

Counts
4 → 120
Calls

4 calls:

69.0ms
(/.f64 (*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))) (-.f64 3 (+.f64 d2 d3)))
36.0ms
(*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3))))
10.0ms
(-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))
6.0ms
(*.f64 (+.f64 d2 d3) (+.f64 d2 d3))

rewrite36.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity_binary64
26×add-sqr-sqrt_binary64
16×add-cube-cbrt_binary64
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
Counts
4 → 131
Calls

4 calls:

9.0ms
(/.f64 (*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))) (-.f64 3 (+.f64 d2 d3)))
7.0ms
(*.f64 (+.f64 d2 d3) (+.f64 d2 d3))
7.0ms
(*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3))))
3.0ms
(-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))

simplify136.0ms (3%)

Algorithm
egg-herbie
Rules
275×fma-neg_binary64
239×associate-*r*_binary64
237×associate-/l*_binary64
217×associate-*l*_binary64
196×times-frac_binary64
Counts
251 → 261
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03345968
19875340
242025208
349855208

prune184.0ms (4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2610261
Fresh000
Picked011
Done033
Total2614265
Error
0b
Counts
265 → 4
Alt Table
StatusErrorProgram
22.7b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))
22.8b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3)))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))) (cbrt.f64 (sqrt.f64 (+.f64 3 (+.f64 d2 d3))))))
0.1b
(*.f64 d1 (+.f64 3 (+.f64 d2 d3)))
28.6b
(/.f64 (*.f64 d1 (-.f64 9 (*.f64 (+.f64 d2 d3) (+.f64 d2 d3)))) (-.f64 3 (+.f64 d2 d3)))
Compiler

Compiled 7321 to 3435 computations (53.1% saved)

regimes371.0ms (8.1%)

Accuracy

Total 0.0b remaining (81.2%)

Threshold costs 0.0b (81.2%)

Counts
80 → 1
Compiler

Compiled 7376 to 4852 computations (34.2% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11110
21110

end76.0ms (1.7%)

Remove

(sort d2 d3)

Compiler

Compiled 123 to 81 computations (34.1% saved)

Profiling

Loading profile data...