Details

Time bar (total: 7.4s)

sample27.0ms

Algorithm
intervals
Results
17.0ms309×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: 15.4b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
1.4b
(/ 1.0 (- (* b b) (* a a)))
4.9b
(- (* b b) (* a a))
9.0b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite97.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:
13.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
34.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series224.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
40.0ms
(/ 1.0 (- (* b b) (* a a)))
35.0ms
(- (* b b) (* a a))
92.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify162.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 1 (50.0ms)

IterNodesCost
0248115016
1500213008

prune789.0ms

Filtered
513 candidates to 220 candidates (42.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New5058513
Fresh000
Picked101
Done000
Total5068514

Merged error: 8.9b

Counts
514 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
940×times-frac
738×*-un-lft-identity
713×add-sqr-sqrt
662×add-cube-cbrt
507×prod-diff
171×distribute-rgt-in distribute-lft-in
95×div-inv
59×add-exp-log associate-*l* add-cbrt-cube
33×associate-*r*
27×distribute-lft-out
21×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
14×frac-times
13×fma-neg associate-/l* distribute-lft-out--
11×pow1 difference-of-squares
associate-*r/ associate-*l/
flip3-- associate-/r/ flip-- add-log-exp unswap-sqr
frac-sub
expm1-log1p-u pow-prod-down associate-/r* log1p-expm1-u
sub-neg
flip3-+ *-commutative flip-+
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 801
Calls
4 calls:
19.0ms
(- (/ 1.0 a) (/ 1.0 b))
30.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
8.0ms
(/ (/ PI 2.0) (+ b a))
44.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series242.0ms

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

simplify219.0ms

Algorithm
egg-herbie
Counts
813 → 813
Iterations

Useful iterations: 1 (58.0ms)

IterNodesCost
0292820392
1500118352

prune1.4s

Filtered
813 candidates to 377 candidates (46.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New8085813
Fresh527
Picked101
Done000
Total8147821

Merged error: 0.0b

Counts
821 → 7

localize12.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.3b
(/ (/ PI 2.0) (+ b a))
0.3b
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

rewrite169.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))
44.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
8.0ms
(/ (/ PI 2.0) (+ b a))
38.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series269.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (/ 1.0 a) (/ 1.0 b))
89.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
50.0ms
(/ (/ PI 2.0) (+ b a))
99.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify194.0ms

Algorithm
egg-herbie
Counts
730 → 730
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0258618289
1500115335

prune1.1s

Filtered
730 candidates to 321 candidates (44.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New7255730
Fresh246
Picked101
Done000
Total7289737

Merged error: 0.0b

Counts
737 → 9

localize12.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.3b
(/ (/ PI 2.0) (+ b a))
0.3b
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
580×times-frac
497×add-sqr-sqrt
477×*-un-lft-identity
303×add-cube-cbrt
169×prod-diff
85×distribute-lft-out--
73×difference-of-squares
66×associate-*r*
59×div-inv
43×add-exp-log add-cbrt-cube
25×associate-/l*
14×cbrt-undiv div-exp prod-exp cbrt-unprod distribute-lft-out
13×fma-neg
pow1 associate-/r*
associate-/r/ add-log-exp
expm1-log1p-u flip3-- flip-- log1p-expm1-u associate-/l/
pow-prod-down associate-*l/
frac-2neg clear-num frac-sub
frac-times sub-neg flip3-+ diff-log div-sub associate-*r/ associate-*l* *-commutative flip-+
Counts
4 → 489
Calls
4 calls:
16.0ms
(- (/ 1.0 a) (/ 1.0 b))
38.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a)))
8.0ms
(/ (/ PI 2.0) (+ b a))
28.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))

series226.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
501 → 501
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
018087484
150016268

prune957.0ms

Filtered
501 candidates to 300 candidates (59.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New5001501
Fresh088
Picked011
Done000
Total50010510

Merged error: 0b

Counts
510 → 10

regimes100.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
01810
11810

end0.0ms

sample703.0ms

Algorithm
intervals
Results
547.0ms9532×body80valid