Details

Time bar (total: 3.1s)

analyze224.0ms

Algorithm
search

sample21.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
0.0msbody80invalid

simplify37.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.4b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.6b
(/ 1.0 (- (* b b) (* a a)))
5.2b
(- (* b b) (* a a))
8.0b
(* (* (/ 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:
15.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
3.0ms
(- (* b b) (* a a))
21.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)))

simplify103.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08041567
145031342
250011342

prune240.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: 7.8b

Counts
166 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
350×times-frac
298×*-un-lft-identity
261×add-sqr-sqrt
142×add-cube-cbrt
108×associate-*r*
59×add-exp-log add-cbrt-cube
47×distribute-lft-out--
45×difference-of-squares
33×distribute-lft-out
26×associate-/r/
21×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
18×div-inv associate-/l*
14×frac-times associate-*l*
11×pow1 flip3-+ flip-+
associate-*r/ associate-*l/
flip3-- flip--
add-log-exp unswap-sqr
associate-/r* frac-sub
pow-prod-down
sub-neg
distribute-rgt-in distribute-lft-in *-commutative
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 347
Calls
4 calls:
14.0ms
(- (/ 1.0 a) (/ 1.0 b))
10.0ms
(/ (/ 1.0 (+ b a)) (- b a))
38.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
32.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (/ 1.0 a) (/ 1.0 b))
7.0ms
(/ (/ 1.0 (+ b a)) (- b a))
8.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
359 → 359
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014983481
150023169

prune457.0ms

Filtered
229 candidates to 359 candidates (-56.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3545359
Fresh549
Picked101
Done000
Total3609369

Merged error: 0.0b

Counts
369 → 9

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
50×add-exp-log add-cbrt-cube
47×add-sqr-sqrt
40×*-un-lft-identity
34×times-frac
30×associate-*r*
21×prod-exp cbrt-unprod
18×add-cube-cbrt
17×associate-*r/
12×cbrt-undiv div-exp
11×pow1
10×distribute-lft-out--
difference-of-squares
associate-/l/
frac-times flip3-- flip-- div-inv add-log-exp
frac-sub
associate-*l* pow-prod-down associate-/r/
sub-neg distribute-lft-out
distribute-rgt-in distribute-lft-in associate-*l/ *-commutative unswap-sqr
frac-2neg flip3-+ diff-log clear-num associate-/r* flip-+ associate-/l*
Counts
4 → 137
Calls
4 calls:
14.0ms
(- (/ 1.0 a) (/ 1.0 b))
23.0ms
(/ (* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (- b a)))
8.0ms
(* PI (/ 1.0 (+ b a)))
20.0ms
(* (* PI (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))

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

simplify104.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07621319
146861036
250011036

prune179.0ms

Filtered
96 candidates to 149 candidates (-55.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1454149
Fresh538
Picked101
Done000
Total1517158

Merged error: 0b

Counts
158 → 7

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

rewrite68.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)))
8.0ms
(/ (* PI 1.0) (+ b a))
21.0ms
(* (/ (* PI 1.0) (+ b a)) (- (/ 1.0 a) (/ 1.0 b)))

series38.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07421334
143571050
250021050

prune150.0ms

Filtered
96 candidates to 146 candidates (-52.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1460146
Fresh066
Picked011
Done000
Total1467153

Merged error: 0b

Counts
153 → 7

regimes95.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01910
11910

end0.0ms

analyze211.0ms

Algorithm
search

sample594.0ms

Algorithm
intervals
Results
446.0ms8000×body80valid
19.0ms346×body80invalid

Profiling

Loading profile data...