Details

Time bar (total: 3.5s)

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

sample62.0ms

Algorithm
intervals
Results
27.0ms51×body2560valid
12.0ms29×body1280valid
8.0ms48×body640valid
4.0ms34×body320valid
3.0ms80×body80valid
1.0ms14×body160valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
036712
136712

prune1.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.7b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

1.8b
(-.f64 1 (cos.f64 x))
13.6b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

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

series46.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05892700

prune57.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New401050
Fresh000
Picked101
Done000
Total411051

Merged error: 0.0b

Counts
51 → 10

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.5b
(+.f64 1 (cos.f64 x))
13.7b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite32.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:
8.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))
11.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series156.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
20.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
7.0ms
(+.f64 1 (cos.f64 x))
76.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

simplify120.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
049301781
149301781

prune89.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1176123
Fresh729
Picked101
Done000
Total1258133

Merged error: 0b

Counts
133 → 8

localize10.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.2b
(/.f64 (sin.f64 x) x)
0.2b
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

rewrite23.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:
8.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)))

series179.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
23.0ms
(/.f64 (sin.f64 x) x)
88.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

simplify104.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
049361539
149361539

prune71.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh077
Picked011
Done000
Total968104

Merged error: 0b

Counts
104 → 8

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 (tan.f64 (/.f64 x 2)) x)
0.2b
(/.f64 (sin.f64 x) x)

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

series153.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
53.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
23.0ms
(/.f64 (sin.f64 x) x)

simplify96.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
050011953

prune73.0ms

Filtered
85 candidates to 114 candidates (-34.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh066
Picked011
Done011
Total1148122

Merged error: 0b

Counts
122 → 8

regimes18.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01017
11017

end0.0ms

sample1.8s

Algorithm
intervals
Results
838.0ms1631×body2560valid
350.0ms1269×body1280valid
267.0ms1488×body640valid
112.0ms924×body320valid
81.0ms2220×body80valid
49.0ms468×body160valid

Profiling

Loading profile data...