Details

Time bar (total: 4.4s)

analyze26.0ms (0.6%)

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

sample250.0ms (5.7%)

Algorithm
intervals
Results
206.0ms47×body1280valid
13.0ms44×body640valid
9.0ms139×body80valid
5.0ms256×pre80true
3.0ms17×body320valid
1.0msbody160valid

simplify434.0ms (9.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02211
12211

prune13.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite23.0ms (0.5%)

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:

11.0ms
(* e (/ (sin v) (+ 1.0 (* e (cos v)))))
5.0ms
(/ (sin v) (+ 1.0 (* e (cos v))))
4.0ms
(* e (cos v))

series55.0ms (1.3%)

Counts
3 → 9
Calls

3 calls:

28.0ms
(* e (/ (sin v) (+ 1.0 (* e (cos v)))))
20.0ms
(/ (sin v) (+ 1.0 (* e (cos v))))
7.0ms
(* e (cos v))

simplify49.0ms (1.1%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
051101103

prune160.0ms (3.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New82890
Fresh101
Picked011
Done000
Total83992

Merged error: 0.0b

Counts
92 → 9

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(* e (cos v))
0.1b
(* e (pow (cos v) 2))
0.2b
(* e (/ (sin v) (- (* 1.0 1.0) (* e (* e (pow (cos v) 2))))))
0.3b
(pow (cos v) 2)

rewrite24.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×associate-*r*
19×add-cube-cbrt *-un-lft-identity
17×add-exp-log
13×add-cbrt-cube
10×times-frac
pow1 associate-*l*
unpow-prod-down unswap-sqr
prod-exp
cbrt-unprod add-log-exp
pow-unpow *-commutative unpow2 sqr-pow
pow-to-exp pow-prod-down pow-exp associate-/r/
cbrt-undiv flip3-- pow-pow associate-*r/ div-exp flip-- div-inv
Counts
4 → 97
Calls

4 calls:

10.0ms
(* e (/ (sin v) (- (* 1.0 1.0) (* e (* e (pow (cos v) 2))))))
6.0ms
(* e (pow (cos v) 2))
4.0ms
(* e (cos v))
3.0ms
(pow (cos v) 2)

series50.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

29.0ms
(* e (/ (sin v) (- (* 1.0 1.0) (* e (* e (pow (cos v) 2))))))
11.0ms
(* e (pow (cos v) 2))
6.0ms
(* e (cos v))
3.0ms
(pow (cos v) 2)

simplify37.0ms (0.8%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
053051106

prune209.0ms (4.8%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh077
Picked011
Done011
Total1099118

Merged error: 0.0b

Counts
118 → 9

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite31.0ms (0.7%)

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

4 calls:

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

series77.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

30.0ms
(* (sqrt e) (* (/ (sin v) (+ 1.0 (* e (cos v)))) (sqrt e)))
27.0ms
(* (/ (sin v) (+ 1.0 (* e (cos v)))) (sqrt e))
13.0ms
(/ (sin v) (+ 1.0 (* e (cos v))))
6.0ms
(* e (cos v))

simplify46.0ms (1.1%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
051081743

prune187.0ms (4.3%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1211122
Fresh066
Picked011
Done112
Total1229131

Merged error: 0.0b

Counts
131 → 9

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (/ (sin v) (+ 1.0 (* e (cos v))))) (cbrt (/ (sin v) (+ 1.0 (* e (cos v))))))
0.6b
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))
0.6b
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))
0.6b
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))

rewrite36.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
117×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
18×swap-sqr associate-*r* associate-*l*
14×associate-/r/
11×pow1
pow1/3 unswap-sqr
cbrt-div flip3-+ flip-+ div-inv
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 156
Calls

4 calls:

17.0ms
(* (cbrt (/ (sin v) (+ 1.0 (* e (cos v))))) (cbrt (/ (sin v) (+ 1.0 (* e (cos v))))))
4.0ms
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))
4.0ms
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))
4.0ms
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))

series130.0ms (3%)

Counts
4 → 12
Calls

4 calls:

44.0ms
(* (cbrt (/ (sin v) (+ 1.0 (* e (cos v))))) (cbrt (/ (sin v) (+ 1.0 (* e (cos v))))))
32.0ms
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))
27.0ms
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))
27.0ms
(cbrt (/ (sin v) (+ 1.0 (* e (cos v)))))

simplify71.0ms (1.6%)

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049673778
149673778

prune455.0ms (10.4%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1671168
Fresh066
Picked011
Done022
Total16710177

Merged error: 0b

Counts
177 → 10

regimes137.0ms (3.1%)

Accuracy

Total 0.1b remaining (78.5%)

Threshold costs 0.1b (78.5%)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07524
17524

end0.0ms (0%)

sample1.8s (41.5%)

Algorithm
intervals
Results
687.0ms1495×body1280valid
363.0ms1287×body640valid
285.0ms4335×body80valid
139.0ms8000×pre80true
120.0ms587×body320valid
43.0ms296×body160valid

Profiling

Loading profile data...