Details

Time bar (total: 6.3s)

analyze1.0s

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

sample70.0ms

Algorithm
intervals
Results
17.0ms186×body80valid
13.0ms25×body1280valid
8.0ms23×body640valid
6.0msbody640invalid
5.0ms56×body80invalid
4.0ms15×body320valid
2.0msbody320invalid
1.0msbody160valid
1.0msbody1280invalid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
0484516
1484516

prune13.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.9b

Counts
2 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
6.0b
(* (* x (pow s 2.0)) x)
7.3b
(* x (pow s 2.0))
16.6b
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

rewrite37.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:
14.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))

series222.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)
33.0ms
(* x (pow s 2.0))
79.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

simplify66.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049651594
149651594

prune257.0ms

Filtered
72 candidates to 127 candidates (-76.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11611127
Fresh011
Picked101
Done000
Total11712129

Merged error: 12.0b

Counts
129 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

4.3b
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
5.6b
(* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
7.3b
(* x (pow s 2.0))
8.3b
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

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
17×add-sqr-sqrt
16×associate-*r*
14×associate-*l*
12×add-cube-cbrt *-un-lft-identity
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)) (* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
8.0ms
(* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
5.0ms
(* x (pow s 2.0))
7.0ms
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
60.0ms
(* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
30.0ms
(* x (pow s 2.0))
56.0ms
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

simplify61.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049921911
149921911

prune283.0ms

Filtered
71 candidates to 158 candidates (-122.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1517158
Fresh4711
Picked101
Done000
Total15614170

Merged error: 10.6b

Counts
170 → 14

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (cos (* 2.0 x)) (* (* x (pow c (/ 2.0 2))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
6.9b
(* (* x (pow c (/ 2.0 2))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
7.3b
(* x (pow s 2.0))
8.3b
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
461×add-exp-log
374×prod-exp
90×pow-to-exp pow-exp
61×add-cbrt-cube
53×div-exp
34×cbrt-unprod
16×add-sqr-sqrt
15×associate-*r*
11×add-cube-cbrt *-un-lft-identity
cbrt-undiv unpow-prod-down
pow1
associate-*l*
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 → 201
Calls
4 calls:
14.0ms
(/ (cos (* 2.0 x)) (* (* x (pow c (/ 2.0 2))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
10.0ms
(* (* x (pow c (/ 2.0 2))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
5.0ms
(* x (pow s 2.0))
7.0ms
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(/ (cos (* 2.0 x)) (* (* x (pow c (/ 2.0 2))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
60.0ms
(* (* x (pow c (/ 2.0 2))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
29.0ms
(* x (pow s 2.0))
56.0ms
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

simplify51.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
057983236

prune274.0ms

Filtered
71 candidates to 213 candidates (-200.0%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New2076213
Fresh5813
Picked011
Done000
Total21215227

Merged error: 9.1b

Counts
227 → 15

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (cos (* x 2.0)) (* x (pow c (/ 2.0 2))))
7.2b
(/ (/ (cos (* x 2.0)) (* x (pow c (/ 2.0 2)))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
7.3b
(* x (pow s 2.0))
8.3b
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
323×add-exp-log
171×prod-exp
121×div-exp
57×pow-to-exp pow-exp
52×add-cbrt-cube
20×add-sqr-sqrt
17×cbrt-undiv cbrt-unprod
16×times-frac
15×add-cube-cbrt *-un-lft-identity
14×associate-*r*
10×associate-/l*
unpow-prod-down
pow1 associate-*l* div-inv add-log-exp
unswap-sqr sqr-pow
frac-2neg clear-num associate-/r* *-commutative
associate-/l/
Counts
4 → 178
Calls
4 calls:
5.0ms
(/ (cos (* x 2.0)) (* x (pow c (/ 2.0 2))))
12.0ms
(/ (/ (cos (* x 2.0)) (* x (pow c (/ 2.0 2)))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
5.0ms
(* x (pow s 2.0))
6.0ms
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(/ (cos (* x 2.0)) (* x (pow c (/ 2.0 2))))
76.0ms
(/ (/ (cos (* x 2.0)) (* x (pow c (/ 2.0 2)))) (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
30.0ms
(* x (pow s 2.0))
55.0ms
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

simplify74.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050013223

prune255.0ms

Filtered
84 candidates to 190 candidates (-126.2%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1873190
Fresh31013
Picked101
Done011
Total19114205

Merged error: 9.1b

Counts
205 → 14

regimes729.0ms

Accuracy

-10% (6.9b remaining)

Error of 15.0b against oracle of 8.1b and baseline of 14.4b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05295
15295

end0.0ms

sample2.0s

Algorithm
intervals
Results
550.0ms5979×body80valid
340.0ms661×body1280valid
262.0ms730×body640valid
165.0ms1844×body80invalid
113.0ms429×body320valid
79.0ms228×body640invalid
62.0ms131×body1280invalid
47.0ms176×body320invalid
36.0ms201×body160valid
18.0ms105×body160invalid

Profiling

Loading profile data...