Details

Time bar (total: 3.2s)

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

prune1.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)))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
662×*-un-lft-identity
589×times-frac
496×add-sqr-sqrt
378×prod-diff
368×add-cube-cbrt
86×associate-/r/
79×distribute-lft-out--
76×distribute-lft-out
62×difference-of-squares
44×div-inv
24×flip-+
23×flip3-+
21×flip--
20×flip3--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub
Counts
3 → 504
Calls
3 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
38.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series217.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ 1.0 (- x 1.0))
24.0ms
(/ 1.0 (+ x 1.0))
166.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify175.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0120013350
135939620
250019568

prune620.0ms

Filtered
513 candidates to 209 candidates (40.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New5112513
Fresh000
Picked101
Done000
Total5122514

Merged error: 1.0b

Counts
514 → 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))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
39×add-sqr-sqrt
29×prod-diff
27×add-cube-cbrt
14×add-log-exp
12×times-frac
11×associate--l+ distribute-lft-out--
10×difference-of-squares
distribute-lft-out
diff-log
fma-neg
add-exp-log flip3-- associate-/r* frac-sub add-cbrt-cube flip--
associate-/l*
pow1 expm1-log1p-u sub-neg flip3-+ sum-log associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
2 → 99
Calls
2 calls:
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
12.0ms
(- (- x 1.0) (+ x 1.0))

series58.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0500926
12870692
25001690

prune154.0ms

Filtered
105 candidates to 69 candidates (65.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1032105
Fresh101
Picked101
Done000
Total1052107

Merged error: 1.0b

Counts
107 → 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)))

rewrite23.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 expm1-log1p-u flip3-- div-exp prod-exp flip-- cbrt-unprod log1p-expm1-u 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 → 82
Calls
2 calls:
15.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series102.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0455678
12096616
25001612

prune161.0ms

Filtered
88 candidates to 72 candidates (81.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New84488
Fresh101
Picked011
Done000
Total85590

Merged error: 0.0b

Counts
90 → 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))

rewrite55.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 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 374
Calls
2 calls:
7.0ms
(/ (- 2.0) (+ x 1.0))
19.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

series92.0ms

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

simplify128.0ms

Algorithm
egg-herbie
Counts
380 → 380
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011203956
148013876
250013876

prune527.0ms

Filtered
380 candidates to 235 candidates (61.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3782380
Fresh213
Picked011
Done011
Total3805385

Merged error: 0b

Counts
385 → 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

sample542.0ms

Algorithm
intervals
Results
201.0ms1926×body640valid
122.0ms4223×body80valid
94.0ms1235×body320valid
32.0ms616×body160valid