Details

Time bar (total: 2.3s)

sample20.0ms

Algorithm
intervals
Results
6.0ms64×body640valid
4.0ms148×body80valid
2.0ms29×body320valid
1.0ms15×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 12.7b

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))
1.5b
(- (/ 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:
10.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)))

series230.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0387679
11331648
25001644

prune177.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.2b

Counts
112 → 3

localize9.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.0b
(- (- x 1.0) (+ x 1.0))

rewrite32.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)))
9.0ms
(- (- x 1.0) (+ x 1.0))

series105.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(- (* x x) (* 1.0 1.0))
56.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
8.0ms
(- (- x 1.0) (+ x 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0471660
12732582
25002579

prune132.0ms

Filtered
81 candidates to 58 candidates (71.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New80181
Fresh112
Picked011
Done000
Total81384

Merged error: 0.2b

Counts
84 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite53.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:
17.0ms
(/ (/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (+ x 1.0)) (- x 1.0))
15.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (+ x 1.0))
14.0ms
(- (- x 1.0) (+ x 1.0))

series102.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07261617
140821511
250031509

prune230.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.0b
(/ (/ (* 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))

series97.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05711119
130061036
250011036

prune173.0ms

Filtered
117 candidates to 82 candidates (70.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1143117
Fresh011
Picked011
Done101
Total1155120

Merged error: 0b

Counts
120 → 5

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

sample536.0ms

Algorithm
intervals
Results
202.0ms1971×body640valid
114.0ms4164×body80valid
93.0ms1242×body320valid
32.0ms623×body160valid

Profiling

Loading profile data...