Details

Time bar (total: 5.8s)

sample315.0ms

Algorithm
intervals
Results
19.0ms45×body1280valid
10.0ms38×body640valid
7.0ms140×body80valid
5.0ms22×body320valid
4.0ms256×pre80true
1.0ms11×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0146
1205
2235
3245
4245

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

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

series190.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0303422
11415368
25001362

prune180.0ms

Filtered
74 candidates to 54 candidates (73.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New70474
Fresh011
Picked011
Done000
Total70676

Merged error: 0.0b

Counts
76 → 6

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

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

series191.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05301326
123771222
250011212

prune358.0ms

Filtered
132 candidates to 109 candidates (82.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1284132
Fresh314
Picked011
Done011
Total1317138

Merged error: 0b

Counts
138 → 7

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:
3.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:
58.0ms
(/ (fma (cos v) e 1.0) e)
83.0ms
(/ (sin v) (/ (fma (cos v) e 1.0) e))

simplify57.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04361039
11847982
25001979

prune298.0ms

Filtered
107 candidates to 89 candidates (83.2%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1052107
Fresh224
Picked011
Done022
Total1077114

Merged error: 0b

Counts
114 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(* e (cos v))
0.1b
(* e (cos v))
0.3b
(/ (sqrt e) (/ (cbrt (+ 1.0 (* e (cos v)))) (sin v)))
0.3b
(* (/ (sqrt e) (* (cbrt (+ 1.0 (* e (cos v)))) (cbrt (+ 1.0 (* e (cos v)))))) (/ (sqrt e) (/ (cbrt (+ 1.0 (* e (cos v)))) (sin v))))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
548×times-frac
347×add-sqr-sqrt
271×add-cube-cbrt *-un-lft-identity
154×sqrt-prod
143×associate-*r*
123×cbrt-prod
49×add-exp-log
39×add-cbrt-cube
24×associate-*l*
23×unswap-sqr
22×associate-/r*
18×cbrt-undiv div-exp
16×div-inv
14×prod-exp cbrt-unprod
12×cbrt-div
10×pow1 associate-/r/
flip3-+ flip-+ associate-/l*
frac-times
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r/ pow-prod-down associate-*l/ *-commutative
frac-2neg clear-num
Counts
4 → 425
Calls
4 calls:
4.0ms
(* e (cos v))
4.0ms
(* e (cos v))
10.0ms
(/ (sqrt e) (/ (cbrt (+ 1.0 (* e (cos v)))) (sin v)))
66.0ms
(* (/ (sqrt e) (* (cbrt (+ 1.0 (* e (cos v)))) (cbrt (+ 1.0 (* e (cos v)))))) (/ (sqrt e) (/ (cbrt (+ 1.0 (* e (cos v)))) (sin v))))

series547.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* e (cos v))
35.0ms
(* e (cos v))
372.0ms
(/ (sqrt e) (/ (cbrt (+ 1.0 (* e (cos v)))) (sin v)))
102.0ms
(* (/ (sqrt e) (* (cbrt (+ 1.0 (* e (cos v)))) (cbrt (+ 1.0 (* e (cos v)))))) (/ (sqrt e) (/ (cbrt (+ 1.0 (* e (cos v)))) (sin v))))

simplify106.0ms

Algorithm
egg-herbie
Counts
437 → 437
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
019458744
150018343

prune1.3s

Filtered
437 candidates to 289 candidates (66.1%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New4361437
Fresh123
Picked011
Done033
Total4377444

Merged error: 0b

Counts
444 → 7

regimes98.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
0126
1126

end0.0ms

sample1.6s

Algorithm
intervals
Results
648.0ms1523×body1280valid
322.0ms1243×body640valid
230.0ms4299×body80valid
120.0ms629×body320valid
101.0ms8000×pre80true
45.0ms306×body160valid