Details

Time bar (total: 2.8s)

sample17.0ms

Algorithm
intervals
Results
4.0ms49×body640valid
3.0ms144×body80valid
3.0ms45×body320valid
1.0ms18×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize6.0ms

Local error

Found 3 expressions with local error:

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

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

series227.0ms

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

simplify180.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0120013350
135939620
250019568

prune688.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

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

rewrite88.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:
55.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
28.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))

simplify106.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
05611035
13510762
25001760

prune190.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (* 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)))

series55.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0250269
11247227
25002225

prune64.0ms

Pruning

4 alts after pruning (3 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))

series97.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05861138
130571058
250011058

prune225.0ms

Pruning

5 alts after pruning (3 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

sample452.0ms

Algorithm
intervals
Results
162.0ms1969×body640valid
90.0ms4116×body80valid
82.0ms1276×body320valid
26.0ms639×body160valid