Details

Time bar (total: 5.1s)

sample306.0ms

Algorithm
intervals
Results
35.0ms519×body80valid

simplify86.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.2b

Counts
2 → 1

localize34.0ms

Local error

Found 4 expressions with local error:

4.1b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
5.1b
(* (* (* w w) r) r)
6.8b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
8.4b
(* (* 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))
7.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)

series220.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
32.0ms
(* (* (* w w) r) r)
77.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
26.0ms
(* (* w w) r)

simplify109.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06701303
13876935
25003931

prune262.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: 3.3b

Counts
132 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (* w r)) (fabs (* w r)))
0.5b
(/ 2.0 (* r r))
4.1b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
6.8b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

rewrite36.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:
6.0ms
(* (fabs (* w r)) (fabs (* w r)))
4.0ms
(/ 2.0 (* r r))
9.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
13.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))
43.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

prune331.0ms

Filtered
117 candidates to 70 candidates (59.8%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh538
Picked101
Done000
Total11115126

Merged error: 0.0b

Counts
126 → 15

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (pow (fabs (* w r)) 2) (- 1.0 v))
0.3b
(pow (fabs (* w r)) 2)
0.5b
(/ 2.0 (* r r))
4.2b
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (pow (fabs (* w r)) 2) (- 1.0 v)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
83×times-frac
82×add-sqr-sqrt *-un-lft-identity
48×add-cube-cbrt
46×associate-*r*
39×add-exp-log
36×unpow-prod-down
23×add-cbrt-cube
17×distribute-lft-out-- difference-of-squares
13×prod-exp
12×unpow2 sqr-pow
11×div-exp associate-/l*
10×pow1
cbrt-unprod
associate-/r*
cbrt-undiv associate-*r/
pow-to-exp flip3-- pow-exp associate-/r/ flip-- add-log-exp
pow-unpow pow-prod-down div-inv
frac-times frac-2neg associate-*l/ clear-num
pow-pow associate-*l* *-commutative
Counts
4 → 182
Calls
4 calls:
7.0ms
(/ (pow (fabs (* w r)) 2) (- 1.0 v))
2.0ms
(pow (fabs (* w r)) 2)
4.0ms
(/ 2.0 (* r r))
17.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (pow (fabs (* w r)) 2) (- 1.0 v)))

series134.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07881794
136011581
250021581

prune522.0ms

Filtered
194 candidates to 116 candidates (59.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1859194
Fresh10414
Picked101
Done000
Total19613209

Merged error: 0.0b

Counts
209 → 13

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (fabs (* w r)) (/ (- 1.0 v) (fabs (* w r))))
0.2b
(/ (- 1.0 v) (fabs (* w r)))
0.5b
(/ 2.0 (* r r))
4.2b
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (fabs (* w r)) (/ (- 1.0 v) (fabs (* w r)))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
237×times-frac
169×add-sqr-sqrt *-un-lft-identity
119×add-cube-cbrt
62×associate-*r*
37×add-exp-log add-cbrt-cube
25×distribute-lft-out-- difference-of-squares
23×associate-/r*
12×cbrt-undiv div-exp
11×div-inv associate-/l*
10×prod-exp cbrt-unprod
pow1
associate-*r/
add-log-exp
flip3-- frac-2neg pow-prod-down clear-num flip--
frac-times associate-*l/ associate-/r/ associate-/l/
div-sub associate-*l* *-commutative
Counts
4 → 243
Calls
4 calls:
8.0ms
(/ (fabs (* w r)) (/ (- 1.0 v) (fabs (* w r))))
6.0ms
(/ (- 1.0 v) (fabs (* w r)))
4.0ms
(/ 2.0 (* r r))
20.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (fabs (* w r)) (/ (- 1.0 v) (fabs (* w r)))))

series141.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ (fabs (* w r)) (/ (- 1.0 v) (fabs (* w r))))
23.0ms
(/ (- 1.0 v) (fabs (* w r)))
24.0ms
(/ 2.0 (* r r))
55.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (fabs (* w r)) (/ (- 1.0 v) (fabs (* w r)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
255 → 255
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
010873198
150022886

prune680.0ms

Filtered
255 candidates to 178 candidates (69.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2532255
Fresh3912
Picked101
Done000
Total25711268

Merged error: 0.0b

Counts
268 → 11

regimes231.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.5s

Algorithm
intervals
Results
1.1s17153×body80valid

Profiling

Loading profile data...