Details

Time bar (total: 4.2s)

sample297.0ms

Algorithm
intervals
Results
18.0ms40×body1280valid
13.0ms49×body640valid
7.0ms140×body80valid
4.0ms256×pre80true
3.0ms18×body320valid
1.0msbody160valid

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

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

series181.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0303422
11415368
25001362

prune179.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series140.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(/ (* (sin v) 1) (fma (cos v) e 1.0))
88.0ms
(* e (/ (* (sin v) 1) (fma (cos v) e 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0332505
11444424
25001420

prune152.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

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

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

series190.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05301326
123771222
250011212

prune346.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
36×times-frac
34×add-cube-cbrt *-un-lft-identity
28×associate-*l*
25×sqrt-prod
19×add-exp-log add-cbrt-cube
10×pow1
prod-exp cbrt-unprod
associate-/l*
associate-*r* pow-prod-down
cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u add-log-exp
*-commutative div-inv unswap-sqr
frac-2neg associate-*l/ clear-num
Counts
3 → 109
Calls
3 calls:
3.0ms
(/ (sqrt e) (fma (cos v) e 1.0))
6.0ms
(* (sqrt e) (sin v))
19.0ms
(* (/ (sqrt e) (fma (cos v) e 1.0)) (* (sqrt e) (sin v)))

series266.0ms

Counts
3 → 9
Calls
3 calls:
90.0ms
(/ (sqrt e) (fma (cos v) e 1.0))
75.0ms
(* (sqrt e) (sin v))
101.0ms
(* (/ (sqrt e) (fma (cos v) e 1.0)) (* (sqrt e) (sin v)))

simplify75.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06241087
12722937
25001920

prune304.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes61.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
0146
1166
2166

end0.0ms

sample1.7s

Algorithm
intervals
Results
654.0ms1531×body1280valid
333.0ms1254×body640valid
236.0ms4289×body80valid
111.0ms628×body320valid
107.0ms8000×pre80true
45.0ms298×body160valid