Details

Time bar (total: 3.9s)

sample21.0ms

Algorithm
intervals
Results
5.0ms42×body1280valid
4.0ms141×body80valid
3.0ms32×body640valid
2.0ms28×body320valid
1.0ms13×body160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.6b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
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 associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
44.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series215.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ x (+ x 1.0))
43.0ms
(/ (+ x 1.0) (- x 1.0))
137.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify208.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune789.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- x 1.0))
0.0b
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
0.0b
(* (+ x 1.0) (+ x 1.0))
14.9b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
49×add-sqr-sqrt
44×associate-*r/
43×add-cube-cbrt
37×prod-diff
32×frac-sub
30×flip3-+ flip-+
24×distribute-rgt-in distribute-lft-in
22×associate--l+
20×frac-times flip3-- flip--
18×associate-/l/
13×pow1
12×times-frac
10×add-exp-log associate-*l/ add-cbrt-cube
associate-*r*
associate-*l*
swap-sqr distribute-lft-out add-log-exp
sub-neg difference-of-squares
expm1-log1p-u associate-/r* log1p-expm1-u
associate-/l*
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus fma-neg diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 198
Calls
4 calls:
8.0ms
(* x (- x 1.0))
16.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
9.0ms
(* (+ x 1.0) (+ x 1.0))
10.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series154.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* x (- x 1.0))
57.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
16.0ms
(* (+ x 1.0) (+ x 1.0))
39.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09062204
150021888

prune472.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3.0 x) 1.0)
11.3b
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×distribute-lft-neg-in distribute-rgt-neg-in
11×difference-of-squares
10×associate-/l*
neg-mul-1
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative neg-sub0 flip3-- fma-def frac-2neg div-sub distribute-frac-neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 88
Calls
2 calls:
4.0ms
(+ (* 3.0 x) 1.0)
10.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

series91.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (* 3.0 x) 1.0)
56.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0410971
11643910
25001900

prune402.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (/ (fma 3.0 x 1.0) (+ x 1.0)) (- x 1.0))
0.1b
(fma 3.0 x 1.0)
0.1b
(/ (fma 3.0 x 1.0) (+ x 1.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
161×*-un-lft-identity
117×add-sqr-sqrt
79×add-cube-cbrt
22×distribute-lft-out
21×associate-/l*
19×distribute-lft-out-- difference-of-squares
16×associate-/r/
10×add-exp-log add-cbrt-cube
associate-/r*
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
flip3-- flip-- fma-udef associate-/l/
Counts
3 → 177
Calls
3 calls:
11.0ms
(/ (/ (fma 3.0 x 1.0) (+ x 1.0)) (- x 1.0))
1.0ms
(fma 3.0 x 1.0)
5.0ms
(/ (fma 3.0 x 1.0) (+ x 1.0))

series136.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(/ (/ (fma 3.0 x 1.0) (+ x 1.0)) (- x 1.0))
39.0ms
(fma 3.0 x 1.0)
38.0ms
(/ (fma 3.0 x 1.0) (+ x 1.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06341786
126811725
250021723

prune397.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes13.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1178
2178

end0.0ms

sample586.0ms

Algorithm
intervals
Results
196.0ms1710×body1280valid
121.0ms1315×body640valid
107.0ms4018×body80valid
42.0ms630×body320valid
15.0ms327×body160valid