Details

Time bar (total: 7.8s)

analyze1.2s

Algorithm
search

sample72.0ms

Algorithm
intervals
Results
18.0ms196×body80valid
15.0ms23×body1280valid
6.0ms17×body640valid
5.0ms61×body80invalid
4.0ms10×body640invalid
3.0ms13×body320valid
3.0msbody1280invalid
1.0msbody160valid
1.0msbody320invalid
1.0msbody160invalid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0278
1688
22438
312668
450018

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.7b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
4.5b
(* (* x (pow s 2.0)) x)
7.3b
(* x (pow s 2.0))
18.6b
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

rewrite34.0ms

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)))
5.0ms
(* (* x (pow s 2.0)) x)
5.0ms
(* x (pow s 2.0))
9.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

series226.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
33.0ms
(* (* x (pow s 2.0)) x)
30.0ms
(* x (pow s 2.0))
84.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

simplify69.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05711041
12506875
25001871

prune267.0ms

Filtered
70 candidates to 127 candidates (-81.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11413127
Fresh000
Picked101
Done000
Total11513128

Merged error: 13.6b

Counts
128 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

4.4b
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x)))
4.5b
(* (* x (pow s 2.0)) x)
6.8b
(* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x))
7.3b
(* x (pow s 2.0))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
226×add-exp-log
202×prod-exp
50×pow-to-exp pow-exp
34×add-cbrt-cube
20×cbrt-unprod
18×associate-*l*
17×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity associate-*r*
10×unpow-prod-down
pow1
*-commutative add-log-exp sqr-pow
unswap-sqr
pow-prod-down
Counts
4 → 146
Calls
4 calls:
12.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x)))
5.0ms
(* (* x (pow s 2.0)) x)
9.0ms
(* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x))
5.0ms
(* x (pow s 2.0))

series229.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x)))
32.0ms
(* (* x (pow s 2.0)) x)
84.0ms
(* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x))
30.0ms
(* x (pow s 2.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06081377
124521164
250011160

prune290.0ms

Filtered
70 candidates to 158 candidates (-125.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1526158
Fresh4812
Picked101
Done000
Total15714171

Merged error: 10.5b

Counts
171 → 14

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))))
4.4b
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
4.5b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
6.8b
(* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
1410×add-exp-log
1300×prod-exp
338×pow-to-exp pow-exp
130×div-exp
74×add-cbrt-cube
46×cbrt-unprod
15×associate-*l*
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 cbrt-undiv unpow-prod-down
associate-*r*
add-log-exp
times-frac *-commutative associate-/l*
sqr-pow
frac-2neg pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 394
Calls
4 calls:
23.0ms
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))))
17.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* 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)
14.0ms
(* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

series276.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))))
84.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
32.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
84.0ms
(* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

simplify148.0ms

Algorithm
egg-herbie
Counts
406 → 406
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
09806240
136934690
250034512

prune323.0ms

Filtered
72 candidates to 406 candidates (-463.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New4006406
Fresh7613
Picked101
Done000
Total40812420

Merged error: 1.2b

Counts
420 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
0.4b
(/ (cos (* 2.0 x)) (* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))))
4.2b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
4.2b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
63×add-exp-log
44×prod-exp
21×add-cbrt-cube
17×associate-*l*
16×add-sqr-sqrt
14×pow-to-exp add-cube-cbrt *-un-lft-identity pow-exp
11×pow1
cbrt-unprod
unpow-prod-down
associate-*r*
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:
3.0ms
(* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
5.0ms
(/ (cos (* 2.0 x)) (* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))))
7.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
7.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

series196.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
45.0ms
(/ (cos (* 2.0 x)) (* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))))
66.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
69.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

simplify55.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04021518
114821245
250021172

prune298.0ms

Filtered
69 candidates to 118 candidates (-71.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1108118
Fresh7411
Picked101
Done000
Total11812130

Merged error: 0.0b

Counts
130 → 12

regimes569.0ms

Accuracy

0% (2.5b remaining)

Error of 2.7b against oracle of 0.2b and baseline of 2.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01818
11818

end0.0ms

analyze1.1s

Algorithm
search

sample2.0s

Algorithm
intervals
Results
585.0ms6022×body80valid
353.0ms686×body1280valid
257.0ms702×body640valid
166.0ms1823×body80invalid
108.0ms374×body320valid
94.0ms255×body640invalid
72.0ms141×body1280invalid
60.0ms212×body320invalid
40.0ms216×body160valid
19.0ms109×body160invalid

Profiling

Loading profile data...