Details

Time bar (total: 4.1s)

sample301.0ms

Algorithm
intervals
Results
20.0ms49×body1280valid
10.0ms38×body640valid
9.0ms148×body80valid
4.0ms256×pre80true
3.0ms15×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 (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*
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))

series182.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0303422
11415368
25001362

prune200.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
21×add-exp-log
16×add-cbrt-cube
add-sqr-sqrt
prod-exp
add-cube-cbrt *-un-lft-identity associate-*r*
times-frac div-exp
cbrt-unprod
pow1 cbrt-undiv
associate-*l* associate-/r*
expm1-log1p-u 1-exp log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative associate-/l* unswap-sqr
Counts
2 → 54
Calls
2 calls:
4.0ms
(/ (* (sin v) 1) (fma (cos v) e 1.0))
9.0ms
(* e (/ (* (sin v) 1) (fma (cos v) e 1.0)))

series146.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(/ (* (sin v) 1) (fma (cos v) e 1.0))
92.0ms
(* e (/ (* (sin v) 1) (fma (cos v) e 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0332505
11444424
25001420

prune171.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

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

series137.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04361039
11847982
25001979

prune332.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series198.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05301326
123771222
250011212

prune373.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes108.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
0146
1166
2166

end0.0ms

sample1.6s

Algorithm
intervals
Results
658.0ms1531×body1280valid
325.0ms1273×body640valid
220.0ms4265×body80valid
109.0ms625×body320valid
109.0ms8000×pre80true
37.0ms306×body160valid