Details

Time bar (total: 39.6s)

analyze24.9s (63%)

Algorithm
search
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
Compiler

Compiled 72 to 53 computations (26.4% saved)

sample5.6s (14.1%)

Symmetry

(sort y z)

Results
3.9s4811×body1024valid
807.0ms1420×body512valid
277.0ms221×body2048valid
271.0ms1261×body128valid
224.0ms543×body256valid
Compiler

Compiled 157 to 115 computations (26.8% saved)

simplify16.0ms (0%)

Algorithm
egg-herbie
Rules
132×fma-neg_binary64
75×fma-def_binary64
48×cancel-sign-sub-inv_binary64
39×sub-neg_binary64
24×associate--r+_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11614
22714
34714
47614
512914
621014
726414
830514
934114
1035214
1133814

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
14.7b
Counts
2 → 1
Alt Table
StatusErrorProgram
14.7b
(+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))
Compiler

Compiled 39 to 27 computations (30.8% saved)

localize8.0ms (0%)

Local error

Found 3 expressions with local error:

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

series154.0ms (0.4%)

Counts
3 → 108
Calls

3 calls:

71.0ms
(+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))
57.0ms
(-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a))
26.0ms
(tan.f64 (+.f64 y z))

rewrite18.0ms (0%)

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity_binary64
21×add-sqr-sqrt_binary64
19×add-cube-cbrt_binary64
18×prod-diff_binary64
13×associate-+r+_binary64
Counts
3 → 76
Calls

3 calls:

5.0ms
(-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a))
5.0ms
(+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))
2.0ms
(tan.f64 (+.f64 y z))

simplify175.0ms (0.4%)

Algorithm
egg-herbie
Rules
658×times-frac_binary64
274×associate-+r+_binary64
223×+-commutative_binary64
209×fma-neg_binary64
202×associate-+l+_binary64
Counts
184 → 173
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02854874
17434585
224674488
348134487
449834486
549974486
649254486

prune212.0ms (0.5%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New16211173
Fresh000
Picked101
Done000
Total16311174
Error
0.1b
Counts
174 → 11
Alt Table
StatusErrorProgram
0.2b
(+.f64 x (/.f64 (fma.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (sin.f64 a) (+.f64 (*.f64 (tan.f64 y) (tan.f64 z)) -1))) (*.f64 (cos.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))))
0.2b
(+.f64 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)))
39.3b
(+.f64 (+.f64 x (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a))) (fma.f64 (neg.f64 (sqrt.f64 (tan.f64 a))) (sqrt.f64 (tan.f64 a)) (*.f64 (sqrt.f64 (tan.f64 a)) (sqrt.f64 (tan.f64 a)))))
0.2b
(+.f64 x (/.f64 (-.f64 (*.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (cos.f64 a)) (*.f64 (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))) (sin.f64 a))) (*.f64 (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))) (cos.f64 a))))
14.9b
(/.f64 (+.f64 (pow.f64 (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a)) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a)) (-.f64 (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a)) x))))
32.8b
(+.f64 x (-.f64 (+.f64 (/.f64 (*.f64 (pow.f64 (sin.f64 y) 4) (pow.f64 z 3)) (pow.f64 (cos.f64 y) 4)) (+.f64 (*.f64 (/.f64 (sin.f64 y) (cos.f64 y)) (*.f64 z z)) (+.f64 (/.f64 (sin.f64 y) (cos.f64 y)) (+.f64 z (fma.f64 1/3 (pow.f64 z 3) (+.f64 (/.f64 (*.f64 z (pow.f64 (sin.f64 y) 2)) (pow.f64 (cos.f64 y) 2)) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 z 3)) (pow.f64 (cos.f64 y) 2)) (/.f64 (*.f64 (*.f64 z z) (pow.f64 (sin.f64 y) 3)) (pow.f64 (cos.f64 y) 3))))))))) (tan.f64 a)))
17.6b
(exp.f64 (log.f64 (+.f64 x (-.f64 (tan.f64 (+.f64 y z)) (tan.f64 a)))))
14.8b
(-.f64 (+.f64 (/.f64 (sin.f64 (+.f64 y z)) (cos.f64 (+.f64 y z))) x) (/.f64 (sin.f64 a) (cos.f64 a)))
14.8b
(+.f64 (+.f64 x (tan.f64 (+.f64 y z))) (*.f64 (neg.f64 (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a)))) (cbrt.f64 (tan.f64 a))))
14.7b
(log.f64 (exp.f64 (+.f64 x (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a)))))
14.8b
(/.f64 (fma.f64 x x (*.f64 (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a)) (-.f64 (tan.f64 a) (tan.f64 (+.f64 z y))))) (-.f64 x (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a))))
Compiler

