Details

Time bar (total: 3.3s)

sample112.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 24.973918%

Results
22.0ms291×body80valid

simplify39.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

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.5b
(/ 1.0 (- (* b b) (* a a)))
3.6b
(- (* b b) (* a a))
9.9b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite54.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:
13.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
3.0ms
(- (* b b) (* a a))
24.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series35.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08041567
145031342
250011342

prune249.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15510165
Fresh000
Picked101
Done000
Total15610166

Merged error: 9.7b

Counts
166 → 10

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

rewrite92.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))
32.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
10.0ms
(/ (/ PI 2.0) (+ b a))
30.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
6.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)))

simplify56.0ms

Algorithm
egg-herbie
Counts
300 → 300
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012602632
150012332

prune413.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2973300
Fresh369
Picked101
Done000
Total3019310

Merged error: 0.0b

Counts
310 → 9

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

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
226×times-frac
193×*-un-lft-identity
148×add-sqr-sqrt
117×add-cube-cbrt
79×associate-*l*
52×add-exp-log add-cbrt-cube
27×distribute-lft-out
17×cbrt-undiv div-exp prod-exp cbrt-unprod
16×frac-times associate-*r/ associate-/l*
15×div-inv
13×associate-*r*
12×distribute-lft-out--
11×pow1 difference-of-squares
10×distribute-rgt-in distribute-lft-in
associate-/r*
flip3-- associate-/r/ flip--
sub-neg frac-sub
pow-prod-down associate-*l/ add-log-exp
frac-2neg flip3-+ clear-num *-commutative flip-+ unswap-sqr
associate-/l/
Counts
4 → 292
Calls
4 calls:
5.0ms
(/ 1.0 (- b a))
32.0ms
(* (/ (/ PI 2.0) (+ b a)) (* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b))))
8.0ms
(/ (/ PI 2.0) (+ b a))
26.0ms
(* (/ 1.0 (- b a)) (- (/ 1.0 a) (/ 1.0 b)))

series37.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012432856
150012568

prune425.0ms

Filtered
206 candidates to 304 candidates (-47.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2995304
Fresh538
Picked011
Done000
Total3049313

Merged error: 0.0b

Counts
313 → 9

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
194×times-frac
152×*-un-lft-identity
107×add-sqr-sqrt
98×add-cube-cbrt
58×associate-*l*
49×add-exp-log add-cbrt-cube
27×distribute-lft-out
20×cbrt-undiv div-exp
16×associate-/l*
13×prod-exp cbrt-unprod div-inv
associate-*r*
pow1 associate-/r*
associate-/r/
add-log-exp unswap-sqr
frac-2neg flip3-+ clear-num flip-+
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
3 → 205
Calls
3 calls:
24.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (* a b)))
8.0ms
(/ (/ PI 2.0) (+ b a))
4.0ms
(/ 1.0 (* a b))

series20.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (* a b)))
7.0ms
(/ (/ PI 2.0) (+ b a))
3.0ms
(/ 1.0 (* a b))

simplify87.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08461599
140941433
250031433

prune230.0ms

Filtered
143 candidates to 214 candidates (-49.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2104214
Fresh437
Picked011
Done011
Total2149223

Merged error: 0.0b

Counts
223 → 9

regimes112.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
0136
1136

end0.0ms

sample901.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 24.973918%

Results
580.0ms9635×body80valid

Profiling

Loading profile data...