Details

Time bar (total: 2.2s)

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

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

series37.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0214315
1711297
22979293
35001292

prune77.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity
61×add-sqr-sqrt
60×times-frac
52×exp-prod
35×add-cube-cbrt
27×log-pow
16×distribute-lft-out
13×distribute-lft-out-- difference-of-squares
associate-/r/
add-exp-log associate-/r* add-cbrt-cube
pow1 associate-/l* add-log-exp
expm1-log1p-u log-prod flip3-- flip-- log1p-expm1-u div-inv
associate-/l/
cbrt-undiv frac-2neg flip3-+ div-exp rem-log-exp clear-num flip-+ rem-exp-log
Counts
3 → 123
Calls
3 calls:
20.0ms
(log (exp (/ (+ x 1.0) (- 1.0 x))))
19.0ms
(exp (/ (+ x 1.0) (- 1.0 x)))
13.0ms
(/ (+ x 1.0) (- 1.0 x))

series153.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(log (exp (/ (+ x 1.0) (- 1.0 x))))
87.0ms
(exp (/ (+ x 1.0) (- 1.0 x)))
35.0ms
(/ (+ x 1.0) (- 1.0 x))

simplify102.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0324752
1933705
23664694
35001685

prune246.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (expm1 (log1p (/ (+ x 1.0) (- 1.0 x)))))
0.0b
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
0.0b
(/ (+ x 1.0) (- 1.0 x))
2.3b
(log1p (/ (+ x 1.0) (- 1.0 x)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
26×add-sqr-sqrt
20×times-frac
16×add-cube-cbrt
add-exp-log add-cbrt-cube distribute-lft-out
expm1-log1p-u associate-/r* distribute-lft-out-- add-log-exp difference-of-squares
pow1 log1p-expm1-u associate-/l*
exp-prod
associate-/r/ associate-/l/ expm1-udef
cbrt-undiv log1p-udef expm1-log1p flip3-- frac-2neg flip3-+ exp-diff log1p-expm1 div-exp clear-num flip-- flip-+ div-inv rem-exp-log
Counts
4 → 83
Calls
4 calls:
1.0ms
(exp (expm1 (log1p (/ (+ x 1.0) (- 1.0 x)))))
0.0ms
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
14.0ms
(/ (+ x 1.0) (- 1.0 x))
0.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

series458.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(exp (expm1 (log1p (/ (+ x 1.0) (- 1.0 x)))))
147.0ms
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
32.0ms
(/ (+ x 1.0) (- 1.0 x))
108.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0530768
11878709
25001651

prune253.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 x) (- x 1.0))
14.5b
(/ (- (* x x) (* 1.0 1.0)) (* (- 1.0 x) (- x 1.0)))

rewrite39.0ms

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

series90.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(* (- 1.0 x) (- x 1.0))
60.0ms
(/ (- (* x x) (* 1.0 1.0)) (* (- 1.0 x) (- x 1.0)))

simplify73.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0497875
12710662
25001635

prune154.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes22.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0107
1107

end0.0ms

sample216.0ms

Algorithm
intervals
Results
131.0ms8000×body80valid