Details

Time bar (total: 5.8s)

sample332.0ms

Algorithm
intervals
Results
27.0ms62×body1280valid
12.0ms45×body640valid
9.0ms122×body80valid
6.0ms256×pre80true
4.0ms13×body320valid
2.0ms14×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.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))

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

series173.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0303422
11415368
25001362

prune180.0ms

Pruning

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

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

series191.0ms

Counts
3 → 9
Calls
3 calls:
34.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 (54.0ms)

IterNodesCost
05301326
123771222
250011212

prune340.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series147.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(/ e (fma (cos v) e 1.0))
89.0ms
(* (/ e (fma (cos v) e 1.0)) (sin v))

simplify40.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0299516
11239462
25002456

prune181.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
1416×times-frac
669×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
450×sqrt-prod
79×associate-/r*
35×div-inv
31×associate-/l*
19×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/r/ associate-/l/
Counts
3 → 664
Calls
3 calls:
3.0ms
(/ (fma (cos v) e 1.0) (sqrt e))
9.0ms
(/ (/ (fma (cos v) e 1.0) (sqrt e)) (sin v))
28.0ms
(/ (sqrt e) (/ (/ (fma (cos v) e 1.0) (sqrt e)) (sin v)))

series285.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(/ (fma (cos v) e 1.0) (sqrt e))
103.0ms
(/ (/ (fma (cos v) e 1.0) (sqrt e)) (sin v))
104.0ms
(/ (sqrt e) (/ (/ (fma (cos v) e 1.0) (sqrt e)) (sin v)))

simplify138.0ms

Algorithm
egg-herbie
Counts
673 → 673
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0225512285
1500111838

prune1.5s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes50.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
095
195

end0.0ms

sample1.9s

Algorithm
intervals
Results
720.0ms1586×body1280valid
377.0ms1291×body640valid
324.0ms4222×body80valid
166.0ms8000×pre80true
122.0ms603×body320valid
41.0ms298×body160valid