Details

Time bar (total: 2.1s)

sample20.0ms

Algorithm
intervals
Results
6.0ms58×body640valid
4.0ms143×body80valid
3.0ms43×body320valid
1.0ms12×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: 13.6b

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))
2.2b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

rewrite39.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:
6.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
24.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series226.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0387679
11331648
25001644

prune180.0ms

Filtered
111 candidates to 78 candidates (70.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1083111
Fresh000
Picked101
Done000
Total1093112

Merged error: 0.6b

Counts
112 → 3

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* 1.0 1.0))
0.0b
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
1.7b
(- (- x 1.0) (+ x 1.0))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity add-log-exp
add-exp-log flip3-- frac-sub add-cbrt-cube flip--
add-sqr-sqrt diff-log
associate-*r/ associate-/l/ distribute-lft-out--
add-cube-cbrt
flip3-+ times-frac associate-/r* flip-+ difference-of-squares
pow1 sub-neg
cbrt-undiv div-exp associate--l+ sum-log associate-/r/ distribute-lft-out
associate--l- frac-2neg prod-exp clear-num cbrt-unprod div-inv associate-/l* associate--r+
Counts
3 → 72
Calls
3 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
16.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
10.0ms
(- (- x 1.0) (+ x 1.0))

series101.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (* x x) (* 1.0 1.0))
54.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
7.0ms
(- (- x 1.0) (+ x 1.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0471660
12732582
25002579

prune133.0ms

Filtered
81 candidates to 58 candidates (71.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79281
Fresh112
Picked101
Done000
Total81384

Merged error: 0.6b

Counts
84 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac associate-/r* add-log-exp
difference-of-squares
pow1 cbrt-undiv flip3-- div-exp associate-/r/ flip--
sub-neg frac-2neg diff-log distribute-frac-neg prod-exp clear-num distribute-rgt-neg-out cbrt-unprod div-inv associate-/l*
Counts
2 → 39
Calls
2 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
8.0ms
(/ (* 1.0 (- 2.0)) (- (* x x) (* 1.0 1.0)))

series100.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0270337
11322286
25001282

prune78.0ms

Filtered
45 candidates to 35 candidates (77.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh112
Picked011
Done000
Total44448

Merged error: 0.0b

Counts
48 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
65×*-un-lft-identity
49×add-sqr-sqrt
27×add-cube-cbrt
16×add-exp-log associate-/r/ add-cbrt-cube
11×associate-/l* distribute-lft-out-- difference-of-squares
associate-/r*
div-inv distribute-lft-out
cbrt-undiv flip3-+ div-exp flip-+
distribute-frac-neg
pow1 frac-2neg prod-exp clear-num distribute-rgt-neg-out cbrt-unprod add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 111
Calls
2 calls:
7.0ms
(/ (* 1.0 (- 2.0)) (+ x 1.0))
13.0ms
(/ (/ (* 1.0 (- 2.0)) (+ x 1.0)) (- x 1.0))

series100.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ (* 1.0 (- 2.0)) (+ x 1.0))
70.0ms
(/ (/ (* 1.0 (- 2.0)) (+ x 1.0)) (- x 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05711119
130061036
250011036

prune169.0ms

Filtered
117 candidates to 83 candidates (70.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1143117
Fresh112
Picked011
Done011
Total1156121

Merged error: 0.0b

Counts
121 → 6

regimes37.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
1196
2226
3226

end0.0ms

sample548.0ms

Algorithm
intervals
Results
204.0ms1947×body640valid
116.0ms4237×body80valid
101.0ms1207×body320valid
32.0ms609×body160valid