Details

Time bar (total: 5.8s)

sample334.0ms

Algorithm
intervals
Results
18.0ms40×body1280valid
10.0ms37×body640valid
9.0ms146×body80valid
5.0ms26×body320valid
5.0ms256×pre80true
2.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0146
1186
2216
3226
4226

prune4.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: 0.1b

Counts
2 → 1

localize35.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))

rewrite20.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))
7.0ms
(* e (cos v))

series177.0ms

Counts
3 → 9
Calls
3 calls:
88.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
43.0ms
(* e (sin v))
45.0ms
(* e (cos v))

simplify43.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0295396
11372344
25001344

prune138.0ms

Filtered
68 candidates to 48 candidates (70.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New62668
Fresh000
Picked101
Done000
Total63669

Merged error: 0.0b

Counts
69 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
66×times-frac
49×add-cube-cbrt *-un-lft-identity
36×sqrt-prod
30×associate-*r* associate-*l*
22×add-exp-log add-cbrt-cube
11×unswap-sqr
10×pow1
sqrt-div prod-exp associate-/r* associate-/r/ cbrt-unprod
cbrt-undiv div-exp
add-log-exp
flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l*
frac-times frac-2neg associate-*r/ associate-*l/ clear-num
Counts
4 → 154
Calls
4 calls:
5.0ms
(/ e (sqrt (+ 1.0 (* e (cos v)))))
20.0ms
(* (/ e (sqrt (+ 1.0 (* e (cos v))))) (/ (sin v) (sqrt (+ 1.0 (* e (cos v))))))
4.0ms
(* e (cos v))
4.0ms
(* e (cos v))

series256.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ e (sqrt (+ 1.0 (* e (cos v)))))
86.0ms
(* (/ e (sqrt (+ 1.0 (* e (cos v))))) (/ (sin v) (sqrt (+ 1.0 (* e (cos v))))))
34.0ms
(* e (cos v))
35.0ms
(* e (cos v))

simplify104.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
06591883
129351720
250021644

prune352.0ms

Filtered
166 candidates to 112 candidates (67.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1651166
Fresh055
Picked011
Done000
Total1657172

Merged error: 0.0b

Counts
172 → 7

localize9.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)))

series190.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(* e (cos v))
69.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
86.0ms
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

simplify69.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05181298
123271224
250021224

prune277.0ms

Filtered
126 candidates to 101 candidates (80.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1233126
Fresh235
Picked011
Done011
Total1258133

Merged error: 0b

Counts
133 → 8

localize11.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
(/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e))
0.3b
(/ (sqrt e) (/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e)))

rewrite117.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:
4.0ms
(* e (cos v))
5.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
13.0ms
(/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e))
26.0ms
(/ (sqrt e) (/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* e (cos v))
69.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
110.0ms
(/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e))
98.0ms
(/ (sqrt e) (/ (/ (+ 1.0 (* e (cos v))) (sin v)) (sqrt e)))

simplify166.0ms

Algorithm
egg-herbie
Counts
768 → 768
Iterations

Useful iterations: 1 (48.0ms)

IterNodesCost
0228814956
1500114401

prune1.3s

Filtered
768 candidates to 386 candidates (50.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New7671768
Fresh145
Picked011
Done022
Total7688776

Merged error: 0b

Counts
776 → 8

regimes66.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
01412
11412

end0.0ms

sample1.8s

Algorithm
intervals
Results
700.0ms1567×body1280valid
335.0ms1216×body640valid
249.0ms4309×body80valid
137.0ms8000×pre80true
119.0ms615×body320valid
39.0ms293×body160valid

Profiling

Loading profile data...