Details

Time bar (total: 4.9s)

sample377.0ms

Algorithm
intervals
Results
22.0ms47×body1280valid
9.0ms34×body640valid
8.0ms142×body80valid
4.0ms256×pre80true
3.0ms18×body320valid
2.0ms15×body160valid

simplify12.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

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

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

series188.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0303422
11415368
25001362

prune181.0ms

Pruning

7 alts after pruning (6 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))

rewrite21.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:
5.0ms
(/ (fma (cos v) e 1.0) e)
12.0ms
(/ (sin v) (/ (fma (cos v) e 1.0) e))

series145.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04361039
11847982
25001979

prune293.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

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

rewrite51.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
(* e (cos v))
24.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
13.0ms
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

series202.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05301326
123771222
250011212

prune358.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (/ (fma (cos v) e 1.0) e))
0.2b
(sqrt (/ (fma (cos v) e 1.0) e))
0.2b
(/ (sin v) (* (sqrt (/ (fma (cos v) e 1.0) e)) (sqrt (/ (fma (cos v) e 1.0) e))))
0.5b
(* (sqrt (/ (fma (cos v) e 1.0) e)) (sqrt (/ (fma (cos v) e 1.0) e)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
92×sqrt-prod
86×add-sqr-sqrt
65×times-frac
52×add-cube-cbrt *-un-lft-identity
21×pow1
18×swap-sqr
16×associate-*r* associate-*l*
11×add-exp-log add-cbrt-cube
10×sqrt-pow1 pow1/2 sqrt-div
unswap-sqr
div-inv
pow-prod-up
expm1-log1p-u rem-sqrt-square log1p-expm1-u add-log-exp
pow-prod-down associate-/r/ pow-sqr associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod
pow2 frac-2neg pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt *-commutative
Counts
4 → 169
Calls
4 calls:
4.0ms
(sqrt (/ (fma (cos v) e 1.0) e))
4.0ms
(sqrt (/ (fma (cos v) e 1.0) e))
20.0ms
(/ (sin v) (* (sqrt (/ (fma (cos v) e 1.0) e)) (sqrt (/ (fma (cos v) e 1.0) e))))
31.0ms
(* (sqrt (/ (fma (cos v) e 1.0) e)) (sqrt (/ (fma (cos v) e 1.0) e)))

series343.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(sqrt (/ (fma (cos v) e 1.0) e))
86.0ms
(sqrt (/ (fma (cos v) e 1.0) e))
98.0ms
(/ (sin v) (* (sqrt (/ (fma (cos v) e 1.0) e)) (sqrt (/ (fma (cos v) e 1.0) e))))
73.0ms
(* (sqrt (/ (fma (cos v) e 1.0) e)) (sqrt (/ (fma (cos v) e 1.0) e)))

simplify67.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04311638
121041443
250011382

prune468.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 0b

regimes101.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

sample1.7s

Algorithm
intervals
Results
643.0ms1494×body1280valid
342.0ms1268×body640valid
238.0ms4309×body80valid
109.0ms598×body320valid
109.0ms8000×pre80true
46.0ms331×body160valid