Details

Time bar (total: 2.8s)

sample10.0ms

Algorithm
intervals
Results
4.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
073
173

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.3b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite17.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 expm1-log1p-u frac-2neg flip3-+ div-exp clear-num flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 31
Calls
1 calls:
16.0ms
(/ x (+ (* x x) 1.0))

series51.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0171215
1589196
21979191
35002186

prune72.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

2.3b
(/ x (fma (- 1.0) 1.0 (pow x 4)))
22.1b
(* (/ x (fma (- 1.0) 1.0 (pow x 4))) (- (* x x) 1.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×times-frac
13×associate-*l*
add-exp-log add-cbrt-cube
prod-diff
distribute-rgt-in distribute-lft-in
pow1 associate-*r*
associate-/r* associate-/l*
cbrt-undiv expm1-log1p-u frac-times sub-neg flip3-- associate-*r/ div-exp prod-exp flip-- cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative difference-of-squares
Counts
2 → 78
Calls
2 calls:
7.0ms
(/ x (fma (- 1.0) 1.0 (pow x 4)))
40.0ms
(* (/ x (fma (- 1.0) 1.0 (pow x 4))) (- (* x x) 1.0))

series260.0ms

Counts
2 → 6
Calls
2 calls:
152.0ms
(/ x (fma (- 1.0) 1.0 (pow x 4)))
108.0ms
(* (/ x (fma (- 1.0) 1.0 (pow x 4))) (- (* x x) 1.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0446816
12125716
25001706

prune175.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (pow x 3))
0.2b
(/ 1.0 (pow x 5))
19.0b
(- (/ 1.0 (pow x 5)) (/ 1.0 (pow x 3)))

rewrite250.0ms

Algorithm
rewrite-expression-head
Rules
1855×times-frac
1232×add-sqr-sqrt
1178×*-un-lft-identity
1170×add-cube-cbrt
1000×prod-diff
627×unpow-prod-down
241×cube-prod
215×sqr-pow
79×cube-mult unpow3
70×div-inv
25×fma-neg
20×difference-of-squares
19×associate-/r*
13×add-exp-log
add-cbrt-cube
div-exp associate-/l*
distribute-lft-out-- add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num
sub-neg flip3-- diff-log frac-sub flip--
Counts
3 → 1179
Calls
3 calls:
8.0ms
(/ 1.0 (pow x 3))
7.0ms
(/ 1.0 (pow x 5))
109.0ms
(- (/ 1.0 (pow x 5)) (/ 1.0 (pow x 3)))

series207.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ 1.0 (pow x 3))
44.0ms
(/ 1.0 (pow x 5))
125.0ms
(- (/ 1.0 (pow x 5)) (/ 1.0 (pow x 3)))

simplify276.0ms

Algorithm
egg-herbie
Counts
1188 → 1188
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0240630901
1500123097

prune912.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes43.0ms

Accuracy

100% (0.0b remaining)

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

bsearch47.0ms

Steps
ItersRangePoint
8
9.114942375872904
154062.39550417996
422.29967360298144
9
-1146855530477.335
-15077057.36594219
-361128223798.2369

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02810
12810

end0.0ms

sample254.0ms

Algorithm
intervals
Results
137.0ms8000×body80valid