Details

Time bar (total: 3.8s)

analyze26.0ms (0.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%25%75%0
0%25%75%1
12.5%12.5%75%2
12.5%12.5%75%3
18.7%6.2%75%4
21.8%3.1%75%5
23.4%1.6%75%6
23.4%1.6%75%7
24.2%0.8%75%8
24.2%0.8%75%9
24.6%0.4%75%10
24.6%0.4%75%11
24.8%0.2%75%12
24.8%0.2%75%13
24.9%0.1%75%14

sample252.0ms (6.6%)

Algorithm
intervals
Results
204.0ms37×body1280valid
13.0ms41×body640valid
10.0ms142×body80valid
5.0ms256×pre80true
5.0ms23×body320valid
2.0ms13×body160valid

simplify433.0ms (11.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02211
12211

prune9.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize12.0ms (0.3%)

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 (0.5%)

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

series44.0ms (1.2%)

Counts
3 → 9
Calls

3 calls:

21.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
15.0ms
(* e (cos v))
8.0ms
(* e (sin v))

simplify63.0ms (1.7%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04957599
14957599

prune115.0ms (3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New62668
Fresh000
Picked101
Done000
Total63669

Merged error: 0.0b

Counts
69 → 6

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite26.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
19×times-frac
18×associate-*r*
12×add-exp-log add-cbrt-cube
pow1
associate-*l*
associate-/r/
prod-exp associate-/r* cbrt-unprod associate-/l* add-log-exp unswap-sqr
cbrt-undiv flip3-+ div-exp pow-prod-down *-commutative flip-+ div-inv
frac-2neg associate-*r/ clear-num
Counts
3 → 81
Calls

3 calls:

10.0ms
(* e (/ (sin v) (+ (* e (cos v)) 1.0)))
6.0ms
(* e (cos v))
6.0ms
(/ (sin v) (+ (* e (cos v)) 1.0))

series40.0ms (1%)

Counts
3 → 9
Calls

3 calls:

19.0ms
(* e (/ (sin v) (+ (* e (cos v)) 1.0)))
14.0ms
(/ (sin v) (+ (* e (cos v)) 1.0))
7.0ms
(* e (cos v))

simplify50.0ms (1.3%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050471103

prune136.0ms (3.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New89190
Fresh055
Picked011
Done000
Total89796

Merged error: 0.0b

Counts
96 → 7

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite24.0ms (0.6%)

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:

8.0ms
(/ e (/ (+ (* e (cos v)) 1.0) (sin v)))
6.0ms
(/ (+ (* e (cos v)) 1.0) (sin v))
4.0ms
(* e (cos v))

series40.0ms (1%)

Counts
3 → 9
Calls

3 calls:

19.0ms
(/ e (/ (+ (* e (cos v)) 1.0) (sin v)))
15.0ms
(/ (+ (* e (cos v)) 1.0) (sin v))
6.0ms
(* e (cos v))

simplify77.0ms (2%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049562019
149562019

prune183.0ms (4.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1242126
Fresh145
Picked011
Done011
Total1258133

Merged error: 0b

Counts
133 → 8

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite28.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
22×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
15×associate-*l*
13×pow1 add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
associate-*r* sqrt-prod
pow-prod-down
add-log-exp
cbrt-undiv times-frac div-exp associate-/r* *-commutative unswap-sqr
associate-/r/
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l*
Counts
4 → 86
Calls

4 calls:

10.0ms
(/ (* (sqrt e) (* (sqrt e) (sin v))) (+ 1.0 (* e (cos v))))
7.0ms
(* (sqrt e) (* (sqrt e) (sin v)))
5.0ms
(* (sqrt e) (sin v))
4.0ms
(* e (cos v))

series59.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

28.0ms
(/ (* (sqrt e) (* (sqrt e) (sin v))) (+ 1.0 (* e (cos v))))
13.0ms
(* (sqrt e) (sin v))
12.0ms
(* (sqrt e) (* (sqrt e) (sin v)))
6.0ms
(* e (cos v))

simplify29.0ms (0.8%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
04983945
14983945

prune116.0ms (3%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New98098
Fresh055
Picked011
Done022
Total988106

Merged error: 0b

Counts
106 → 8

regimes117.0ms (3.1%)

Accuracy

Total 0.1b remaining (78.3%)

Threshold costs 0.1b (78.3%)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01211
11211

end0.0ms (0%)

sample1.9s (49.8%)

Algorithm
intervals
Results
734.0ms1534×body1280valid
379.0ms1264×body640valid
291.0ms4279×body80valid
147.0ms8000×pre80true
126.0ms606×body320valid
48.0ms317×body160valid

Profiling

Loading profile data...