Details

Time bar (total: 5.1s)

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

sample70.0ms

Algorithm
intervals
Results
17.0ms189×body80valid
13.0ms27×body1280valid
7.0ms21×body640valid
6.0ms67×body80invalid
5.0ms14×body640invalid
4.0msbody1280invalid
2.0ms10×body320valid
2.0msbody320invalid
2.0msbody160valid
1.0msbody160invalid

simplify221.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (211.0ms)

IterNodesCost
0727924

prune3.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: 30.2b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
3.8b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
9.8b
(*.f64 x (pow.f64 s 2))
18.8b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite41.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)))
9.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))

series190.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
27.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
27.0ms
(*.f64 x (pow.f64 s 2))
60.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

simplify75.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049752228
149752228

prune98.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New12110131
Fresh000
Picked101
Done000
Total12210132

Merged error: 1.2b

Counts
132 → 10

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))))
1.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
3.8b
(*.f64 s (*.f64 c x))
3.8b
(*.f64 s (*.f64 c x))

rewrite21.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:
3.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))

series178.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
103.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
24.0ms
(*.f64 s (*.f64 c x))
27.0ms
(*.f64 s (*.f64 c x))

simplify95.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049511303
149511303

prune93.0ms

Filtered
57 candidates to 95 candidates (-66.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New87895
Fresh369
Picked101
Done000
Total9114105

Merged error: 0.5b

Counts
105 → 14

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))
1.1b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
3.8b
(*.f64 s (*.f64 c x))
3.8b
(*.f64 s (*.f64 c x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
20×add-exp-log_binary64
18×add-cbrt-cube_binary64 times-frac_binary64
15×pow1_binary64
pow-prod-down_binary64 associate-/r*_binary64 cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_binary64 associate-/l*_binary64
add-log-exp_binary64
div-exp_binary64
associate-*r*_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 *-commutative_binary64
1-exp_binary64 inv-pow_binary64 rec-exp_binary64 pow-flip_binary64
Counts
4 → 94
Calls
4 calls:
3.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))
6.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))

series128.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))
55.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
25.0ms
(*.f64 s (*.f64 c x))
25.0ms
(*.f64 s (*.f64 c x))

simplify95.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
050561714

prune99.0ms

Filtered
65 candidates to 106 candidates (-63.1%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1024106
Fresh21113
Picked011
Done000
Total10416120

Merged error: 0.5b

Counts
120 → 16

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))
1.1b
(/.f64 (cbrt.f64 (cos.f64 (*.f64 x 2))) (fabs.f64 (*.f64 s (*.f64 c x))))
3.8b
(*.f64 s (*.f64 c x))
3.8b
(*.f64 s (*.f64 c x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
27×times-frac_binary64
20×add-exp-log_binary64
17×add-cbrt-cube_binary64
15×pow1_binary64
12×cbrt-prod_binary64
associate-/l*_binary64
pow-prod-down_binary64 associate-/r*_binary64 cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_binary64
add-log-exp_binary64
div-exp_binary64
associate-*r*_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 *-commutative_binary64
1-exp_binary64 inv-pow_binary64 rec-exp_binary64 pow-flip_binary64
Counts
4 → 106
Calls
4 calls:
3.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))
4.0ms
(/.f64 (cbrt.f64 (cos.f64 (*.f64 x 2))) (fabs.f64 (*.f64 s (*.f64 c x))))
5.0ms
(*.f64 s (*.f64 c x))
7.0ms
(*.f64 s (*.f64 c x))

series180.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))
100.0ms
(/.f64 (cbrt.f64 (cos.f64 (*.f64 x 2))) (fabs.f64 (*.f64 s (*.f64 c x))))
24.0ms
(*.f64 s (*.f64 c x))
25.0ms
(*.f64 s (*.f64 c x))

simplify119.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
049262239
149262239

prune137.0ms

Filtered
77 candidates to 118 candidates (-53.2%)
Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New1171118
Fresh01414
Picked011
Done011
Total11717134

Merged error: 0.5b

Counts
134 → 17

regimes162.0ms

Accuracy

0% (1.2b remaining)

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

bsearch0.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02031
12031

end0.0ms

sample2.0s

Algorithm
intervals
Results
554.0ms5984×body80valid
344.0ms677×body1280valid
266.0ms755×body640valid
161.0ms1852×body80invalid
101.0ms388×body320valid
95.0ms265×body640invalid
60.0ms130×body1280invalid
45.0ms186×body320invalid
39.0ms196×body160valid
18.0ms106×body160invalid

Profiling

Loading profile data...