Details

Time bar (total: 2.9s)

analyze241.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

sample59.0ms

Algorithm
intervals
Results
28.0ms54×body2560valid
10.0ms40×body1280valid
6.0ms35×body640valid
4.0ms34×body320valid
3.0ms71×body80valid
2.0ms22×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (14.0ms)

IterNodesCost
03658
13658

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.5b
(-.f64 1 (cos.f64 x))
14.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:
4.0ms
(-.f64 1 (cos.f64 x))
8.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

series11.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))

simplify43.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04909455
14909455

prune79.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New41950
Fresh000
Picked101
Done000
Total42951

Merged error: 0.0b

Counts
51 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
9.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
5.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
4.0ms
(+.f64 1 (cos.f64 x))
12.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series40.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
4.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
2.0ms
(+.f64 1 (cos.f64 x))
21.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

simplify60.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049891143
149891143

prune110.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh448
Picked101
Done000
Total1257132

Merged error: 0b

Counts
132 → 7

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)
9.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

series45.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04944974
14944974

prune88.0ms

Filtered
72 candidates to 96 candidates (-33.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh156
Picked011
Done000
Total967103

Merged error: 0b

Counts
103 → 7

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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:
4.0ms
(/.f64 (sin.f64 x) x)
11.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
5.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

series37.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/.f64 (sin.f64 x) x)
19.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
13.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049551234
149551234

prune94.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1131114
Fresh145
Picked101
Done011
Total1156121

Merged error: 0b

Counts
121 → 6

regimes33.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.7s

Algorithm
intervals
Results
779.0ms1519×body2560valid
345.0ms1289×body1280valid
237.0ms1463×body640valid
115.0ms972×body320valid
88.0ms2254×body80valid
45.0ms503×body160valid

Profiling

Loading profile data...