Compiled 5230 to 1825 computations (65.1% saved)

localize12.0ms (0%)

Local error

Found 4 expressions with local error:

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

series690.0ms (1.7%)

Counts
4 → 132
Calls

4 calls:

356.0ms
(+.f64 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)))
278.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a))
31.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
25.0ms
(+.f64 (tan.f64 y) (tan.f64 z))

rewrite61.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
153×*-un-lft-identity_binary64
109×add-sqr-sqrt_binary64
108×prod-diff_binary64
102×add-cube-cbrt_binary64
85×times-frac_binary64
Counts
4 → 211
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)))
10.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a))
3.0ms
(*.f64 (tan.f64 y) (tan.f64 z))
3.0ms
(+.f64 (tan.f64 y) (tan.f64 z))

simplify307.0ms (0.8%)

Algorithm
egg-herbie
Rules
779×times-frac_binary64
283×+-commutative_binary64
259×associate-+r+_binary64
233×associate-+l+_binary64
179×fma-neg_binary64
Counts
343 → 323
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
047615854
1110014374
2349814068
3500014068
4504314068

prune756.0ms (1.9%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New3149323
Fresh8210
Picked101
Done000
Total32311334
Error
0.0b
Counts
334 → 11
Alt Table
StatusErrorProgram
0.4b
(log.f64 (exp.f64 (+.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 x (/.f64 (fma.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (sin.f64 a) (+.f64 (*.f64 (tan.f64 y) (tan.f64 z)) -1))) (*.f64 (cos.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))))
0.3b
(+.f64 x (+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 (*.f64 1 1) (*.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (tan.f64 y) (tan.f64 z))))) (+.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))) (neg.f64 (*.f64 (cbrt.f64 (tan.f64 a)) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a)))))) (fma.f64 (neg.f64 (cbrt.f64 (tan.f64 a))) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a))) (*.f64 (cbrt.f64 (tan.f64 a)) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a)))))))
0.5b
(log.f64 (*.f64 (exp.f64 x) (/.f64 (exp.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))) (exp.f64 (tan.f64 a)))))
0.2b
(+.f64 x (+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3))) (fma.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (fma.f64 (tan.f64 y) (tan.f64 z) 1) 1) (neg.f64 (tan.f64 a))) (*.f64 (tan.f64 a) 0)))
0.5b
(/.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) (-.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) x))))
0.4b
(-.f64 (+.f64 (/.f64 (sin.f64 y) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 y) (sin.f64 z)) (*.f64 (cos.f64 y) (cos.f64 z)))) (cos.f64 y))) (+.f64 x (/.f64 (sin.f64 z) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 y) (sin.f64 z)) (*.f64 (cos.f64 y) (cos.f64 z)))) (cos.f64 z))))) (/.f64 (sin.f64 a) (cos.f64 a)))
4.3b
(exp.f64 (log.f64 (+.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 x (-.f64 (+.f64 (/.f64 (sin.f64 y) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 y) (sin.f64 z)) (*.f64 (cos.f64 y) (cos.f64 z)))) (cos.f64 y))) (/.f64 (sin.f64 z) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 y) (sin.f64 z)) (*.f64 (cos.f64 y) (cos.f64 z)))) (cos.f64 z)))) (/.f64 (sin.f64 a) (cos.f64 a))))
0.2b
(+.f64 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (cbrt.f64 (*.f64 (*.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (tan.f64 y) (tan.f64 z)))))) (tan.f64 a)))
14.8b
(/.f64 (fma.f64 x x (*.f64 (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a)) (-.f64 (tan.f64 a) (tan.f64 (+.f64 z y))))) (-.f64 x (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a))))
Compiler

Compiled 14493 to 4527 computations (68.8% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(+.f64 (tan.f64 y) (tan.f64 z))
0.2b
(*.f64 (tan.f64 y) (tan.f64 z))
0.2b
(fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3))) (fma.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (fma.f64 (tan.f64 y) (tan.f64 z) 1) 1) (neg.f64 (tan.f64 a)))
0.3b
(pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3)

series969.0ms (2.4%)

Counts
2 → 60
Calls

2 calls:

897.0ms
(fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3))) (fma.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (fma.f64 (tan.f64 y) (tan.f64 z) 1) 1) (neg.f64 (tan.f64 a)))
71.0ms
(pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3)

