Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
5.0ms57×body640valid
3.0ms136×body80valid
2.0ms40×body320valid
1.0ms23×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.8b

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

rewrite40.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))
8.0ms
(/ 1.0 (+ x 1.0))
23.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series231.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0387679
11331648
25001644

prune187.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: 0.2b

Counts
112 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-log-exp
frac-sub
add-exp-log flip3-- 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 cbrt-undiv sub-neg 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
2 → 59
Calls
2 calls:
16.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
9.0ms
(- (- x 1.0) (+ x 1.0))

series64.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0446580
12623513
25001510

prune108.0ms

Filtered
65 candidates to 46 candidates (70.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh011
Picked011
Done000
Total64367

Merged error: 0.2b

Counts
67 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.0ms

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

series102.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
07261617
140821511
250021509

prune226.0ms

Filtered
152 candidates to 104 candidates (68.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1511152
Fresh011
Picked101
Done011
Total1523155

Merged error: 0.0b

Counts
155 → 3

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

rewrite24.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))
12.0ms
(/ (/ (* 1.0 (- 2.0)) (+ x 1.0)) (- x 1.0))

series288.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05711119
130061036
250011036

prune164.0ms

Filtered
117 candidates to 82 candidates (70.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1152117
Fresh011
Picked011
Done011
Total1155120

Merged error: 0.0b

Counts
120 → 5

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

sample453.0ms

Algorithm
intervals
Results
153.0ms1889×body640valid
100.0ms4204×body80valid
85.0ms1284×body320valid
26.0ms623×body160valid