Details

Time bar (total: 2.9s)

analyze234.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
15.6%84.3%0.1%6
37.5%62.4%0.1%7
46.8%53.1%0.1%8
57.8%39.8%2.4%9
64.6%30.4%5%10
71.8%20.3%7.9%11
74.1%16.2%9.7%12
77.4%10.7%12%13
78.6%8.4%13%14

sample23.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
0.0msbody80invalid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (12.0ms)

IterNodesCost
0516721

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.1b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.8b
(/ 1.0 (- (* b b) (* a a)))
4.0b
(- (* b b) (* a a))
10.1b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite55.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*
*-commutative
distribute-rgt-in frac-2neg distribute-lft-in diff-log clear-num
Counts
4 → 150
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))
26.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)))
5.0ms
(- (* b b) (* a a))
12.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify56.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050182608

prune241.0ms

Filtered
119 candidates to 162 candidates (-36.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1548162
Fresh011
Picked101
Done000
Total1559164

Merged error: 10.0b

Counts
164 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite115.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
sub-neg frac-2neg clear-num *-commutative
distribute-rgt-in distribute-lft-in associate-/l/
Counts
4 → 356
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
44.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
11.0ms
(/ (/ 1.0 (+ b a)) (- b a))
34.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))
9.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
7.0ms
(/ (/ 1.0 (+ b a)) (- b a))
12.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify71.0ms

Algorithm
egg-herbie
Counts
368 → 368
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050125968

prune470.0ms

Filtered
236 candidates to 368 candidates (-55.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New3635368
Fresh358
Picked101
Done000
Total36710377

Merged error: 0.1b

Counts
377 → 10

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log add-cbrt-cube
47×*-un-lft-identity
42×add-sqr-sqrt
36×times-frac
25×add-cube-cbrt associate-*r/
21×associate-*l* prod-exp cbrt-unprod
13×cbrt-undiv div-exp associate-*r*
11×pow1
frac-times
flip3-- flip-- associate-/l/ distribute-lft-out
sub-neg associate-/r/ frac-sub
distribute-rgt-in distribute-lft-in associate-/r* div-inv distribute-lft-out--
pow-prod-down associate-/l* add-log-exp difference-of-squares
associate-*l/
frac-2neg flip3-+ clear-num *-commutative flip-+ unswap-sqr
Counts
4 → 156
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
28.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))))
23.0ms
(* (/ 1.0 (+ b a)) (- (/ 1.0 a) (/ 1.0 b)))

series39.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (+ b a))
12.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))))
10.0ms
(* (/ 1.0 (+ b a)) (- (/ 1.0 a) (/ 1.0 b)))

simplify44.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
053772461

prune228.0ms

Filtered
113 candidates to 168 candidates (-48.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1626168
Fresh639
Picked101
Done000
Total1699178

Merged error: 0.0b

Counts
178 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
47×add-exp-log add-cbrt-cube
42×add-sqr-sqrt times-frac
40×*-un-lft-identity
17×cbrt-undiv div-exp
16×add-cube-cbrt
14×prod-exp cbrt-unprod
12×associate-*l*
11×associate-/l*
10×distribute-lft-out--
associate-/r/ div-inv difference-of-squares
pow1 associate-*l/ add-log-exp
associate-*r/ associate-/r*
flip3-- flip-- associate-/l/ distribute-lft-out
flip3-+ associate-*r* frac-sub flip-+
frac-2neg clear-num
sub-neg diff-log pow-prod-down *-commutative unswap-sqr
Counts
4 → 131
Calls
4 calls:
13.0ms
(- (/ 1.0 a) (/ 1.0 b))
24.0ms
(/ (/ (* 1.0 (* (- (/ 1.0 a) (/ 1.0 b)) PI)) (+ b a)) (* 2.0 (- b a)))
21.0ms
(/ (* 1.0 (* (- (/ 1.0 a) (/ 1.0 b)) PI)) (+ b a))
18.0ms
(* (- (/ 1.0 a) (/ 1.0 b)) PI)

series37.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
053322266

prune161.0ms

Filtered
98 candidates to 143 candidates (-45.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1403143
Fresh268
Picked011
Done000
Total14210152

Merged error: 0b

Counts
152 → 10

regimes113.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 (1.0ms)

IterNodesCost
04321
14321

end0.0ms

sample634.0ms

Algorithm
intervals
Results
476.0ms8000×body80valid
20.0ms345×body80invalid

Profiling

Loading profile data...