Details

Time bar (total: 2.4s)

analyze216.0ms

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
15.6%84.3%0.1%6
37.5%62.4%0.1%7
46.8%53.1%0.1%8
57.8%39.8%2.4%9
64.6%30.4%5%10
71.8%20.3%7.9%11
74.1%16.2%9.7%12
77.4%10.7%12%13
78.6%8.4%13%14

sample30.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
1.0ms13×body80invalid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
0504318

prune17.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (+.f64 (/.f64 PI.f64 a) (/.f64 (neg.f64 PI.f64) b)) (-.f64 b a)))
0.2b
(/.f64 (+.f64 (/.f64 PI.f64 a) (/.f64 (neg.f64 PI.f64) b)) (-.f64 b a))
0.2b
(/.f64 PI.f64 a)
0.3b
(/.f64 (neg.f64 PI.f64) b)

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
266×*-un-lft-identity_binary64
223×times-frac_binary64
140×add-sqr-sqrt_binary64
94×add-cube-cbrt_binary64
58×distribute-lft-out_binary64
46×associate-*r*_binary64
45×distribute-rgt-neg-in_binary64
22×add-exp-log_binary64 add-cbrt-cube_binary64
21×associate-/l*_binary64
18×associate-*l*_binary64
17×difference-of-squares_binary64 distribute-lft-out--_binary64
12×distribute-lft-neg-in_binary64
11×associate-/r*_binary64
cbrt-undiv_binary64 div-exp_binary64
pow1_binary64 associate-/r/_binary64
div-inv_binary64
add-log-exp_binary64 cbrt-unprod_binary64 neg-mul-1_binary64 unswap-sqr_binary64 div-sub_binary64 prod-exp_binary64
associate-/l/_binary64 clear-num_binary64 frac-2neg_binary64
flip3-+_binary64 flip3--_binary64 neg-sub0_binary64 distribute-frac-neg_binary64 flip--_binary64 flip-+_binary64
pow-prod-down_binary64 associate-+r-_binary64 associate-*r/_binary64 frac-add_binary64 frac-times_binary64 unsub-neg_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 244
Calls
4 calls:
46.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (+.f64 (/.f64 PI.f64 a) (/.f64 (neg.f64 PI.f64) b)) (-.f64 b a)))
30.0ms
(/.f64 (+.f64 (/.f64 PI.f64 a) (/.f64 (neg.f64 PI.f64) b)) (-.f64 b a))
3.0ms
(/.f64 PI.f64 a)
5.0ms
(/.f64 (neg.f64 PI.f64) b)

series27.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (+.f64 (/.f64 PI.f64 a) (/.f64 (neg.f64 PI.f64) b)) (-.f64 b a)))
7.0ms
(/.f64 (+.f64 (/.f64 PI.f64 a) (/.f64 (neg.f64 PI.f64) b)) (-.f64 b a))
3.0ms
(/.f64 PI.f64 a)
3.0ms
(/.f64 (neg.f64 PI.f64) b)

simplify62.0ms

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
053473397

prune249.0ms

Filtered
169 candidates to 256 candidates (-51.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2479256
Fresh011
Picked101
Done000
Total24810258

Merged error: 0b

Counts
258 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (/.f64 (-.f64 (/.f64 PI.f64 a) (/.f64 PI.f64 b)) (-.f64 b a)) 1/2) (+.f64 b a))
0.2b
(/.f64 (-.f64 (/.f64 PI.f64 a) (/.f64 PI.f64 b)) (-.f64 b a))
0.2b
(/.f64 PI.f64 a)
0.3b
(/.f64 PI.f64 b)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
151×add-sqr-sqrt_binary64
142×times-frac_binary64
131×*-un-lft-identity_binary64
53×add-cube-cbrt_binary64
43×distribute-lft-out--_binary64
37×difference-of-squares_binary64
19×add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
16×div-inv_binary64
15×associate-/r*_binary64
cbrt-undiv_binary64 div-exp_binary64
associate-/l/_binary64 add-log-exp_binary64 pow1_binary64 associate-/r/_binary64 clear-num_binary64 frac-2neg_binary64
flip3--_binary64 cbrt-unprod_binary64 distribute-lft-out_binary64 prod-exp_binary64 flip--_binary64
flip3-+_binary64 div-sub_binary64 flip-+_binary64 frac-sub_binary64 associate-*l/_binary64
Counts
4 → 177
Calls
4 calls:
25.0ms
(/.f64 (*.f64 (/.f64 (-.f64 (/.f64 PI.f64 a) (/.f64 PI.f64 b)) (-.f64 b a)) 1/2) (+.f64 b a))
18.0ms
(/.f64 (-.f64 (/.f64 PI.f64 a) (/.f64 PI.f64 b)) (-.f64 b a))
3.0ms
(/.f64 PI.f64 a)
3.0ms
(/.f64 PI.f64 b)

