Details

Time bar (total: 6.4s)

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

sample75.0ms

Algorithm
intervals
Results
17.0ms186×body80valid
9.0ms25×body640valid
9.0ms18×body1280valid
7.0ms74×body80invalid
6.0ms20×body320valid
3.0msbody640invalid
3.0msbody1280invalid
1.0msbody160valid
1.0msbody320invalid
1.0msbody160invalid

simplify217.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (207.0ms)

IterNodesCost
0719324

prune10.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: 29.1b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.9b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
3.6b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.1b
(*.f64 x (pow.f64 s 2))
20.0b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite37.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:
11.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)
5.0ms
(*.f64 x (pow.f64 s 2))
10.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

series209.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
35.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
28.0ms
(*.f64 x (pow.f64 s 2))
64.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

simplify92.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049902312
149902312

prune275.0ms

Filtered
67 candidates to 131 candidates (-95.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New12110131
Fresh000
Picked101
Done000
Total12210132

Merged error: 14.1b

Counts
132 → 10

localize18.0ms

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s)))
0.9b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s)))))
20.0b
(*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
39×add-exp-log_binary64
19×add-cbrt-cube_binary64 prod-exp_binary64
15×add-sqr-sqrt_binary64
11×*-un-lft-identity_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
10×pow1_binary64
cbrt-unprod_binary64 div-exp_binary64
unswap-sqr_binary64
pow-to-exp_binary64 associate-*r*_binary64 unpow-prod-down_binary64 pow-exp_binary64
add-log-exp_binary64 swap-sqr_binary64 cbrt-undiv_binary64 associate-/l*_binary64 times-frac_binary64
pow-prod-down_binary64 unpow2_binary64 sqr-pow_binary64 pow2_binary64 *-commutative_binary64
associate-/r*_binary64 pow-prod-up_binary64 pow-plus_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 pow-sqr_binary64 cos-2_binary64
Counts
3 → 83
Calls
3 calls:
4.0ms
(*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s)))
9.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s)))))
11.0ms
(*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s))))

series175.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s)))
116.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s)))))
39.0ms
(*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 x s)) (fabs.f64 (*.f64 x s))))

simplify82.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
052201612

prune295.0ms

Filtered
53 candidates to 92 candidates (-73.6%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New821092
Fresh459
Picked101
Done000
Total8715102

Merged error: 2.8b

Counts
102 → 15

localize16.0ms

Local error

Found 3 expressions with local error:

0.3b
(pow.f64 (*.f64 c (fabs.f64 (*.f64 x s))) 2)
0.9b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 x s))) 2))
4.2b
(*.f64 c (fabs.f64 (*.f64 x s)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
18×times-frac_binary64
17×*-un-lft-identity_binary64 add-cube-cbrt_binary64
16×add-exp-log_binary64
pow1_binary64
add-cbrt-cube_binary64
associate-/r*_binary64
unpow2_binary64 sqr-pow_binary64 unpow-prod-down_binary64
div-exp_binary64 pow-exp_binary64
pow-unpow_binary64 add-log-exp_binary64 associate-*r*_binary64 associate-*l*_binary64 prod-exp_binary64 associate-/l*_binary64
pow-to-exp_binary64 pow-prod-down_binary64 pow-pow_binary64
cbrt-unprod_binary64 cbrt-undiv_binary64 unswap-sqr_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 cos-2_binary64 *-commutative_binary64
Counts
3 → 79
Calls
3 calls:
4.0ms
(pow.f64 (*.f64 c (fabs.f64 (*.f64 x s))) 2)
5.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 x s))) 2))
4.0ms
(*.f64 c (fabs.f64 (*.f64 x s)))

series163.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(pow.f64 (*.f64 c (fabs.f64 (*.f64 x s))) 2)
118.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 x s))) 2))
17.0ms
(*.f64 c (fabs.f64 (*.f64 x s)))

simplify73.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
051081882

prune362.0ms

Filtered
59 candidates to 88 candidates (-49.2%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New771188
Fresh8614
Picked101
Done000
Total8617103

Merged error: 2.5b

Counts
103 → 17

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series234.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049712073
149712073

prune282.0ms

Filtered
69 candidates to 107 candidates (-55.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1016107
Fresh9716
Picked101
Done000
Total11113124

Merged error: 2.5b

Counts
124 → 13

regimes410.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02040
12040

end0.0ms

sample2.1s

Algorithm
intervals
Results
556.0ms5961×body80valid
354.0ms689×body1280valid
276.0ms753×body640valid
175.0ms1812×body80invalid
113.0ms407×body320valid
85.0ms245×body640invalid
62.0ms123×body1280invalid
49.0ms187×body320invalid
35.0ms190×body160valid
23.0ms113×body160invalid

Profiling

Loading profile data...