Details

Time bar (total: 3.0s)

sample18.0ms

Algorithm
intervals
Results
5.0ms57×body640valid
3.0ms130×body80valid
2.0ms37×body320valid
1.0ms32×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 16.6b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite124.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:
8.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)))

series235.0ms

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

simplify163.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0120013350
135939620
250019568

prune910.0ms

Filtered
513 candidates to 209 candidates (40.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize10.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)))
4.1b
(- (- x 1.0) (+ x 1.0))

rewrite93.0ms

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

series60.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
05611035
13510762
25001760

prune188.0ms

Filtered
103 candidates to 66 candidates (64.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

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

series51.0ms

Counts
1 → 3
Calls
1 calls:
51.0ms
(/ (* 1.0 (- 2.0)) (- (* x x) (* 1.0 1.0)))

simplify37.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0250269
11247227
25002225

prune69.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite27.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 expm1-log1p-u frac-2neg prod-exp clear-num distribute-rgt-neg-out cbrt-unprod log1p-expm1-u add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 115
Calls
2 calls:
7.0ms
(/ (* 1.0 (- 2.0)) (+ x 1.0))
15.0ms
(/ (/ (* 1.0 (- 2.0)) (+ x 1.0)) (- x 1.0))

series94.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05861138
130571058
250011058

prune218.0ms

Filtered
121 candidates to 85 candidates (70.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

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

sample449.0ms

Algorithm
intervals
Results
159.0ms1940×body640valid
99.0ms4211×body80valid
76.0ms1218×body320valid
26.0ms631×body160valid