Details

Time bar (total: 4.2s)

analyze640.0ms (15.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
043154
143154
044
144
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample22.0ms (0.5%)

Algorithm
intervals
Results
11.0ms256×body128valid
1.0ms15×body128invalid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01622
11622

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 22 computations (26.7% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 c c) (*.f64 d d))
0.2b
(+.f64 (*.f64 a c) (*.f64 b d))
25.9b
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (+.f64 (*.f64 c c) (*.f64 d d)))

rewrite22.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64_4192 *-un-lft-identity_binary64_4170 add-cube-cbrt_binary64_4205
times-frac_binary64_4176
add-log-exp_binary64_4209
add-exp-log_binary64_4208 add-cbrt-cube_binary64_4206
flip-+_binary64_4144 flip3-+_binary64_4173
pow1_binary64_4231 associate-/l*_binary64_4115 associate-/r*_binary64_4114
associate-/r/_binary64_4116 +-commutative_binary64_4100 sum-log_binary64_4261 associate-/l/_binary64_4117
frac-2neg_binary64_4181 div-inv_binary64_4167 cbrt-undiv_binary64_4204 clear-num_binary64_4169 div-exp_binary64_4221
Counts
3 → 53
Calls

3 calls:

9.0ms
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (+.f64 (*.f64 c c) (*.f64 d d)))
4.0ms
(+.f64 (*.f64 a c) (*.f64 b d))
4.0ms
(+.f64 (*.f64 c c) (*.f64 d d))

series156.0ms (3.7%)

Counts
3 → 9
Calls

3 calls:

91.0ms
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (+.f64 (*.f64 c c) (*.f64 d d)))
43.0ms
(+.f64 (*.f64 a c) (*.f64 b d))
22.0ms
(+.f64 (*.f64 c c) (*.f64 d d))

simplify73.0ms (1.7%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
055711420

prune78.0ms (1.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55762
Fresh000
Picked011
Done000
Total55863
Error
25.6b
Counts
63 → 8
Compiler

Compiled 1594 to 285 computations (82.1% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 (*.f64 a c) (*.f64 b d))
14.8b
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d))))
31.8b
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))
31.8b
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))

rewrite33.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_4192
21×*-un-lft-identity_binary64_4170 add-cube-cbrt_binary64_4205
18×sqrt-prod_binary64_4186 times-frac_binary64_4176
pow1_binary64_4231 add-exp-log_binary64_4208 sqrt-div_binary64_4187 add-cbrt-cube_binary64_4206 add-log-exp_binary64_4209 associate-/r*_binary64_4114
flip-+_binary64_4144 flip3-+_binary64_4173
associate-/l*_binary64_4115
pow1/2_binary64_4250 associate-/r/_binary64_4116 sqrt-pow1_binary64_4188 rem-sqrt-square_binary64_4183 associate-/l/_binary64_4117
frac-2neg_binary64_4181 div-inv_binary64_4167 +-commutative_binary64_4100 cbrt-undiv_binary64_4204 sum-log_binary64_4261 clear-num_binary64_4169 div-exp_binary64_4221
Counts
4 → 84
Calls

4 calls:

13.0ms
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))
4.0ms
(+.f64 (*.f64 a c) (*.f64 b d))

series207.0ms (4.9%)

Counts
4 → 12
Calls

4 calls:

119.0ms
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d))))
38.0ms
(+.f64 (*.f64 a c) (*.f64 b d))
26.0ms
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))
24.0ms
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))

simplify75.0ms (1.8%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
052302326

prune97.0ms (2.3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New92496
Fresh066
Picked101
Done011
Total9311104
Error
23.9b
Counts
104 → 11
Compiler

Compiled 3371 to 483 computations (85.7% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))) (/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))))
14.8b
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d))))
31.8b
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))
31.8b
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))

rewrite68.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt_binary64_4192
76×times-frac_binary64_4176
53×*-un-lft-identity_binary64_4170
47×sqrt-prod_binary64_4186 add-cube-cbrt_binary64_4205
28×add-exp-log_binary64_4208
24×associate-*l*_binary64_4111 associate-*r*_binary64_4110
18×add-cbrt-cube_binary64_4206
15×unswap-sqr_binary64_4138
10×sqrt-div_binary64_4187
div-exp_binary64_4221
pow1_binary64_4231 prod-exp_binary64_4219
flip-+_binary64_4144 associate-/r/_binary64_4116 flip3-+_binary64_4173 associate-/r*_binary64_4114
cbrt-undiv_binary64_4204
cbrt-unprod_binary64_4203 add-log-exp_binary64_4209
associate-/l*_binary64_4115 div-inv_binary64_4167
1-exp_binary64_4214 rec-exp_binary64_4220 pow1/2_binary64_4250 sqrt-pow1_binary64_4188 rem-sqrt-square_binary64_4183 associate-/l/_binary64_4117
frac-times_binary64_4180 associate-*r/_binary64_4112 associate-*l/_binary64_4113 frac-2neg_binary64_4181 *-commutative_binary64_4101 pow-prod-down_binary64_4241 clear-num_binary64_4169
Counts
4 → 160
Calls

