Details

Time bar (total: 4.8s)

sample39.0ms

Algorithm
intervals
Results
17.0ms373×body80valid
5.0ms135×body80nan

simplify107.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0247
1487
2966
32566
48916
539636
650026

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.9b

Counts
2 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log
14×add-sqr-sqrt
11×add-cbrt-cube add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r*
prod-exp
pow1 unpow-prod-down div-exp sum-log
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 → 74
Calls
4 calls:
5.0ms
(* a (pow k m))
2.0ms
(+ 1.0 (* 10.0 k))
5.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
8.0ms
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

series218.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0457599
12146533
25001526

prune165.0ms

Filtered
86 candidates to 63 candidates (73.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83386
Fresh101
Picked011
Done000
Total84488

Merged error: 0.9b

Counts
88 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series208.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(* a (pow k m))
39.0ms
(* k (+ 10.0 k))
110.0ms
(/ (* a (pow k m)) (+ 1.0 (* k (+ 10.0 k))))

simplify59.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0446493
12226441
25001440

prune146.0ms

Filtered
82 candidates to 58 candidates (70.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh112
Picked011
Done011
Total82486

Merged error: 0.9b

Counts
86 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
146×add-sqr-sqrt
134×times-frac
76×add-cube-cbrt *-un-lft-identity sqrt-prod
48×associate-*r*
45×unpow-prod-down
33×add-exp-log
24×associate-*l*
21×unswap-sqr
19×sqr-pow
18×add-cbrt-cube
13×div-exp
10×sqrt-div
pow1 prod-exp
associate-/l*
associate-/r* associate-/r/
cbrt-undiv flip3-+ flip-+
cbrt-unprod add-log-exp
pow-to-exp pow-exp div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 218
Calls
4 calls:
6.0ms
(/ (pow k m) (sqrt (+ 1.0 (* k (+ 10.0 k)))))
28.0ms
(* (/ a (sqrt (+ 1.0 (* k (+ 10.0 k))))) (/ (pow k m) (sqrt (+ 1.0 (* k (+ 10.0 k))))))
2.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))
2.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))

series310.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ (pow k m) (sqrt (+ 1.0 (* k (+ 10.0 k)))))
108.0ms
(* (/ a (sqrt (+ 1.0 (* k (+ 10.0 k))))) (/ (pow k m) (sqrt (+ 1.0 (* k (+ 10.0 k))))))
49.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))
48.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))

simplify104.0ms

Algorithm
egg-herbie
Counts
230 → 230
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
08953252
139353043
250022962

prune457.0ms

Filtered
230 candidates to 147 candidates (63.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2300230
Fresh011
Picked011
Done022
Total2304234

Merged error: 0.9b

Counts
234 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite86.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:
6.0ms
(* k (+ 10.0 k))
9.0ms
(/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m))
21.0ms
(/ 1 (/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m)))
5.0ms
(/ (+ 1.0 (* k (+ 10.0 k))) a)

series287.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
614 → 614
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
021789172
150028740

prune1.1s

Filtered
614 candidates to 381 candidates (62.1%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New6140614
Fresh000
Picked011
Done033
Total6144618

Merged error: 0.9b

Counts
618 → 4

regimes81.0ms

Accuracy

0% (0.1b remaining)

Error of 2.0b against oracle of 1.9b and baseline of 2.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0167
1167

end0.0ms

sample1.1s

Algorithm
intervals
Results
562.0ms12030×body80valid
158.0ms4212×body80nan

Profiling

Loading profile data...