Details

Time bar (total: 7.0s)

analyze1.0s (14.7%)

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
Compiler

Compiled 17 to 15 computations (11.8% saved)

sample61.0ms (0.9%)

Algorithm
intervals
Results
17.0ms194×body128valid
10.0ms28×body1024valid
7.0ms74×body128invalid
6.0ms21×body512valid
3.0msbody1024invalid
2.0ms13×body256valid
2.0msbody512invalid
2.0msbody256invalid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify337.0ms (4.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (164.0ms)

IterNodesCost
0489224
1489224

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 30.8b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
3.7b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.9b
(*.f64 x (pow.f64 s 2))
20.2b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite52.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
122×add-exp-log_binary64_461
82×prod-exp_binary64_472
34×add-cbrt-cube_binary64_459
18×pow-to-exp_binary64_492 pow-exp_binary64_491 add-sqr-sqrt_binary64_445
16×div-exp_binary64_474 cbrt-unprod_binary64_456
12×*-un-lft-identity_binary64_423 associate-*l*_binary64_364 add-cube-cbrt_binary64_458 associate-*r*_binary64_363
unpow-prod-down_binary64_502
pow1_binary64_484
add-log-exp_binary64_462 unswap-sqr_binary64_391 cbrt-undiv_binary64_457
times-frac_binary64_429 *-commutative_binary64_354 unpow2_binary64_488 associate-/l*_binary64_368 sqr-pow_binary64_395
cos-2_binary64_565 pow-prod-down_binary64_494 div-sub_binary64_428 clear-num_binary64_422 frac-2neg_binary64_434 div-inv_binary64_420 associate-/r*_binary64_367
Counts
4 → 119
Calls

4 calls:

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

series332.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

130.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
104.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
51.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
47.0ms
(*.f64 x (pow.f64 s 2))

simplify85.0ms (1.2%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049462214
149462214

prune367.0ms (5.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11912131
Fresh000
Picked101
Done000
Total12012132

Merged error: 1.7b

Counts
132 → 12
Compiler

Compiled 6848 to 4202 computations (38.6% saved)

localize10.0ms (0.2%)

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.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
5.0b
(*.f64 s (*.f64 c x))
5.0b
(*.f64 s (*.f64 c x))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
21×pow1_binary64_484 add-exp-log_binary64_461 add-cbrt-cube_binary64_459
14×add-sqr-sqrt_binary64_445
12×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
associate-*l*_binary64_364
prod-exp_binary64_472 cbrt-unprod_binary64_456
pow-prod-down_binary64_494
associate-*r*_binary64_363
add-log-exp_binary64_462
times-frac_binary64_429 swap-sqr_binary64_390 *-commutative_binary64_354 associate-/l*_binary64_368
cbrt-undiv_binary64_457 div-exp_binary64_474
cos-2_binary64_565 pow-sqr_binary64_396 sqr-abs_binary64_438 pow-prod-up_binary64_493 div-sub_binary64_428 pow-plus_binary64_486 clear-num_binary64_422 frac-2neg_binary64_434 div-inv_binary64_420 unswap-sqr_binary64_391 associate-/r*_binary64_367 pow2_binary64_504
Counts
4 → 84
Calls

4 calls:

5.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))
4.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))

series338.0ms (4.9%)

Counts
4 → 12
Calls

4 calls:

199.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
51.0ms
(*.f64 s (*.f64 c x))
47.0ms
(*.f64 s (*.f64 c x))
41.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))

simplify63.0ms (0.9%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049761306
149761306

prune653.0ms (9.4%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New841296
Fresh6511
Picked101
Done000
Total9117108

Merged error: 1.4b

Counts
108 → 17
Compiler

Compiled 12367 to 7931 computations (35.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite25.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
16×add-exp-log_binary64_461 add-cbrt-cube_binary64_459
14×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458 add-sqr-sqrt_binary64_445 pow1_binary64_484
times-frac_binary64_429
pow-prod-down_binary64_494 associate-*l*_binary64_364 prod-exp_binary64_472 cbrt-unprod_binary64_456
add-log-exp_binary64_462
associate-/l*_binary64_368 associate-/r*_binary64_367
*-commutative_binary64_354 associate-*r*_binary64_363
clear-num_binary64_422 frac-2neg_binary64_434 div-inv_binary64_420 cbrt-undiv_binary64_457 div-exp_binary64_474
Counts
4 → 70
Calls

4 calls:

8.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))
4.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
2.0ms
(cos.f64 (*.f64 x 2))

series226.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

114.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
51.0ms
(*.f64 s (*.f64 c x))
50.0ms
(*.f64 s (*.f64 c x))
10.0ms
(cos.f64 (*.f64 x 2))

simplify75.0ms (1.1%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
053691235

prune249.0ms (3.6%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New78482
Fresh41216
Picked011
Done000
Total821799

Merged error: 1.4b

Counts
99 → 17
Compiler

Compiled 5077 to 2836 computations (44.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(cos.f64 (*.f64 x 2))
0.4b
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2))))
5.0b
(*.f64 s (*.f64 c x))
5.0b
(*.f64 s (*.f64 c x))

rewrite35.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
75×times-frac_binary64_429
48×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458 add-sqr-sqrt_binary64_445
25×add-exp-log_binary64_461
19×add-cbrt-cube_binary64_459
15×pow1_binary64_484
13×associate-/r*_binary64_367
div-exp_binary64_474
pow-prod-down_binary64_494 associate-*l*_binary64_364 prod-exp_binary64_472 cbrt-unprod_binary64_456
div-inv_binary64_420
add-log-exp_binary64_462
associate-/l*_binary64_368 cbrt-undiv_binary64_457
rec-exp_binary64_473 1-exp_binary64_467 *-commutative_binary64_354 associate-*r*_binary64_363
associate-/r/_binary64_369 clear-num_binary64_422 frac-2neg_binary64_434 pow-flip_binary64_497 inv-pow_binary64_508
Counts
4 → 119
Calls

4 calls:

9.0ms
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2))))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))
2.0ms
(cos.f64 (*.f64 x 2))

series227.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

123.0ms
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2))))
49.0ms
(*.f64 s (*.f64 c x))
45.0ms
(*.f64 s (*.f64 c x))
10.0ms
(cos.f64 (*.f64 x 2))

simplify117.0ms (1.7%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
049092922
149092922

prune183.0ms (2.6%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New1301131
Fresh01515
Picked101
Done011
Total13117148

Merged error: 1.4b

Counts
148 → 17
Compiler

Compiled 4422 to 1999 computations (54.8% saved)

regimes143.0ms (2.1%)

Compiler

Compiled 1588 to 1096 computations (31% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01528
11528

end0.0ms (0%)

sample2.3s (32.9%)

Algorithm
intervals
Results
550.0ms6120×body128valid
362.0ms926×body1024valid
311.0ms1894×body128invalid
173.0ms618×body512valid
81.0ms222×body1024invalid
63.0ms332×body256valid
52.0ms208×body512invalid
28.0ms146×body256invalid
3.0msbody2048valid
Compiler

Compiled 429 to 296 computations (31% saved)

Profiling

Loading profile data...