Details

Time bar (total: 6.0s)

sample22.0ms

Algorithm
intervals
Results
13.0ms311×body80valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.9b
(/ 1.0 (- (* b b) (* a a)))
3.4b
(- (* b b) (* a a))
9.8b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
625×frac-times
368×clear-num
355×frac-2neg
297×frac-sub
219×*-commutative
216×difference-of-squares
212×associate-/r*
102×associate-*r/
71×associate-*l/
37×flip3-- flip--
13×un-div-inv
associate-*l*
associate-*r* div-inv
associate-/r/
sub-neg
distribute-rgt-in distribute-lft-in
distribute-lft-out--
Counts
4 → 461
Calls
4 calls:
11.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
4.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
22.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
40.0ms
(/ 1.0 (- (* b b) (* a a)))
33.0ms
(- (* b b) (* a a))
87.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify112.0ms

Algorithm
egg-herbie
Counts
473 → 473
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
022626313
150026009

prune700.0ms

Filtered
473 candidates to 227 candidates (48.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4667473
Fresh000
Picked101
Done000
Total4677474

Merged error: 0.0b

Counts
474 → 7

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
112×clear-num
99×associate-*r/
90×frac-sub
88×frac-times
87×frac-2neg
59×associate-/l/
46×associate-*l*
27×times-frac
25×un-div-inv
23×associate-*r*
21×*-commutative
18×div-inv
16×neg-mul-1 associate-/r/
11×flip3-- flip--
associate-/l*
associate-*l/
flip3-+ flip-+
distribute-lft-neg-out distribute-lft-out--
associate-/r*
distribute-rgt-in sub-neg distribute-lft-in
distribute-frac-neg
Counts
4 → 191
Calls
4 calls:
3.0ms
(/ 1.0 (+ b a))
32.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)))
4.0ms
(* (- PI) (/ 1.0 (+ b a)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ 1.0 (+ b a))
93.0ms
(/ (* (* (- PI) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (* (- 2.0) (- b a)))
105.0ms
(* (* (- PI) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
52.0ms
(* (- PI) (/ 1.0 (+ b a)))

simplify46.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011971931
150011775

prune579.0ms

Filtered
203 candidates to 174 candidates (85.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1976203
Fresh246
Picked101
Done000
Total20010210

Merged error: 0.0b

Counts
210 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
426×frac-times
282×clear-num
281×frac-2neg
235×associate-/l/
216×frac-sub
123×associate-*r/
89×associate-/l*
70×neg-mul-1
26×flip3-- flip--
25×div-inv
24×associate-*l*
22×associate-*l/
20×associate-/r/
14×associate-*r*
flip3-+ *-commutative flip-+
distribute-lft-out--
times-frac
associate-/r*
distribute-rgt-in sub-neg distribute-lft-in distribute-frac-neg
distribute-lft-neg-out neg-sub0 div-sub un-div-inv
Counts
4 → 371
Calls
4 calls:
3.0ms
(/ 1.0 (+ b a))
27.0ms
(* (/ (- PI) (- b a)) (/ (* (/ 1.0 (+ b a)) (- (/ 1.0 a) (/ 1.0 b))) (- 2.0)))
3.0ms
(/ (- PI) (- b a))
10.0ms
(* (/ 1.0 (+ b a)) (- (/ 1.0 a) (/ 1.0 b)))

series260.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
383 → 383
Iterations

Useful iterations: 1 (55.0ms)

IterNodesCost
028785020
150024800

prune1.3s

Filtered
383 candidates to 330 candidates (86.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3776383
Fresh639
Picked101
Done000
Total3849393

Merged error: 0b

Counts
393 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
662×frac-times
452×clear-num
379×frac-2neg
365×associate-*r/
355×associate-/l/
324×frac-sub
145×un-div-inv
125×associate-/l*
98×neg-mul-1
38×flip3-- associate-*l* flip--
37×associate-*r*
34×associate-*l/
25×div-inv
20×associate-/r/
15×*-commutative
flip3-+ times-frac flip-+
distribute-lft-out--
associate-/r*
distribute-rgt-in sub-neg distribute-lft-in distribute-frac-neg
distribute-lft-neg-out neg-sub0 div-sub inv-pow
Counts
4 → 530
Calls
4 calls:
4.0ms
(/ 1 (+ b a))
40.0ms
(* (/ (- PI) (- b a)) (/ (* (* 1.0 (/ 1 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (- 2.0)))
3.0ms
(/ (- PI) (- b a))
12.0ms
(* (* 1.0 (/ 1 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 1 (+ b a))
95.0ms
(* (/ (- PI) (- b a)) (/ (* (* 1.0 (/ 1 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (- 2.0)))
44.0ms
(/ (- PI) (- b a))
77.0ms
(* (* 1.0 (/ 1 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify135.0ms

Algorithm
egg-herbie
Counts
542 → 542
Iterations

Useful iterations: 1 (55.0ms)

IterNodesCost
030127248
150016947

prune928.0ms

Filtered
542 candidates to 289 candidates (53.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New5366542
Fresh718
Picked011
Done000
Total5438551

Merged error: 0b

Counts
551 → 8

regimes65.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
13012
23312
33312

end0.0ms

sample567.0ms

Algorithm
intervals
Results
415.0ms9580×body80valid