Details

Time bar (total: 4.7s)

analyze1.1s

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.0ms190×body80valid
14.0ms30×body1280valid
8.0ms24×body640valid
5.0ms59×body80invalid
4.0msbody1280invalid
3.0msbody640invalid
3.0ms12×body320valid
1.0msbody320invalid
0.0msbody160invalid

simplify134.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (131.0ms)

IterNodesCost
0727716

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 27.9b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
6.2b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.4b
(*.f64 x (pow.f64 s 2))
17.5b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
122×add-exp-log_binary64
82×prod-exp_binary64
34×add-cbrt-cube_binary64
18×pow-to-exp_binary64 add-sqr-sqrt_binary64 pow-exp_binary64
16×cbrt-unprod_binary64 div-exp_binary64
12×*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
unpow-prod-down_binary64
pow1_binary64
add-log-exp_binary64 cbrt-undiv_binary64 unswap-sqr_binary64
unpow2_binary64 sqr-pow_binary64 associate-/l*_binary64 times-frac_binary64 *-commutative_binary64
pow-prod-down_binary64 associate-/r*_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 cos-2_binary64
Counts
4 → 119
Calls
4 calls:
12.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
6.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
6.0ms
(*.f64 x (pow.f64 s 2))
10.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

series69.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
9.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
9.0ms
(*.f64 x (pow.f64 s 2))
21.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

simplify43.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
050171507

prune118.0ms

Filtered
68 candidates to 131 candidates (-92.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1238131
Fresh000
Picked101
Done000
Total1248132

Merged error: 2.6b

Counts
132 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
0.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
4.9b
(*.f64 s (*.f64 c x))
4.9b
(*.f64 s (*.f64 c x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
14×add-sqr-sqrt_binary64
12×*-un-lft-identity_binary64 add-cube-cbrt_binary64
associate-*l*_binary64
cbrt-unprod_binary64 prod-exp_binary64
pow-prod-down_binary64
associate-*r*_binary64
add-log-exp_binary64
swap-sqr_binary64 associate-/l*_binary64 times-frac_binary64 *-commutative_binary64
cbrt-undiv_binary64 div-exp_binary64
associate-/r*_binary64 pow-prod-up_binary64 pow-plus_binary64 unswap-sqr_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 pow-sqr_binary64 cos-2_binary64 pow2_binary64
Counts
4 → 83
Calls
4 calls:
4.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
5.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))

series52.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
27.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
10.0ms
(*.f64 s (*.f64 c x))
8.0ms
(*.f64 s (*.f64 c x))

simplify42.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
04940866
14940866

prune136.0ms

Filtered
58 candidates to 95 candidates (-63.8%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New841195
Fresh347
Picked101
Done000
Total8815103

Merged error: 2.2b

Counts
103 → 15

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
0.6b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
4.9b
(*.f64 s (*.f64 c x))
4.9b
(*.f64 s (*.f64 c x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64
56×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
21×add-exp-log_binary64 add-cbrt-cube_binary64
16×associate-/l*_binary64
14×pow1_binary64
pow-prod-down_binary64 associate-/r*_binary64 cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_binary64 div-inv_binary64
add-log-exp_binary64 cbrt-undiv_binary64 div-exp_binary64
associate-*r*_binary64 clear-num_binary64 frac-2neg_binary64 *-commutative_binary64
associate-/l/_binary64
Counts
4 → 133
Calls
4 calls:
6.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
4.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))

series61.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
16.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
8.0ms
(*.f64 s (*.f64 c x))
8.0ms
(*.f64 s (*.f64 c x))

simplify65.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049372565
149372565

prune174.0ms

Filtered
96 candidates to 145 candidates (-51.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1396145
Fresh7714
Picked101
Done000
Total14713160

Merged error: 2.2b

Counts
160 → 13

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
4.9b
(*.f64 s (*.f64 c x))
4.9b
(*.f64 s (*.f64 c x))
14.8b
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
23×*-un-lft-identity_binary64 add-cube-cbrt_binary64
21×times-frac_binary64
19×add-exp-log_binary64
16×add-cbrt-cube_binary64
15×pow1_binary64
12×unpow-prod-down_binary64
associate-/r*_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_binary64
add-log-exp_binary64 sqr-pow_binary64
associate-/l*_binary64 div-exp_binary64 sqrt-prod_binary64
associate-*r*_binary64 *-commutative_binary64
pow-to-exp_binary64 pow1/2_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 pow-exp_binary64
Counts
4 → 94
Calls
4 calls:
6.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))
1.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

series75.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
8.0ms
(*.f64 s (*.f64 c x))
8.0ms
(*.f64 s (*.f64 c x))
7.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

simplify46.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049361376
149361376

prune91.0ms

Filtered
70 candidates to 106 candidates (-51.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1042106
Fresh21012
Picked101
Done000
Total10712119

Merged error: 2.2b

Counts
119 → 12

regimes312.0ms

Accuracy

0% (0.9b remaining)

Error of 2.4b against oracle of 1.5b and baseline of 2.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01627
11627

end0.0ms

sample1.9s

Algorithm
intervals
Results
529.0ms5976×body80valid
336.0ms717×body1280valid
243.0ms720×body640valid
152.0ms1793×body80invalid
97.0ms389×body320valid
86.0ms264×body640invalid
67.0ms144×body1280invalid
39.0ms171×body320invalid
34.0ms198×body160valid
17.0ms104×body160invalid

Profiling

Loading profile data...