Details

Time bar (total: 9.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

sample67.0ms

Algorithm
intervals
Results
17.0ms194×body80valid
15.0ms31×body1280valid
6.0ms70×body80invalid
5.0ms16×body640valid
3.0msbody1280invalid
2.0msbody320valid
1.0msbody640invalid
1.0msbody320invalid
1.0msbody160valid
0.0msbody160invalid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0484516
1484516

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.1b

Counts
2 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
2.9b
(* (* x (pow s 2.0)) x)
10.3b
(* x (pow s 2.0))
19.2b
(* (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)))
6.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))

series223.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
32.0ms
(* (* x (pow s 2.0)) x)
30.0ms
(* x (pow s 2.0))
83.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

prune351.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11611127
Fresh101
Picked101
Done000
Total11811129

Merged error: 11.7b

Counts
129 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

3.2b
(* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2))))
6.7b
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s 2.0)) (pow c (/ 2.0 2)))))
7.6b
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))
10.3b
(* x (pow s 2.0))

rewrite41.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:
9.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)))))
7.0ms
(* (* x (pow s 2.0)) (pow c (/ 2.0 2)))
5.0ms
(* x (pow s 2.0))

series227.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049921911
149921911

prune527.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New14810158
Fresh3710
Picked101
Done000
Total15217169

Merged error: 8.6b

Counts
169 → 17

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (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))))))
3.2b
(* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2))))
6.7b
(* (pow c (/ 2.0 2)) (* x (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))))
7.6b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) (pow c (/ 2.0 2)))

rewrite114.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:
23.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))))))
13.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)))

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

simplify143.0ms

Algorithm
egg-herbie
Counts
418 → 418
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
049638463
149638463

prune1.5s

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New4126418
Fresh61016
Picked011
Done000
Total41817435

Merged error: 4.1b

Counts
435 → 17

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (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.2b
(* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2)))))
4.3b
(* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))
6.7b
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))))

rewrite109.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:
23.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)))))))
13.0ms
(* 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))))
18.0ms
(* (pow c (/ 2.0 2)) (* x (* (* x (pow s (/ 2.0 2))) (* (pow c (/ 2.0 2)) (pow s (/ 2.0 2))))))

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

simplify86.0ms

Algorithm
egg-herbie
Counts
426 → 426
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
054938937

prune1.3s

Pruning

19 alts after pruning (17 fresh and 2 done)

PrunedKeptTotal
New4233426
Fresh11415
Picked011
Done011
Total42419443

Merged error: 3.7b

Counts
443 → 19

regimes809.0ms

Accuracy

29% (4.6b remaining)

Error of 7.6b against oracle of 3.0b and baseline of 9.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
040108
140108

end0.0ms

sample2.0s

Algorithm
intervals
Results
546.0ms5971×body80valid
346.0ms706×body1280valid
253.0ms716×body640valid
173.0ms1890×body80invalid
115.0ms417×body320valid
86.0ms252×body640invalid
68.0ms145×body1280invalid
45.0ms172×body320invalid
34.0ms190×body160valid
18.0ms112×body160invalid

Profiling

Loading profile data...