Details

Time bar (total: 3.5s)

sample32.0ms

Algorithm
intervals
Results
11.0ms54×body640valid
7.0ms141×body80valid
7.0ms48×body320valid
1.0ms13×body160valid

simplify6.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: 14.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))
2.0b
(- (/ 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))
68.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series236.0ms

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

simplify168.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0120013350
135939620
250019568

prune676.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize13.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.2b
(- (- x 1.0) (+ x 1.0))

rewrite94.0ms

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

series101.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
05931128
13665844
25001841

prune234.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x x) (* 1.0 1.0))
0.5b
(/ (* 1.0 (- 2.0)) (- (* x x) (* 1.0 1.0)))

rewrite11.0ms

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

series99.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- (* x x) (* 1.0 1.0))
57.0ms
(/ (* 1.0 (- 2.0)) (- (* x x) (* 1.0 1.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0285362
11384309
25002306

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

series98.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ (* 1.0 (- 2.0)) (+ x 1.0))
72.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

prune224.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

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

sample936.0ms

Algorithm
intervals
Results
360.0ms1871×body640valid
226.0ms4247×body80valid
190.0ms1272×body320valid
59.0ms610×body160valid