Details

Time bar (total: 3.7s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1125
2125

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

rewrite64.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:
5.0ms
(/ 1.0 (- x 1.0))
49.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
6.0ms
(/ x (+ x 1.0))

series181.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(/ 1.0 (- x 1.0))
119.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
33.0ms
(/ x (+ x 1.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0400551
11470525
25001521

prune238.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
63×exp-prod
61×add-sqr-sqrt
57×times-frac
45×log-pow
43×add-cube-cbrt
25×fma-def
distribute-lft-out-- difference-of-squares
associate-/r/
pow1
add-exp-log log-prod add-cbrt-cube distribute-lft-out add-log-exp
expm1-log1p-u associate-/r* log1p-expm1-u div-inv
associate-+l+ flip3-- flip-- associate-/l*
flip3-+ flip-+
cbrt-undiv +-commutative frac-2neg div-exp rem-log-exp clear-num sum-log rem-exp-log
Counts
4 → 144
Calls
4 calls:
112.0ms
(+ (log (exp (/ 1.0 (- x 1.0)))) (/ x (+ x 1.0)))
12.0ms
(exp (/ 1.0 (- x 1.0)))
5.0ms
(/ x (+ x 1.0))
13.0ms
(log (exp (/ 1.0 (- x 1.0))))

series227.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(+ (log (exp (/ 1.0 (- x 1.0)))) (/ x (+ x 1.0)))
44.0ms
(exp (/ 1.0 (- x 1.0)))
34.0ms
(/ x (+ x 1.0))
29.0ms
(log (exp (/ 1.0 (- x 1.0))))

simplify42.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0437705
11398658
25002645

prune369.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
14×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-exp-log
add-cbrt-cube
pow1 expm1-log1p-u
associate-/r* log1p-expm1-u distribute-lft-out add-log-exp
log-prod associate-/l*
associate-/r/
cbrt-undiv log1p-udef expm1-log1p frac-2neg flip3-+ log1p-expm1 div-exp rem-log-exp clear-num log-pow flip-+ div-inv expm1-udef
Counts
4 → 71
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
0.0ms
(log1p (exp (/ 1.0 (- x 1.0))))
0.0ms
(expm1 (log1p (exp (/ 1.0 (- x 1.0)))))
1.0ms
(log (expm1 (log1p (exp (/ 1.0 (- x 1.0))))))

series611.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ x (+ x 1.0))
120.0ms
(log1p (exp (/ 1.0 (- x 1.0))))
157.0ms
(expm1 (log1p (exp (/ 1.0 (- x 1.0)))))
300.0ms
(log (expm1 (log1p (exp (/ 1.0 (- x 1.0))))))

simplify158.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (151.0ms)

IterNodesCost
0324526
11083453
24697442
35001440

prune227.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0))) 3))
0.0b
(+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0)))
0.0b
(/ x (+ x 1.0))
0.0b
(pow (+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0))) 3)

rewrite210.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
64×times-frac
42×distribute-lft-out
27×add-sqr-sqrt add-cube-cbrt
22×cbrt-prod
18×fma-def
16×unpow-prod-down cube-prod
10×distribute-lft-out--
add-exp-log add-cbrt-cube
cube-div add-log-exp
pow1 flip3-+ flip-+
expm1-log1p-u associate-/r* associate-/r/ log1p-expm1-u
pow-unpow cbrt-div frac-add associate-/l*
cube-mult unpow3 div-inv sqr-pow
cbrt-undiv +-commutative pow-to-exp pow-pow frac-2neg pow1/3 div-exp pow-exp clear-num sum-log rem-cbrt-cube rem-cube-cbrt
Counts
4 → 146
Calls
4 calls:
74.0ms
(cbrt (pow (+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0))) 3))
47.0ms
(+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0)))
5.0ms
(/ x (+ x 1.0))
78.0ms
(pow (+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0))) 3)

series474.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(cbrt (pow (+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0))) 3))
118.0ms
(+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0)))
37.0ms
(/ x (+ x 1.0))
179.0ms
(pow (+ (/ x (+ x 1.0)) (/ 1.0 (- x 1.0))) 3)

simplify58.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04641012
11944962
25002956

prune300.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes12.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
0139
1139

end0.0ms

sample294.0ms

Algorithm
intervals
Results
194.0ms8000×body80valid