Details

Time bar (total: 5.9s)

analyze519.0ms (8.8%)

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
25%74.9%0.1%6
37.4%62.4%0.1%7
56.2%43.7%0.1%8
56.2%43.7%0.1%9
65.5%34.3%0.1%10
76.5%23.4%0.1%11
76.5%23.4%0.1%12
81.9%17.9%0.1%13
87.8%12.1%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample3.1s (52%)

Results
1.5s1999×body1024valid
843.0ms4628×body128valid
481.0ms1055×body512valid
175.0ms570×body256valid
6.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify16.0ms (0.3%)

Algorithm
egg-herbie
Rules
171×fma-def_binary64
87×fma-neg_binary64
36×cancel-sign-sub-inv_binary64
23×distribute-rgt-neg-in_binary64
20×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11714
22814
34514
46714
510114
615314
721414
825814
928014
1030014
1130614
1227514

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.1b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (cos.f64 y))
0.1b
(*.f64 z (sin.f64 y))

series15.0ms (0.3%)

Counts
2 → 48
Calls

2 calls:

8.0ms
(*.f64 z (sin.f64 y))
7.0ms
(*.f64 x (cos.f64 y))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 40
Calls

2 calls:

3.0ms
(*.f64 z (sin.f64 y))
3.0ms
(*.f64 x (cos.f64 y))

simplify96.0ms (1.6%)

Algorithm
egg-herbie
Rules
573×distribute-rgt-neg-in_binary64
544×fma-neg_binary64
460×distribute-lft-neg-in_binary64
415×associate-*r*_binary64
322×neg-mul-1_binary64
Counts
88 → 74
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0108788
1248727
2767707
31769707
43319707
54769707
64999707
74915707

prune68.0ms (1.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New641074
Fresh000
Picked101
Done000
Total651075
Error
0.1b
Counts
75 → 10
Alt Table
StatusErrorProgram
24.3b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))) (*.f64 z (sin.f64 y)))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (*.f64 z (sin.f64 y)))))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
16.4b
(-.f64 (*.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
0.4b
(-.f64 (*.f64 (*.f64 x (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.9b
(-.f64 (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (cos.f64 y))) (*.f64 z (sin.f64 y)))
33.2b
(-.f64 (*.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
24.3b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 x (cos.f64 y)) (*.f64 x (cos.f64 y))) (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
31.4b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 1494 to 575 computations (61.5% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (sin.f64 y))
0.2b
(*.f64 (*.f64 x (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))
0.2b
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
0.3b
(cbrt.f64 (cos.f64 y))

series419.0ms (7.1%)

Counts
3 → 48
Calls

3 calls:

235.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
176.0ms
(cbrt.f64 (cos.f64 y))
8.0ms
(*.f64 (*.f64 x (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))

rewrite24.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
22×cbrt-prod_binary64
19×pow1_binary64
14×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
Counts
3 → 81
Calls

3 calls:

8.0ms
(*.f64 (*.f64 x (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))
5.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
1.0ms
(cbrt.f64 (cos.f64 y))

simplify117.0ms (2%)

Algorithm
egg-herbie
Rules
780×fma-def_binary64
610×unswap-sqr_binary64
426×fma-neg_binary64
366×*-commutative_binary64
361×log-prod_binary64
Counts
129 → 133
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01291459
12991232
210371167
319771123
443681105
548871105
649861105

prune207.0ms (3.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2171218
Fresh279
Picked101
Done000
Total2208228
Error
0.0b
Counts
228 → 8
Alt Table
StatusErrorProgram
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.2b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
24.3b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))) (*.f64 z (sin.f64 y)))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (*.f64 z (sin.f64 y)))))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
16.4b
(-.f64 (*.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
33.2b
(-.f64 (*.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
31.4b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 5309 to 1489 computations (72% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (sin.f64 y))
0.2b
(*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y)))
0.2b
(pow.f64 (cos.f64 y) 2)
0.3b
(cbrt.f64 (cos.f64 y))

series11.0ms (0.2%)

Counts
2 → 28
Calls

2 calls:

8.0ms
(*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y)))
3.0ms
(pow.f64 (cos.f64 y) 2)

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
18×add-exp-log_binary64
11×prod-exp_binary64
associate-*r*_binary64
add-cbrt-cube_binary64
*-un-lft-identity_binary64
Counts
2 → 47
Calls

2 calls:

12.0ms
(*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y)))
2.0ms
(pow.f64 (cos.f64 y) 2)

simplify113.0ms (1.9%)

Algorithm
egg-herbie
Rules
639×fma-neg_binary64
576×unswap-sqr_binary64
435×sqr-pow_binary64
433×fma-def_binary64
336×*-commutative_binary64
Counts
75 → 76
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01101034
1253880
2787833
31566815
43415635
53980617
64678617
74942617
84901617

prune172.0ms (2.9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1343137
Fresh077
Picked011
Done000
Total13411145
Error
0.0b
Counts
145 → 11
Alt Table
StatusErrorProgram
16.4b
(-.f64 (*.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
0.3b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y))))) (*.f64 z (sin.f64 y)))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.2b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
33.2b
(-.f64 (*.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
16.4b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2)) 1/3)) (cbrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
24.3b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))) (*.f64 z (sin.f64 y)))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (*.f64 z (sin.f64 y)))))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
16.4b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (*.f64 (pow.f64 (cos.f64 y) 1/6) (pow.f64 (cos.f64 y) 1/6))) (*.f64 z (sin.f64 y)))
31.4b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 3417 to 1656 computations (51.5% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y))))
0.2b
(pow.f64 (cos.f64 y) 2)
0.3b
(cbrt.f64 (cos.f64 y))
0.6b
(expm1.f64 (cbrt.f64 (cos.f64 y)))

series346.0ms (5.8%)

Counts
2 → 24
Calls

2 calls:

175.0ms
(expm1.f64 (cbrt.f64 (cos.f64 y)))
170.0ms
(log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

1.0ms
(expm1.f64 (cbrt.f64 (cos.f64 y)))
0.0ms
(log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y))))

simplify78.0ms (1.3%)

Algorithm
egg-herbie
Rules
572×cancel-sign-sub-inv_binary64
533×distribute-rgt-neg-in_binary64
450×distribute-lft-neg-in_binary64
438×sub-neg_binary64
306×neg-mul-1_binary64
Counts
46 → 46
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
069440
1147403
2406390
31291386
43106386
54570386
64927386

prune148.0ms (2.5%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh099
Picked011
Done011
Total10011111
Error
0.0b
Counts
111 → 11
Alt Table
StatusErrorProgram
16.4b
(-.f64 (*.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
0.3b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y))))) (*.f64 z (sin.f64 y)))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.2b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
33.2b
(-.f64 (*.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
16.4b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2)) 1/3)) (cbrt.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
24.3b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))) (*.f64 z (sin.f64 y)))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (*.f64 z (sin.f64 y)))))
0.6b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
16.4b
(-.f64 (*.f64 (*.f64 x (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (*.f64 (pow.f64 (cos.f64 y) 1/6) (pow.f64 (cos.f64 y) 1/6))) (*.f64 z (sin.f64 y)))
31.4b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 2636 to 1313 computations (50.2% saved)

regimes230.0ms (3.9%)

Accuracy

Total 0.1b remaining (57.5%)

Threshold costs 0.1b (57.5%)

Counts
57 → 1
Compiler

Compiled 4356 to 2806 computations (35.6% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11614
22614
33214
43614
53714
63714

end178.0ms (3%)

Compiler

Compiled 260 to 161 computations (38.1% saved)

Profiling

Loading profile data...