rewrite6.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
tan-quot_binary64
cube-div_binary64
Counts
2 → 37
Calls

2 calls:

4.0ms
(pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3)
0.0ms
(fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3))) (fma.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (fma.f64 (tan.f64 y) (tan.f64 z) 1) 1) (neg.f64 (tan.f64 a)))

simplify187.0ms (0.5%)

Algorithm
egg-herbie
Rules
960×fma-def_binary64
360×unswap-sqr_binary64
252×times-frac_binary64
185×associate-*r*_binary64
177×associate-/l*_binary64
Counts
97 → 83
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
024811280
16759994
231139858
350349858

prune561.0ms (1.4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2002202
Fresh1910
Picked101
Done000
Total20211213
Error
0.0b
Counts
213 → 11
Alt Table
StatusErrorProgram
0.4b
(log.f64 (exp.f64 (+.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 x (/.f64 (fma.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (sin.f64 a) (+.f64 (*.f64 (tan.f64 y) (tan.f64 z)) -1))) (*.f64 (cos.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))))
0.3b
(+.f64 x (+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 (*.f64 1 1) (*.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (tan.f64 y) (tan.f64 z))))) (+.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))) (neg.f64 (*.f64 (cbrt.f64 (tan.f64 a)) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a)))))) (fma.f64 (neg.f64 (cbrt.f64 (tan.f64 a))) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a))) (*.f64 (cbrt.f64 (tan.f64 a)) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a)))))))
0.2b
(+.f64 x (+.f64 (fma.f64 (/.f64 (/.f64 (-.f64 (*.f64 (tan.f64 y) (tan.f64 y)) (*.f64 (tan.f64 z) (tan.f64 z))) (-.f64 (tan.f64 y) (tan.f64 z))) (-.f64 1 (pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3))) (fma.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (fma.f64 (tan.f64 y) (tan.f64 z) 1) 1) (neg.f64 (tan.f64 a))) (*.f64 (tan.f64 a) 0)))
0.2b
(+.f64 x (+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (pow.f64 (tan.f64 y) 3) (pow.f64 (tan.f64 z) 3)))) (fma.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (fma.f64 (tan.f64 y) (tan.f64 z) 1) 1) (neg.f64 (tan.f64 a))) (*.f64 (tan.f64 a) 0)))
0.5b
(/.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) (-.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) x))))
0.4b
(-.f64 (+.f64 (/.f64 (sin.f64 y) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 y) (sin.f64 z)) (*.f64 (cos.f64 y) (cos.f64 z)))) (cos.f64 y))) (+.f64 x (/.f64 (sin.f64 z) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 y) (sin.f64 z)) (*.f64 (cos.f64 y) (cos.f64 z)))) (cos.f64 z))))) (/.f64 (sin.f64 a) (cos.f64 a)))
4.3b
(exp.f64 (log.f64 (+.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 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (cbrt.f64 (*.f64 (*.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (tan.f64 y) (tan.f64 z)))))) (tan.f64 a)))
0.5b
(log.f64 (*.f64 (exp.f64 x) (/.f64 (exp.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))) (exp.f64 (tan.f64 a)))))
14.8b
(/.f64 (fma.f64 x x (*.f64 (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a)) (-.f64 (tan.f64 a) (tan.f64 (+.f64 z y))))) (-.f64 x (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a))))
Compiler

Compiled 12757 to 5509 computations (56.8% saved)

localize25.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (tan.f64 y) (tan.f64 y))
0.3b
(*.f64 (tan.f64 z) (tan.f64 z))
0.3b
(pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3)
2.6b
(/.f64 (-.f64 (*.f64 (tan.f64 y) (tan.f64 y)) (*.f64 (tan.f64 z) (tan.f64 z))) (-.f64 (tan.f64 y) (tan.f64 z)))

series138.0ms (0.3%)

Counts
3 → 48
Calls

3 calls:

118.0ms
(/.f64 (-.f64 (*.f64 (tan.f64 y) (tan.f64 y)) (*.f64 (tan.f64 z) (tan.f64 z))) (-.f64 (tan.f64 y) (tan.f64 z)))
11.0ms
(*.f64 (tan.f64 z) (tan.f64 z))
9.0ms
(*.f64 (tan.f64 y) (tan.f64 y))

rewrite27.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt_binary64
34×tan-quot_binary64
32×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
20×times-frac_binary64
Counts
3 → 118
Calls

3 calls:

