Details

Time bar (total: 4.9s)

sample293.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 75.012213%

Space saved by search: 75.012213%

Guaranteed chance to sample good point: 99.804688%

Results
197.0ms29×body640valid
22.0ms44×body1280valid
11.0ms157×body80valid
5.0ms256×pre80true
5.0ms22×body320valid
1.0msbody160valid

simplify384.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0146
1186
2216
3226
4226

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
0.1b
(* e (sin v))
0.1b
(* e (cos v))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l*
times-frac prod-exp associate-/r* cbrt-unprod add-log-exp
cbrt-undiv div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l*
Counts
3 → 59
Calls
3 calls:
6.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
4.0ms
(* e (sin v))
6.0ms
(* e (cos v))

series44.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
7.0ms
(* e (sin v))
16.0ms
(* e (cos v))

simplify41.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0295396
11372344
25001344

prune95.0ms

Filtered
48 candidates to 68 candidates (-41.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New64468
Fresh000
Picked011
Done000
Total64569

Merged error: 0.0b

Counts
69 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* e (cos v))
0.1b
(/ (+ 1.0 (* e (cos v))) (sin v))
0.2b
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
57×add-sqr-sqrt
55×add-cube-cbrt *-un-lft-identity
16×associate-/r*
12×add-exp-log add-cbrt-cube
div-inv associate-/l*
pow1
cbrt-undiv div-exp
associate-*r* associate-*l* add-log-exp
frac-2neg clear-num associate-/l/
flip3-+ pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
3 → 117
Calls
3 calls:
4.0ms
(* e (cos v))
5.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
7.0ms
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

series43.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(* e (cos v))
15.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
22.0ms
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

simplify64.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05181298
123271224
250021224

prune160.0ms

Filtered
101 candidates to 126 candidates (-24.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1215126
Fresh303
Picked101
Done011
Total1256131

Merged error: 0.0b

Counts
131 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* e (cos v))
0.1b
(/ (+ 1.0 (* e (cos v))) (sin v))
0.3b
(/ (sqrt e) (/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e)))
0.3b
(/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
1566×times-frac
742×add-sqr-sqrt
740×add-cube-cbrt *-un-lft-identity
564×sqrt-prod
91×associate-/r*
59×div-inv
22×add-exp-log add-cbrt-cube associate-/l*
10×cbrt-undiv div-exp
pow1
add-log-exp
frac-2neg associate-*r* associate-*l* clear-num associate-/l/
flip3-+ pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 756
Calls
4 calls:
7.0ms
(* e (cos v))
5.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
27.0ms
(/ (sqrt e) (/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e)))
9.0ms
(/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e))

series75.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* e (cos v))
15.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
28.0ms
(/ (sqrt e) (/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e)))
26.0ms
(/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e))

simplify165.0ms

Algorithm
egg-herbie
Counts
768 → 768
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
0232714946
1500114415

prune703.0ms

Filtered
385 candidates to 768 candidates (-99.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New7671768
Fresh134
Picked011
Done011
Total7686774

Merged error: 0b

Counts
774 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (sqrt e) (+ 1.0 (* e (cos v))))
0.1b
(* e (cos v))
0.2b
(* (sqrt e) (sin v))
0.3b
(* (/ (sqrt e) (+ 1.0 (* e (cos v)))) (* (sqrt e) (sin v)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
37×add-cube-cbrt *-un-lft-identity
36×times-frac
33×associate-*l*
25×sqrt-prod
22×add-exp-log add-cbrt-cube
13×pow1
prod-exp cbrt-unprod
associate-*r*
associate-/l*
pow-prod-down
associate-/r/ add-log-exp
cbrt-undiv div-exp associate-/r* *-commutative unswap-sqr
flip3-+ flip-+ div-inv
frac-2neg associate-*l/ clear-num
Counts
4 → 125
Calls
4 calls:
5.0ms
(/ (sqrt e) (+ 1.0 (* e (cos v))))
4.0ms
(* e (cos v))
5.0ms
(* (sqrt e) (sin v))
11.0ms
(* (/ (sqrt e) (+ 1.0 (* e (cos v)))) (* (sqrt e) (sin v)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ (sqrt e) (+ 1.0 (* e (cos v))))
7.0ms
(* e (cos v))
15.0ms
(* (sqrt e) (sin v))
27.0ms
(* (/ (sqrt e) (+ 1.0 (* e (cos v)))) (* (sqrt e) (sin v)))

simplify100.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
07571264
138211122
250021119

prune146.0ms

Filtered
98 candidates to 137 candidates (-39.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1370137
Fresh033
Picked011
Done022
Total1376143

Merged error: 0b

Counts
143 → 6

regimes166.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1126

end0.0ms

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 75.012213%

Space saved by search: 75.012213%

Guaranteed chance to sample good point: 99.804688%

Results
767.0ms1552×body1280valid
395.0ms1278×body640valid
299.0ms4235×body80valid
151.0ms634×body320valid
149.0ms8000×pre80true
49.0ms301×body160valid

Profiling

Loading profile data...