Details

Time bar (total: 13.8s)

analyze2.6s (18.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056241248
066
166
Search
TrueOtherFalseIter
0%99.7%0.3%0
0%99.7%0.3%1
0%99.7%0.3%2
0%99.7%0.3%3
0%99.7%0.3%4
0%99.7%0.3%5
0%99.7%0.3%6
0%99.7%0.3%7
0%99.7%0.3%8
0%99.7%0.3%9
0%99.7%0.3%10
0%99.7%0.3%11
0%99.7%0.3%12
0%98.1%1.9%13
0%98.1%1.9%14
Compiler

Compiled 53 to 22 computations (58.5% saved)

sample188.0ms (1.4%)

Algorithm
intervals
Results
38.0ms61×body4096valid
34.0ms49×body8192valid
32.0ms370×body128nan
15.0ms35×body2048valid
12.0ms134×body128invalid
8.0ms24×body1024valid
7.0ms76×body128valid
2.0msbody512valid
1.0msbody512invalid
1.0msbody1024invalid
1.0msbody256valid
0.0msbody256invalid
Compiler

Compiled 105 to 49 computations (53.3% saved)

simplify44.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
0501969

prune7.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
57.9b
Counts
2 → 2
Compiler

Compiled 144 to 75 computations (47.9% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

13.3b
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
13.3b
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
13.5b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
31.1b
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))

rewrite164.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
151×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
82×cbrt-unprod_binary64_1134 prod-exp_binary64_1150
32×div-exp_binary64_1152 cbrt-undiv_binary64_1135
11×*-un-lft-identity_binary64_1101
add-sqr-sqrt_binary64_1123
add-cube-cbrt_binary64_1136 associate-*l*_binary64_1042
add-log-exp_binary64_1140 pow1_binary64_1162 sqrt-div_binary64_1118 frac-add_binary64_1109
times-frac_binary64_1107
frac-times_binary64_1111 associate-*r/_binary64_1043 associate-*r*_binary64_1041
flip--_binary64_1076 flip3--_binary64_1105 flip3-+_binary64_1104 div-inv_binary64_1098 flip-+_binary64_1075
distribute-lft-out_binary64_1052 frac-2neg_binary64_1112 clear-num_binary64_1100 associate-/l*_binary64_1046 associate-/r*_binary64_1045
*-commutative_binary64_1032 sum-log_binary64_1192 distribute-lft-in_binary64_1050 +-commutative_binary64_1031 pow-prod-down_binary64_1172 unswap-sqr_binary64_1069 associate-*l/_binary64_1044 distribute-rgt-in_binary64_1051
Counts
4 → 138
Calls

4 calls:

62.0ms
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
48.0ms
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))
13.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
13.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))

series1.2s (8.4%)

Counts
4 → 12
Calls

4 calls:

658.0ms
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
312.0ms
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))
98.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
92.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))

simplify108.0ms (0.8%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050466313

prune264.0ms (1.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1437150
Fresh011
Picked101
Done000
Total1448152
Error
28.8b
Counts
152 → 8
Compiler

Compiled 9477 to 2139 computations (77.4% saved)

localize0.0ms (0%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune16.0ms (0.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New000
Fresh077
Picked011
Done000
Total088
Error
28.8b
Counts
8 → 8
Compiler

Compiled 504 to 203 computations (59.7% saved)

localize30.0ms (0.2%)

Local error

Found 4 expressions with local error:

13.1b
(/.f64 (*.f64 d d) (*.f64 D D))
13.3b
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
13.3b
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
34.1b
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)))) (*.f64 M M))))

rewrite101.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
154×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
82×cbrt-unprod_binary64_1134 prod-exp_binary64_1150
34×div-exp_binary64_1152 cbrt-undiv_binary64_1135
*-un-lft-identity_binary64_1101 add-log-exp_binary64_1140
add-sqr-sqrt_binary64_1123 pow1_binary64_1162 add-cube-cbrt_binary64_1136
frac-2neg_binary64_1112 clear-num_binary64_1100 div-inv_binary64_1098 associate-/l*_binary64_1046 times-frac_binary64_1107 associate-/r*_binary64_1045
sqrt-div_binary64_1118 frac-add_binary64_1109
distribute-lft-out_binary64_1052 sum-log_binary64_1192 flip--_binary64_1076 flip3--_binary64_1105 flip3-+_binary64_1104 +-commutative_binary64_1031 flip-+_binary64_1075
Counts
4 → 121
Calls

