Details

Time bar (total: 8.5s)

analyze2.4s (28.2%)

Algorithm
search
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
5.1%94.6%0.3%13
7%92.7%0.3%14
Compiler

Compiled 19 to 19 computations (0% saved)

sample48.0ms (0.6%)

Algorithm
intervals
Results
20.0ms256×body128valid
7.0ms93×body128nan
4.0ms45×body128invalid
Compiler

Compiled 37 to 43 computations (-16.2% saved)

simplify44.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
0610027

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.3b

Counts
2 → 1
Compiler

Compiled 36 to 36 computations (0% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

2.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
3.3b
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
5.8b
(/.f64 (*.f64 M D) (*.f64 2 d))
10.1b
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))

rewrite50.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
67×add-exp-log_binary64
38×add-sqr-sqrt_binary64
27×prod-exp_binary64
23×add-cbrt-cube_binary64
19×associate-*r*_binary64 div-exp_binary64
17×*-un-lft-identity_binary64 add-cube-cbrt_binary64
15×times-frac_binary64
13×associate-*l*_binary64
10×unswap-sqr_binary64 pow-exp_binary64
pow1_binary64 cbrt-unprod_binary64 unpow-prod-down_binary64 sqrt-prod_binary64
cbrt-undiv_binary64
add-log-exp_binary64 sqrt-div_binary64
unpow2_binary64 associate-*r/_binary64 sqr-pow_binary64 div-inv_binary64
pow-to-exp_binary64 flip3--_binary64 flip--_binary64 *-commutative_binary64
pow-prod-down_binary64 associate-/r*_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64
Counts
4 → 116
Calls

4 calls:

18.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
8.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
7.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
5.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))

series1.0s (12.1%)

Counts
4 → 12
Calls

4 calls:

517.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
305.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
162.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
44.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

simplify56.0ms (0.7%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
055982845

prune303.0ms (3.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1208128
Fresh000
Picked101
Done000
Total1218129

Merged error: 7.2b

Counts
129 → 8
Compiler

Compiled 5776 to 4001 computations (30.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

3.3b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)))
3.8b
(/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)
4.6b
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
5.8b
(/.f64 (*.f64 M D) (*.f64 2 d))

rewrite40.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
67×add-exp-log_binary64
26×prod-exp_binary64
23×add-cbrt-cube_binary64
20×add-sqr-sqrt_binary64 div-exp_binary64
13×*-un-lft-identity_binary64
10×associate-*r*_binary64 add-cube-cbrt_binary64 pow-exp_binary64
cbrt-unprod_binary64 cbrt-undiv_binary64 unpow-prod-down_binary64 sqrt-prod_binary64
pow1_binary64 times-frac_binary64
associate-/r*_binary64 add-log-exp_binary64 unswap-sqr_binary64
associate-*l*_binary64 div-inv_binary64
pow-to-exp_binary64 unpow2_binary64 sqr-pow_binary64 clear-num_binary64 frac-2neg_binary64 difference-of-squares_binary64 associate-/l*_binary64 sqrt-div_binary64
pow1/2_binary64 flip3--_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 distribute-lft-out--_binary64 flip--_binary64 *-commutative_binary64
Counts
4 → 99
Calls

4 calls:

8.0ms
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
8.0ms
(/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)
7.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

series978.0ms (11.5%)

Counts
4 → 12
Calls

4 calls:

586.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)))
183.0ms
(/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)
165.0ms
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
44.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

simplify61.0ms (0.7%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
053092178

prune172.0ms (2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1101111
Fresh167
Picked101
Done000
Total1127119

Merged error: 7.2b

Counts
119 → 7
Compiler

Compiled 3345 to 2287 computations (31.6% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

3.8b
(/.f64 (*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h) (/.f64 (*.f64 M D) (*.f64 2 d))) l)
4.5b
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
5.8b
(/.f64 (*.f64 M D) (*.f64 2 d))
5.8b
(/.f64 (*.f64 M D) (*.f64 2 d))

rewrite72.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
251×add-exp-log_binary64 add-cbrt-cube_binary64
116×cbrt-unprod_binary64 prod-exp_binary64
87×cbrt-undiv_binary64 div-exp_binary64
10×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
pow1_binary64 times-frac_binary64
associate-/r*_binary64 associate-*l*_binary64
add-log-exp_binary64 div-inv_binary64 associate-*l/_binary64
associate-/l/_binary64 associate-*r*_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64
pow-prod-down_binary64 associate-*r/_binary64 unswap-sqr_binary64 frac-times_binary64 *-commutative_binary64
Counts
4 → 153
Calls

4 calls:

20.0ms
(/.f64 (*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h) (/.f64 (*.f64 M D) (*.f64 2 d))) l)
9.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

series354.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

171.0ms
(/.f64 (*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h) (/.f64 (*.f64 M D) (*.f64 2 d))) l)
98.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
44.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
41.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

simplify87.0ms (1%)

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
052373130

prune233.0ms (2.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1641165
Fresh066
Picked011
Done000
Total1648172

Merged error: 7.0b

Counts
172 → 8
Compiler

Compiled 4760 to 2886 computations (39.4% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

4.5b
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
5.1b
(/.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) l)
5.8b
(/.f64 (*.f64 M D) (*.f64 2 d))
5.8b
(/.f64 (*.f64 M D) (*.f64 2 d))

rewrite44.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
64×add-exp-log_binary64 add-cbrt-cube_binary64
22×times-frac_binary64
21×cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-exp_binary64
18×add-sqr-sqrt_binary64
16×*-un-lft-identity_binary64 add-cube-cbrt_binary64
div-inv_binary64
associate-/l*_binary64
pow1_binary64
associate-/r*_binary64 associate-*l*_binary64
add-log-exp_binary64
associate-*r*_binary64 clear-num_binary64 frac-2neg_binary64
pow-prod-down_binary64 associate-/l/_binary64 unswap-sqr_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 115
Calls

4 calls:

9.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
9.0ms
(/.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) l)
7.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

series254.0ms (3%)

Counts
4 → 12
Calls

4 calls:

91.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
79.0ms
(/.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) l)
43.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
40.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

simplify73.0ms (0.9%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049491882
149491882

prune149.0ms (1.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1270127
Fresh066
Picked011
Done011
Total1278135

Merged error: 7.0b

Counts
135 → 8
Compiler

Compiled 3565 to 1959 computations (45% saved)

regimes300.0ms (3.5%)

Compiler

Compiled 2320 to 2174 computations (6.3% saved)

bsearch1.0ms (0%)

Compiler

Compiled 7 to 10 computations (-42.9% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09352
19352

end0.0ms (0%)

sample1.7s (19.9%)

Algorithm
intervals
Results
620.0ms8000×body128valid
257.0ms3086×body128nan
118.0ms1388×body128invalid
Compiler

Compiled 241 to 216 computations (10.4% saved)

Profiling

Loading profile data...