Details

Time bar (total: 1.9s)

sample10.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: 14.4b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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:
6.0ms
(/ x (+ (* x x) 1.0))

series60.0ms

Counts
1 → 3
Calls
1 calls:
59.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

prune60.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (sqrt (+ (* x x) 1.0)))
0.0b
(/ x (sqrt (+ (* x x) 1.0)))
14.3b
(sqrt (+ (* x x) 1.0))
14.3b
(sqrt (+ (* x x) 1.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
36×add-cube-cbrt *-un-lft-identity times-frac
30×sqrt-prod
12×associate-/r*
10×add-exp-log
pow1 sqrt-div add-cbrt-cube
associate-/l*
flip3-+ associate-/r/ flip-+ add-log-exp
pow-flip sqrt-pow1 pow1/2 div-exp
cbrt-undiv rem-sqrt-square frac-2neg clear-num div-inv
rec-exp 1-exp inv-pow
Counts
4 → 118
Calls
4 calls:
7.0ms
(/ 1 (sqrt (+ (* x x) 1.0)))
6.0ms
(/ x (sqrt (+ (* x x) 1.0)))
4.0ms
(sqrt (+ (* x x) 1.0))
4.0ms
(sqrt (+ (* x x) 1.0))

series280.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(/ 1 (sqrt (+ (* x x) 1.0)))
118.0ms
(/ x (sqrt (+ (* x x) 1.0)))
45.0ms
(sqrt (+ (* x x) 1.0))
44.0ms
(sqrt (+ (* x x) 1.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0388973
11513893
25001855

prune234.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ 1 (pow x 5))
0.3b
(/ 1 (pow x 3))
18.5b
(- (/ 1 (pow x 5)) (/ 1 (pow x 3)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
195×add-sqr-sqrt
173×times-frac
111×*-un-lft-identity
63×difference-of-squares
56×unpow-prod-down
46×add-cube-cbrt
40×sqr-pow
26×cube-prod
21×add-exp-log
19×associate-/r*
12×div-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp rec-exp 1-exp pow-exp div-inv associate-/l*
add-log-exp
cube-mult unpow3
pow1
cbrt-undiv pow-flip frac-2neg clear-num inv-pow
sub-neg flip3-- diff-log frac-sub flip--
Counts
3 → 209
Calls
3 calls:
4.0ms
(/ 1 (pow x 5))
4.0ms
(/ 1 (pow x 3))
58.0ms
(- (/ 1 (pow x 5)) (/ 1 (pow x 3)))

series169.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(/ 1 (pow x 5))
33.0ms
(/ 1 (pow x 3))
94.0ms
(- (/ 1 (pow x 5)) (/ 1 (pow x 3)))

simplify61.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05461643
120351390
250011390

prune237.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

19.5b
(- (+ x (pow x 5)) (pow x 3))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity add-log-exp
difference-of-squares
diff-log distribute-lft-out--
pow1 add-exp-log add-cube-cbrt sub-neg unpow-prod-down flip3-- cube-prod associate--l+ sum-log add-cbrt-cube flip-- distribute-lft-out sqr-pow
Counts
1 → 20
Calls
1 calls:
41.0ms
(- (+ x (pow x 5)) (pow x 3))

series44.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(- (+ x (pow x 5)) (pow x 3))

simplify71.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0108163
1374154
22146151
35001151

prune42.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes48.0ms

Accuracy

100% (0.0b remaining)

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

bsearch51.0ms

Steps
ItersRangePoint
9
0.004380743253548005
488.5072251079851
408.77011000092864
7
-13392682218040.88
-146662999352.95746
-11396411610485.037

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03011
13011

end0.0ms

sample220.0ms

Algorithm
intervals
Results
137.0ms8000×body80valid