Details

Time bar (total: 5.6s)

sample24.0ms

Algorithm
intervals
Results
13.0ms301×body80valid

simplify39.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: 16.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.8b
(/ 1.0 (- (* b b) (* a a)))
6.0b
(- (* b b) (* a a))
9.2b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite188.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:
44.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
13.0ms
(/ 1.0 (- (* b b) (* a a)))
8.0ms
(- (* b b) (* a a))
118.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series228.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
43.0ms
(/ 1.0 (- (* b b) (* a a)))
36.0ms
(- (* b b) (* a a))
90.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify105.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250021342

prune394.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 9.1b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite278.0ms

Algorithm
rewrite-expression-head
Rules
229×times-frac
185×*-un-lft-identity
160×add-sqr-sqrt
109×add-cube-cbrt
59×add-exp-log associate-*l* add-cbrt-cube
33×associate-*r*
27×distribute-lft-out
21×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
16×div-inv
14×frac-times
13×associate-/l* distribute-lft-out--
11×pow1 difference-of-squares
associate-*r/ associate-*l/
flip3-- associate-/r/ flip-- add-log-exp unswap-sqr
frac-sub
pow-prod-down associate-/r*
sub-neg
distribute-rgt-in distribute-lft-in flip3-+ *-commutative flip-+
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 273
Calls
4 calls:
25.0ms
(- (/ 1.0 a) (/ 1.0 b))
77.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
17.0ms
(/ (/ PI 2.0) (+ b a))
144.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series255.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (/ 1.0 a) (/ 1.0 b))
63.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
56.0ms
(/ (/ PI 2.0) (+ b a))
98.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify50.0ms

Algorithm
egg-herbie
Counts
285 → 285
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012702599
150012298

prune791.0ms

Pruning

7 alts after pruning (7 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) (+ 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)))

rewrite266.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:
24.0ms
(- (/ 1.0 a) (/ 1.0 b))
97.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
17.0ms
(/ (/ PI 2.0) (+ b a))
119.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ 1.0 a) (/ 1.0 b))
96.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
54.0ms
(/ (/ PI 2.0) (+ b a))
104.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify112.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09311844
145831596
250011596

prune449.0ms

Pruning

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

rewrite192.0ms

Algorithm
rewrite-expression-head
Rules
514×times-frac
420×add-sqr-sqrt
380×*-un-lft-identity
142×add-cube-cbrt
122×distribute-lft-out--
105×difference-of-squares
83×associate-/r*
44×div-inv
43×add-exp-log add-cbrt-cube
22×cbrt-undiv div-exp
19×associate-/l*
14×distribute-lft-out
12×associate-/r/
prod-exp cbrt-unprod add-log-exp
flip3-- flip--
pow1 frac-sub associate-/l/
frac-2neg clear-num
sub-neg flip3-+ diff-log div-sub associate-*l/ flip-+
Counts
4 → 366
Calls
4 calls:
24.0ms
(- (/ 1.0 a) (/ 1.0 b))
51.0ms
(/ (- b a) (- (/ 1.0 a) (/ 1.0 b)))
76.0ms
(/ (* (/ (/ PI 2.0) (+ b a)) 1.0) (/ (- b a) (- (/ 1.0 a) (/ 1.0 b))))
17.0ms
(/ (/ PI 2.0) (+ b a))

series237.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ 1.0 a) (/ 1.0 b))
52.0ms
(/ (- b a) (- (/ 1.0 a) (/ 1.0 b)))
96.0ms
(/ (* (/ (/ PI 2.0) (+ b a)) 1.0) (/ (- b a) (- (/ 1.0 a) (/ 1.0 b))))
57.0ms
(/ (/ PI 2.0) (+ b a))

simplify68.0ms

Algorithm
egg-herbie
Counts
378 → 378
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014984278
150014025

prune869.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

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

sample636.0ms

Algorithm
intervals
Results
428.0ms9598×body80valid