Details

Time bar (total: 4.2s)

sample300.0ms

Algorithm
intervals
Results
20.0ms49×body1280valid
10.0ms38×body640valid
9.0ms144×body80valid
4.0ms256×pre80true
2.0ms13×body320valid
1.0ms12×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0146
1205
2235
3245
4245

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

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

series177.0ms

Counts
3 → 9
Calls
3 calls:
86.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
34.0ms
(* e (cos v))
57.0ms
(* e (sin v))

simplify43.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0303422
11415368
25001362

prune174.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log
27×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
22×add-cbrt-cube
21×associate-*r*
18×times-frac
14×pow1 prod-exp
cbrt-unprod
associate-*l*
div-exp
pow-prod-down
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv rec-exp 1-exp associate-/r* *-commutative associate-/l*
flip3-+ flip-+ div-inv unswap-sqr
pow-flip frac-2neg associate-*r/ clear-num un-div-inv inv-pow
Counts
4 → 117
Calls
4 calls:
15.0ms
(* (* e (sin v)) (/ 1 (+ 1.0 (* e (cos v)))))
4.0ms
(/ 1 (+ 1.0 (* e (cos v))))
3.0ms
(* e (cos v))
4.0ms
(* e (sin v))

series199.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (* e (sin v)) (/ 1 (+ 1.0 (* e (cos v)))))
34.0ms
(/ 1 (+ 1.0 (* e (cos v))))
35.0ms
(* e (cos v))
42.0ms
(* e (sin v))

simplify65.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0485869
12552717
25001680

prune272.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.3b
(/ (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)
82.0ms
(/ (sin v) (/ (fma (cos v) e 1.0) e))

simplify54.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04361039
11847982
25001979

prune302.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 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)))

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

series193.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05301326
123771222
250011212

prune348.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes60.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
0177
1177

end0.0ms

sample1.6s

Algorithm
intervals
Results
644.0ms1514×body1280valid
322.0ms1227×body640valid
235.0ms4307×body80valid
112.0ms632×body320valid
108.0ms8000×pre80true
39.0ms320×body160valid