Details

Time bar (total: 6.5s)

sample22.0ms

Algorithm
intervals
Results
5.0ms53×body1280valid
5.0ms33×body640valid
3.0ms131×body80valid
2.0ms28×body320valid
0.0ms11×body160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.6b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite210.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
11.0ms
(/ x (+ x 1.0))
24.0ms
(/ (+ x 1.0) (- x 1.0))
120.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series201.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ x (+ x 1.0))
37.0ms
(/ (+ x 1.0) (- x 1.0))
130.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify191.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune712.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize19.0ms

Local error

Found 4 expressions with local error:

13.6b
(/ x (- (* x x) (* 1.0 1.0)))
13.6b
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
13.6b
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
30.0b
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ (+ x 1.0) (- (* x x) (* 1.0 1.0))))))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity
44×times-frac
33×add-sqr-sqrt add-cube-cbrt
14×difference-of-squares
12×associate-/r*
11×associate-/l*
10×add-exp-log add-cbrt-cube distribute-lft-out
associate-/r/
pow1 expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
flip3-+ flip-+
fma-udef
Counts
4 → 129
Calls
4 calls:
13.0ms
(/ x (- (* x x) (* 1.0 1.0)))
30.0ms
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
26.0ms
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
0.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ (+ x 1.0) (- (* x x) (* 1.0 1.0))))))

series324.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(/ x (- (* x x) (* 1.0 1.0)))
41.0ms
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
37.0ms
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
181.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ (+ x 1.0) (- (* x x) (* 1.0 1.0))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03931262
116001156
250011097

prune400.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite620.0ms

Algorithm
rewrite-expression-head
Rules
1898×*-un-lft-identity
1428×times-frac
1132×add-sqr-sqrt
936×prod-diff
810×add-cube-cbrt
473×log-prod
470×exp-sum
365×distribute-lft-out
182×associate-/r/
175×distribute-lft-out--
157×difference-of-squares
91×div-inv
55×flip3-+ flip-+
38×flip3-- flip--
18×fma-neg
17×log-pow
16×exp-prod
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg frac-2neg div-exp clear-num associate-/l/
log-div exp-diff diff-log rem-log-exp frac-sub
Counts
4 → 1097
Calls
4 calls:
11.0ms
(/ x (+ x 1.0))
26.0ms
(/ (+ x 1.0) (- x 1.0))
332.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
121.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series344.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ x (+ x 1.0))
38.0ms
(/ (+ x 1.0) (- x 1.0))
135.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
132.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify328.0ms

Algorithm
egg-herbie
Counts
1109 → 1109
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
0183736120
1468926172
2500126146

prune1.4s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize23.0ms

Local error

Found 4 expressions with local error:

13.6b
(/ x (- (* x x) (* 1.0 1.0)))
13.6b
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
19.7b
(/ (- (* x x) (* 1.0 1.0)) (* (- (* x x) (* 1.0 1.0)) (- x 1.0)))
29.9b
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ (- (* x x) (* 1.0 1.0)) (* (- (* x x) (* 1.0 1.0)) (- x 1.0))))))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
32×times-frac
25×add-sqr-sqrt add-cube-cbrt
13×add-exp-log add-cbrt-cube
12×associate-/r/
11×associate-/l* difference-of-squares
flip3-- associate-/r* flip--
distribute-lft-out
pow1 cbrt-undiv expm1-log1p-u frac-times div-exp log1p-expm1-u associate-/l/ add-log-exp
frac-2neg clear-num div-inv
associate-*r/ associate-*l/
flip3-+ div-sub prod-exp cbrt-unprod flip-+ fma-udef
Counts
4 → 123
Calls
4 calls:
13.0ms
(/ x (- (* x x) (* 1.0 1.0)))
29.0ms
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
34.0ms
(/ (- (* x x) (* 1.0 1.0)) (* (- (* x x) (* 1.0 1.0)) (- x 1.0)))
0.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ (- (* x x) (* 1.0 1.0)) (* (- (* x x) (* 1.0 1.0)) (- x 1.0))))))

series297.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(/ x (- (* x x) (* 1.0 1.0)))
43.0ms
(/ (+ x 1.0) (- (* x x) (* 1.0 1.0)))
27.0ms
(/ (- (* x x) (* 1.0 1.0)) (* (- (* x x) (* 1.0 1.0)) (- x 1.0)))
162.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ (- (* x x) (* 1.0 1.0)) (* (- (* x x) (* 1.0 1.0)) (- x 1.0))))))

simplify88.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06001372
129561074
250011051

prune405.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

regimes34.0ms

Accuracy

100% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 30.4b

bsearch84.0ms

Steps
ItersRangePoint
10
26.826342714152005
1.350953981158519e+19
11258.21718550442
8
-5184857.938787598
-4116.604674393256
-14610.347047709978

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04221
14221

end0.0ms

sample549.0ms

Algorithm
intervals
Results
170.0ms1716×body1280valid
104.0ms1241×body640valid
94.0ms4094×body80valid
46.0ms665×body320valid
12.0ms284×body160valid