Details

Time bar (total: 5.6s)

sample267.0ms

Algorithm
intervals
Results
234.0ms506×body80valid

simplify459.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.5b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

2.8b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
5.6b
(* (* (* w w) r) r)
6.2b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
10.7b
(* (* w w) r)

rewrite50.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))
7.0ms
(* (* (* w w) r) r)
17.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
8.0ms
(* (* w w) r)

series70.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
6.0ms
(* (* (* w w) r) r)
33.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
11.0ms
(* (* w w) r)

simplify102.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06701303
13876935
25003931

prune156.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1247131
Fresh000
Picked101
Done000
Total1257132

Merged error: 2.1b

Counts
132 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (fabs (* w r)) (fabs (* w r)))
0.7b
(/ 2.0 (* r r))
2.8b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
6.2b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

rewrite34.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:
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
4.0ms
(/ 2.0 (* r r))
8.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
15.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

series41.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05591085
12754841
25001823

prune199.0ms

Filtered
70 candidates to 117 candidates (-67.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1089117
Fresh246
Picked101
Done000
Total11113124

Merged error: 0.0b

Counts
124 → 13

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
0.4b
(pow (fabs (* w r)) 2)
0.7b
(/ 2.0 (* r r))
4.9b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

rewrite40.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:
7.0ms
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
2.0ms
(pow (fabs (* w r)) 2)
4.0ms
(/ 2.0 (* r r))
16.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

series42.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
235 → 235
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09712431
141662156
250012156

prune407.0ms

Filtered
136 candidates to 235 candidates (-72.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2269235
Fresh9312
Picked101
Done000
Total23612248

Merged error: 0.0b

Counts
248 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

4.9b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))
4.9b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))
11.1b
(sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2))))
11.1b
(sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
416×times-frac
218×add-sqr-sqrt
216×*-un-lft-identity
120×add-cube-cbrt
98×sqrt-prod
90×unpow-prod-down
88×associate-/r*
52×add-exp-log
48×distribute-lft-out-- difference-of-squares
30×unpow2 sqr-pow
28×div-exp add-cbrt-cube
12×cbrt-undiv
10×div-inv
prod-exp
pow1
pow-to-exp associate-*r/ pow-exp associate-/r/ cbrt-unprod associate-/l/ add-log-exp
rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 sqrt-div clear-num flip-- associate-/l*
Counts
4 → 348
Calls
4 calls:
15.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))
15.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))
15.0ms
(sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2))))
13.0ms
(sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2))))

series107.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))
20.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))
29.0ms
(sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2))))
36.0ms
(sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2))))

simplify126.0ms

Algorithm
egg-herbie
Counts
360 → 360
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
010095344
144084834
250024834

prune1.1s

Filtered
214 candidates to 360 candidates (-68.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New3600360
Fresh01111
Picked011
Done000
Total36012372

Merged error: 0.0b

Counts
372 → 12

regimes401.0ms

Accuracy

0% (0.4b 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
02926
12926

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.1s16746×body80valid

Profiling

Loading profile data...