Details

Time bar (total: 6.3s)

analyze1.2s

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
16.0ms183×body80valid
15.0ms31×body1280valid
9.0ms25×body640valid
5.0ms60×body80invalid
3.0ms11×body320valid
2.0msbody1280invalid
1.0msbody640invalid
1.0msbody320invalid
1.0msbody160valid
1.0msbody160invalid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0484516
1484516

prune12.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: 31.0b

Counts
2 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
4.2b
(* (* x (pow s 2.0)) x)
10.3b
(* x (pow s 2.0))
20.3b
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

rewrite38.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))
13.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

series227.0ms

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

prune236.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: 13.6b

Counts
129 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))
0.7b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
4.2b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
20.3b
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

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

series223.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
052202915

prune237.0ms

Filtered
70 candidates to 198 candidates (-182.9%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1944198
Fresh01010
Picked011
Done000
Total19415209

Merged error: 11.8b

Counts
209 → 15

localize15.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2))))
0.7b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2))))))
20.3b
(* (pow c 2.0) (* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2)))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
466×add-exp-log
382×prod-exp
90×pow-to-exp pow-exp
58×add-cbrt-cube
52×div-exp
34×cbrt-unprod
10×pow1
add-sqr-sqrt
associate-*l*
add-cube-cbrt *-un-lft-identity
cbrt-undiv
unpow-prod-down
times-frac associate-/l* add-log-exp unswap-sqr
associate-*r* *-commutative sqr-pow
pow2 frac-2neg pow-plus swap-sqr pow-prod-down clear-num associate-/r* pow-sqr pow-prod-up div-inv
Counts
3 → 186
Calls
3 calls:
9.0ms
(* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2))))
15.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2))))))
15.0ms
(* (pow c 2.0) (* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2)))))

series192.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2))))
78.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2))))))
80.0ms
(* (pow c 2.0) (* (* x (pow s (/ 2.0 2))) (* x (pow s (/ 2.0 2)))))

simplify72.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050103047

prune194.0ms

Filtered
54 candidates to 195 candidates (-261.1%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1932195
Fresh4913
Picked011
Done011
Total19713210

Merged error: 1.2b

Counts
210 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))) (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))))
0.7b
(/ (cos (* 2.0 x)) (* (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))) (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))))
5.2b
(* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))
5.2b
(* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
1229×add-exp-log
1116×prod-exp
276×pow-to-exp pow-exp
122×div-exp
97×add-cbrt-cube
60×cbrt-unprod
47×pow1
19×pow-prod-down
10×cbrt-undiv
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*l*
pow-sqr pow-prod-up add-log-exp
times-frac associate-*r* *-commutative associate-/l*
pow-plus
pow2 frac-2neg swap-sqr clear-num associate-/r* div-inv
Counts
4 → 355
Calls
4 calls:
16.0ms
(* (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))) (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))))
26.0ms
(/ (cos (* 2.0 x)) (* (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))) (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))))
8.0ms
(* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))
7.0ms
(* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))

series256.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))) (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))))
79.0ms
(/ (cos (* 2.0 x)) (* (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2)))) (* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))))
54.0ms
(* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))
61.0ms
(* x (* (pow s (/ 2.0 2)) (pow c (/ 2.0 2))))

simplify73.0ms

Algorithm
egg-herbie
Counts
367 → 367
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
055116129

prune193.0ms

Filtered
62 candidates to 367 candidates (-491.9%)
Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New35710367
Fresh5510
Picked011
Done112
Total36317380

Merged error: 0.5b

Counts
380 → 17

regimes717.0ms

Accuracy

0% (1.9b remaining)

Error of 2.6b against oracle of 0.7b and baseline of 2.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01732
11732

end0.0ms

sample1.9s

Algorithm
intervals
Results
539.0ms5988×body80valid
351.0ms688×body1280valid
247.0ms704×body640valid
157.0ms1829×body80invalid
111.0ms424×body320valid
83.0ms247×body640invalid
66.0ms143×body1280invalid
49.0ms188×body320invalid
38.0ms196×body160valid
16.0ms98×body160invalid

Profiling

Loading profile data...