Details

Time bar (total: 4.4s)

analyze1.2s

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

sample65.0ms

Algorithm
intervals
Results
17.0ms197×body80valid
12.0ms26×body640valid
12.0ms24×body1280valid
5.0ms59×body80invalid
2.0msbody640invalid
2.0msbody1280invalid
1.0msbody320valid
0.0msbody160valid
0.0msbody160invalid
0.0msbody320invalid

simplify139.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (136.0ms)

IterNodesCost
0727716

prune5.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: 28.5b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
4.4b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
7.8b
(*.f64 x (pow.f64 s 2))
19.1b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite40.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:
12.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)
6.0ms
(*.f64 x (pow.f64 s 2))
10.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

series61.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
7.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
7.0ms
(*.f64 x (pow.f64 s 2))
23.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

simplify45.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050171507

prune89.0ms

Filtered
68 candidates to 131 candidates (-92.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New12110131
Fresh000
Picked101
Done000
Total12210132

Merged error: 1.5b

Counts
132 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
0.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
4.3b
(*.f64 s (*.f64 c x))
4.3b
(*.f64 s (*.f64 c x))

rewrite22.0ms

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

series45.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
26.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
6.0ms
(*.f64 s (*.f64 c x))
7.0ms
(*.f64 s (*.f64 c x))

simplify43.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04940866
14940866

prune89.0ms

Filtered
58 candidates to 95 candidates (-63.8%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New86995
Fresh459
Picked101
Done000
Total9114105

Merged error: 1.4b

Counts
105 → 14

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2))
3.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2))
4.3b
(*.f64 s (*.f64 c x))
4.3b
(*.f64 s (*.f64 c x))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
40×add-exp-log_binary64
24×add-cbrt-cube_binary64
16×associate-/r*_binary64 times-frac_binary64
14×*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
12×unpow-prod-down_binary64 prod-exp_binary64 div-exp_binary64
cbrt-unprod_binary64
pow-prod-down_binary64 associate-*l*_binary64
pow-to-exp_binary64 add-log-exp_binary64 unpow2_binary64 cbrt-undiv_binary64 sqr-pow_binary64 pow-exp_binary64
associate-/l/_binary64 associate-*r*_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64 div-inv_binary64 *-commutative_binary64
cos-mult_binary64 div-sub_binary64 sin-mult_binary64 sqr-sin-a_binary64
Counts
4 → 109
Calls
4 calls:
7.0ms
(/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2))
8.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))

series67.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2))
29.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2))
6.0ms
(*.f64 s (*.f64 c x))
6.0ms
(*.f64 s (*.f64 c x))

simplify50.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050311375

prune99.0ms

Filtered
75 candidates to 121 candidates (-61.3%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1165121
Fresh31013
Picked101
Done000
Total12015135

Merged error: 1.2b

Counts
135 → 15

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(cos.f64 (*.f64 x 2))
0.7b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
4.3b
(*.f64 s (*.f64 c x))
4.3b
(*.f64 s (*.f64 c x))

rewrite19.0ms

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

series31.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(cos.f64 (*.f64 x 2))
16.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
6.0ms
(*.f64 s (*.f64 c x))
7.0ms
(*.f64 s (*.f64 c x))

simplify60.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05361799

prune46.0ms

Filtered
55 candidates to 82 candidates (-49.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh41014
Picked101
Done000
Total841397

Merged error: 1.2b

Counts
97 → 13

regimes287.0ms

Accuracy

0% (1.4b remaining)

Error of 2.5b against oracle of 1.0b and baseline of 2.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01627
11627

end0.0ms

sample1.9s

Algorithm
intervals
Results
520.0ms5960×body80valid
332.0ms682×body1280valid
261.0ms776×body640valid
153.0ms1781×body80invalid
105.0ms406×body320valid
76.0ms227×body640invalid
63.0ms131×body1280invalid
38.0ms165×body320invalid
34.0ms176×body160valid
26.0ms116×body160invalid

Profiling

Loading profile data...