Details

Time bar (total: 3.4s)

sample31.0ms

Algorithm
intervals
Results
10.0ms54×body640valid
7.0ms141×body80valid
7.0ms48×body320valid
1.0ms13×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: 14.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.0b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
55×times-frac
50×add-sqr-sqrt
30×add-cube-cbrt
25×distribute-lft-out--
10×distribute-lft-out
associate-/r*
difference-of-squares
add-exp-log add-cbrt-cube
associate-/r/ associate-/l*
add-log-exp
div-inv
pow1 flip--
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-+
sub-neg flip3-+ diff-log frac-sub
Counts
3 → 102
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
48.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series222.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0387679
11331648
25001644

prune193.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* 1.0 1.0))
0.5b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
1.2b
(- (- x 1.0) (+ x 1.0))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
17×add-log-exp
14×add-sqr-sqrt
12×add-cube-cbrt times-frac
diff-log
distribute-lft-out-- difference-of-squares
add-exp-log flip3-- add-cbrt-cube flip--
associate-/r* frac-sub
pow1 sub-neg associate-/l*
flip3-+ associate--l+ sum-log associate-/r/ flip-+ distribute-lft-out
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
3 → 74
Calls
3 calls:
3.0ms
(- (* x x) (* 1.0 1.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
23.0ms
(- (- x 1.0) (+ x 1.0))

series98.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0413559
12021517
25002515

prune164.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
173×*-un-lft-identity
119×add-sqr-sqrt
79×add-cube-cbrt
25×distribute-lft-out--
24×distribute-lft-out
21×associate-/l*
20×difference-of-squares
16×associate-/r/
15×add-log-exp
10×add-exp-log add-cbrt-cube
flip3-+ associate-/r* flip-+
div-inv
diff-log
cbrt-undiv flip3-- div-exp frac-sub flip--
pow1
sub-neg frac-2neg associate--l+ clear-num sum-log
associate--l- associate-/l/ associate--r+
Counts
3 → 191
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
16.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))
23.0ms
(- (- x 1.0) (+ x 1.0))

series98.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(/ 1.0 (+ x 1.0))
62.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))
7.0ms
(- (- x 1.0) (+ x 1.0))

simplify93.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07661683
137271634
250011634

prune353.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
327×times-frac
289×*-un-lft-identity
224×add-sqr-sqrt
141×add-cube-cbrt
96×associate-*l*
37×distribute-lft-out distribute-lft-out-- difference-of-squares
28×associate-/r/
21×associate-/l*
19×add-exp-log add-cbrt-cube
14×div-inv
12×flip3-+ flip-+
10×associate-*r*
associate-/r*
cbrt-undiv div-exp
pow1
distribute-lft-neg-in distribute-rgt-neg-in prod-exp cbrt-unprod add-log-exp unswap-sqr
flip3-- frac-2neg clear-num flip--
neg-mul-1 pow-prod-down associate-*l/ *-commutative distribute-rgt-neg-out associate-/l/
Counts
3 → 289
Calls
3 calls:
59.0ms
(* (/ (/ 1.0 (+ x 1.0)) (- x 1.0)) (- 2.0))
5.0ms
(/ 1.0 (+ x 1.0))
15.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))

series159.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(* (/ (/ 1.0 (+ x 1.0)) (- x 1.0)) (- 2.0))
29.0ms
(/ 1.0 (+ x 1.0))
62.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))

simplify124.0ms

Algorithm
egg-herbie
Counts
298 → 298
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010992526
149512417
250022417

prune538.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

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

sample911.0ms

Algorithm
intervals
Results
359.0ms1871×body640valid
214.0ms4247×body80valid
179.0ms1272×body320valid
59.0ms610×body160valid