10.0ms
(/.f64 (-.f64 (*.f64 (tan.f64 y) (tan.f64 y)) (*.f64 (tan.f64 z) (tan.f64 z))) (-.f64 (tan.f64 y) (tan.f64 z)))
3.0ms
(*.f64 (tan.f64 y) (tan.f64 y))
3.0ms
(*.f64 (tan.f64 z) (tan.f64 z))

simplify114.0ms (0.3%)

Algorithm
egg-herbie
Rules
569×times-frac_binary64
531×fma-def_binary64
456×associate-/l*_binary64
202×distribute-rgt-in_binary64
190×distribute-lft-in_binary64
Counts
166 → 180
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02264143
15303554
216003496
349883495
450223495

prune604.0ms (1.5%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2270227
Fresh01010
Picked011
Done000
Total22711238
Error
0.0b
Counts
238 → 11
Alt Table
StatusErrorProgram
0.4b
(log.f64 (exp.f64 (+.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 x (/.f64 (fma.f64 (cos.f64 a) (+.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (sin.f64 a) (+.f64 (*.f64 (tan.f64 y) (tan.f64 z)) -1))) (*.f64 (cos.f64 a) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))))
0.3b
(+.f64 x (+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 (*.f64 1 1) (*.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (tan.f64 y) (tan.f64 z))))) (+.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))) (neg.f64 (*.f64 (cbrt.f64 (tan.f64 a)) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a)))))) (fma.f64 (neg.f64 (cbrt.f64 (tan.f64 a))) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a))) (*.f64 (cbrt.f64 (tan.f64 a)) (*.f64 (cbrt.f64 (tan.f64 a)) (cbrt.f64 (tan.f64 a)))))))
0.2b
(+.f64 x (+.f64 (fma.f64 (/.f64 (/.f64 (-.f64 (*.f64 (tan.f64 y) (tan.f64 y)) (*.f64 (tan.f64 z) (tan.f64 z))) (-.f64 (tan.f64 y) (tan.f64 z))) (-.f64 1 (pow.f64 (*.f64 (tan.f64 y) (tan.f64 z)) 3))) (fma.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (fma.f64 (tan.f64 y) (tan.f64 z) 1) 1) (neg.f64 (tan.f64 a))) (*.f64 (tan.f64 a) 0)))
0.2b
(+.f64 x (+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (pow.f64 (tan.f64 y) 3) (pow.f64 (tan.f64 z) 3)))) (fma.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (fma.f64 (tan.f64 y) (tan.f64 z) 1) 1) (neg.f64 (tan.f64 a))) (*.f64 (tan.f64 a) 0)))
0.5b
(/.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) (-.f64 (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z)))) (tan.f64 a)) x))))
0.4b
(-.f64 (+.f64 (/.f64 (sin.f64 y) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 y) (sin.f64 z)) (*.f64 (cos.f64 y) (cos.f64 z)))) (cos.f64 y))) (+.f64 x (/.f64 (sin.f64 z) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 y) (sin.f64 z)) (*.f64 (cos.f64 y) (cos.f64 z)))) (cos.f64 z))))) (/.f64 (sin.f64 a) (cos.f64 a)))
4.3b
(exp.f64 (log.f64 (+.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 x (-.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (cbrt.f64 (*.f64 (*.f64 (*.f64 (tan.f64 y) (tan.f64 z)) (*.f64 (tan.f64 y) (tan.f64 z))) (*.f64 (tan.f64 y) (tan.f64 z)))))) (tan.f64 a)))
0.5b
(log.f64 (*.f64 (exp.f64 x) (/.f64 (exp.f64 (/.f64 (+.f64 (tan.f64 y) (tan.f64 z)) (-.f64 1 (*.f64 (tan.f64 y) (tan.f64 z))))) (exp.f64 (tan.f64 a)))))
14.8b
(/.f64 (fma.f64 x x (*.f64 (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a)) (-.f64 (tan.f64 a) (tan.f64 (+.f64 z y))))) (-.f64 x (-.f64 (tan.f64 (+.f64 z y)) (tan.f64 a))))
Compiler

Compiled 14035 to 4667 computations (66.7% saved)

regimes3.8s (9.5%)

Accuracy

Total 0.1b remaining (67.5%)

Threshold costs 0.1b (67.5%)

Counts
315 → 1
Compiler

Compiled 102674 to 58561 computations (43% 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
03072
14372
24872
35172
45272
55172

end256.0ms (0.6%)

Remove

(sort y z)

Compiler

Compiled 659 to 359 computations (45.5% saved)

Profiling

Loading profile data...