Details

Time bar (total: 5.3s)

sample75.0ms

Algorithm
intervals
Results
25.0ms306×body80valid
11.0ms33×body640valid
8.0ms17×body1280valid
5.0ms20×body320valid
2.0ms13×body160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0278
1688
22438
312668
450018

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.2b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
2.3b
(* (* x (pow s 2.0)) x)
8.5b
(* x (pow s 2.0))
21.9b
(* (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))

series227.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05711041
12506875
25001871

prune211.0ms

Filtered
127 candidates to 70 candidates (44.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1198127
Fresh000
Picked101
Done000
Total1208128

Merged error: 14.6b

Counts
128 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

2.3b
(* (* x (pow s 2.0)) x)
4.3b
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x)))
8.5b
(* x (pow s 2.0))
8.6b
(* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x))

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

series225.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (* x (pow s 2.0)) x)
80.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x)))
30.0ms
(* x (pow s 2.0))
81.0ms
(* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x))

simplify72.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06081377
124511164
250011160

prune251.0ms

Filtered
158 candidates to 70 candidates (55.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1517158
Fresh347
Picked101
Done000
Total15511166

Merged error: 10.6b

Counts
166 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (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))))
2.3b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
4.3b
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
8.6b
(* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

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

series272.0ms

Counts
4 → 12
Calls
4 calls:
76.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))))
32.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
80.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
83.0ms
(* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

simplify134.0ms

Algorithm
egg-herbie
Counts
406 → 406
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
09806240
136934690
250034512

prune311.0ms

Filtered
406 candidates to 73 candidates (82.0%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New3979406
Fresh6410
Picked011
Done000
Total40314417

Merged error: 1.4b

Counts
417 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (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.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))))))
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))))

rewrite25.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:
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)))))))
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))))))
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))))

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

simplify51.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04021518
114821245
250021172

prune279.0ms

Filtered
118 candidates to 69 candidates (41.5%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1099118
Fresh8412
Picked101
Done011
Total11814132

Merged error: 0.1b

Counts
132 → 14

regimes502.0ms

Accuracy

0% (2.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01818
11818

end0.0ms

sample2.1s

Algorithm
intervals
Results
747.0ms9057×body80valid
386.0ms832×body1280valid
318.0ms978×body640valid
138.0ms559×body320valid
58.0ms350×body160valid

Profiling

Loading profile data...