series27.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/.f64 (*.f64 (/.f64 (-.f64 (/.f64 PI.f64 a) (/.f64 PI.f64 b)) (-.f64 b a)) 1/2) (+.f64 b a))
7.0ms
(/.f64 (-.f64 (/.f64 PI.f64 a) (/.f64 PI.f64 b)) (-.f64 b a))
2.0ms
(/.f64 PI.f64 a)
3.0ms
(/.f64 PI.f64 b)

simplify53.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
062132735

prune197.0ms

Filtered
132 candidates to 189 candidates (-43.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1863189
Fresh369
Picked011
Done000
Total18910199

Merged error: 0b

Counts
199 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (/.f64 (-.f64 (/.f64 PI.f64 a) (*.f64 PI.f64 (/.f64 1 b))) (-.f64 b a)) 1/2) (+.f64 b a))
0.2b
(/.f64 (-.f64 (/.f64 PI.f64 a) (*.f64 PI.f64 (/.f64 1 b))) (-.f64 b a))
0.2b
(/.f64 PI.f64 a)
0.3b
(*.f64 PI.f64 (/.f64 1 b))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64
48×*-un-lft-identity_binary64
44×times-frac_binary64
33×add-cube-cbrt_binary64
26×add-exp-log_binary64
22×add-cbrt-cube_binary64
13×associate-*r*_binary64
12×associate-/r*_binary64
11×distribute-lft-out--_binary64
10×div-inv_binary64
associate-/l*_binary64 div-exp_binary64
cbrt-undiv_binary64
pow1_binary64 prod-exp_binary64
associate-/l/_binary64 difference-of-squares_binary64
add-log-exp_binary64 cbrt-unprod_binary64 associate-/r/_binary64
associate-*l*_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64
flip3--_binary64 distribute-lft-out_binary64 associate-*r/_binary64 un-div-inv_binary64 flip--_binary64 frac-sub_binary64
pow-prod-down_binary64 flip3-+_binary64 1-exp_binary64 div-sub_binary64 rec-exp_binary64 flip-+_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 139
Calls
4 calls:
18.0ms
(/.f64 (*.f64 (/.f64 (-.f64 (/.f64 PI.f64 a) (*.f64 PI.f64 (/.f64 1 b))) (-.f64 b a)) 1/2) (+.f64 b a))
11.0ms
(/.f64 (-.f64 (/.f64 PI.f64 a) (*.f64 PI.f64 (/.f64 1 b))) (-.f64 b a))
3.0ms
(/.f64 PI.f64 a)
8.0ms
(*.f64 PI.f64 (/.f64 1 b))

series24.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(/.f64 (*.f64 (/.f64 (-.f64 (/.f64 PI.f64 a) (*.f64 PI.f64 (/.f64 1 b))) (-.f64 b a)) 1/2) (+.f64 b a))
7.0ms
(/.f64 (-.f64 (/.f64 PI.f64 a) (*.f64 PI.f64 (/.f64 1 b))) (-.f64 b a))
2.0ms
(/.f64 PI.f64 a)
3.0ms
(*.f64 PI.f64 (/.f64 1 b))

simplify60.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
060321689

prune135.0ms

Filtered
104 candidates to 151 candidates (-45.2%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1510151
Fresh088
Picked011
Done011
Total15110161

Merged error: 0b

Counts
161 → 10

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/.f64 1/2 (+.f64 b a))
0.2b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 PI.f64 (*.f64 b a)))
0.9b
(/.f64 PI.f64 (*.f64 b a))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity_binary64
31×add-exp-log_binary64 add-cbrt-cube_binary64 times-frac_binary64
29×add-sqr-sqrt_binary64
24×add-cube-cbrt_binary64
18×associate-*l*_binary64
10×cbrt-undiv_binary64 div-exp_binary64
cbrt-unprod_binary64 prod-exp_binary64
distribute-lft-out_binary64 associate-*r*_binary64
associate-/l*_binary64
associate-/r*_binary64 pow1_binary64
associate-/r/_binary64 div-inv_binary64
add-log-exp_binary64
flip3-+_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64 flip-+_binary64
pow-prod-down_binary64 associate-*r/_binary64 frac-times_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
3 → 105
Calls
3 calls:
5.0ms
(/.f64 1/2 (+.f64 b a))
13.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 PI.f64 (*.f64 b a)))
4.0ms
(/.f64 PI.f64 (*.f64 b a))

series18.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/.f64 1/2 (+.f64 b a))
9.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 PI.f64 (*.f64 b a)))
4.0ms
(/.f64 PI.f64 (*.f64 b a))

simplify65.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049741064
149741064

prune121.0ms

Filtered
77 candidates to 114 candidates (-48.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1113114
Fresh527
Picked011
Done112
Total1177124

Merged error: 0b

Counts
124 → 7

regimes96.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03917
13917

end0.0ms

sample640.0ms

Algorithm
intervals
Results
476.0ms8000×body80valid
26.0ms409×body80invalid

Profiling

Loading profile data...