Details

Time bar (total: 2.8s)

sample18.0ms

Algorithm
intervals
Results
5.0ms70×body640valid
3.0ms44×body320valid
3.0ms122×body80valid
1.0ms20×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.7b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite159.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:
11.0ms
(/ 1.0 (+ x 1.0))
11.0ms
(/ 1.0 (- x 1.0))
95.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series219.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(/ 1.0 (+ x 1.0))
30.0ms
(/ 1.0 (- x 1.0))
166.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify152.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0120013350
135939620
250019568

prune644.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

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

rewrite157.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:
97.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
56.0ms
(- (- x 1.0) (+ x 1.0))

series59.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
05611035
13510762
25001760

prune179.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.6b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite22.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:
21.0ms
(/ (* 1.0 (- 2.0)) (- (* x x) (* 1.0 1.0)))

series49.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0250269
11247227
25002225

prune62.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 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))

rewrite52.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:
19.0ms
(/ (* 1.0 (- 2.0)) (+ x 1.0))
28.0ms
(/ (/ (* 1.0 (- 2.0)) (+ x 1.0)) (- x 1.0))

series93.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05861138
130571058
250011058

prune210.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

sample457.0ms

Algorithm
intervals
Results
149.0ms1912×body640valid
89.0ms4204×body80valid
71.0ms1265×body320valid
30.0ms619×body160valid