4 calls:

29.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))) (/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))))
10.0ms
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))

series321.0ms (7.7%)

Counts
4 → 12
Calls

4 calls:

138.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))) (/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))))
129.0ms
(/.f64 (+.f64 (*.f64 a c) (*.f64 b d)) (sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d))))
28.0ms
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))
25.0ms
(sqrt.f64 (+.f64 (*.f64 c c) (*.f64 d d)))

simplify121.0ms (2.9%)

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049695537
149695537

prune167.0ms (4%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1720172
Fresh099
Picked011
Done011
Total17211183
Error
23.9b
Counts
183 → 11
Compiler

Compiled 6214 to 913 computations (85.3% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 c c) (*.f64 d d))
0.2b
(+.f64 (*.f64 a c) (*.f64 b d))
0.5b
(/.f64 1 (/.f64 (+.f64 (*.f64 c c) (*.f64 d d)) (+.f64 (*.f64 a c) (*.f64 b d))))
25.5b
(/.f64 (+.f64 (*.f64 c c) (*.f64 d d)) (+.f64 (*.f64 a c) (*.f64 b d)))

rewrite42.0ms (1%)

Algorithm
rewrite-expression-head
Rules
90×times-frac_binary64_4176
56×add-sqr-sqrt_binary64_4192 *-un-lft-identity_binary64_4170 add-cube-cbrt_binary64_4205
18×associate-/r*_binary64_4114
17×add-exp-log_binary64_4208
11×add-cbrt-cube_binary64_4206 associate-/r/_binary64_4116
flip-+_binary64_4144 flip3-+_binary64_4173 add-log-exp_binary64_4209 div-exp_binary64_4221
associate-/l*_binary64_4115 div-inv_binary64_4167
pow1_binary64_4231
cbrt-undiv_binary64_4204
1-exp_binary64_4214 frac-2neg_binary64_4181 rec-exp_binary64_4220 +-commutative_binary64_4100 sum-log_binary64_4261 associate-/l/_binary64_4117 clear-num_binary64_4169
pow-flip_binary64_4244 inv-pow_binary64_4255
Counts
4 → 137
Calls

4 calls:

11.0ms
(/.f64 1 (/.f64 (+.f64 (*.f64 c c) (*.f64 d d)) (+.f64 (*.f64 a c) (*.f64 b d))))
9.0ms
(/.f64 (+.f64 (*.f64 c c) (*.f64 d d)) (+.f64 (*.f64 a c) (*.f64 b d)))
4.0ms
(+.f64 (*.f64 c c) (*.f64 d d))
4.0ms
(+.f64 (*.f64 a c) (*.f64 b d))

series259.0ms (6.2%)

Counts
4 → 12
Calls

4 calls:

136.0ms
(/.f64 1 (/.f64 (+.f64 (*.f64 c c) (*.f64 d d)) (+.f64 (*.f64 a c) (*.f64 b d))))
64.0ms
(/.f64 (+.f64 (*.f64 c c) (*.f64 d d)) (+.f64 (*.f64 a c) (*.f64 b d)))
36.0ms
(+.f64 (*.f64 a c) (*.f64 b d))
22.0ms
(+.f64 (*.f64 c c) (*.f64 d d))

simplify112.0ms (2.7%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
050084822

prune121.0ms (2.9%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1472149
Fresh358
Picked011
Done022
Total15010160
Error
23.9b
Counts
160 → 10
Compiler

Compiled 4192 to 674 computations (83.9% saved)

regimes333.0ms (7.9%)

Accuracy

Total 2.2b remaining (8.9%)

Threshold costs 0b (0%)

Compiler

Compiled 4325 to 2343 computations (45.8% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03982
13982

end0.0ms (0%)

sample1.2s (28%)

Algorithm
intervals
Results
354.0ms8000×body128valid
25.0ms519×body128invalid
Compiler

Compiled 934 to 497 computations (46.8% saved)

Profiling

Loading profile data...