Details

Time bar (total: 4.5s)

sample313.0ms

Algorithm
intervals
Results
19.0ms46×body1280valid
9.0ms34×body640valid
7.0ms139×body80valid
6.0ms27×body320valid
4.0ms256×pre80true
1.0ms10×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0146
1186
2216
3226
4226

prune3.0ms

Pruning

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

rewrite18.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*
times-frac prod-exp associate-/r* cbrt-unprod 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 → 59
Calls
3 calls:
6.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
3.0ms
(* e (sin v))
5.0ms
(* e (cos v))

series179.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0295396
11372344
25001344

prune157.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
66×times-frac
49×add-cube-cbrt *-un-lft-identity
36×sqrt-prod
30×associate-*r* associate-*l*
22×add-exp-log add-cbrt-cube
11×unswap-sqr
10×pow1
sqrt-div prod-exp associate-/r* associate-/r/ cbrt-unprod
cbrt-undiv div-exp
add-log-exp
flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l*
frac-times frac-2neg associate-*r/ associate-*l/ clear-num
Counts
4 → 154
Calls
4 calls:
6.0ms
(/ (sin v) (sqrt (+ 1.0 (* e (cos v)))))
35.0ms
(* (/ e (sqrt (+ 1.0 (* e (cos v))))) (/ (sin v) (sqrt (+ 1.0 (* e (cos v))))))
3.0ms
(* e (cos v))
3.0ms
(* e (cos v))

series252.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06361951
128731785
250021709

prune433.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(* e (cos v))
0.1b
(* e (cos v))
0.1b
(* e (cos v))
0.1b
(* (* e (cos v)) (* e (cos v)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
22×add-exp-log add-cbrt-cube
20×pow-prod-down
16×add-sqr-sqrt
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
pow-sqr *-commutative pow-prod-up add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 88
Calls
4 calls:
3.0ms
(* e (cos v))
3.0ms
(* e (cos v))
6.0ms
(* e (cos v))
11.0ms
(* (* e (cos v)) (* e (cos v)))

series160.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* e (cos v))
34.0ms
(* e (cos v))
38.0ms
(* e (cos v))
53.0ms
(* (* e (cos v)) (* e (cos v)))

simplify142.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0138375
1679299
23723288
35001288

prune328.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(* e (cos v))
0.2b
(/ (+ 1.0 (* e (cos v))) (sin 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
associate-*r* associate-*l* 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 → 117
Calls
3 calls:
3.0ms
(* e (cos v))
7.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
6.0ms
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

series187.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05181298
123271224
250011224

prune312.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes65.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
03027
13027

end0.0ms

sample1.6s

Algorithm
intervals
Results
629.0ms1496×body1280valid
315.0ms1255×body640valid
223.0ms4294×body80valid
113.0ms660×body320valid
100.0ms8000×pre80true
44.0ms295×body160valid