Details

Time bar (total: 2.9s)

sample10.0ms

Algorithm
intervals
Results
4.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
083
193
293

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
22×add-sqr-sqrt
20×times-frac
12×add-cube-cbrt
distribute-lft-out
associate-/r* distribute-lft-out-- difference-of-squares
associate-/l*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/
pow1 cbrt-undiv expm1-log1p-u flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 47
Calls
1 calls:
11.0ms
(/ (+ x 1.0) (- 1.0 x))

series32.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0214315
1711297
22979293
35001292

prune80.0ms

Filtered
50 candidates to 34 candidates (68.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- 1.0 x))
0.3b
(cbrt (- 1.0 x))
0.3b
(cbrt (- 1.0 x))
0.3b
(* (cbrt (- 1.0 x)) (cbrt (- 1.0 x)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
2.0ms
(cbrt (- 1.0 x))
2.0ms
(cbrt (- 1.0 x))
2.0ms
(cbrt (- 1.0 x))
23.0ms
(* (cbrt (- 1.0 x)) (cbrt (- 1.0 x)))

series378.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(cbrt (- 1.0 x))
90.0ms
(cbrt (- 1.0 x))
89.0ms
(cbrt (- 1.0 x))
108.0ms
(* (cbrt (- 1.0 x)) (cbrt (- 1.0 x)))

simplify147.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0330874
11075833
24675779
35001775

prune331.0ms

Filtered
121 candidates to 89 candidates (73.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
0.0b
(/ (+ x 1.0) (- 1.0 x))
2.4b
(log1p (/ (+ x 1.0) (- 1.0 x)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
24×add-sqr-sqrt
20×times-frac
14×add-cube-cbrt
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out-- difference-of-squares
expm1-log1p-u associate-/l*
pow1 log1p-expm1-u add-log-exp
associate-/r/ associate-/l/
cbrt-undiv log1p-udef expm1-log1p flip3-- frac-2neg flip3-+ log1p-expm1 div-exp clear-num flip-- flip-+ div-inv expm1-udef
Counts
3 → 69
Calls
3 calls:
0.0ms
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
15.0ms
(/ (+ x 1.0) (- 1.0 x))
0.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

series292.0ms

Counts
3 → 9
Calls
3 calls:
153.0ms
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
32.0ms
(/ (+ x 1.0) (- 1.0 x))
107.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

simplify37.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0378521
11270479
25001451

prune166.0ms

Filtered
78 candidates to 58 candidates (74.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* 1.0 x))
4.5b
(/ (+ x 1.0) (- (pow 1.0 3) (pow x 3)))
18.3b
(* (/ (+ x 1.0) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))

rewrite174.0ms

Algorithm
rewrite-expression-head
Rules
286×add-sqr-sqrt
257×*-un-lft-identity
201×times-frac
144×difference-of-squares
108×unpow-prod-down cube-prod
106×associate-*l*
72×sqr-pow
65×add-cube-cbrt
51×distribute-lft-out
45×distribute-lft-out--
25×associate-/r*
10×add-exp-log add-cbrt-cube
difference-cubes
pow1 add-log-exp
flip3-+ associate-/r/ flip-+ associate-/l*
expm1-log1p-u associate-*r* log1p-expm1-u
cbrt-undiv frac-times flip3-- associate-*r/ div-exp prod-exp flip-- cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative distribute-rgt-in distribute-rgt-out fma-def frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num sum-log *-commutative
Counts
3 → 295
Calls
3 calls:
3.0ms
(+ (* x x) (* 1.0 x))
36.0ms
(/ (+ x 1.0) (- (pow 1.0 3) (pow x 3)))
115.0ms
(* (/ (+ x 1.0) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))

series178.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(+ (* x x) (* 1.0 x))
52.0ms
(/ (+ x 1.0) (- (pow 1.0 3) (pow x 3)))
71.0ms
(* (/ (+ x 1.0) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))

simplify65.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010893300
150013199

prune597.0ms

Filtered
304 candidates to 155 candidates (51.0%)
Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes28.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063
163

end0.0ms

sample215.0ms

Algorithm
intervals
Results
129.0ms8000×body80valid