Details

Time bar (total: 3.6s)

sample19.0ms

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

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

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

rewrite146.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))
10.0ms
(/ (+ x 1.0) (- x 1.0))
76.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series207.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ x (+ x 1.0))
36.0ms
(/ (+ x 1.0) (- x 1.0))
134.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify218.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune740.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

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

rewrite78.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:
11.0ms
(* x (- x 1.0))
26.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))
12.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series143.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* x (- x 1.0))
52.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
15.0ms
(* (+ x 1.0) (+ x 1.0))
37.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09062204
150021888

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

rewrite22.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:
3.0ms
(+ (* 3.0 x) 1.0)
17.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

series85.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0410971
11643910
25001900

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

rewrite34.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:
15.0ms
(/ (/ (fma 3.0 x 1.0) (+ x 1.0)) (- x 1.0))
0.0ms
(fma 3.0 x 1.0)
9.0ms
(/ (fma 3.0 x 1.0) (+ x 1.0))

series135.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(/ (/ (fma 3.0 x 1.0) (+ x 1.0)) (- x 1.0))
37.0ms
(fma 3.0 x 1.0)
36.0ms
(/ (fma 3.0 x 1.0) (+ x 1.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06341786
126811725
250021723

prune379.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
0148
1148

end0.0ms

sample528.0ms

Algorithm
intervals
Results
180.0ms1710×body1280valid
109.0ms1315×body640valid
95.0ms4018×body80valid
39.0ms630×body320valid
14.0ms327×body160valid