Details

Time bar (total: 4.8s)

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

sample68.0ms

Algorithm
intervals
Results
18.0ms190×body80valid
15.0ms24×body1280valid
7.0ms19×body640valid
5.0ms18×body320valid
5.0ms54×body80invalid
3.0msbody640invalid
1.0msbody160valid
1.0msbody1280invalid
1.0msbody160invalid
0.0msbody320invalid

simplify134.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (131.0ms)

IterNodesCost
0727716

prune6.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: 29.4b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
2.4b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
9.8b
(*.f64 x (pow.f64 s 2))
19.0b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

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

series59.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)
11.0ms
(*.f64 x (pow.f64 s 2))
18.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

simplify43.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
050171507

prune112.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1247131
Fresh000
Picked101
Done000
Total1257132

Merged error: 1.0b

Counts
132 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
6.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
4.0ms
(*.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))

series44.0ms

Counts
4 → 12
Calls
4 calls:
23.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 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
6.0ms
(*.f64 s (*.f64 c x))
9.0ms
(*.f64 s (*.f64 c x))

simplify43.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04940866
14940866

prune121.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New86995
Fresh426
Picked101
Done000
Total9111102

Merged error: 0.8b

Counts
102 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series49.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
13.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))

simplify72.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049372565
149372565

prune175.0ms

Filtered
95 candidates to 145 candidates (-52.6%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1387145
Fresh3710
Picked101
Done000
Total14214156

Merged error: 0.7b

Counts
156 → 14

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
4.7b
(*.f64 s (*.f64 c x))
4.7b
(*.f64 s (*.f64 c x))
11.3b
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
23×*-un-lft-identity_binary64 add-cube-cbrt_binary64
21×times-frac_binary64
19×add-exp-log_binary64
16×add-cbrt-cube_binary64
15×pow1_binary64
12×unpow-prod-down_binary64
associate-/r*_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_binary64
add-log-exp_binary64 sqr-pow_binary64
associate-/l*_binary64 div-exp_binary64 sqrt-prod_binary64
associate-*r*_binary64 *-commutative_binary64
pow-to-exp_binary64 pow1/2_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 pow-exp_binary64
Counts
4 → 94
Calls
4 calls:
6.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
6.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))
2.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

series64.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
6.0ms
(*.f64 s (*.f64 c x))
6.0ms
(*.f64 s (*.f64 c x))
6.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

simplify48.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049361376
149361376

prune95.0ms

Filtered
70 candidates to 106 candidates (-51.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1042106
Fresh21113
Picked101
Done000
Total10713120

Merged error: 0.7b

Counts
120 → 13

regimes327.0ms

Accuracy

0% (1.3b remaining)

Error of 2.7b against oracle of 1.4b and baseline of 2.7b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02428
12428

end0.0ms

sample2.0s

Algorithm
intervals
Results
559.0ms6060×body80valid
332.0ms658×body1280valid
267.0ms721×body640valid
174.0ms1818×body80invalid
103.0ms394×body320valid
87.0ms242×body640invalid
63.0ms130×body1280invalid
46.0ms186×body320invalid
30.0ms167×body160valid
18.0ms104×body160invalid

Profiling

Loading profile data...