Details

Time bar (total: 7.0s)

analyze1.1s (15.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
18.7%81.1%0.1%8
26.5%72.9%0.5%9
38.2%60.7%1.1%10
41.7%54.9%3.4%11
47.6%47.4%5%12
53.4%39.4%7.2%13
54.9%34.5%10.6%14

sample67.0ms (1%)

Algorithm
intervals
Results
18.0ms205×body80valid
9.0ms18×body1280valid
7.0ms19×body640valid
6.0ms61×body80invalid
4.0ms14×body640invalid
4.0msbody1280invalid
3.0ms12×body320valid
2.0ms10×body320invalid
0.0msbody160invalid
0.0msbody160valid

simplify79.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
0484516
1484516

prune12.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 28.4b

Counts
2 → 1

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.7b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
5.1b
(* (* x (pow s 2.0)) x)
6.6b
(* x (pow s 2.0))
18.1b
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

rewrite33.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
122×add-exp-log
82×prod-exp
34×add-cbrt-cube
18×pow-to-exp pow-exp
17×add-sqr-sqrt
16×div-exp cbrt-unprod
12×add-cube-cbrt *-un-lft-identity
11×associate-*r* associate-*l*
unpow-prod-down
pow1
cbrt-undiv add-log-exp
times-frac *-commutative associate-/l* unswap-sqr sqr-pow
frac-2neg pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 115
Calls

4 calls:

10.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
9.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))
5.0ms
(* (* x (pow s 2.0)) x)
5.0ms
(* x (pow s 2.0))

series215.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

80.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))
75.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
30.0ms
(* (* x (pow s 2.0)) x)
29.0ms
(* x (pow s 2.0))

simplify68.0ms (1%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049651594
149651594

prune343.0ms (4.9%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New11710127
Fresh000
Picked101
Done000
Total11810128

Merged error: 15.9b

Counts
128 → 10

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))
0.7b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
5.1b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
18.1b
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

rewrite55.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
416×add-exp-log
343×prod-exp
84×pow-to-exp pow-exp
52×add-cbrt-cube
43×div-exp
29×cbrt-unprod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r*
associate-*l*
pow1 unpow-prod-down
cbrt-undiv
add-log-exp
times-frac *-commutative associate-/l*
sqr-pow
frac-2neg pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 186
Calls

4 calls:

13.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
12.0ms
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))
9.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
7.0ms
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))

series213.0ms (3%)

Counts
4 → 12
Calls

4 calls:

76.0ms
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))
73.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
33.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
31.0ms
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))

simplify44.0ms (0.6%)

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
052202915

prune529.0ms (7.5%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1926198
Fresh549
Picked011
Done000
Total19711208

Merged error: 3.2b

Counts
208 → 11

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))
0.7b
(/ (cos (* 2.0 x)) (* (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))))
4.9b
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))
4.9b
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))

rewrite25.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
63×add-exp-log
44×prod-exp
21×add-cbrt-cube
17×associate-*r*
16×add-sqr-sqrt
14×pow-to-exp add-cube-cbrt *-un-lft-identity pow-exp
11×pow1
cbrt-unprod
unpow-prod-down
associate-*l*
add-log-exp
times-frac swap-sqr *-commutative associate-/l*
cbrt-undiv div-exp sqr-pow
pow2 frac-2neg pow-plus pow-prod-down clear-num associate-/r* pow-sqr pow-prod-up div-inv unswap-sqr
Counts
4 → 106
Calls

4 calls:

7.0ms
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))
7.0ms
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))
5.0ms
(/ (cos (* 2.0 x)) (* (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))))
3.0ms
(* (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))

series162.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

52.0ms
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))
50.0ms
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))
44.0ms
(/ (cos (* 2.0 x)) (* (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))))
15.0ms
(* (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))

simplify39.0ms (0.6%)

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
050301942

prune494.0ms (7%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10513118
Fresh729
Picked101
Done101
Total11415129

Merged error: 0.0b

Counts
129 → 15

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (cos (* x 2.0)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))
0.9b
(/ (cos (* x 2.0)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
4.9b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
4.9b
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
84×times-frac
63×add-exp-log
58×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
42×prod-exp
21×add-cbrt-cube
16×associate-/l*
14×pow-to-exp pow-exp
associate-*r* associate-*l*
unpow-prod-down associate-/r* cbrt-unprod div-inv
pow1 cbrt-undiv div-exp add-log-exp
frac-2neg clear-num *-commutative sqr-pow
associate-/l/
Counts
4 → 157
Calls

4 calls:

7.0ms
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))
7.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
5.0ms
(/ (/ (cos (* x 2.0)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))
3.0ms
(/ (cos (* x 2.0)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))

series187.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

64.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
52.0ms
(* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))
42.0ms
(/ (/ (cos (* x 2.0)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))) (fabs (* (* x (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))
28.0ms
(/ (cos (* x 2.0)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))

simplify71.0ms (1%)

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049284767
149284767

prune795.0ms (11.4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1636169
Fresh10414
Picked011
Done000
Total17311184

Merged error: 0.0b

Counts
184 → 11

regimes425.0ms (6.1%)

Accuracy

Total 2.2b remaining (93.5%)

Threshold costs 0b (0%)

bsearch2.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03359
13359

end0.0ms (0%)

sample2.0s (28.2%)

Algorithm
intervals
Results
541.0ms6000×body80valid
360.0ms685×body1280valid
275.0ms755×body640valid
166.0ms1836×body80invalid
98.0ms382×body320valid
84.0ms260×body640invalid
57.0ms123×body1280invalid
49.0ms204×body320invalid
36.0ms178×body160valid
22.0ms130×body160invalid

Profiling

Loading profile data...