Details

Time bar (total: 2.9s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0115
1125
2125

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
50×times-frac
45×add-sqr-sqrt
31×add-cube-cbrt
21×fma-def
11×distribute-lft-out
associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube difference-of-squares
associate-/r/ associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u div-inv
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+
+-commutative frac-add sum-log
Counts
3 → 114
Calls
3 calls:
69.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
10.0ms
(/ x (+ x 1.0))
11.0ms
(/ 1.0 (- x 1.0))

series183.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
32.0ms
(/ x (+ x 1.0))
29.0ms
(/ 1.0 (- x 1.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0400551
11470525
25001521

prune229.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
31×add-sqr-sqrt
27×times-frac
23×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
log1p-expm1-u
pow1 expm1-log1p-u associate-/r/ distribute-lft-out distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv frac-2neg div-exp clear-num div-inv
log1p-udef expm1-log1p flip3-- flip3-+ log1p-expm1 flip-- flip-+ expm1-udef
Counts
4 → 96
Calls
4 calls:
0.0ms
(log1p (expm1 (+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))))
11.0ms
(/ x (+ x 1.0))
10.0ms
(/ 1.0 (- x 1.0))
0.0ms
(expm1 (+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0))))

series601.0ms

Counts
4 → 12
Calls
4 calls:
303.0ms
(log1p (expm1 (+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))))
39.0ms
(/ x (+ x 1.0))
26.0ms
(/ 1.0 (- x 1.0))
233.0ms
(expm1 (+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0))))

simplify43.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0410629
11476576
25001571

prune253.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(expm1 (+ (/ 1.0 (- x 1.0)) (* (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ (cbrt x) (cbrt (+ x 1.0))))))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
log1p-expm1-u
pow1 add-exp-log expm1-log1p-u add-cbrt-cube add-log-exp
pow1/3
expm1-log1p expm1-udef
Counts
4 → 50
Calls
4 calls:
0.0ms
(expm1 (+ (/ 1.0 (- x 1.0)) (* (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ (cbrt x) (cbrt (+ x 1.0))))))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series786.0ms

Counts
4 → 12
Calls
4 calls:
251.0ms
(expm1 (+ (/ 1.0 (- x 1.0)) (* (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ (cbrt x) (cbrt (+ x 1.0))))))
175.0ms
(cbrt x)
177.0ms
(cbrt x)
182.0ms
(cbrt x)

simplify56.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0151403
1441354
21580345
35002339

prune218.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes22.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
0117
1117

end0.0ms

sample290.0ms

Algorithm
intervals
Results
177.0ms8000×body80valid