Details

Time bar (total: 2.8s)

analyze230.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14

sample63.0ms

Algorithm
intervals
Results
28.0ms46×body2560valid
11.0ms43×body1280valid
10.0ms61×body640valid
3.0ms25×body320valid
2.0ms64×body80valid
2.0ms17×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
03658
13658

prune1.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

1.7b
(-.f64 1 (cos.f64 x))
13.9b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite14.0ms

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

series9.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(-.f64 1 (cos.f64 x))
7.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

simplify45.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04909455
14909455

prune53.0ms

Filtered
35 candidates to 50 candidates (-42.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New42850
Fresh000
Picked101
Done000
Total43851

Merged error: 0.0b

Counts
51 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.3b
(+.f64 1 (cos.f64 x))
14.0b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log_binary64 add-cbrt-cube_binary64
24×*-un-lft-identity_binary64
22×times-frac_binary64
16×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
12×cbrt-undiv_binary64 div-exp_binary64
11×pow1_binary64 associate-/l*_binary64
cbrt-unprod_binary64 prod-exp_binary64
add-log-exp_binary64 associate-/r/_binary64
associate-/r*_binary64 distribute-lft-out_binary64
flip3-+_binary64 div-inv_binary64 flip-+_binary64
swap-sqr_binary64 associate-*r*_binary64 associate-*l*_binary64 div-sub_binary64 sqr-sin-a_binary64
associate-/l/_binary64 clear-num_binary64 frac-2neg_binary64 sin-mult_binary64
pow-prod-down_binary64 pow-prod-up_binary64 pow-plus_binary64 unswap-sqr_binary64 pow-sqr_binary64 +-commutative_binary64 pow2_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 111
Calls
4 calls:
5.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
9.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
4.0ms
(+.f64 1 (cos.f64 x))
14.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series29.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
10.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
2.0ms
(+.f64 1 (cos.f64 x))
14.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

simplify57.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049891143
149891143

prune62.0ms

Filtered
80 candidates to 123 candidates (-53.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1185123
Fresh617
Picked101
Done000
Total1256131

Merged error: 0b

Counts
131 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(/.f64 (sin.f64 x) x)
0.2b
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
22×times-frac_binary64
21×*-un-lft-identity_binary64 add-cube-cbrt_binary64
19×add-exp-log_binary64 add-cbrt-cube_binary64
13×associate-*l*_binary64
associate-/r*_binary64 cbrt-undiv_binary64 div-exp_binary64
pow1_binary64
cbrt-unprod_binary64 prod-exp_binary64 associate-/l*_binary64 tan-quot_binary64
associate-/l/_binary64 add-log-exp_binary64 associate-*r*_binary64 div-inv_binary64
associate-*r/_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64 associate-*l/_binary64
pow-prod-down_binary64 *-commutative_binary64
Counts
3 → 87
Calls
3 calls:
9.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
4.0ms
(/.f64 (sin.f64 x) x)
8.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

series35.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
4.0ms
(/.f64 (sin.f64 x) x)
17.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

simplify67.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04944974
14944974

prune47.0ms

Filtered
71 candidates to 96 candidates (-35.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh055
Picked011
Done000
Total966102

Merged error: 0b

Counts
102 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
0.1b
(/.f64 (sin.f64 x) x)
0.1b
(/.f64 (tan.f64 (/.f64 x 2)) x)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt_binary64
40×times-frac_binary64
33×*-un-lft-identity_binary64 add-cube-cbrt_binary64
19×add-exp-log_binary64 add-cbrt-cube_binary64
13×associate-*r*_binary64 associate-*l*_binary64
associate-/r*_binary64 cbrt-undiv_binary64 associate-/l*_binary64 div-exp_binary64
pow1_binary64
cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 div-inv_binary64
add-log-exp_binary64
clear-num_binary64 frac-2neg_binary64
pow-prod-down_binary64 associate-/l/_binary64 associate-*r/_binary64 frac-times_binary64 tan-quot_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
3 → 105
Calls
3 calls:
11.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
4.0ms
(/.f64 (sin.f64 x) x)
5.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

series30.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
4.0ms
(/.f64 (sin.f64 x) x)
11.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

simplify58.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049551234
149551234

prune55.0ms

Filtered
88 candidates to 114 candidates (-29.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1131114
Fresh134
Picked011
Done011
Total1146120

Merged error: 0b

Counts
120 → 6

regimes21.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0911
1911

end0.0ms

sample1.8s

Algorithm
intervals
Results
796.0ms1551×body2560valid
338.0ms1316×body1280valid
250.0ms1522×body640valid
125.0ms963×body320valid
85.0ms2182×body80valid
38.0ms466×body160valid

Profiling

Loading profile data...