Details

Time bar (total: 3.4s)

sample57.0ms

Algorithm
intervals
Results
26.0ms384×body80valid
6.0ms139×body80nan

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
0496113
1496113

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.8b

Counts
2 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

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

series41.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
3.0ms
(+ 1.0 (* 10.0 k))
35.0ms
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

simplify41.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05106725

prune81.0ms

Filtered
41 candidates to 58 candidates (-41.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New54458
Fresh101
Picked011
Done000
Total55560

Merged error: 0.0b

Counts
60 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
53×add-exp-log
36×times-frac
26×div-exp
25×add-sqr-sqrt *-un-lft-identity
23×add-cube-cbrt
19×add-cbrt-cube
13×prod-exp
associate-/r*
cbrt-undiv
pow1 div-inv associate-/l*
rec-exp 1-exp
pow-to-exp associate-*r* pow-exp
associate-*l* cbrt-unprod add-log-exp
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down associate-/r/ *-commutative distribute-lft-out inv-pow unswap-sqr
Counts
3 → 110
Calls
3 calls:
6.0ms
(* k (+ k 10.0))
8.0ms
(/ 1 (/ (+ 1.0 (* k (+ k 10.0))) (* a (pow k m))))
10.0ms
(/ (+ 1.0 (* k (+ k 10.0))) (* a (pow k m)))

series64.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* k (+ k 10.0))
29.0ms
(/ 1 (/ (+ 1.0 (* k (+ k 10.0))) (* a (pow k m))))
30.0ms
(/ (+ 1.0 (* k (+ k 10.0))) (* a (pow k m)))

simplify53.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049371799
149371799

prune118.0ms

Filtered
68 candidates to 119 candidates (-75.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1181119
Fresh123
Picked101
Done011
Total1204124

Merged error: 0.0b

Counts
124 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
45×times-frac
41×add-sqr-sqrt
31×add-cube-cbrt
25×associate-*l*
21×frac-add
18×add-exp-log
11×add-cbrt-cube
10×unpow-prod-down
frac-times flip3-+ associate-*r/ associate-/r/ flip-+
associate-*r* distribute-lft-out add-log-exp
pow1
div-inv
div-exp
prod-exp unswap-sqr sqr-pow
associate-*l/ associate-/r* associate-/l*
cbrt-undiv +-commutative distribute-rgt-in associate-+r+ distribute-rgt-out distribute-lft-in sum-log cbrt-unprod
pow-to-exp rec-exp pow-flip frac-2neg 1-exp pow-prod-down pow-exp clear-num *-commutative inv-pow
Counts
4 → 138
Calls
4 calls:
12.0ms
(+ (/ 10.0 a) (/ k a))
12.0ms
(+ (/ 1.0 (* a (pow k m))) (* (/ k (pow k m)) (+ (/ 10.0 a) (/ k a))))
22.0ms
(* (/ k (pow k m)) (+ (/ 10.0 a) (/ k a)))
10.0ms
(/ 1 (+ (/ 1.0 (* a (pow k m))) (* (/ k (pow k m)) (+ (/ 10.0 a) (/ k a)))))

series152.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (/ 10.0 a) (/ k a))
52.0ms
(+ (/ 1.0 (* a (pow k m))) (* (/ k (pow k m)) (+ (/ 10.0 a) (/ k a))))
31.0ms
(* (/ k (pow k m)) (+ (/ 10.0 a) (/ k a)))
65.0ms
(/ 1 (+ (/ 1.0 (* a (pow k m))) (* (/ k (pow k m)) (+ (/ 10.0 a) (/ k a)))))

simplify47.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051223365

prune194.0ms

Filtered
116 candidates to 150 candidates (-29.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1491150
Fresh022
Picked011
Done011
Total1495154

Merged error: 0b

Counts
154 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
87×add-exp-log
41×add-sqr-sqrt times-frac
40×prod-exp
38×associate-*l*
37×*-un-lft-identity
34×add-cube-cbrt
32×add-cbrt-cube
29×frac-times associate-*r/
27×div-exp
22×frac-add
16×flip3-+ flip-+
13×associate-/r/
12×pow1 cbrt-unprod
10×associate-*l/
distribute-rgt-in unpow-prod-down distribute-lft-in
cbrt-undiv
rec-exp 1-exp add-log-exp
pow-to-exp associate-*r* pow-exp
associate-+r+ pow-prod-down
associate-/r* div-inv associate-/l* unswap-sqr sqr-pow
*-commutative
+-commutative pow-flip frac-2neg clear-num sum-log distribute-lft-out inv-pow
Counts
4 → 189
Calls
4 calls:
9.0ms
(+ (/ 1.0 (* a (pow k m))) (* (/ k (pow k m)) (* (/ 1 a) (+ k 10.0))))
15.0ms
(* (/ k (pow k m)) (* (/ 1 a) (+ k 10.0)))
9.0ms
(* (/ 1 a) (+ k 10.0))
11.0ms
(/ 1 (+ (/ 1.0 (* a (pow k m))) (* (/ k (pow k m)) (* (/ 1 a) (+ k 10.0)))))

series155.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(+ (/ 1.0 (* a (pow k m))) (* (/ k (pow k m)) (* (/ 1 a) (+ k 10.0))))
27.0ms
(* (/ k (pow k m)) (* (/ 1 a) (+ k 10.0)))
4.0ms
(* (/ 1 a) (+ k 10.0))
69.0ms
(/ 1 (+ (/ 1.0 (* a (pow k m))) (* (/ k (pow k m)) (* (/ 1 a) (+ k 10.0)))))

simplify82.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049593551
149593551

prune215.0ms

Filtered
139 candidates to 201 candidates (-44.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2010201
Fresh022
Picked011
Done022
Total2015206

Merged error: 0b

Counts
206 → 5

regimes216.0ms

Accuracy

96.5% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 2.0b

bsearch31.0ms

Steps
ItersRangePoint
9
7.299864146244431e+140
1.3621844653613997e+147
2.403162221923363e+142

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03544
13544

end0.0ms

sample1.6s

Algorithm
intervals
Results
802.0ms11956×body80valid
181.0ms4174×body80nan

Profiling

Loading profile data...