Details

Time bar (total: 5.7s)

analyze1.1s

Algorithm
search

sample43.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
9.0ms129×body80invalid

simplify436.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05114
115514
266714
3312514
4500214

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.1b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

4.1b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
6.1b
(* (* w w) r)
7.5b
(* (* (* w w) r) r)
7.6b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
92×add-exp-log add-cbrt-cube
57×prod-exp cbrt-unprod
50×pow1
33×pow-prod-down
13×add-sqr-sqrt
12×*-un-lft-identity
cbrt-undiv div-exp
add-cube-cbrt
associate-*r*
times-frac associate-/r*
associate-*r/ associate-*l/ add-log-exp
flip3-- associate-*l* *-commutative flip--
associate-/r/ associate-/l/ distribute-lft-out-- difference-of-squares
frac-2neg clear-num div-inv associate-/l* unswap-sqr
Counts
4 → 119
Calls
4 calls:
12.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
5.0ms
(* (* w w) r)
22.0ms
(* (* (* w w) r) r)
18.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))

series62.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
4.0ms
(* (* w w) r)
7.0ms
(* (* (* w w) r) r)
31.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))

simplify103.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06701303
13873935
25001931

prune168.0ms

Filtered
61 candidates to 131 candidates (-114.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1229131
Fresh000
Picked101
Done000
Total1239132

Merged error: 2.4b

Counts
132 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ 2.0 (* r r))
5.6b
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (* (* w w) r) r) (- 1.0 v)))
6.1b
(* (* w w) r)
7.5b
(* (* (* w w) r) r)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log add-cbrt-cube
37×prod-exp cbrt-unprod
23×pow1
17×associate-*r*
13×add-sqr-sqrt
12×*-un-lft-identity pow-prod-down
10×cbrt-undiv add-cube-cbrt div-exp
times-frac
associate-*r/
add-log-exp
flip3-- associate-*l* *-commutative flip-- associate-/l*
frac-times associate-*l/ associate-/r/ div-inv
frac-2neg clear-num associate-/r* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 108
Calls
4 calls:
4.0ms
(/ 2.0 (* r r))
15.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (* (* w w) r) r) (- 1.0 v)))
6.0ms
(* (* w w) r)
7.0ms
(* (* (* w w) r) r)

series39.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ 2.0 (* r r))
23.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (* (* w w) r) r) (- 1.0 v)))
4.0ms
(* (* w w) r)
10.0ms
(* (* (* w w) r) r)

simplify95.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07071007
13967740
25003736

prune172.0ms

Filtered
64 candidates to 120 candidates (-87.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1137120
Fresh358
Picked101
Done000
Total11712129

Merged error: 0.1b

Counts
129 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v))
0.3b
(* (fabs (* w r)) (fabs (* w r)))
0.8b
(/ 2.0 (* r r))
5.6b
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log add-cbrt-cube
22×add-sqr-sqrt
20×*-un-lft-identity
16×pow1
14×add-cube-cbrt associate-*r* prod-exp cbrt-unprod
13×times-frac
cbrt-undiv div-exp
associate-/r*
associate-*r/
flip3-- associate-*l* pow-prod-down associate-/r/ flip-- associate-/l* add-log-exp
swap-sqr div-inv distribute-lft-out-- difference-of-squares
frac-times frac-2neg associate-*l/ clear-num *-commutative
pow2 pow-plus pow-sqr pow-prod-up unswap-sqr
Counts
4 → 112
Calls
4 calls:
6.0ms
(/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v))
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
4.0ms
(/ 2.0 (* r r))
14.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v))
4.0ms
(* (fabs (* w r)) (fabs (* w r)))
3.0ms
(/ 2.0 (* r r))
25.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v)))

simplify83.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05991138
13030904
25002889

prune230.0ms

Filtered
79 candidates to 124 candidates (-57.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1168124
Fresh5611
Picked101
Done000
Total12214136

Merged error: 0.0b

Counts
136 → 14

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v))
0.2b
(/ (/ 2.0 r) r)
0.3b
(* (fabs (* w r)) (fabs (* w r)))
5.6b
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
62×add-sqr-sqrt
60×*-un-lft-identity
54×add-cube-cbrt
37×add-exp-log add-cbrt-cube
16×pow1
14×associate-*r* associate-/l*
13×prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-/r*
div-inv
associate-*r/
flip3-- associate-*l* pow-prod-down associate-/r/ flip-- add-log-exp
swap-sqr distribute-lft-out-- difference-of-squares
frac-times frac-2neg associate-*l/ clear-num *-commutative
pow2 pow-plus pow-sqr pow-prod-up associate-/l/ unswap-sqr
Counts
4 → 161
Calls
4 calls:
6.0ms
(/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v))
6.0ms
(/ (/ 2.0 r) r)
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
12.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v))
3.0ms
(/ (/ 2.0 r) r)
4.0ms
(* (fabs (* w r)) (fabs (* w r)))
25.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v)))

simplify97.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
08071501
138921248
250011234

prune236.0ms

Filtered
113 candidates to 173 candidates (-53.1%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1721173
Fresh01313
Picked011
Done000
Total17215187

Merged error: 0.0b

Counts
187 → 15

regimes450.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02716
12716

end0.0ms

analyze876.0ms

Algorithm
search

sample1.2s

Algorithm
intervals
Results
562.0ms8000×body80valid
341.0ms4873×body80invalid

Profiling

Loading profile data...