Details

Time bar (total: 3.3s)

sample15.0ms

Algorithm
intervals
Results
4.0ms60×body640valid
3.0ms134×body80valid
2.0ms38×body320valid
1.0ms24×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
28×times-frac
27×add-sqr-sqrt
15×add-cube-cbrt
distribute-lft-out--
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp difference-of-squares
div-inv associate-/l*
pow1 associate-/r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-- flip-+
Counts
2 → 58
Calls
2 calls:
5.0ms
(/ 1.0 (+ x 1.0))
39.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series83.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(/ 1.0 (+ x 1.0))
55.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify153.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0266392
1898369
24185367
35001367

prune114.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.6b

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))
2.2b
(- x (+ x 1.0))

rewrite34.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:
10.0ms
(* (+ x 1.0) x)
16.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
7.0ms
(- x (+ x 1.0))

series84.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0345395
12045325
25003316

prune105.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
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
0.0b
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
959×times-frac
669×*-un-lft-identity
509×add-sqr-sqrt
381×add-cube-cbrt
86×associate-/l*
80×distribute-lft-out
64×distribute-lft-out-- difference-of-squares
37×associate-/r/
29×associate-/r*
22×div-inv
16×add-exp-log flip3-- add-cbrt-cube flip--
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
associate-/l/
Counts
2 → 474
Calls
2 calls:
13.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
36.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series57.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
34.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

simplify85.0ms

Algorithm
egg-herbie
Counts
480 → 480
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
015825673
150015480

prune861.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
484×times-frac
317×*-un-lft-identity
281×add-sqr-sqrt
213×add-cube-cbrt
140×sqrt-prod
137×associate-*l*
52×distribute-lft-out difference-of-squares
43×add-exp-log add-cbrt-cube
28×associate-/r/
22×associate-/r*
18×cbrt-undiv div-exp
16×div-inv
13×flip3-- flip--
12×prod-exp cbrt-unprod
10×associate-*r*
associate-/l*
unswap-sqr
pow1
add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 357
Calls
2 calls:
16.0ms
(/ (sqrt 1.0) (/ (+ x 1.0) (- 0 (* 1.0 1.0))))
74.0ms
(* (/ (sqrt 1.0) (/ (+ x 1.0) (- 0 (* 1.0 1.0)))) (/ (sqrt 1.0) (* x 1.0)))

series187.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(/ (sqrt 1.0) (/ (+ x 1.0) (- 0 (* 1.0 1.0))))
123.0ms
(* (/ (sqrt 1.0) (/ (+ x 1.0) (- 0 (* 1.0 1.0)))) (/ (sqrt 1.0) (* x 1.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
363 → 363
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012854566
150014182

prune692.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

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

sample399.0ms

Algorithm
intervals
Results
143.0ms1985×body640valid
78.0ms4119×body80valid
66.0ms1301×body320valid
24.0ms597×body160valid