Details

Time bar (total: 41.2s)

analyze20.1s (48.9%)

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)

sample100.0ms (0.2%)

Algorithm
intervals
Results
39.0ms150×body1024valid
18.0ms256×pre128true
8.0ms44×body512valid
3.0msbody2048valid
2.0ms45×body128valid
1.0ms11×body256valid
Compiler

Compiled 54 to 50 computations (7.4% saved)

simplify15.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (9.0ms)

IterNodesCost
018614
118614

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 18 to 18 computations (0% saved)

localize17.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))
2.0b
(tan.f64 (+.f64 y z))

rewrite87.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:

7.0ms
(-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a))
7.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.3s (3.1%)

Error
11.3b
Counts
3 → 54
Calls

3 calls:

602.0ms
(+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))
408.0ms
(-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a))
186.0ms
(tan.f64 (+.f64 y z))
Compiler

Compiled 3327 to 1905 computations (42.7% saved)

simplify92.0ms (0.2%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049782929
149782929

prune127.0ms (0.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New928100
Fresh000
Picked101
Done000
Total938101
Error
0.1b
Counts
101 → 8
Compiler

Compiled 2371 to 745 computations (68.6% saved)

localize14.0ms (0%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 1 (*.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.2b
(*.f64 (tan.f64 y) (tan.f64 z))
0.2b
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a))

rewrite138.0ms (0.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
15×add-sqr-sqrt_binary64 *-un-lft-identity_binary64
13×add-log-exp_binary64
add-cube-cbrt_binary64
cancel-sign-sub-inv_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
tan-quot_binary64
associate-+r+_binary64
diff-log_binary64 sub-neg_binary64 associate-*l*_binary64 associate-*r*_binary64
flip3--_binary64 flip--_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 sum-log_binary64 distribute-lft-out_binary64
frac-sub_binary64 times-frac_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 flip3-+_binary64 flip-+_binary64 associate-+r-_binary64 +-commutative_binary64
Counts
4 → 70
Calls

4 calls:

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)))
13.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a))
8.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
3.0ms
(-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))
Compiler

Compiled 1989 to 665 computations (66.6% saved)

series4.2s (10.1%)

Error
0.1b
Counts
4 → 66
Calls

4 calls:

2.1s
(+.f64 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)))
1.5s
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a))
263.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
233.0ms
(-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))
Compiler

Compiled 6001 to 3089 computations (48.5% saved)

simplify94.0ms (0.2%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049665324
149665324

prune184.0ms (0.4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1297136
Fresh347
Picked101
Done000
Total13311144
Error
0.1b
Counts
144 → 11
Compiler

Compiled 4710 to 1628 computations (65.4% saved)

localize19.0ms (0%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (tan.f64 y) (tan.f64 z))
0.2b
(*.f64 (cos.f64 a) (+.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)))))
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)))))

rewrite208.0ms (0.5%)

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

4 calls:

18.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)))))
10.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)))))
8.0ms
(*.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z)))
5.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
Compiler

Compiled 5145 to 1552 computations (69.8% saved)

series3.7s (8.9%)

Error
0.1b
Counts
4 → 66
Calls

4 calls:

1.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)))))
988.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)))))
490.0ms
(*.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z)))
273.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
Compiler

Compiled 8672 to 4144 computations (52.2% saved)

simplify90.0ms (0.2%)

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
055178048

prune284.0ms (0.7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1661167
Fresh01010
Picked101
Done000
Total16711178
Error
0.0b
Counts
178 → 11
Compiler

Compiled 8801 to 2757 computations (68.7% saved)

localize17.0ms (0%)

Local error

Found 4 expressions with local error:

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

rewrite125.0ms (0.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
17×add-sqr-sqrt_binary64
12×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
add-log-exp_binary64
pow1_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 exp-prod_binary64
tan-quot_binary64 cancel-sign-sub-inv_binary64 log-prod_binary64
exp-sum_binary64 log-pow_binary64
sub-neg_binary64 associate-*l*_binary64 associate-*r*_binary64
diff-log_binary64 difference-of-squares_binary64 exp-diff_binary64 rem-exp-log_binary64
frac-sub_binary64 flip3--_binary64 flip--_binary64 times-frac_binary64 distribute-lft-out--_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 log-div_binary64 rem-log-exp_binary64
Counts
4 → 72
Calls

4 calls:

18.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (log.f64 (exp.f64 (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))) (tan.f64 a))
5.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
5.0ms
(exp.f64 (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))
4.0ms
(log.f64 (exp.f64 (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))
Compiler

Compiled 2089 to 839 computations (59.8% saved)

series3.2s (7.9%)

Error
0.0b
Counts
4 → 54
Calls

4 calls:

2.1s
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (log.f64 (exp.f64 (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))) (tan.f64 a))
513.0ms
(log.f64 (exp.f64 (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))))
265.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
257.0ms
(exp.f64 (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))
Compiler

Compiled 4646 to 2665 computations (42.6% saved)

simplify65.0ms (0.2%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
055233702

prune145.0ms (0.4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh1910
Picked011
Done000
Total12611137
Error
0.0b
Counts
137 → 11
Compiler

Compiled 3815 to 1354 computations (64.5% saved)

regimes2.0s (4.9%)

Accuracy

Total 0.1b remaining (72.3%)

Threshold costs 0.1b (72.3%)

Compiler

Compiled 29084 to 18528 computations (36.3% saved)

bsearch0.0ms (0%)

simplify12.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05229
15229
Remove

(sort y z)

Compiler

Compiled 36 to 28 computations (22.2% saved)

end0.0ms (0%)

sample4.8s (11.7%)

Algorithm
intervals
Results
1.1s4556×body1024valid
525.0ms8000×pre128true
224.0ms1402×body512valid
135.0ms217×body2048valid
72.0ms1317×body128valid
57.0ms508×body256valid
Compiler

Compiled 3166 to 2024 computations (36.1% saved)

Profiling

Loading profile data...