Details

Time bar (total: 4.7s)

sample311.0ms

Algorithm
intervals
Results
20.0ms43×body1280valid
15.0ms153×body80valid
13.0ms42×body640valid
6.0ms256×pre80true
3.0ms13×body320valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0146
1205
2235
3245
4245

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.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))))
3.0ms
(* e (cos v))
6.0ms
(* e (sin v))

series175.0ms

Counts
3 → 9
Calls
3 calls:
92.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
36.0ms
(* e (cos v))
47.0ms
(* e (sin v))

simplify43.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0303422
11415368
25001362

prune180.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

rewrite12.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:
2.0ms
(/ (fma (cos v) e 1.0) e)
6.0ms
(/ (sin v) (/ (fma (cos v) e 1.0) e))

series141.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04361039
11847982
25001979

prune303.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
96×times-frac
60×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
52×unpow-prod-down
20×associate-/r*
12×add-exp-log
div-exp add-cbrt-cube div-inv associate-/l*
sqr-pow
pow1 cbrt-undiv expm1-log1p-u frac-2neg pow-exp clear-num log1p-expm1-u add-log-exp
pow-to-exp
Counts
2 → 117
Calls
2 calls:
2.0ms
(/ (fma (cos v) e 1.0) e)
12.0ms
(/ (sin v) (pow (/ (fma (cos v) e 1.0) e) 1))

series138.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(/ (fma (cos v) e 1.0) e)
81.0ms
(/ (sin v) (pow (/ (fma (cos v) e 1.0) e) 1))

simplify60.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04611326
120641143
250021135

prune341.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

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

rewrite25.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:
3.0ms
(* e (cos v))
8.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
10.0ms
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

series196.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05301326
123771222
250011212

prune350.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0b

regimes123.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1126

end0.0ms

sample2.0s

Algorithm
intervals
Results
706.0ms1478×body1280valid
399.0ms4364×body80valid
391.0ms1255×body640valid
167.0ms8000×pre80true
134.0ms602×body320valid
47.0ms301×body160valid