Details

Time bar (total: 7.3s)

sample23.0ms

Algorithm
intervals
Results
13.0ms299×body80valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03110
19010
238410
3182810
4500110

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.4b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.9b
(/ 1.0 (- (* b b) (* a a)))
3.5b
(- (* b b) (* a a))
8.7b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
515×times-frac
419×add-sqr-sqrt
403×*-un-lft-identity
395×add-cube-cbrt
339×prod-diff
171×distribute-rgt-in distribute-lft-in
57×div-inv
36×add-exp-log add-cbrt-cube
30×associate-*r*
14×frac-times associate-*l*
13×prod-exp cbrt-unprod
12×difference-of-squares
11×pow1
cbrt-undiv div-exp
associate-*r/ associate-*l/
flip3-- flip--
add-log-exp
distribute-lft-out--
expm1-log1p-u pow-prod-down associate-/r* associate-/r/ frac-sub log1p-expm1-u unswap-sqr
sub-neg associate-/l*
*-commutative
frac-2neg fma-neg diff-log clear-num
Counts
4 → 501
Calls
4 calls:
14.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
38.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
41.0ms
(/ 1.0 (- (* b b) (* a a)))
34.0ms
(- (* b b) (* a a))
90.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify158.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
0248115016
1500213008

prune913.0ms

Filtered
513 candidates to 220 candidates (42.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New50112513
Fresh000
Picked101
Done000
Total50212514

Merged error: 8.5b

Counts
514 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- b a))
0.2b
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
0.2b
(/ (/ PI 2.0) (+ b a))
8.7b
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
702×times-frac
557×*-un-lft-identity
528×add-sqr-sqrt
481×add-cube-cbrt
338×prod-diff
171×distribute-rgt-in distribute-lft-in
67×div-inv
61×add-exp-log add-cbrt-cube
59×associate-*l*
33×associate-*r*
27×distribute-lft-out
22×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
16×associate-/l*
14×frac-times
12×distribute-lft-out--
11×pow1 difference-of-squares
associate-/r*
associate-*r/ associate-*l/ associate-/r/
flip3-- flip-- unswap-sqr
expm1-log1p-u pow-prod-down frac-sub log1p-expm1-u add-log-exp
sub-neg frac-2neg flip3-+ clear-num *-commutative flip-+
associate-/l/
Counts
4 → 634
Calls
4 calls:
5.0ms
(/ 1.0 (- b a))
36.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
8.0ms
(/ (/ PI 2.0) (+ b a))
43.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ 1.0 (- b a))
59.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
53.0ms
(/ (/ PI 2.0) (+ b a))
94.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify180.0ms

Algorithm
egg-herbie
Counts
646 → 646
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0293316072
1500214991

prune1.4s

Filtered
646 candidates to 303 candidates (46.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New6388646
Fresh10111
Picked101
Done000
Total6499658

Merged error: 0.0b

Counts
658 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 a) (/ 1.0 b))
0.2b
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
0.2b
(/ (/ PI 2.0) (+ b a))
0.3b
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

rewrite193.0ms

Algorithm
rewrite-expression-head
Rules
833×times-frac
661×*-un-lft-identity
641×add-sqr-sqrt
613×add-cube-cbrt
507×prod-diff
171×distribute-rgt-in distribute-lft-in
90×div-inv
43×add-exp-log add-cbrt-cube
14×cbrt-undiv div-exp prod-exp cbrt-unprod distribute-lft-out associate-/l*
13×fma-neg
12×associate-*r* distribute-lft-out--
10×associate-*l/ difference-of-squares
pow1 associate-/r*
associate-/l/
frac-times flip3-- associate-*r/ flip-- add-log-exp
frac-sub
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg pow-prod-down
frac-2neg clear-num
flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 718
Calls
4 calls:
18.0ms
(- (/ 1.0 a) (/ 1.0 b))
56.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
9.0ms
(/ (/ PI 2.0) (+ b a))
44.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series282.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ 1.0 a) (/ 1.0 b))
94.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
52.0ms
(/ (/ PI 2.0) (+ b a))
104.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify197.0ms

Algorithm
egg-herbie
Counts
730 → 730
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0258618289
1500115335

prune1.4s

Filtered
730 candidates to 321 candidates (44.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New7255730
Fresh448
Picked011
Done000
Total72910739

Merged error: 0b

Counts
739 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0))) (* a b)) (- b a))
0.2b
(/ (/ PI 2.0) (+ b a))
0.3b
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0)))
0.5b
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0))) (* a b))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
129×times-frac
125×add-exp-log add-cbrt-cube
106×*-un-lft-identity
78×add-sqr-sqrt
66×add-cube-cbrt
49×cbrt-undiv div-exp
45×prod-exp cbrt-unprod
19×associate-/l*
14×div-inv distribute-lft-out
10×associate-/r*
pow1
associate-*l/
associate-/l/
distribute-lft-out-- difference-of-squares
flip3-- flip--
expm1-log1p-u frac-times associate-*r/ associate-/r/ log1p-expm1-u add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in associate-*r* pow-prod-down clear-num
sub-neg prod-diff
flip3-+ associate-*l* *-commutative flip-+
Counts
4 → 235
Calls
4 calls:
22.0ms
(/ (/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0))) (* a b)) (- b a))
9.0ms
(/ (/ PI 2.0) (+ b a))
17.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0)))
20.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0))) (* a b))

series444.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(/ (/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0))) (* a b)) (- b a))
55.0ms
(/ (/ PI 2.0) (+ b a))
107.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0)))
144.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (* 1.0 b) (* a 1.0))) (* a b))

simplify57.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011363191
150012539

prune542.0ms

Filtered
247 candidates to 151 candidates (61.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2434247
Fresh628
Picked101
Done101
Total2516257

Merged error: 0b

Counts
257 → 6

regimes48.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12512

end0.0ms

sample601.0ms

Algorithm
intervals
Results
439.0ms9660×body80valid