Details

Time bar (total: 2.7s)

sample9.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: 11.3b

localize4.0ms

Local error

Found 1 expressions with local error:

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

series59.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0171215
1589196
21979191
35002186

prune67.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

1.8b
(/ x (fma (- 1.0) 1.0 (pow x 4)))
16.8b
(* (/ x (fma (- 1.0) 1.0 (pow x 4))) (- (* x x) 1.0))

rewrite25.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:
2.0ms
(/ x (fma (- 1.0) 1.0 (pow x 4)))
18.0ms
(* (/ x (fma (- 1.0) 1.0 (pow x 4))) (- (* x x) 1.0))

series270.0ms

Counts
2 → 6
Calls
2 calls:
159.0ms
(/ x (fma (- 1.0) 1.0 (pow x 4)))
111.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 (51.0ms)

IterNodesCost
0446816
12125716
25001706

prune183.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 5))
0.2b
(/ 1.0 (pow x 3))
18.8b
(- (/ 1.0 (pow x 5)) (/ 1.0 (pow x 3)))

rewrite217.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:
3.0ms
(/ 1.0 (pow x 5))
4.0ms
(/ 1.0 (pow x 3))
90.0ms
(- (/ 1.0 (pow x 5)) (/ 1.0 (pow x 3)))

series216.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ 1.0 (pow x 5))
34.0ms
(/ 1.0 (pow x 3))
131.0ms
(- (/ 1.0 (pow x 5)) (/ 1.0 (pow x 3)))

simplify307.0ms

Algorithm
egg-herbie
Counts
1188 → 1188
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
0240631623
1500123511

prune889.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes45.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch56.0ms

Steps
ItersRangePoint
10
7.712829756242493e-08
8770343.893451896
466.87594167061314
7
-199130166725.20535
-11562595055.124626
-96697665796.78874

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
13314

end0.0ms

sample224.0ms

Algorithm
intervals
Results
134.0ms8000×body80valid