Details

Time bar (total: 7.9s)

analyze1.0s

Algorithm
search

sample61.0ms

Algorithm
intervals
Results
17.0ms190×body80valid
10.0ms19×body1280valid
8.0ms23×body640valid
5.0ms56×body80invalid
4.0ms15×body320valid
3.0msbody640invalid
2.0msbody160valid
1.0msbody160invalid
1.0msbody320invalid
0.0msbody1280invalid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0278
1688
22438
312668
450018

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.9b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
3.7b
(* (* x (pow s 2.0)) x)
8.6b
(* x (pow s 2.0))
16.4b
(* (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))

series220.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
31.0ms
(* (* x (pow s 2.0)) x)
29.0ms
(* x (pow s 2.0))
82.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

simplify65.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05711041
12506875
25001871

prune244.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11611127
Fresh000
Picked101
Done000
Total11711128

Merged error: 13.5b

Counts
128 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))
0.8b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
3.7b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
16.4b
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

rewrite57.0ms

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:
9.0ms
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))
15.0ms
(/ (cos (* 2.0 x)) (* (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)
12.0ms
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

series217.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))
75.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* 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))) x)
81.0ms
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

simplify95.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07212340
132341837
250011781

prune227.0ms

Filtered
68 candidates to 198 candidates (-191.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1935198
Fresh6410
Picked101
Done000
Total2009209

Merged error: 2.8b

Counts
209 → 9

localize15.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.8b
(/ (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)))))))
5.3b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
5.3b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

rewrite27.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))))
9.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
17.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))))))
43.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)))))))
67.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
65.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

simplify52.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04021518
114821245
250021172

prune355.0ms

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

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10810118
Fresh538
Picked101
Done000
Total11413127

Merged error: 0.0b

Counts
127 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (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))))))
0.6b
(/ (cos (* 2.0 x)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
5.3b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
5.3b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

rewrite31.0ms

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 associate-*l* pow-exp
unpow-prod-down associate-/r* cbrt-unprod div-inv
pow1 cbrt-undiv div-exp add-log-exp
frac-2neg associate-*r* clear-num *-commutative sqr-pow
associate-/l/
Counts
4 → 157
Calls
4 calls:
6.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))))))
4.0ms
(/ (cos (* 2.0 x)) (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))))
8.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

series203.0ms

Counts
4 → 12
Calls
4 calls:
44.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))))))
27.0ms
(/ (cos (* 2.0 x)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
67.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
65.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

simplify71.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05953343
120823048
250012963

prune724.0ms

Filtered
111 candidates to 169 candidates (-52.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1645169
Fresh6612
Picked101
Done000
Total17111182

Merged error: 0.0b

Counts
182 → 11

regimes522.0ms

Accuracy

6.2% (2.5b remaining)

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

bsearch519.0ms

Steps
ItersRangePoint
7
7.728760299098014e-213
5.842911068853307e-211
1.1635982518154759e-212

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04032
14032

end0.0ms

analyze1.0s

Algorithm
search

sample1.9s

Algorithm
intervals
Results
543.0ms6016×body80valid
326.0ms666×body1280valid
259.0ms722×body640valid
162.0ms1837×body80invalid
98.0ms388×body320valid
70.0ms212×body640invalid
52.0ms114×body1280invalid
46.0ms180×body320invalid
36.0ms208×body160valid
20.0ms115×body160invalid

Profiling

Loading profile data...