Details

Time bar (total: 3.4s)

sample18.0ms

Algorithm
intervals
Results
5.0ms63×body640valid
3.0ms127×body80valid
3.0ms42×body320valid
1.0ms24×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

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite122.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))
67.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series229.0ms

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

simplify175.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0120013350
135939620
250019568

prune720.0ms

Filtered
513 candidates to 209 candidates (40.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
40×add-sqr-sqrt
30×prod-diff
28×add-cube-cbrt
17×add-log-exp
12×times-frac
11×associate--l+ distribute-lft-out-- difference-of-squares
diff-log distribute-lft-out
fma-neg
add-exp-log flip3-- add-cbrt-cube flip--
associate-/r* frac-sub
pow1 expm1-log1p-u sub-neg log1p-expm1-u associate-/l*
flip3-+ sum-log associate-/r/ flip-+
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
3 → 116
Calls
3 calls:
3.0ms
(- (* x x) (* 1.0 1.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
29.0ms
(- (- x 1.0) (+ x 1.0))

series101.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
05321020
13021774
25001771

prune251.0ms

Filtered
125 candidates to 85 candidates (68.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
difference-of-squares
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u
cbrt-undiv sub-neg frac-2neg fma-neg diff-log div-exp prod-diff clear-num div-inv
Counts
2 → 52
Calls
2 calls:
3.0ms
(- (* x x) (* 1.0 1.0))
6.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series91.0ms

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

simplify212.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0236379
1971347
24953341
35001341

prune136.0ms

Filtered
58 candidates to 48 candidates (82.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
160×*-un-lft-identity
116×add-sqr-sqrt
78×add-cube-cbrt
22×distribute-lft-out
21×associate-/l*
19×distribute-lft-out-- difference-of-squares
16×associate-/r/
add-exp-log associate-/r* add-cbrt-cube
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 167
Calls
2 calls:
5.0ms
(/ 1.0 (+ x 1.0))
16.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))

series92.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06301505
129051457
250011455

prune520.0ms

Filtered
173 candidates to 116 candidates (67.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes16.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
1176
2206
3226
4226

end0.0ms

sample457.0ms

Algorithm
intervals
Results
157.0ms1886×body640valid
96.0ms4196×body80valid
82.0ms1268×body320valid
30.0ms650×body160valid