Details

Time bar (total: 2.7s)

sample21.0ms

Algorithm
intervals
Results
6.0ms61×body640valid
4.0ms132×body80valid
4.0ms47×body320valid
1.0ms16×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

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: 15.1b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
3.2b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
55×times-frac
50×add-sqr-sqrt
30×add-cube-cbrt
25×distribute-lft-out--
10×distribute-lft-out
associate-/r*
difference-of-squares
add-exp-log add-cbrt-cube
associate-/r/ associate-/l*
add-log-exp
div-inv
pow1 flip--
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-+
sub-neg flip3-+ diff-log frac-sub
Counts
3 → 102
Calls
3 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series254.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ 1.0 (- x 1.0))
28.0ms
(/ 1.0 (+ x 1.0))
191.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0387679
11331648
25001644

prune192.0ms

Filtered
111 candidates to 78 candidates (70.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1092111
Fresh000
Picked101
Done000
Total1102112

Merged error: 1.0b

Counts
112 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

1.0b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
2.9b
(- (- x 1.0) (+ x 1.0))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
14×add-log-exp
13×add-sqr-sqrt
12×times-frac
11×add-cube-cbrt
diff-log distribute-lft-out--
difference-of-squares
add-exp-log flip3-- associate-/r* frac-sub add-cbrt-cube flip--
associate-/l*
pow1 sub-neg flip3-+ associate--l+ sum-log associate-/r/ flip-+ distribute-lft-out
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
2 → 61
Calls
2 calls:
6.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
9.0ms
(- (- x 1.0) (+ x 1.0))

series65.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
8.0ms
(- (- x 1.0) (+ x 1.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0388479
11916448
25001446

prune124.0ms

Filtered
67 candidates to 49 candidates (73.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New65267
Fresh101
Picked101
Done000
Total67269

Merged error: 1.0b

Counts
69 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
1.0b
(/ 1.0 (- (* x x) (* 1.0 1.0)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×times-frac
22×add-cube-cbrt *-un-lft-identity
18×associate-*l*
10×associate-*r*
add-exp-log add-cbrt-cube
difference-of-squares
pow1 associate-/r* associate-/r/
distribute-lft-neg-in distribute-rgt-neg-in associate-/l*
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod div-inv add-log-exp unswap-sqr
neg-mul-1 frac-2neg pow-prod-down associate-*l/ clear-num *-commutative distribute-rgt-neg-out
Counts
2 → 78
Calls
2 calls:
12.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
6.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series113.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
57.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0438659
12023600
25001598

prune173.0ms

Filtered
84 candidates to 68 candidates (81.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New80484
Fresh101
Picked011
Done000
Total81586

Merged error: 0.0b

Counts
86 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- 2.0) (+ x 1.0))
0.1b
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
510×times-frac
449×*-un-lft-identity
307×add-sqr-sqrt
213×add-cube-cbrt
87×distribute-lft-neg-in distribute-rgt-neg-in
71×distribute-lft-out
56×associate-/l*
47×distribute-lft-out-- difference-of-squares
29×neg-mul-1
16×associate-/r/
add-exp-log associate-/r* add-cbrt-cube
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
div-sub distribute-frac-neg
pow1 neg-sub0 frac-2neg clear-num add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 370
Calls
2 calls:
7.0ms
(/ (- 2.0) (+ x 1.0))
19.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

series106.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ (- 2.0) (+ x 1.0))
79.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

simplify131.0ms

Algorithm
egg-herbie
Counts
376 → 376
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011053941
147333857
250013857

prune574.0ms

Filtered
376 candidates to 231 candidates (61.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3742376
Fresh213
Picked011
Done011
Total3765381

Merged error: 0b

Counts
381 → 5

regimes22.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1156
2196
3226
4226

end0.0ms

sample557.0ms

Algorithm
intervals
Results
207.0ms1926×body640valid
119.0ms4223×body80valid
100.0ms1235×body320valid
37.0ms616×body160valid