Details

Time bar (total: 50.3s)

analyze19.5s (38.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0111098
1111098
044
144
Search
TrueOtherFalseIter
0%0.2%99.8%0
0%0.2%99.8%1
0%0.2%99.8%2
0%0.2%99.8%3
0%0.2%99.8%4
0%0.2%99.8%5
0%0.2%99.8%6
0%0.2%99.8%7
0%0.2%99.8%8
0%0.2%99.8%9
0%0.2%99.8%10
0%0.2%99.8%11
0%0.2%99.8%12
0%0.2%99.8%13
0%0.2%99.8%14
Symmetry

(sort y z)

Compiler

Compiled 45 to 37 computations (17.8% saved)

sample329.0ms (0.7%)

Algorithm
intervals
Results
42.0ms141×body1024valid
19.0ms256×pre128true
9.0ms51×body512valid
3.0ms22×body256valid
3.0msbody2048valid
2.0ms36×body128valid
Compiler

Compiled 11574 to 10546 computations (8.9% saved)

simplify14.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
018614
118614

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
13.4b
Counts
2 → 1
Compiler

Compiled 18 to 18 computations (0% saved)

localize18.0ms (0%)

Local error

Found 3 expressions with local error:

0.1b
(+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))
0.2b
(-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a))
3.4b
(tan.f64 (+.f64 y z))

rewrite85.0ms (0.2%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
12×*-un-lft-identity_binary64
10×add-log-exp_binary64
add-sqr-sqrt_binary64
cancel-sign-sub-inv_binary64
add-cube-cbrt_binary64
tan-quot_binary64 associate-+r+_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
tan-sum_binary64 diff-log_binary64 frac-sub_binary64 sub-neg_binary64 distribute-lft-out--_binary64 sum-log_binary64 distribute-lft-out_binary64
flip3--_binary64 flip--_binary64 difference-of-squares_binary64 flip3-+_binary64 flip-+_binary64 associate-+r-_binary64 +-commutative_binary64
Counts
3 → 46
Calls

3 calls:

8.0ms
(-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a))
6.0ms
(+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))
6.0ms
(tan.f64 (+.f64 y z))
Compiler

Compiled 790 to 187 computations (76.3% saved)

series1.9s (3.7%)

Error
12.5b
Counts
3 → 48
Calls

3 calls:

903.0ms
(+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))
618.0ms
(-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a))
278.0ms
(tan.f64 (+.f64 y z))
Compiler

Compiled 2964 to 1700 computations (42.6% saved)

simplify48.0ms (0.1%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
051772610

prune136.0ms (0.3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New841094
Fresh000
Picked101
Done000
Total851095
Error
0.1b
Counts
95 → 10
Compiler

Compiled 2227 to 703 computations (68.4% saved)

localize15.0ms (0%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 (tan.f64 y) (tan.f64 z))
0.1b
(+.f64 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)))
0.1b
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a))
0.2b
(*.f64 (tan.f64 y) (tan.f64 z))

rewrite168.0ms (0.3%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
17×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
13×add-log-exp_binary64
add-cube-cbrt_binary64
tan-quot_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 cancel-sign-sub-inv_binary64
associate-+r+_binary64
associate-*l*_binary64 associate-*r*_binary64 sum-log_binary64 distribute-lft-out_binary64
diff-log_binary64 sub-neg_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip3-+_binary64 flip-+_binary64 +-commutative_binary64
pow-prod-down_binary64 prod-exp_binary64 cbrt-unprod_binary64 frac-times_binary64 unswap-sqr_binary64 associate-*l/_binary64 associate-*r/_binary64 *-commutative_binary64 frac-sub_binary64 flip3--_binary64 flip--_binary64 times-frac_binary64 associate-+r-_binary64 frac-add_binary64
Counts
4 → 71
Calls

4 calls:

16.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a))
14.0ms
(+.f64 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)))
5.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
5.0ms
(+.f64 (tan.f64 y) (tan.f64 z))
Compiler

Compiled 1999 to 656 computations (67.2% saved)

series6.4s (12.7%)

Error
0.1b
Counts
4 → 57
Calls

4 calls:

3.3s
(+.f64 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)))
2.3s
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a))
336.0ms
(+.f64 (tan.f64 y) (tan.f64 z))
329.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
Compiler

Compiled 5276 to 2711 computations (48.6% saved)

