Details

Time bar (total: 4.9s)

sample337.0ms

Algorithm
intervals
Results
37.0ms524×body80valid

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05114
115514
266714
3312514
4500214

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.6b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

3.7b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
4.5b
(* (* (* w w) r) r)
7.2b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
10.5b
(* (* w w) r)

rewrite54.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:
13.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
8.0ms
(* (* (* w w) r) r)
18.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
8.0ms
(* (* w w) r)

series224.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
35.0ms
(* (* (* w w) r) r)
69.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
36.0ms
(* (* w w) r)

simplify103.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06701303
13876935
25003931

prune265.0ms

Filtered
131 candidates to 61 candidates (46.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1229131
Fresh000
Picked101
Done000
Total1239132

Merged error: 2.6b

Counts
132 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (fabs (* w r)) (fabs (* w r)))
0.4b
(/ 2.0 (* r r))
3.7b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
7.2b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

rewrite38.0ms

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

series132.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (fabs (* w r)) (fabs (* w r)))
24.0ms
(/ 2.0 (* r r))
42.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
58.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

simplify74.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05591085
12754841
25001821

prune336.0ms

Filtered
117 candidates to 70 candidates (59.8%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh448
Picked101
Done000
Total11016126

Merged error: 0.1b

Counts
126 → 16

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
0.4b
(pow (fabs (* w r)) 2)
0.4b
(/ 2.0 (* r r))
4.1b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
167×times-frac
117×add-sqr-sqrt *-un-lft-identity
67×add-cube-cbrt
53×associate-/r*
51×unpow-prod-down
39×add-exp-log
25×distribute-lft-out-- difference-of-squares
23×add-cbrt-cube
19×div-exp
17×unpow2 sqr-pow
cbrt-undiv associate-/l*
pow1 prod-exp div-inv
pow-to-exp pow-exp associate-/l/ add-log-exp
pow-unpow frac-2neg clear-num cbrt-unprod
flip3-- associate-*r/ flip--
pow-pow div-sub associate-/r/
Counts
4 → 223
Calls
4 calls:
8.0ms
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
2.0ms
(pow (fabs (* w r)) 2)
5.0ms
(/ 2.0 (* r r))
17.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

series124.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
10.0ms
(pow (fabs (* w r)) 2)
24.0ms
(/ 2.0 (* r r))
57.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

simplify102.0ms

Algorithm
egg-herbie
Counts
235 → 235
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09712431
141662156
250012156

prune644.0ms

Filtered
235 candidates to 137 candidates (58.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2269235
Fresh12315
Picked101
Done000
Total23912251

Merged error: 0.0b

Counts
251 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (fabs (* w r)))
0.3b
(* (/ 1 (fabs (* w r))) (/ (- 1.0 v) (fabs (* w r))))
0.4b
(/ 2.0 (* r r))
4.1b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (* (/ 1 (fabs (* w r))) (/ (- 1.0 v) (fabs (* w r)))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
108×add-exp-log
64×add-cbrt-cube
53×add-sqr-sqrt
46×div-exp
44×times-frac
38×*-un-lft-identity
34×prod-exp
30×add-cube-cbrt
25×cbrt-undiv
19×associate-*r*
18×cbrt-unprod
13×associate-*l*
pow1 rec-exp 1-exp associate-/l*
unswap-sqr
associate-/r* div-inv
associate-*r/ add-log-exp
frac-2neg clear-num associate-/r/ distribute-lft-out-- difference-of-squares
frac-times associate-*l/ associate-/l/
flip3-- pow-flip pow-prod-down *-commutative flip-- inv-pow
Counts
4 → 160
Calls
4 calls:
3.0ms
(/ 1 (fabs (* w r)))
16.0ms
(* (/ 1 (fabs (* w r))) (/ (- 1.0 v) (fabs (* w r))))
5.0ms
(/ 2.0 (* r r))
17.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (* (/ 1 (fabs (* w r))) (/ (- 1.0 v) (fabs (* w r)))))

series132.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1 (fabs (* w r)))
42.0ms
(* (/ 1 (fabs (* w r))) (/ (- 1.0 v) (fabs (* w r))))
24.0ms
(/ 2.0 (* r r))
60.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (* (/ 1 (fabs (* w r))) (/ (- 1.0 v) (fabs (* w r)))))

simplify107.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
08271860
144441453
250011352

prune327.0ms

Filtered
172 candidates to 90 candidates (52.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1711172
Fresh01111
Picked011
Done000
Total17113184

Merged error: 0.0b

Counts
184 → 13

regimes250.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
03117
13117

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.1s16952×body80valid

Profiling

Loading profile data...