Details

Time bar (total: 2.7s)

sample16.0ms

Algorithm
intervals
Results
3.0ms50×body640valid
3.0ms133×body80valid
3.0ms51×body320valid
1.0ms22×body160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.9b

localize5.0ms

Local error

Found 1 expressions with local error:

4.0b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
346×times-frac
344×*-un-lft-identity
255×add-sqr-sqrt
243×add-cube-cbrt
234×prod-diff
45×distribute-lft-out
34×div-inv
28×associate-/r/
18×fma-neg
14×flip3-+ flip-+
distribute-lft-out--
difference-of-squares
add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log frac-sub add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 279
Calls
1 calls:
74.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series61.0ms

Counts
1 → 3
Calls
1 calls:
61.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify101.0ms

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
08186616
122634577
250013571

prune168.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
17×add-exp-log add-sqr-sqrt add-cbrt-cube
13×add-cube-cbrt
12×prod-diff
add-log-exp
pow1 prod-exp cbrt-unprod distribute-lft-out
cbrt-undiv div-exp associate-*l* associate-*l/
expm1-log1p-u fma-neg associate-*r* log1p-expm1-u
flip3-- flip3-+ diff-log associate-*r/ associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out--
sub-neg frac-2neg times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv associate-/l* associate--r+ difference-of-squares unswap-sqr
Counts
3 → 84
Calls
3 calls:
19.0ms
(* (+ x 1.0) x)
51.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
19.0ms
(- x (+ x 1.0))

series89.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0402611
12289439
25001426

prune289.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
801×times-frac
529×*-un-lft-identity
409×add-sqr-sqrt
313×add-cube-cbrt
83×associate-/l*
60×distribute-lft-out
48×distribute-lft-out-- difference-of-squares
28×associate-/r/
17×div-inv
12×flip3-- flip--
10×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
associate-/r*
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
1 → 354
Calls
1 calls:
50.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series34.0ms

Counts
1 → 3
Calls
1 calls:
34.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

simplify74.0ms

Algorithm
egg-herbie
Counts
357 → 357
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015304509
150014354

prune672.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
34×add-sqr-sqrt *-un-lft-identity
24×add-cube-cbrt
13×add-exp-log add-cbrt-cube
11×associate-/r*
associate-/r/
cbrt-undiv div-exp div-inv
pow1 flip3-- associate-*r* flip-- distribute-lft-out-- difference-of-squares
associate-*l* associate-/l*
expm1-log1p-u associate-*r/ prod-exp cbrt-unprod log1p-expm1-u add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ pow-prod-down clear-num *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
2 → 91
Calls
2 calls:
18.0ms
(* x (+ x 1.0))
19.0ms
(/ 1.0 (/ (* x (+ x 1.0)) (- 0 1.0)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(* x (+ x 1.0))
36.0ms
(/ 1.0 (/ (* x (+ x 1.0)) (- 0 1.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0480711
12725638
25001635

prune169.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes15.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample425.0ms

Algorithm
intervals
Results
135.0ms1908×body640valid
85.0ms4188×body80valid
67.0ms1299×body320valid
24.0ms605×body160valid