simplify83.0ms (0.2%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049684670
149684670

prune221.0ms (0.4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1226128
Fresh459
Picked101
Done000
Total12711138
Error
0.1b
Counts
138 → 11
Compiler

Compiled 4234 to 1420 computations (66.5% saved)

localize20.0ms (0%)

Local error

Found 4 expressions with local error:

0.2b
(-.f64 (*.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (sin.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))
0.2b
(*.f64 (tan.f64 y) (tan.f64 z))
0.2b
(*.f64 (tan.f64 y) (tan.f64 z))
0.2b
(/.f64 (-.f64 (*.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (sin.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))) (*.f64 (cos.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))

rewrite264.0ms (0.5%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
28×associate-*r/_binary64
16×tan-quot_binary64
14×add-sqr-sqrt_binary64
13×add-exp-log_binary64 add-cbrt-cube_binary64
12×frac-sub_binary64
10×add-cube-cbrt_binary64 *-un-lft-identity_binary64
flip3--_binary64 flip--_binary64
pow1_binary64 associate-/l/_binary64
add-log-exp_binary64 associate-*l*_binary64 associate-*r*_binary64
frac-add_binary64 flip3-+_binary64 flip-+_binary64 associate--r+_binary64
prod-exp_binary64 cbrt-unprod_binary64 times-frac_binary64 associate-/l*_binary64 sub-neg_binary64 cancel-sign-sub-inv_binary64 distribute-rgt-in_binary64 distribute-lft-in_binary64
div-exp_binary64 cbrt-undiv_binary64 associate-/r/_binary64 pow-prod-down_binary64 frac-times_binary64 unswap-sqr_binary64 associate-*l/_binary64 *-commutative_binary64 associate--l+_binary64
frac-2neg_binary64 div-sub_binary64 clear-num_binary64 div-inv_binary64 associate-/r*_binary64 diff-log_binary64
Counts
4 → 98
Calls

4 calls:

16.0ms
(/.f64 (-.f64 (*.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (sin.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))) (*.f64 (cos.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))
13.0ms
(-.f64 (*.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (sin.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))
5.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
5.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
Compiler

Compiled 4974 to 1477 computations (70.3% saved)

series5.0s (10%)

Error
0.1b
Counts
4 → 47
Calls

4 calls:

2.8s
(/.f64 (-.f64 (*.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (sin.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))) (*.f64 (cos.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))
1.5s
(-.f64 (*.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (sin.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))
318.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
293.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
Compiler

Compiled 6748 to 3195 computations (52.7% saved)

simplify73.0ms (0.1%)

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
051866802

prune309.0ms (0.6%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1441145
Fresh01010
Picked011
Done000
Total14412156
Error
0.1b
Counts
156 → 12
Compiler

Compiled 7475 to 2270 computations (69.6% saved)

localize26.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (sin.f64 z) (sin.f64 y))
0.2b
(*.f64 (sin.f64 z) (sin.f64 y))
0.3b
(/.f64 (*.f64 (sin.f64 z) (sin.f64 y)) (*.f64 (cos.f64 z) (cos.f64 y)))
0.3b
(/.f64 (*.f64 (sin.f64 z) (sin.f64 y)) (*.f64 (cos.f64 z) (cos.f64 y)))

rewrite214.0ms (0.4%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
32×add-exp-log_binary64 add-cbrt-cube_binary64
12×add-sqr-sqrt_binary64
10×prod-exp_binary64 cbrt-unprod_binary64
pow1_binary64 div-exp_binary64 add-cube-cbrt_binary64 cbrt-undiv_binary64 *-un-lft-identity_binary64
associate-*l*_binary64 associate-*r*_binary64
add-log-exp_binary64 sin-mult_binary64
frac-2neg_binary64 times-frac_binary64 clear-num_binary64 div-inv_binary64 associate-/l/_binary64 cos-mult_binary64 associate-/r/_binary64 associate-/l*_binary64 associate-/r*_binary64 pow-prod-down_binary64 unswap-sqr_binary64 *-commutative_binary64
Counts
4 → 84
Calls

4 calls:

8.0ms
(/.f64 (*.f64 (sin.f64 z) (sin.f64 y)) (*.f64 (cos.f64 z) (cos.f64 y)))
8.0ms
(/.f64 (*.f64 (sin.f64 z) (sin.f64 y)) (*.f64 (cos.f64 z) (cos.f64 y)))
5.0ms
(*.f64 (sin.f64 z) (sin.f64 y))
5.0ms
(*.f64 (sin.f64 z) (sin.f64 y))
Compiler

Compiled 4584 to 1113 computations (75.7% saved)

series1.0s (2%)

Error
0.1b
Counts
4 → 28
Calls

4 calls:

338.0ms
(/.f64 (*.f64 (sin.f64 z) (sin.f64 y)) (*.f64 (cos.f64 z) (cos.f64 y)))
328.0ms
(/.f64 (*.f64 (sin.f64 z) (sin.f64 y)) (*.f64 (cos.f64 z) (cos.f64 y)))
146.0ms
(*.f64 (sin.f64 z) (sin.f64 y))
144.0ms
(*.f64 (sin.f64 z) (sin.f64 y))
Compiler

Compiled 3890 to 1861 computations (52.2% saved)

simplify75.0ms (0.1%)

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049701678
149701678

prune212.0ms (0.4%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1111112
Fresh1910
Picked011
Done011
Total11212124
Error
0.1b
Counts
124 → 12
Compiler

Compiled 5618 to 1450 computations (74.2% saved)

regimes2.1s (4.2%)

Accuracy

Total 0.2b remaining (78.1%)

Threshold costs 0.2b (78.1%)

Compiler

Compiled 24934 to 16183 computations (35.1% saved)

bsearch0.0ms (0%)

simplify12.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06349
16349
Remove

(sort y z)

Compiler

Compiled 60 to 44 computations (26.7% saved)

end0.0ms (0%)

sample12.0s (23.9%)

Algorithm
intervals
Results
1.3s4545×body1024valid
562.0ms8000×pre128true
269.0ms1387×body512valid
146.0ms216×body2048valid
83.0ms1307×body128valid
71.0ms545×body256valid
Compiler

Compiled 362723 to 329774 computations (9.1% saved)

Profiling

Loading profile data...