Details

Time bar (total: 4.4s)

sample25.0ms

Algorithm
intervals
Results
15.0ms305×body80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
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: 12.9b

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.5b
(/ 1.0 (- (* b b) (* a a)))
4.1b
(- (* b b) (* a a))
7.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:
14.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
6.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
25.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series229.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
41.0ms
(/ 1.0 (- (* b b) (* a a)))
37.0ms
(- (* b b) (* a a))
93.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 (21.0ms)

IterNodesCost
08041567
145031342
250011342

prune360.0ms

Filtered
165 candidates to 119 candidates (72.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15411165
Fresh000
Picked101
Done000
Total15511166

Merged error: 7.8b

Counts
166 → 11

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

rewrite126.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:
8.0ms
(/ 1.0 (- b a))
56.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
8.0ms
(/ (/ PI 2.0) (+ b a))
35.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))
64.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
49.0ms
(/ (/ PI 2.0) (+ b a))
94.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 (28.0ms)

IterNodesCost
012602632
150012332

prune598.0ms

Filtered
300 candidates to 204 candidates (68.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2928300
Fresh8210
Picked101
Done000
Total30110311

Merged error: 0.0b

Counts
311 → 10

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

rewrite221.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:
13.0ms
(- (/ 1.0 a) (/ 1.0 b))
29.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
8.0ms
(/ (/ PI 2.0) (+ b a))
30.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (/ 1.0 a) (/ 1.0 b))
112.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
50.0ms
(/ (/ PI 2.0) (+ b a))
102.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify108.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09311844
145831596
250021596

prune387.0ms

Filtered
202 candidates to 136 candidates (67.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2002202
Fresh279
Picked011
Done000
Total20210212

Merged error: 0b

Counts
212 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
98×times-frac
88×*-un-lft-identity
80×add-sqr-sqrt
47×add-exp-log add-cbrt-cube
34×add-cube-cbrt
21×distribute-lft-out--
19×difference-of-squares
16×cbrt-undiv div-exp associate-/r/
15×prod-exp cbrt-unprod
12×associate-*r* div-inv
11×associate-/l*
10×associate-*l/
pow1 associate-/r*
associate-/l/ distribute-lft-out
flip3-+ flip-+
frac-times flip3-- associate-*r/ flip-- add-log-exp
frac-sub
sub-neg pow-prod-down
distribute-rgt-in frac-2neg distribute-lft-in clear-num
diff-log associate-*l* *-commutative
Counts
4 → 186
Calls
4 calls:
13.0ms
(- (/ 1.0 a) (/ 1.0 b))
26.0ms
(/ (/ (* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a)) (- b a))
23.0ms
(/ (* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
23.0ms
(* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series310.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (/ 1.0 a) (/ 1.0 b))
98.0ms
(/ (/ (* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a)) (- b a))
120.0ms
(/ (* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
60.0ms
(* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify46.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09202312
150022031

prune346.0ms

Filtered
198 candidates to 133 candidates (67.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1971198
Fresh268
Picked011
Done101
Total2008208

Merged error: 0b

Counts
208 → 8

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

sample644.0ms

Algorithm
intervals
Results
494.0ms9539×body80valid

Profiling

Loading profile data...