Details

Time bar (total: 2.9s)

sample47.0ms

Algorithm
intervals
Results
17.0ms313×body80valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune3.0ms

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))))
1.2b
(/ 1.0 (- (* b b) (* a a)))
4.6b
(- (* b b) (* a a))
8.4b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite50.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:
12.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
7.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)))

series32.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)))
6.0ms
(- (* b b) (* a a))
12.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify104.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08041567
145031342
250011342

prune228.0ms

Filtered
119 candidates to 165 candidates (-38.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1596165
Fresh000
Picked101
Done000
Total1606166

Merged error: 8.2b

Counts
166 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
234×times-frac
193×*-un-lft-identity
164×add-sqr-sqrt
117×add-cube-cbrt
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*
15×div-inv
14×frac-times
12×distribute-lft-out--
11×pow1 difference-of-squares
associate-/r*
associate-*r/ associate-*l/ associate-/r/
flip3-- flip-- unswap-sqr
pow-prod-down frac-sub add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ clear-num *-commutative flip-+
associate-/l/
Counts
4 → 288
Calls
4 calls:
5.0ms
(/ 1.0 (- b a))
29.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
9.0ms
(/ (/ PI 2.0) (+ b a))
28.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series37.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
300 → 300
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012602632
150012332

prune392.0ms

Filtered
204 candidates to 300 candidates (-47.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2964300
Fresh235
Picked101
Done000
Total2997306

Merged error: 0.0b

Counts
306 → 7

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) (- (/ 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)))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
122×times-frac
108×*-un-lft-identity
88×add-sqr-sqrt
60×add-cube-cbrt
43×add-exp-log add-cbrt-cube
14×cbrt-undiv div-exp prod-exp cbrt-unprod distribute-lft-out associate-/l*
12×associate-*r* distribute-lft-out--
11×div-inv
10×associate-*l/ difference-of-squares
pow1 associate-/r*
associate-/l/
frac-times flip3-- associate-*r/ flip-- add-log-exp
frac-sub
associate-/r/
sub-neg pow-prod-down
distribute-rgt-in frac-2neg distribute-lft-in clear-num
flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 190
Calls
4 calls:
11.0ms
(- (/ 1.0 a) (/ 1.0 b))
26.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
7.0ms
(/ (/ PI 2.0) (+ b a))
25.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 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 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
7.0ms
(/ (/ PI 2.0) (+ b a))
16.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify105.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09311844
145831596
250021596

prune246.0ms

Filtered
137 candidates to 202 candidates (-47.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1993202
Fresh156
Picked011
Done000
Total2009209

Merged error: 0b

Counts
209 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
247×add-exp-log add-cbrt-cube
129×times-frac
108×prod-exp cbrt-unprod
105×*-un-lft-identity
88×cbrt-undiv div-exp
77×add-sqr-sqrt
65×add-cube-cbrt
19×associate-/l*
16×pow1
14×div-inv distribute-lft-out
12×associate-*r/
10×associate-/r*
distribute-rgt-in distribute-lft-in pow-prod-down associate-*l/
associate-/l/
distribute-lft-out-- difference-of-squares
flip3-- flip--
frac-times sub-neg associate-/r/ add-log-exp
frac-2neg clear-num
flip3-+ associate-*r* associate-*l* *-commutative flip-+
Counts
4 → 269
Calls
4 calls:
24.0ms
(/ (/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (* 1.0 (- b a))) (* a b)) (- b a))
7.0ms
(/ (/ PI 2.0) (+ b a))
16.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (* 1.0 (- b a)))
20.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (* 1.0 (- b a))) (* a b))

series48.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012493709
150012766

prune205.0ms

Filtered
139 candidates to 281 candidates (-102.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2810281
Fresh077
Picked011
Done011
Total2819290

Merged error: 0b

Counts
290 → 9

regimes104.0ms

Accuracy

0% (0.2b 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
02011
12011

end0.0ms

sample795.0ms

Algorithm
intervals
Results
543.0ms9619×body80valid

Profiling

Loading profile data...