4 calls:

43.0ms
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)))) (*.f64 M M))))
13.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
12.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
10.0ms
(/.f64 (*.f64 d d) (*.f64 D D))

series531.0ms (3.9%)

Counts
4 → 12
Calls

4 calls:

309.0ms
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)))) (*.f64 M M))))
108.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
93.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
21.0ms
(/.f64 (*.f64 d d) (*.f64 D D))

simplify76.0ms (0.6%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050013343

prune204.0ms (1.5%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1294133
Fresh246
Picked011
Done011
Total13110141
Error
28.8b
Counts
141 → 10
Compiler

Compiled 7783 to 1694 computations (78.2% saved)

localize28.0ms (0.2%)

Local error

Found 4 expressions with local error:

13.1b
(/.f64 (*.f64 d d) (*.f64 D D))
13.1b
(/.f64 (*.f64 d d) (*.f64 D D))
13.3b
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
33.1b
(+.f64 (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)))) (*.f64 M M))))

rewrite92.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
97×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
47×cbrt-unprod_binary64_1134 prod-exp_binary64_1150
23×div-exp_binary64_1152 cbrt-undiv_binary64_1135
add-log-exp_binary64_1140 sqrt-div_binary64_1118 frac-add_binary64_1109
add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101 pow1_binary64_1162 add-cube-cbrt_binary64_1136
frac-2neg_binary64_1112 clear-num_binary64_1100 flip--_binary64_1076 flip3--_binary64_1105 div-inv_binary64_1098 associate-/l*_binary64_1046 times-frac_binary64_1107 associate-/r*_binary64_1045
frac-times_binary64_1111 associate-*r/_binary64_1043 associate-*l/_binary64_1044
sum-log_binary64_1192 flip3-+_binary64_1104 +-commutative_binary64_1031 flip-+_binary64_1075
Counts
4 → 102
Calls

4 calls:

47.0ms
(+.f64 (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)))) (*.f64 M M))))
13.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
6.0ms
(/.f64 (*.f64 d d) (*.f64 D D))
6.0ms
(/.f64 (*.f64 d d) (*.f64 D D))

series713.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

573.0ms
(+.f64 (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)))) (*.f64 M M))))
101.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
21.0ms
(/.f64 (*.f64 d d) (*.f64 D D))
19.0ms
(/.f64 (*.f64 d d) (*.f64 D D))

simplify72.0ms (0.5%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050753131

prune170.0ms (1.2%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1104114
Fresh257
Picked101
Done022
Total11311124
Error
28.5b
Counts
124 → 11
Compiler

Compiled 6492 to 1450 computations (77.7% saved)

regimes804.0ms (5.8%)

Accuracy

Total 1.6b remaining (5%)

Threshold costs 0b (0%)

Compiler

Compiled 15864 to 7856 computations (50.5% saved)

bsearch4.0ms (0%)

Compiler

Compiled 52 to 21 computations (59.6% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
050162
150162

end0.0ms (0%)

sample6.4s (46.3%)

Algorithm
intervals
Results
1.2s2111×body4096valid
1.0s11742×body128nan
822.0ms1195×body8192valid
541.0ms1229×body2048valid
359.0ms3939×body128invalid
230.0ms656×body1024valid
210.0ms2348×body128valid
81.0ms309×body512valid
26.0ms152×body256valid
24.0ms57×body2048invalid
18.0ms54×body1024invalid
11.0ms43×body512invalid
6.0msbody8192exit
5.0msbody4096invalid
4.0ms25×body256invalid
Compiler

Compiled 1734 to 827 computations (52.3% saved)

Profiling

Loading profile data...