Details

Time bar (total: 8.3s)

sample38.0ms

Algorithm
intervals
Results
22.0ms310×body80valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.5b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.8b
(/ 1.0 (- (* b b) (* a a)))
4.9b
(- (* b b) (* a a))
8.1b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
47×times-frac
39×*-un-lft-identity
36×add-exp-log add-cbrt-cube
31×add-cube-cbrt
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
div-inv distribute-lft-out--
pow-prod-down associate-/r* associate-/r/ frac-sub unswap-sqr
sub-neg associate-/l*
distribute-rgt-in distribute-lft-in *-commutative
frac-2neg diff-log clear-num
Counts
4 → 153
Calls
4 calls:
16.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
3.0ms
(- (* b b) (* a a))
22.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
6.0ms
(/ 1.0 (- (* b b) (* a a)))
5.0ms
(- (* b b) (* a a))
12.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify108.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250011342

prune1.1s

Filtered
165 candidates to 119 candidates (27.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15510165
Fresh000
Picked101
Done000
Total15610166

Merged error: 7.9b

Counts
166 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
352×times-frac
305×*-un-lft-identity
256×add-sqr-sqrt
149×add-cube-cbrt
108×associate-*r*
61×add-exp-log add-cbrt-cube
42×distribute-lft-out--
41×difference-of-squares
37×distribute-lft-out
28×associate-/r/
22×cbrt-undiv div-exp
21×associate-/l*
19×prod-exp cbrt-unprod
17×div-inv
14×frac-times associate-*l*
12×flip3-+ flip-+
11×pow1
associate-/r*
associate-*r/ associate-*l/
flip3-- flip-- unswap-sqr
pow-prod-down frac-sub add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in clear-num *-commutative
associate-/l/
Counts
4 → 358
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
11.0ms
(/ (/ 1.0 (+ b a)) (- b a))
40.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
30.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
7.0ms
(/ (/ 1.0 (+ b a)) (- b a))
9.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
13.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify69.0ms

Algorithm
egg-herbie
Counts
370 → 370
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014673480
150023169

prune3.9s

Filtered
370 candidates to 235 candidates (36.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New3655370
Fresh369
Picked011
Done000
Total36812380

Merged error: 0.0b

Counts
380 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log add-cbrt-cube
47×*-un-lft-identity
42×add-sqr-sqrt
36×times-frac
30×associate-*r*
25×add-cube-cbrt
21×prod-exp cbrt-unprod
17×associate-*r/
13×cbrt-undiv div-exp
11×pow1
associate-/l/ distribute-lft-out
frac-times associate-/r/
flip3-- associate-/r* flip-- div-inv distribute-lft-out--
associate-*l* pow-prod-down frac-sub associate-/l* add-log-exp difference-of-squares
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ associate-*l/ clear-num *-commutative flip-+ unswap-sqr
Counts
4 → 148
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
26.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
21.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
9.0ms
(* PI (/ 1.0 (+ b a)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
13.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
12.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
7.0ms
(* PI (/ 1.0 (+ b a)))

simplify111.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07381318
147401036
250021036

prune847.0ms

Filtered
160 candidates to 102 candidates (36.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1555160
Fresh7310
Picked101
Done011
Total1639172

Merged error: 0.0b

Counts
172 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
50×add-exp-log add-cbrt-cube
39×add-sqr-sqrt
35×*-un-lft-identity
29×times-frac
17×prod-exp cbrt-unprod
16×cbrt-undiv div-exp
13×add-cube-cbrt
12×associate-*r*
10×associate-*l* distribute-lft-out--
associate-*r/ difference-of-squares
div-inv associate-/l/
pow1 frac-times flip3-- associate-/r/ flip-- add-log-exp
associate-/r* frac-sub
sub-neg distribute-lft-out
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ associate-*l/ clear-num flip-+ associate-/l*
diff-log pow-prod-down *-commutative unswap-sqr
Counts
4 → 134
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
23.0ms
(/ (* (/ (* PI 1.0) (+ b a)) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
6.0ms
(/ (* PI 1.0) (+ b a))
23.0ms
(* (/ (* PI 1.0) (+ b a)) (- (/ 1.0 a) (/ 1.0 b)))

series39.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (/ 1.0 a) (/ 1.0 b))
12.0ms
(/ (* (/ (* PI 1.0) (+ b a)) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
7.0ms
(/ (* PI 1.0) (+ b a))
16.0ms
(* (/ (* PI 1.0) (+ b a)) (- (/ 1.0 a) (/ 1.0 b)))

simplify96.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07421334
143571050
250021050

prune631.0ms

Filtered
146 candidates to 95 candidates (34.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1460146
Fresh077
Picked011
Done011
Total1469155

Merged error: 0.0b

Counts
155 → 9

regimes134.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
01910
11910

end0.0ms

sample806.0ms

Algorithm
intervals
Results
553.0ms9600×body80valid

Profiling

Loading profile data...