Details

Time bar (total: 2.4s)

sample11.0ms

Algorithm
intervals
Results
4.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063
163

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize4.0ms

Local error

Found 1 expressions with local error:

13.6b
(/ x (+ (* x x) 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv add-log-exp
Counts
1 → 29
Calls
1 calls:
13.0ms
(/ x (+ (* x x) 1.0))

series54.0ms

Counts
1 → 3
Calls
1 calls:
54.0ms
(/ x (+ (* x x) 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0165210
1555195
21839192
35001192

prune62.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (sqrt (+ (* x x) 1.0))) (sqrt (+ (* x x) 1.0)))
0.0b
(/ x (sqrt (+ (* x x) 1.0)))
13.5b
(sqrt (+ (* x x) 1.0))
13.5b
(sqrt (+ (* x x) 1.0))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
288×times-frac
164×add-sqr-sqrt
162×add-cube-cbrt *-un-lft-identity
156×sqrt-prod
27×associate-/l*
22×sqrt-div
18×associate-/r/
12×associate-/r*
11×add-exp-log flip3-+ add-cbrt-cube flip-+
div-inv
pow1
cbrt-undiv div-exp add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
associate-/l/
Counts
4 → 262
Calls
4 calls:
40.0ms
(/ (/ x (sqrt (+ (* x x) 1.0))) (sqrt (+ (* x x) 1.0)))
14.0ms
(/ x (sqrt (+ (* x x) 1.0)))
12.0ms
(sqrt (+ (* x x) 1.0))
9.0ms
(sqrt (+ (* x x) 1.0))

series252.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (/ x (sqrt (+ (* x x) 1.0))) (sqrt (+ (* x x) 1.0)))
112.0ms
(/ x (sqrt (+ (* x x) 1.0)))
44.0ms
(sqrt (+ (* x x) 1.0))
39.0ms
(sqrt (+ (* x x) 1.0))

simplify82.0ms

Algorithm
egg-herbie
Counts
274 → 274
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07743878
129623482
250013411

prune424.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

13.6b
(/ x (+ (* x x) 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv add-log-exp
Counts
1 → 29
Calls
1 calls:
13.0ms
(/ x (+ (* x x) 1.0))

series56.0ms

Counts
1 → 3
Calls
1 calls:
56.0ms
(/ x (+ (* x x) 1.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0165210
1555195
21839192
35001192

prune59.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 (- (/ 1 (pow x 5)) (/ 1 (pow x 3)))) (/ 1 x))
0.1b
(/ 1 (pow x 5))
0.2b
(/ 1 (pow x 3))
19.3b
(- (/ 1 (pow x 5)) (/ 1 (pow x 3)))

rewrite185.0ms

Algorithm
rewrite-expression-head
Rules
196×add-sqr-sqrt
173×times-frac
112×*-un-lft-identity
63×difference-of-squares
56×unpow-prod-down
47×add-cube-cbrt
40×sqr-pow
26×cube-prod
22×add-exp-log
19×associate-/r*
12×div-exp
add-cbrt-cube add-log-exp
distribute-lft-out--
pow-to-exp rec-exp 1-exp pow-exp div-inv associate-/l*
pow1 cube-mult associate-+l+ unpow3
sub-neg associate-*r/ frac-add
cbrt-undiv distribute-rgt-in flip3-- pow-flip frac-2neg distribute-lft-in clear-num frac-sub flip-- inv-pow
+-commutative flip3-+ diff-log sum-log flip-+
Counts
4 → 227
Calls
4 calls:
78.0ms
(+ (* 1.0 (- (/ 1 (pow x 5)) (/ 1 (pow x 3)))) (/ 1 x))
10.0ms
(/ 1 (pow x 5))
9.0ms
(/ 1 (pow x 3))
78.0ms
(- (/ 1 (pow x 5)) (/ 1 (pow x 3)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(+ (* 1.0 (- (/ 1 (pow x 5)) (/ 1 (pow x 3)))) (/ 1 x))
39.0ms
(/ 1 (pow x 5))
34.0ms
(/ 1 (pow x 3))
86.0ms
(- (/ 1 (pow x 5)) (/ 1 (pow x 3)))

simplify86.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06872009
128791724
250011723

prune291.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes38.0ms

Accuracy

100% (0.0b remaining)

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

bsearch58.0ms

Steps
ItersRangePoint
10
26.826342714152005
1.350953981158519e+19
3500.8467687195057
8
-40742292820.96068
-15359524.008108458
-24215928678.961597

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03212
13412
23412

end0.0ms

sample269.0ms

Algorithm
intervals
Results
146.0ms8000×body80valid