Details

Time bar (total: 2.4s)

sample15.0ms

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

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
17×add-sqr-sqrt
16×times-frac
distribute-lft-out--
add-cube-cbrt
difference-of-squares
distribute-lft-out add-log-exp
div-inv
pow1 add-exp-log sub-neg flip3-- diff-log frac-sub add-cbrt-cube flip--
Counts
1 → 25
Calls
1 calls:
59.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series53.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0171219
1443205
21990203
35001203

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
12×*-un-lft-identity
add-sqr-sqrt
add-log-exp
pow1 add-cube-cbrt prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l* associate-*l/
associate-*r*
flip3-- flip3-+ diff-log associate-*r/ associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out 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 → 63
Calls
3 calls:
19.0ms
(* (+ x 1.0) x)
34.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
15.0ms
(- x (+ x 1.0))

series78.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0345395
12045325
25003316

prune122.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite81.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 frac-2neg clear-num associate-/l/ add-log-exp
Counts
1 → 352
Calls
1 calls:
51.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series38.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
355 → 355
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
015224499
150014342

prune685.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
(* (+ x 1.0) x)
0.1b
(/ 1 (/ (/ (* (+ x 1.0) x) 1.0) (- 0 1.0)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
323×times-frac
176×add-sqr-sqrt *-un-lft-identity
118×add-cube-cbrt
41×associate-/r*
38×add-exp-log
28×distribute-lft-out-- difference-of-squares
25×div-inv
23×div-exp
18×add-cbrt-cube
cbrt-undiv associate-/r/
pow1
rec-exp flip3-- 1-exp associate-*l* prod-exp flip--
associate-*r* associate-/l*
associate-*l/ cbrt-unprod add-log-exp
pow-flip frac-2neg flip3-+ pow-prod-down clear-num *-commutative flip-+ distribute-lft-out inv-pow unswap-sqr
Counts
2 → 217
Calls
2 calls:
19.0ms
(* (+ x 1.0) x)
36.0ms
(/ 1 (/ (/ (* (+ x 1.0) x) 1.0) (- 0 1.0)))

series74.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09872485
150022152

prune336.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

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

sample404.0ms

Algorithm
intervals
Results
125.0ms1908×body640valid
78.0ms4188×body80valid
66.0ms1299×body320valid
20.0ms605×body160valid