Details

Time bar (total: 6.6s)

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

sample69.0ms

Algorithm
intervals
Results
16.0ms185×body80valid
8.0ms18×body1280valid
8.0ms24×body640valid
6.0ms66×body80invalid
5.0ms21×body320valid
3.0msbody640invalid
2.0msbody320invalid
1.0msbody1280invalid
1.0msbody160valid
1.0msbody160invalid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.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: 28.5b

Counts
2 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
5.5b
(* (* x (pow s 2.0)) x)
7.3b
(* x (pow s 2.0))
20.1b
(* (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:
10.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
9.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))

series225.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)
34.0ms
(* x (pow s 2.0))
80.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

simplify65.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049651594
149651594

prune248.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11710127
Fresh011
Picked101
Done000
Total11811129

Merged error: 14.5b

Counts
129 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

5.1b
(* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
6.2b
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
7.3b
(* x (pow s 2.0))
10.7b
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

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

series228.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
82.0ms
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
33.0ms
(* x (pow s 2.0))
53.0ms
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))

simplify59.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049921911
149921911

prune277.0ms

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

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1508158
Fresh5510
Picked101
Done000
Total15613169

Merged error: 13.0b

Counts
169 → 13

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))))
5.1b
(* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))
6.2b
(* (pow c (/ 2.0 2)) (* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))
10.7b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
1442×add-exp-log
1342×prod-exp
354×pow-to-exp pow-exp
124×div-exp
74×add-cbrt-cube
46×cbrt-unprod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l*
associate-*r*
pow1 cbrt-undiv unpow-prod-down
add-log-exp
times-frac *-commutative associate-/l*
sqr-pow
frac-2neg pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 406
Calls
4 calls:
22.0ms
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))))
12.0ms
(* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))
20.0ms
(* (pow c (/ 2.0 2)) (* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))
11.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))))
61.0ms
(* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))
82.0ms
(* (pow c (/ 2.0 2)) (* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))
53.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))

simplify140.0ms

Algorithm
egg-herbie
Counts
418 → 418
Iterations

Useful iterations: 0 (88.0ms)

IterNodesCost
049638463
149638463

prune293.0ms

Filtered
69 candidates to 418 candidates (-505.8%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New4135418
Fresh3912
Picked011
Done000
Total41615431

Merged error: 5.8b

Counts
431 → 15

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2)))))))
3.9b
(* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))
5.1b
(* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2)))))
6.2b
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
1496×add-exp-log
1387×prod-exp
356×pow-to-exp pow-exp
127×div-exp
92×add-cbrt-cube
59×cbrt-unprod
11×pow1 associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-undiv
pow-prod-down add-log-exp
unpow-prod-down times-frac associate-*r* *-commutative associate-/l*
frac-2neg clear-num associate-/r* div-inv sqr-pow
Counts
4 → 414
Calls
4 calls:
26.0ms
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2)))))))
10.0ms
(* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))
13.0ms
(* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2)))))
18.0ms
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))))

series282.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2)))))))
53.0ms
(* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))
61.0ms
(* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2)))))
88.0ms
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))))

simplify92.0ms

Algorithm
egg-herbie
Counts
426 → 426
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
054938937

prune210.0ms

Filtered
66 candidates to 426 candidates (-545.5%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New4224426
Fresh21113
Picked101
Done101
Total42615441

Merged error: 4.1b

Counts
441 → 15

regimes698.0ms

Accuracy

22.8% (4.9b remaining)

Error of 7.9b against oracle of 3.0b and baseline of 9.3b

bsearch55.0ms

Steps
ItersRangePoint
6
2.1893972449054413e-222
2.3294449752214623e-221
7.440582287819774e-222

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03576
13576

end0.0ms

sample1.9s

Algorithm
intervals
Results
549.0ms6085×body80valid
320.0ms663×body1280valid
237.0ms682×body640valid
167.0ms1822×body80invalid
103.0ms390×body320valid
83.0ms244×body640invalid
68.0ms145×body1280invalid
49.0ms181×body320invalid
32.0ms180×body160valid
21.0ms125×body160invalid

Profiling

Loading profile data...