Details

Time bar (total: 5.5s)

sample25.0ms

Algorithm
intervals
Results
14.0ms307×body80valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.5b

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)))
2.9b
(- (* b b) (* a a))
8.9b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite182.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:
42.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
12.0ms
(/ 1.0 (- (* b b) (* a a)))
8.0ms
(- (* b b) (* a a))
112.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series216.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
40.0ms
(/ 1.0 (- (* b b) (* a a)))
29.0ms
(- (* b b) (* a a))
88.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify110.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250021342

prune425.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 8.7b

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

rewrite299.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:
25.0ms
(- (/ 1.0 a) (/ 1.0 b))
27.0ms
(/ (/ 1.0 (+ b a)) (- b a))
83.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
145.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (/ 1.0 a) (/ 1.0 b))
45.0ms
(/ (/ 1.0 (+ b a)) (- b a))
63.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
94.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify63.0ms

Algorithm
egg-herbie
Counts
359 → 359
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014983481
150023169

prune850.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite261.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
59×add-exp-log add-cbrt-cube
52×*-un-lft-identity
50×times-frac
30×associate-*r*
27×frac-times
26×add-cube-cbrt
22×prod-exp cbrt-unprod
18×cbrt-undiv div-exp
15×associate-*r/ associate-*l/ associate-/l/
14×associate-*l*
12×distribute-lft-out--
11×pow1
10×flip3-- flip-- difference-of-squares
frac-sub
div-inv
add-log-exp
associate-/r*
pow-prod-down associate-/r/ unswap-sqr
sub-neg distribute-lft-out
distribute-rgt-in distribute-lft-in *-commutative
frac-2neg flip3-+ diff-log clear-num flip-+ associate-/l*
Counts
4 → 179
Calls
4 calls:
24.0ms
(- (/ 1.0 a) (/ 1.0 b))
85.0ms
(/ (* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
36.0ms
(* (/ PI 2.0) (/ 1.0 (+ b a)))
108.0ms
(* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))

series280.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (/ 1.0 a) (/ 1.0 b))
95.0ms
(/ (* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
49.0ms
(* (/ PI 2.0) (/ 1.0 (+ b a)))
99.0ms
(* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify44.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
09871768
150021458

prune468.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite408.0ms

Algorithm
rewrite-expression-head
Rules
269×add-exp-log add-cbrt-cube
129×prod-exp cbrt-unprod
85×cbrt-undiv div-exp
44×times-frac
43×*-un-lft-identity
37×add-sqr-sqrt
25×add-cube-cbrt
21×associate-*r*
18×pow1
14×associate-*l/
12×associate-*r/
pow-prod-down div-inv
flip3-- associate-/r* flip-- associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares
frac-times associate-/r/ add-log-exp
distribute-lft-out
frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 219
Calls
4 calls:
125.0ms
(/ (/ (* (* (* 1.0 (- b a)) PI) (/ 1.0 (+ b a))) (* 2.0 (* a b))) (- b a))
32.0ms
(* (* 1.0 (- b a)) PI)
116.0ms
(* (* (* 1.0 (- b a)) PI) (/ 1.0 (+ b a)))
122.0ms
(/ (* (* (* 1.0 (- b a)) PI) (/ 1.0 (+ b a))) (* 2.0 (* a b)))

series467.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(/ (/ (* (* (* 1.0 (- b a)) PI) (/ 1.0 (+ b a))) (* 2.0 (* a b))) (- b a))
48.0ms
(* (* 1.0 (- b a)) PI)
85.0ms
(* (* (* 1.0 (- b a)) PI) (/ 1.0 (+ b a)))
265.0ms
(/ (* (* (* 1.0 (- b a)) PI) (/ 1.0 (+ b a))) (* 2.0 (* a b)))

simplify55.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011163342
150022307

prune324.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

regimes49.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
01710
11710

end0.0ms

sample626.0ms

Algorithm
intervals
Results
422.0ms9598×body80valid