Details

Time bar (total: 2.9s)

sample31.0ms

Algorithm
intervals
Results
19.0ms292×body80valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
0504621

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

Counts
2 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b))))
0.7b
(/ 1.0 (- (* b b) (* a a)))
5.6b
(- (* b b) (* a a))
8.7b
(* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
44×times-frac
39×*-un-lft-identity
32×add-exp-log add-cbrt-cube
31×add-cube-cbrt associate-*l*
16×frac-times associate-*r/
13×associate-*r*
12×prod-exp cbrt-unprod difference-of-squares
11×pow1
10×distribute-rgt-in distribute-lft-in
flip3-- flip--
cbrt-undiv sub-neg div-exp
frac-sub add-log-exp
div-inv distribute-lft-out--
pow-prod-down associate-*l/ associate-/r* associate-/r/
associate-/l*
*-commutative unswap-sqr
frac-2neg diff-log clear-num
Counts
4 → 161
Calls
4 calls:
26.0ms
(* (/ PI 2.0) (* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b))))
6.0ms
(/ 1.0 (- (* b b) (* a a)))
8.0ms
(- (* b b) (* a a))
25.0ms
(* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b)))

series39.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049753133
149753133

prune269.0ms

Filtered
125 candidates to 173 candidates (-38.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1685173
Fresh011
Picked101
Done000
Total1696175

Merged error: 0.1b

Counts
175 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
167×add-exp-log
95×add-cbrt-cube
88×prod-exp
68×add-sqr-sqrt
61×*-un-lft-identity
57×frac-times times-frac
46×cbrt-unprod
44×div-exp
43×associate-*r/ associate-*l*
33×add-cube-cbrt
25×associate-*l/
23×cbrt-undiv associate-*r*
20×pow1
16×flip3-- flip--
15×frac-sub
13×distribute-lft-out--
11×difference-of-squares
10×pow-prod-down
rec-exp 1-exp
div-inv
add-log-exp
associate-/r/
*-commutative distribute-lft-out
unswap-sqr
sub-neg flip3-+ diff-log flip-+
Counts
4 → 235
Calls
4 calls:
14.0ms
(- (/ 1.0 a) (/ 1.0 b))
38.0ms
(* (/ PI 2.0) (* (/ 1 (+ b a)) (* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a)))))
28.0ms
(* (/ 1 (+ b a)) (* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a))))
29.0ms
(* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a)))

series39.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
051014550

prune348.0ms

Filtered
158 candidates to 247 candidates (-56.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2425247
Fresh325
Picked101
Done000
Total2467253

Merged error: 0.0b

Counts
253 → 7

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
59×add-exp-log add-cbrt-cube
45×*-un-lft-identity
35×add-sqr-sqrt times-frac
23×add-cube-cbrt prod-exp cbrt-unprod
18×associate-*r*
17×cbrt-undiv div-exp
14×associate-*r/
pow1
associate-*l/
associate-/l/ distribute-lft-out
frac-times flip3-- associate-/r/ flip-- add-log-exp
associate-/r* frac-sub div-inv distribute-lft-out--
associate-/l* difference-of-squares
pow-prod-down
frac-2neg flip3-+ clear-num flip-+
sub-neg diff-log associate-*l* *-commutative
Counts
4 → 141
Calls
4 calls:
17.0ms
(- (/ 1.0 a) (/ 1.0 b))
28.0ms
(/ (* (* 1.0 (- (/ 1.0 a) (/ 1.0 b))) (/ PI (+ a b))) (* (- b a) 2.0))
5.0ms
(/ PI (+ a b))
23.0ms
(* (* 1.0 (- (/ 1.0 a) (/ 1.0 b))) (/ PI (+ a b)))

series39.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
051602226

prune179.0ms

Filtered
99 candidates to 153 candidates (-54.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1512153
Fresh156
Picked011
Done000
Total1528160

Merged error: 0b

Counts
160 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
128×add-sqr-sqrt times-frac
125×*-un-lft-identity
47×add-exp-log add-cbrt-cube
45×add-cube-cbrt
33×distribute-lft-out--
27×difference-of-squares
17×cbrt-undiv div-exp
16×div-inv
14×prod-exp cbrt-unprod
13×associate-*l* distribute-lft-out associate-/l*
11×associate-*r*
associate-/r*
pow1 associate-/r/ add-log-exp
flip3-- flip-- associate-/l/
frac-2neg associate-*r/ clear-num frac-sub unswap-sqr
frac-times sub-neg flip3-+ diff-log div-sub pow-prod-down associate-*l/ *-commutative flip-+
Counts
4 → 188
Calls
4 calls:
17.0ms
(- (/ 1.0 a) (/ 1.0 b))
25.0ms
(/ (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (+ a b))) (- b a))
32.0ms
(* (/ PI 2.0) (/ (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (+ a b))) (- b a)))
23.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (+ a b))

series41.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
056303564

prune253.0ms

Filtered
137 candidates to 200 candidates (-46.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2000200
Fresh066
Picked011
Done011
Total2008208

Merged error: 0b

Counts
208 → 8

regimes157.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
01921
11921

end0.0ms

sample905.0ms

Algorithm
intervals
Results
625.0ms9506×body80valid

Profiling

Loading profile data...