Details

Time bar (total: 4.4s)

sample297.0ms

Algorithm
intervals
Results
22.0ms52×body1280valid
10.0ms40×body640valid
9.0ms140×body80valid
4.0ms256×pre80true
3.0ms15×body320valid
1.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0146
1205
2235
3245
4245

prune11.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

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

rewrite33.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*
expm1-log1p-u times-frac prod-exp associate-/r* cbrt-unprod log1p-expm1-u 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 → 65
Calls
3 calls:
6.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
4.0ms
(* e (sin v))
6.0ms
(* e (cos v))

series172.0ms

Counts
3 → 9
Calls
3 calls:
90.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
39.0ms
(* e (sin v))
44.0ms
(* e (cos v))

simplify44.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0303422
11415368
25001362

prune171.0ms

Filtered
74 candidates to 54 candidates (73.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New67774
Fresh011
Picked101
Done000
Total68876

Merged error: 0.0b

Counts
76 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.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
expm1-log1p-u log1p-expm1-u 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 → 162
Calls
4 calls:
5.0ms
(/ e (sqrt (+ 1.0 (* e (cos v)))))
4.0ms
(* e (cos v))
7.0ms
(* e (cos v))
22.0ms
(* (/ e (sqrt (+ 1.0 (* e (cos v))))) (/ (sin v) (sqrt (+ 1.0 (* e (cos v))))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ e (sqrt (+ 1.0 (* e (cos v)))))
38.0ms
(* e (cos v))
36.0ms
(* e (cos v))
87.0ms
(* (/ e (sqrt (+ 1.0 (* e (cos v))))) (/ (sin v) (sqrt (+ 1.0 (* e (cos v))))))

simplify86.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06731932
130031762
250021670

prune394.0ms

Filtered
174 candidates to 120 candidates (69.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1740174
Fresh077
Picked011
Done000
Total1748182

Merged error: 0.0b

Counts
182 → 8

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

rewrite22.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
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u 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 → 123
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)))

series192.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05301326
123771222
250011212

prune323.0ms

Filtered
132 candidates to 109 candidates (82.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1275132
Fresh426
Picked011
Done101
Total1328140

Merged error: 0b

Counts
140 → 8

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (fma (cos v) e 1.0) e)
0.2b
(/ (sin v) (/ (fma (cos v) e 1.0) e))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
52×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/r*
add-exp-log add-cbrt-cube
div-inv associate-/l*
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/r/
Counts
2 → 101
Calls
2 calls:
3.0ms
(/ (fma (cos v) e 1.0) e)
6.0ms
(/ (sin v) (/ (fma (cos v) e 1.0) e))

series143.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(/ (fma (cos v) e 1.0) e)
83.0ms
(/ (sin v) (/ (fma (cos v) e 1.0) e))

simplify57.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04361039
11847982
25001979

prune247.0ms

Filtered
107 candidates to 88 candidates (82.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh066
Picked011
Done011
Total1078115

Merged error: 0b

Counts
115 → 8

regimes67.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116
1116

end0.0ms

sample1.7s

Algorithm
intervals
Results
652.0ms1510×body1280valid
341.0ms1234×body640valid
240.0ms4334×body80valid
111.0ms8000×pre80true
110.0ms605×body320valid
40.0ms317×body160valid