Details

Time bar (total: 6.4s)

analyze516.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
37.5%62.5%0%4
43.7%56.2%0%5
46.9%53.1%0%6
48.4%51.5%0%7
49.2%50.8%0%8
49.6%50.4%0%9
49.8%50.2%0%10
49.9%50.1%0%11
49.9%50%0%12
50%50%0%13
50%49.9%0%14

sample150.0ms

Algorithm
intervals
Results
74.0ms54×body2560valid
44.0ms87×body1280valid
17.0ms67×body640valid
6.0ms33×body320valid
1.0ms10×body160valid
0.0msbody80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (12.0ms)

IterNodesCost
02297
12297

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
0.9b
(-.f64 1.0 (cos.f64 x))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
15×times-frac_binary64
12×add-cube-cbrt_binary64
difference-of-squares_binary64 associate-/l*_binary64 distribute-lft-out--_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64
associate-/l/_binary64 pow1_binary64 flip3--_binary64 flip--_binary64
sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
2 → 51
Calls
2 calls:
6.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
4.0ms
(-.f64 1.0 (cos.f64 x))

series13.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
4.0ms
(-.f64 1.0 (cos.f64 x))

simplify42.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05058605

prune101.0ms

Filtered
42 candidates to 57 candidates (-35.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New421557
Fresh000
Picked101
Done000
Total431558

Merged error: 0.2b

Counts
58 → 15

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(*.f64 1/240 (pow.f64 x 5))
0.1b
(*.f64 1/24 (pow.f64 x 3))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
19×associate-*r*_binary64
12×add-exp-log_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
unpow-prod-down_binary64
unswap-sqr_binary64
add-cbrt-cube_binary64 associate-*l*_binary64 prod-exp_binary64
sqr-pow_binary64 cube-prod_binary64
pow-to-exp_binary64 add-log-exp_binary64 pow1_binary64 cbrt-unprod_binary64 pow-exp_binary64 *-commutative_binary64
unpow3_binary64 cube-mult_binary64
Counts
2 → 56
Calls
2 calls:
5.0ms
(*.f64 1/240 (pow.f64 x 5))
6.0ms
(*.f64 1/24 (pow.f64 x 3))

series14.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(*.f64 1/240 (pow.f64 x 5))
5.0ms
(*.f64 1/24 (pow.f64 x 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05108391

prune79.0ms

Filtered
38 candidates to 62 candidates (-63.2%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New62062
Fresh01414
Picked011
Done000
Total621577

Merged error: 0.2b

Counts
77 → 15

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
0.3b
(exp.f64 (/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x)))
0.7b
(log.f64 (exp.f64 (/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))))
0.9b
(-.f64 1.0 (cos.f64 x))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
45×times-frac_binary64
38×exp-prod_binary64
33×add-cube-cbrt_binary64
20×log-pow_binary64
11×difference-of-squares_binary64 distribute-lft-out--_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 associate-/l*_binary64
associate-/r*_binary64 log-prod_binary64 div-sub_binary64 div-inv_binary64
associate-/l/_binary64 flip3--_binary64 exp-diff_binary64 flip--_binary64
sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 rem-log-exp_binary64 rem-exp-log_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 log-div_binary64
Counts
4 → 111
Calls
4 calls:
7.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
6.0ms
(exp.f64 (/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x)))
7.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))))
4.0ms
(-.f64 1.0 (cos.f64 x))

series34.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
12.0ms
(exp.f64 (/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x)))
11.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))))
3.0ms
(-.f64 1.0 (cos.f64 x))

simplify49.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
055251215

prune125.0ms

Filtered
88 candidates to 123 candidates (-39.8%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1185123
Fresh31013
Picked101
Done011
Total12216138

Merged error: 0.1b

Counts
138 → 16

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (-.f64 (pow.f64 1.0 3) (pow.f64 (cos.f64 x) 3)) (+.f64 (*.f64 1.0 1.0) (*.f64 (cos.f64 x) (+.f64 1.0 (cos.f64 x)))))
0.3b
(pow.f64 (cos.f64 x) 3)
0.4b
(+.f64 1.0 (cos.f64 x))
0.7b
(-.f64 (pow.f64 1.0 3) (pow.f64 (cos.f64 x) 3))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
157×add-sqr-sqrt_binary64
89×*-un-lft-identity_binary64
80×difference-of-squares_binary64
75×times-frac_binary64
63×unpow-prod-down_binary64 cube-prod_binary64
41×sqr-pow_binary64
37×add-cube-cbrt_binary64
25×associate-/l*_binary64 distribute-lft-out--_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
difference-cubes_binary64 pow1_binary64
pow-unpow_binary64 associate-/r*_binary64
flip3-+_binary64 associate-/l/_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64
pow-to-exp_binary64 sub-neg_binary64 diff-log_binary64 distribute-lft-out_binary64 cbrt-undiv_binary64 pow-pow_binary64 div-sub_binary64 clear-num_binary64 rem-cube-cbrt_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 pow-exp_binary64 unpow3_binary64 sum-log_binary64 cube-mult_binary64
Counts
4 → 188
Calls
4 calls:
19.0ms
(/.f64 (-.f64 (pow.f64 1.0 3) (pow.f64 (cos.f64 x) 3)) (+.f64 (*.f64 1.0 1.0) (*.f64 (cos.f64 x) (+.f64 1.0 (cos.f64 x)))))
3.0ms
(pow.f64 (cos.f64 x) 3)
4.0ms
(+.f64 1.0 (cos.f64 x))
11.0ms
(-.f64 (pow.f64 1.0 3) (pow.f64 (cos.f64 x) 3))

series51.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/.f64 (-.f64 (pow.f64 1.0 3) (pow.f64 (cos.f64 x) 3)) (+.f64 (*.f64 1.0 1.0) (*.f64 (cos.f64 x) (+.f64 1.0 (cos.f64 x)))))
6.0ms
(pow.f64 (cos.f64 x) 3)
2.0ms
(+.f64 1.0 (cos.f64 x))
9.0ms
(-.f64 (pow.f64 1.0 3) (pow.f64 (cos.f64 x) 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
052004897

prune188.0ms

Filtered
105 candidates to 200 candidates (-90.5%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New1928200
Fresh41014
Picked101
Done011
Total19719216

Merged error: 0.1b

Counts
216 → 19

regimes200.0ms

Accuracy

98% (0.6b remaining)

Error of 0.8b against oracle of 0.2b and baseline of 31.6b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06369
16369

end0.0ms

sample4.6s

Algorithm
intervals
Results
2.3s1611×body2560valid
1.4s2796×body1280valid
489.0ms1853×body640valid
172.0ms936×body320valid
58.0ms469×body160valid
30.0msbody5120valid
24.0ms330×body80valid

Profiling

Loading profile data...