Details

Time bar (total: 7.4s)

analyze1.2s (16.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05367148
033
133
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
0%99.9%0.1%7
0%99.9%0.1%8
0%96.7%3.3%9
16.4%74.9%8.7%10
17.6%71.8%10.7%11
26.3%59.5%14.2%12
30.7%45.7%23.5%13
31.7%43.5%24.7%14
Compiler

Compiled 30 to 25 computations (16.7% saved)

sample43.0ms (0.6%)

Algorithm
intervals
Results
18.0ms256×body128valid
10.0ms147×body128invalid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify52.0ms (0.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
0499937
1499937

prune8.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.8b

Counts
2 → 2
Compiler

Compiled 79 to 64 computations (19% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.2b
(/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w)))
3.5b
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (/.f64 r (/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w)))))
6.6b
(/.f64 r (/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w))))
10.4b
(*.f64 r (*.f64 w w))

rewrite72.0ms (1%)

Algorithm
rewrite-expression-head
Rules
109×times-frac_binary64
77×add-sqr-sqrt_binary64
71×*-un-lft-identity_binary64
52×add-exp-log_binary64 add-cbrt-cube_binary64
44×add-cube-cbrt_binary64
36×associate-*r*_binary64
18×difference-of-squares_binary64
17×cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-exp_binary64
11×associate-/r*_binary64 pow1_binary64
10×div-inv_binary64
associate-/l*_binary64 distribute-lft-out--_binary64
associate-*l*_binary64
pow-prod-down_binary64 add-log-exp_binary64
unswap-sqr_binary64
flip3-+_binary64 associate-/l/_binary64 associate-/r/_binary64 clear-num_binary64 frac-2neg_binary64 flip-+_binary64 frac-times_binary64 associate-*l/_binary64 *-commutative_binary64
flip3--_binary64 associate-*r/_binary64 div-sub_binary64 flip--_binary64
Counts
4 → 177
Calls

4 calls:

22.0ms
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (/.f64 r (/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w)))))
12.0ms
(/.f64 r (/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w))))
10.0ms
(/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w)))
8.0ms
(*.f64 r (*.f64 w w))

series199.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

63.0ms
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (/.f64 r (/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w)))))
54.0ms
(/.f64 r (/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w))))
41.0ms
(/.f64 (-.f64 1 v) (*.f64 r (*.f64 w w)))
40.0ms
(*.f64 r (*.f64 w w))

simplify77.0ms (1%)

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
052504089

prune329.0ms (4.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1827189
Fresh011
Picked101
Done000
Total1838191

Merged error: 3.7b

Counts
191 → 8
Compiler

Compiled 6298 to 3653 computations (42% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 2 (*.f64 r r))
1.2b
(/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w))
3.5b
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (/.f64 r (/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w))))
6.6b
(/.f64 r (/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w)))

rewrite67.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
112×times-frac_binary64
77×add-sqr-sqrt_binary64
72×*-un-lft-identity_binary64
52×add-exp-log_binary64 add-cbrt-cube_binary64
45×add-cube-cbrt_binary64
35×associate-*r*_binary64
19×cbrt-undiv_binary64 div-exp_binary64
18×difference-of-squares_binary64
15×cbrt-unprod_binary64 prod-exp_binary64
12×associate-/r*_binary64 associate-/l*_binary64
11×div-inv_binary64
distribute-lft-out--_binary64
pow1_binary64
add-log-exp_binary64
associate-*l*_binary64 clear-num_binary64 frac-2neg_binary64
flip3-+_binary64 associate-/l/_binary64 associate-/r/_binary64 unswap-sqr_binary64 flip-+_binary64 frac-times_binary64 associate-*l/_binary64
pow-prod-down_binary64 flip3--_binary64 associate-*r/_binary64 div-sub_binary64 flip--_binary64 *-commutative_binary64
Counts
4 → 179
Calls

4 calls:

23.0ms
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (/.f64 r (/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w))))
11.0ms
(/.f64 r (/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w)))
9.0ms
(/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w))
4.0ms
(/.f64 2 (*.f64 r r))

series189.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

69.0ms
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (/.f64 r (/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w))))
54.0ms
(/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w))
49.0ms
(/.f64 r (/.f64 (-.f64 1 v) (*.f64 (*.f64 r w) w)))
17.0ms
(/.f64 2 (*.f64 r r))

simplify131.0ms (1.8%)

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (88.0ms)

IterNodesCost
049504154
149504154

