Details

Time bar (total: 5.0s)

sample53.0ms

Algorithm
intervals
Results
30.0ms361×body80valid
7.0ms116×body80nan

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0247
1535
21065
32695
49045
539765
650015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.8b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (* 10.0 k))
0.0b
(* a (pow k m))
0.0b
(+ (+ 1.0 (* 10.0 k)) (* k k))
2.8b
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log
16×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r*
fma-def prod-exp
pow1 expm1-log1p-u unpow-prod-down div-exp sum-log log1p-expm1-u
flip3-+ times-frac associate-*l* associate-/r* flip-+ unswap-sqr
cbrt-undiv +-commutative pow-to-exp pow-exp associate-/r/ cbrt-unprod sqr-pow
associate-+l+ frac-2neg clear-num *-commutative div-inv associate-/l*
Counts
4 → 88
Calls
4 calls:
5.0ms
(+ 1.0 (* 10.0 k))
5.0ms
(* a (pow k m))
10.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
14.0ms
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ 1.0 (* 10.0 k))
59.0ms
(* a (pow k m))
18.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
113.0ms
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

simplify59.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0477629
12275544
25001524

prune275.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma k k (fma k 10.0 1.0))
0.1b
(fma k 10.0 1.0)
0.2b
(/ (pow k m) (/ (fma k k (fma k 10.0 1.0)) a))
5.7b
(/ (fma k k (fma k 10.0 1.0)) a)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
172×times-frac
96×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
42×unpow-prod-down
19×add-exp-log
16×associate-/r*
14×sqr-pow
11×add-cbrt-cube
10×div-exp div-inv associate-/l*
pow1 cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp frac-2neg pow-exp clear-num fma-udef
associate-/r/
Counts
4 → 181
Calls
4 calls:
0.0ms
(fma k k (fma k 10.0 1.0))
0.0ms
(fma k 10.0 1.0)
8.0ms
(/ (pow k m) (/ (fma k k (fma k 10.0 1.0)) a))
2.0ms
(/ (fma k k (fma k 10.0 1.0)) a)

series208.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(fma k k (fma k 10.0 1.0))
31.0ms
(fma k 10.0 1.0)
104.0ms
(/ (pow k m) (/ (fma k k (fma k 10.0 1.0)) a))
48.0ms
(/ (fma k k (fma k 10.0 1.0)) a)

simplify88.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07151922
132801854
250021852

prune546.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (pow k m) (+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ (pow k 2) a)))
0.2b
(* 10.0 (/ k a))
1.4b
(+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ (pow k 2) a))
8.7b
(/ (pow k 2) a)

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
62×times-frac
53×add-sqr-sqrt
48×add-cube-cbrt
27×unpow-prod-down
19×add-exp-log
15×associate-/l*
13×associate-*r* add-cbrt-cube
distribute-lft-out sqr-pow
div-exp associate-/r*
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u unpow2
cbrt-undiv fma-def associate-*l* div-inv
pow-to-exp frac-2neg flip3-+ pow-exp prod-exp clear-num associate-/r/ cbrt-unprod flip-+ unswap-sqr
+-commutative associate-+l+ associate-*r/ pow-prod-down sum-log *-commutative fma-udef
Counts
4 → 160
Calls
4 calls:
26.0ms
(/ (pow k m) (+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ (pow k 2) a)))
7.0ms
(* 10.0 (/ k a))
12.0ms
(+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ (pow k 2) a))
4.0ms
(/ (pow k 2) a)

series177.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (pow k m) (+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ (pow k 2) a)))
18.0ms
(* 10.0 (/ k a))
43.0ms
(+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ (pow k 2) a))
22.0ms
(/ (pow k 2) a)

simplify81.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06221499
127861405
250011395

prune490.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ k (/ a k))
0.2b
(/ (pow k m) (+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ k (/ a k))))
0.2b
(* 10.0 (/ k a))
1.4b
(+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ k (/ a k)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
113×times-frac
91×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
19×add-exp-log
17×associate-/r*
16×add-cbrt-cube
15×unpow-prod-down
13×associate-*r*
10×associate-/l*
distribute-lft-out
div-exp div-inv
pow1 add-log-exp
cbrt-undiv sqr-pow
expm1-log1p-u log1p-expm1-u
fma-def associate-*l* associate-/r/
frac-2neg flip3-+ prod-exp clear-num cbrt-unprod flip-+ unswap-sqr
+-commutative pow-to-exp associate-+l+ associate-*r/ pow-prod-down pow-exp sum-log *-commutative fma-udef
Counts
4 → 181
Calls
4 calls:
5.0ms
(/ k (/ a k))
38.0ms
(/ (pow k m) (+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ k (/ a k))))
7.0ms
(* 10.0 (/ k a))
17.0ms
(+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ k (/ a k)))

series176.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ k (/ a k))
92.0ms
(/ (pow k m) (+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ k (/ a k))))
18.0ms
(* 10.0 (/ k a))
48.0ms
(+ (fma 1.0 (/ 1 a) (* 10.0 (/ k a))) (/ k (/ a k)))

simplify99.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07661710
139011590
250011581

prune533.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes106.0ms

Accuracy

89.3% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 2.1b

bsearch53.0ms

Steps
ItersRangePoint
7
1.0908719127102908e+64
4.073964646582908e+65
3.1622362186607213e+65

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03216
13216

end0.0ms

sample1.5s

Algorithm
intervals
Results
919.0ms11841×body80valid
252.0ms4270×body80nan