Details

Time bar (total: 6.4s)

sample65.0ms

Algorithm
intervals
Results
39.0ms369×body80valid
10.0ms141×body80nan

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0247
1487
2966
32566
48916
539636
650026

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.9b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log
13×add-sqr-sqrt
10×add-cbrt-cube
add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r*
prod-exp
unpow-prod-down div-exp
pow1 times-frac associate-*l* associate-/r* sum-log unswap-sqr
cbrt-undiv pow-to-exp flip3-+ pow-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
+-commutative associate-+l+ frac-2neg clear-num *-commutative div-inv associate-/l*
Counts
3 → 63
Calls
3 calls:
5.0ms
(* a (pow k m))
9.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
13.0ms
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

series188.0ms

Counts
3 → 9
Calls
3 calls:
57.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)))

simplify52.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0405548
11965482
25001475

prune175.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.9b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* a (pow k m))
0.0b
(* k (+ 10.0 k))
0.6b
(/ 1 (+ 1.0 (* k (+ 10.0 k))))
0.7b
(* (* a (pow k m)) (/ 1 (+ 1.0 (* k (+ 10.0 k)))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
59×add-exp-log
32×prod-exp
31×add-sqr-sqrt
26×*-un-lft-identity associate-*r*
24×add-cube-cbrt
22×add-cbrt-cube
18×times-frac
10×div-exp
pow1
cbrt-unprod
associate-*l*
pow-to-exp rec-exp 1-exp pow-exp
unpow-prod-down associate-/r/ add-log-exp unswap-sqr
cbrt-undiv flip3-+ associate-*r/ associate-/r* *-commutative flip-+ associate-/l*
pow-prod-down div-inv sqr-pow
distribute-rgt-in pow-flip frac-2neg distribute-lft-in clear-num un-div-inv distribute-lft-out inv-pow
Counts
4 → 128
Calls
4 calls:
5.0ms
(* a (pow k m))
9.0ms
(* k (+ 10.0 k))
4.0ms
(/ 1 (+ 1.0 (* k (+ 10.0 k))))
18.0ms
(* (* a (pow k m)) (/ 1 (+ 1.0 (* k (+ 10.0 k)))))

series244.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* a (pow k m))
40.0ms
(* k (+ 10.0 k))
36.0ms
(/ 1 (+ 1.0 (* k (+ 10.0 k))))
110.0ms
(* (* a (pow k m)) (/ 1 (+ 1.0 (* k (+ 10.0 k)))))

simplify80.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0634958
13411839
25001812

prune270.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.9b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m))
0.0b
(* k (+ 10.0 k))
0.2b
(/ 1 (/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m)))
3.8b
(/ (+ 1.0 (* k (+ 10.0 k))) a)

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
1073×times-frac
500×add-sqr-sqrt *-un-lft-identity
498×add-cube-cbrt
198×unpow-prod-down
105×associate-/r*
70×add-exp-log
66×sqr-pow
51×div-exp
43×div-inv
22×add-cbrt-cube
19×associate-/l*
10×cbrt-undiv
pow-to-exp pow-exp
pow1 rec-exp 1-exp
associate-*r* add-log-exp
frac-2neg associate-*l* clear-num associate-/l/
flip3-+ associate-*r/ flip-+
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out inv-pow unswap-sqr
Counts
4 → 602
Calls
4 calls:
16.0ms
(/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m))
9.0ms
(* k (+ 10.0 k))
25.0ms
(/ 1 (/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m)))
8.0ms
(/ (+ 1.0 (* k (+ 10.0 k))) a)

series285.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m))
40.0ms
(* k (+ 10.0 k))
99.0ms
(/ 1 (/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m)))
44.0ms
(/ (+ 1.0 (* k (+ 10.0 k))) a)

simplify122.0ms

Algorithm
egg-herbie
Counts
614 → 614
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
021789172
150028740

prune1.4s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1 (sqrt (+ 1.0 (* k (+ 10.0 k))))) (sqrt (+ 1.0 (* k (+ 10.0 k)))))
0.7b
(* (* a (pow k m)) (/ (/ 1 (sqrt (+ 1.0 (* k (+ 10.0 k))))) (sqrt (+ 1.0 (* k (+ 10.0 k))))))
16.4b
(sqrt (+ 1.0 (* k (+ 10.0 k))))
16.4b
(sqrt (+ 1.0 (* k (+ 10.0 k))))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
522×times-frac
276×add-sqr-sqrt
274×add-cube-cbrt *-un-lft-identity
270×sqrt-prod
150×associate-*r*
83×add-exp-log
35×prod-exp
34×sqrt-div
30×div-exp associate-/r/ add-cbrt-cube
24×associate-/l*
17×flip3-+ flip-+
15×pow1 div-inv
cbrt-undiv cbrt-unprod
sqrt-pow1 pow1/2 associate-/r* pow-div
pow-to-exp rec-exp pow-flip 1-exp pow-exp
add-log-exp
rem-sqrt-square
frac-2neg associate-*r/ associate-*l* pow-prod-down clear-num *-commutative associate-/l/ inv-pow
Counts
4 → 416
Calls
4 calls:
16.0ms
(/ (/ 1 (sqrt (+ 1.0 (* k (+ 10.0 k))))) (sqrt (+ 1.0 (* k (+ 10.0 k)))))
55.0ms
(* (* a (pow k m)) (/ (/ 1 (sqrt (+ 1.0 (* k (+ 10.0 k))))) (sqrt (+ 1.0 (* k (+ 10.0 k))))))
3.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))
3.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))

series247.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (/ 1 (sqrt (+ 1.0 (* k (+ 10.0 k))))) (sqrt (+ 1.0 (* k (+ 10.0 k)))))
113.0ms
(* (* a (pow k m)) (/ (/ 1 (sqrt (+ 1.0 (* k (+ 10.0 k))))) (sqrt (+ 1.0 (* k (+ 10.0 k))))))
46.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))
53.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))

simplify92.0ms

Algorithm
egg-herbie
Counts
428 → 428
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
015457058
150016074

prune845.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.9b

regimes87.0ms

Accuracy

0% (0.1b remaining)

Error of 2.2b against oracle of 2.1b and baseline of 2.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0167
1167

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.2s11984×body80valid
310.0ms4172×body80nan