prune356.0ms (4.8%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New17912191
Fresh617
Picked101
Done000
Total18613199

Merged error: 0.0b

Counts
199 → 13
Compiler

Compiled 6476 to 3841 computations (40.7% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 w (*.f64 r w))
0.2b
(/.f64 2 (*.f64 r r))
3.5b
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (*.f64 (/.f64 1 (-.f64 1 v)) (*.f64 r (*.f64 w (*.f64 r w)))))
5.7b
(*.f64 r (*.f64 w (*.f64 r w)))

rewrite51.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
101×add-exp-log_binary64
67×prod-exp_binary64
65×add-cbrt-cube_binary64
39×cbrt-unprod_binary64
38×pow1_binary64
24×pow-prod-down_binary64
10×div-exp_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 associate-*l*_binary64 add-sqr-sqrt_binary64
cbrt-undiv_binary64
associate-*l/_binary64
add-log-exp_binary64 1-exp_binary64 rec-exp_binary64
associate-*r*_binary64 associate-/l*_binary64 times-frac_binary64 *-commutative_binary64
flip3-+_binary64 flip-+_binary64 frac-times_binary64
associate-/r*_binary64 associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64
Counts
4 → 108
Calls

4 calls:

20.0ms
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (*.f64 (/.f64 1 (-.f64 1 v)) (*.f64 r (*.f64 w (*.f64 r w)))))
10.0ms
(*.f64 r (*.f64 w (*.f64 r w)))
5.0ms
(*.f64 w (*.f64 r w))
4.0ms
(/.f64 2 (*.f64 r r))

series131.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

65.0ms
(*.f64 (+.f64 3/8 (*.f64 v -1/4)) (*.f64 (/.f64 1 (-.f64 1 v)) (*.f64 r (*.f64 w (*.f64 r w)))))
29.0ms
(*.f64 r (*.f64 w (*.f64 r w)))
22.0ms
(/.f64 2 (*.f64 r r))
14.0ms
(*.f64 w (*.f64 r w))

simplify50.0ms (0.7%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
051291974

prune182.0ms (2.5%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1200120
Fresh01212
Picked011
Done000
Total12013133

Merged error: 0.0b

Counts
133 → 13
Compiler

Compiled 3882 to 2409 computations (37.9% saved)

localize20.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (*.f64 r w) w)
0.2b
(/.f64 2 (*.f64 r r))
0.4b
(/.f64 1 (*.f64 (*.f64 r w) w))
5.9b
(/.f64 r (/.f64 1 (*.f64 (*.f64 r w) w)))

rewrite38.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
67×add-exp-log_binary64
39×times-frac_binary64
37×add-cbrt-cube_binary64
25×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
24×div-exp_binary64
22×prod-exp_binary64
15×pow1_binary64
12×cbrt-undiv_binary64
10×cbrt-unprod_binary64
associate-/r*_binary64 associate-/l*_binary64
div-inv_binary64
pow-prod-down_binary64 1-exp_binary64 rec-exp_binary64
add-log-exp_binary64
associate-*r*_binary64 clear-num_binary64 frac-2neg_binary64 pow-flip_binary64
associate-/r/_binary64 associate-*l*_binary64 inv-pow_binary64 *-commutative_binary64
Counts
4 → 128
Calls

4 calls:

11.0ms
(/.f64 r (/.f64 1 (*.f64 (*.f64 r w) w)))
6.0ms
(/.f64 1 (*.f64 (*.f64 r w) w))
5.0ms
(*.f64 (*.f64 r w) w)
4.0ms
(/.f64 2 (*.f64 r r))

series96.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

30.0ms
(/.f64 r (/.f64 1 (*.f64 (*.f64 r w) w)))
26.0ms
(*.f64 (*.f64 r w) w)
21.0ms
(/.f64 1 (*.f64 (*.f64 r w) w))
19.0ms
(/.f64 2 (*.f64 r r))

simplify88.0ms (1.2%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049611607
149611607

prune200.0ms (2.7%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1382140
Fresh2911
Picked011
Done101
Total14112153

Merged error: 0.0b

Counts
153 → 12
Compiler

Compiled 4152 to 2559 computations (38.4% saved)

regimes930.0ms (12.6%)

Compiler

Compiled 14382 to 11186 computations (22.2% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09234
19234

end0.0ms (0%)

sample2.8s (37.6%)

Algorithm
intervals
Results
543.0ms8000×body128valid
329.0ms4878×body128invalid
Compiler

Compiled 2275 to 1773 computations (22.1% saved)

Profiling

Loading profile data...