Details

Time bar (total: 11.8s)

analyze414.0ms (3.5%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
0%0%99.9%0.1%0%0%0%5
0%0%99.9%0.1%0%0%0%6
25%25%74.9%0.1%0%0%0%7
37.5%37.4%62.4%0.1%0%0%0%8
37.5%37.4%62.4%0.1%0%0%0%9
56.3%56.2%43.7%0.1%0%0%0%10
65.6%65.5%34.3%0.1%0%0%0%11
65.6%65.5%34.3%0.1%0%0%0%12
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample3.9s (32.7%)

Results
1.7s2050×body1024valid
1.6s5136×body256valid
510.0ms1062×body512valid
9.0msbody2048valid
Bogosity

preprocess22.0ms (0.2%)

Algorithm
egg-herbie
Rules
16×fma-def_binary64
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02248
13848
25048
033
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
2
Outputs
0
1
2
Call 2
Inputs
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x)))
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z)))
Outputs
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x)))
(fma.f64 y (sin.f64 x) (*.f64 z (cos.f64 x)))
(+.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z)))
(fma.f64 x (sin.f64 z) (*.f64 y (cos.f64 z)))
Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
21612
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
Outputs
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))

eval1.0ms (0%)

Compiler

Compiled 20 to 9 computations (55% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.1b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
Compiler

Compiled 23 to 15 computations (34.8% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

Compiled 27 to 8 computations (70.4% saved)

series20.0ms (0.2%)

Counts
4 → 80
Calls

24 calls:

TimeVariablePointExpression
2.0ms
y
@0
(*.f64 x (sin.f64 y))
2.0ms
x
@-inf
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
1.0ms
x
@0
(*.f64 x (sin.f64 y))
1.0ms
z
@0
(*.f64 z (cos.f64 y))
1.0ms
z
@0
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))

rewrite105.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
484×log-prod_binary64
382×prod-exp_binary64
361×exp-prod_binary64
332×pow-prod-down_binary64
325×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
118727
2249727
Stop Event
node limit
Counts
4 → 167
Calls
Call 1
Inputs
(*.f64 z (cos.f64 y))
(*.f64 x (sin.f64 y))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(cos.f64 y)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 z (cos.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 z (cos.f64 y))))) (sqrt.f64 (log.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 z (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 z (cos.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 z (cos.f64 y)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 z (cos.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 z (cos.f64 y))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 z) (*.f64 (log.f64 (cos.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 z) 1) (*.f64 (log.f64 (cos.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 y)) 1) (log.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (cos.f64 y)) (*.f64 (log.f64 z) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 y)) 1) (*.f64 (log.f64 z) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (sin.f64 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (sin.f64 y))))) (sqrt.f64 (log.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sin.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (sin.f64 y)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (sin.f64 y))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (sin.f64 y))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 (sin.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (*.f64 (log.f64 (sin.f64 y)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 y)) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (sin.f64 y)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sin.f64 y)) 1) (*.f64 (log.f64 x) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) (/.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) (sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (/.f64 1 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (/.f64 1 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))) (neg.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))) (neg.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 2)) (cbrt.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))) (sqrt.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (pow.f64 (exp.f64 x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (exp.f64 z) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cos.f64 y)) 1 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sin.f64 y)) 1 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 (*.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 (*.f64 z (cos.f64 y))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 (exp.f64 (log1p.f64 y))) (cos.f64 1)) (*.f64 (sin.f64 (exp.f64 (log1p.f64 y))) (sin.f64 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (cos.f64 y))) 2)) (cbrt.f64 (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (cos.f64 y)))) (sqrt.f64 (log.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 y) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (cos.f64 y)) 1) 1))))))

simplify218.0ms (1.9%)

Algorithm
egg-herbie
Rules
682×sqr-pow_binary64
626×cube-prod_binary64
461×*-commutative_binary64
443×pow-sqr_binary64
406×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
063784
1168773
2459748
31472746
42333746
53438746
63576746
73793746
84008746
94290746
104703746
115202746
125778746
136468746
146976746
157372746
167760746
Stop Event
node limit
Counts
247 → 198
Calls
Call 1
Inputs
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
Outputs
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z)
(*.f64 z (fma.f64 y (*.f64 y -1/2) 1))
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))))
(*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))))
(*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))))
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))
(fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y))
(*.f64 x (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y)))
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y)))
(*.f64 x (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y)))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (fma.f64 -1/5040 (*.f64 x (pow.f64 y 7)) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 -1/5040 (pow.f64 y 7))))))
(*.f64 x (+.f64 (fma.f64 -1/6 (pow.f64 y 3) (*.f64 -1/5040 (pow.f64 y 7))) (fma.f64 1/120 (pow.f64 y 5) y)))
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x z))
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 y x z))
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (fma.f64 y x z))
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z (*.f64 y x))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z)))
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z))
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 y y)))
(fma.f64 -1/2 (*.f64 y y) 1)
(fma.f64 y (*.f64 y -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4)))
(fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1))
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4))))
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)))
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

Compiled 22 to 7 computations (68.2% saved)

series4.0ms (0%)

Counts
1 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@0
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
1.0ms
x
@-inf
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.0ms
y
@-inf
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.0ms
x
@inf
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.0ms
y
@inf
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))

rewrite55.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
757×pow1_binary64
689×add-log-exp_binary64
689×log1p-expm1-u_binary64
689×expm1-log1p-u_binary64
672×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
115612
2185312
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (sin.f64 y)) 1) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))

simplify158.0ms (1.3%)

Algorithm
egg-herbie
Rules
853×fma-def_binary64
757×sqr-pow_binary64
556×distribute-lft-out_binary64
476×*-commutative_binary64
441×cube-prod_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
025396
163394
2151394
3400391
41332388
52659388
64130388
74254388
84430388
94644388
104980388
115334388
125810388
136353388
147015388
157843388
Stop Event
node limit
Counts
57 → 32
Calls
Call 1
Inputs
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
Outputs
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x z))
(fma.f64 y x (fma.f64 z (*.f64 y (*.f64 y -1/2)) z))
(fma.f64 y x (fma.f64 (*.f64 y y) (*.f64 z -1/2) z))
(fma.f64 y (fma.f64 y (*.f64 z -1/2) x) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z)))
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z)))
(fma.f64 y (*.f64 y (*.f64 z -1/2)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z))
(fma.f64 y x (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 x -1/6) (*.f64 z -1/2)) z))
(fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) (*.f64 z (fma.f64 y (*.f64 y -1/2) 1)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))

eval70.0ms (0.6%)

Compiler

Compiled 4409 to 1507 computations (65.8% saved)

prune74.0ms (0.6%)

Pruning

26 alts after pruning (25 fresh and 1 done)

PrunedKeptTotal
New28125306
Fresh000
Picked101
Done011
Total28226308
Error
0.0b
Counts
308 → 26
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
4.9b
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))
33.2b
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y)))
0.6b
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))
25.8b
(*.f64 (cos.f64 y) z)
13.6b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2)))
28.6b
(/.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))))
0.4b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3)))
13.6b
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
32.9b
(fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (cos.f64 y)))
26.7b
(+.f64 (pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 z (cos.f64 y)))
0.9b
(+.f64 (*.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
0.6b
(fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (cos.f64 y)))
0.6b
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) (*.f64 z (cos.f64 y)))
31.4b
(fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))
28.3b
(fma.f64 y x z)
13.6b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y)))))
0.1b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
28.3b
(+.f64 (*.f64 y x) z)
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))
24.1b
(+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))
37.2b
(*.f64 (sin.f64 y) x)
31.7b
(+.f64 (*.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2))
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))))
37.7b
z
Compiler

Compiled 708 to 475 computations (32.9% saved)

localize13.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

Compiled 22 to 7 computations (68.2% saved)

series5.0ms (0%)

Counts
2 → 40
Calls

15 calls:

TimeVariablePointExpression
1.0ms
z
@-inf
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
0.0ms
z
@inf
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
0.0ms
y
@0
(*.f64 (sin.f64 y) x)
0.0ms
y
@inf
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
0.0ms
y
@-inf
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))

rewrite59.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
757×pow1_binary64
689×add-log-exp_binary64
689×log1p-expm1-u_binary64
689×expm1-log1p-u_binary64
672×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
115618
2185318
Stop Event
node limit
Counts
2 → 34
Calls
Call 1
Inputs
(*.f64 (sin.f64 y) x)
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 y) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 y) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 y) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 y) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (sin.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 y) x)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 y) z) 1) (*.f64 (sin.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) (pow.f64 (*.f64 (sin.f64 y) x) 3)) (+.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 (sin.f64 y) x) 2) (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 y) z) (*.f64 (cos.f64 y) z)) (pow.f64 (*.f64 (sin.f64 y) x) 2)) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))))

simplify153.0ms (1.3%)

Algorithm
egg-herbie
Rules
845×fma-def_binary64
626×distribute-lft-out_binary64
551×sqr-pow_binary64
466×associate-+l+_binary64
439×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040472
1109467
2285453
3811451
42536451
53406451
65141451
75482451
86064451
96482451
106946451
117476451
Stop Event
node limit
Counts
74 → 53
Calls
Call 1
Inputs
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
z
(+.f64 (*.f64 y x) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
Outputs
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))
(fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))
(*.f64 x (+.f64 y (*.f64 -1/6 (pow.f64 y 3))))
(*.f64 x (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (*.f64 x (+.f64 y (*.f64 -1/6 (pow.f64 y 3)))))
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y)))
(*.f64 x (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y)))
(*.f64 x (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) y)))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (fma.f64 -1/5040 (*.f64 x (pow.f64 y 7)) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 -1/5040 (pow.f64 y 7))))))
(*.f64 x (+.f64 (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 1/120 (pow.f64 y 5) y)))
(*.f64 x (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/5040 (pow.f64 y 7) (fma.f64 -1/6 (pow.f64 y 3) y))))
(*.f64 x (+.f64 y (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) (*.f64 -1/5040 (pow.f64 y 7))))))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x z))
(fma.f64 y x (fma.f64 z (*.f64 y (*.f64 y -1/2)) z))
(fma.f64 y x (fma.f64 z (*.f64 -1/2 (*.f64 y y)) z))
(fma.f64 y (*.f64 z (*.f64 y -1/2)) (fma.f64 y x z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z)))
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z))
(fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) (fma.f64 z (*.f64 -1/2 (*.f64 y y)) z))
(fma.f64 y (*.f64 z (*.f64 y -1/2)) (fma.f64 x (fma.f64 -1/6 (pow.f64 y 3) y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))

localize10.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 y x) z)
Compiler

Compiled 14 to 5 computations (64.3% saved)

series9.0ms (0.1%)

Counts
1 → 9
Calls

9 calls:

TimeVariablePointExpression
3.0ms
y
@-inf
(+.f64 (*.f64 y x) z)
1.0ms
x
@0
(+.f64 (*.f64 y x) z)
1.0ms
y
@0
(+.f64 (*.f64 y x) z)
1.0ms
y
@inf
(+.f64 (*.f64 y x) z)
1.0ms
x
@inf
(+.f64 (*.f64 y x) z)

rewrite78.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
707×pow1_binary64
655×add-log-exp_binary64
655×log1p-expm1-u_binary64
655×expm1-log1p-u_binary64
640×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065
11295
217755
Stop Event
node limit
Counts
1 → 35
Calls
Call 1
Inputs
(+.f64 (*.f64 y x) z)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 y x z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 y x) 2) (-.f64 (*.f64 y x) z)) (/.f64 (*.f64 z z) (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y x z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y x z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y x z)) (pow.f64 (cbrt.f64 (fma.f64 y x z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y x z)) 2) (cbrt.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 y x z)) (sqrt.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z)) (/.f64 1 (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 y x) z) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3)) (+.f64 (*.f64 z z) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 y (*.f64 x z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z)) (-.f64 (*.f64 y x) z))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 z 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z (-.f64 z (*.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 z z))) (neg.f64 (-.f64 (*.f64 y x) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 z z) (pow.f64 (*.f64 y x) 2)) (-.f64 z (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y x z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y x z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y x z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 y x z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y x z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y x z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y x z)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y x) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 z (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (cbrt.f64 (*.f64 y x)) z)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (sqrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y x)) (sqrt.f64 (*.f64 y x)) z)))))

simplify12.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0524
1624
Stop Event
saturated
Counts
44 → 37
Calls
Call 1
Inputs
z
(*.f64 y x)
(*.f64 y x)
z
(*.f64 y x)
(*.f64 y x)
(*.f64 y x)
z
z
Outputs
z
(*.f64 y x)
(*.f64 y x)
z
(*.f64 y x)
(*.f64 y x)
(*.f64 y x)
z
z

localize35.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (*.f64 z (cos.f64 y)) 3)
0.1b
(*.f64 x (sin.f64 y))
0.1b
(*.f64 z (cos.f64 y))
36.3b
(cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))
Compiler

Compiled 44 to 17 computations (61.4% saved)

series19.0ms (0.2%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
5.0ms
z
@-inf
(cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))
2.0ms
y
@0
(pow.f64 (*.f64 z (cos.f64 y)) 3)
2.0ms
y
@-inf
(pow.f64 (*.f64 z (cos.f64 y)) 3)
2.0ms
y
@inf
(pow.f64 (*.f64 z (cos.f64 y)) 3)
1.0ms
z
@0
(pow.f64 (*.f64 z (cos.f64 y)) 3)

rewrite83.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
645×pow1_binary64
603×add-log-exp_binary64
603×log1p-expm1-u_binary64
603×expm1-log1p-u_binary64
586×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
116815
2172815
Stop Event
node limit
Counts
2 → 54
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3))
(pow.f64 (*.f64 z (cos.f64 y)) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) 1/3) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (cos.f64 y))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 z (cos.f64 y)) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (*.f64 (cos.f64 y) (pow.f64 (*.f64 z (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (*.f64 z (pow.f64 (*.f64 z (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (cos.f64 y)) (pow.f64 (*.f64 z (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 z (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (*.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (*.f64 z (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (*.f64 z (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) (pow.f64 (*.f64 z (cos.f64 y)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) 3) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 3) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) z) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (cos.f64 y)) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) 1) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2)) (cbrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (sqrt.f64 (*.f64 z (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 z (cos.f64 y)))))))))

simplify89.0ms (0.8%)

Algorithm
egg-herbie
Rules
594×distribute-rgt-out_binary64
532×fma-def_binary64
528×distribute-rgt-in_binary64
524×distribute-lft-in_binary64
415×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071618
1205592
2755558
33923551
47165551
Stop Event
node limit
Counts
102 → 70
Calls
Call 1
Inputs
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(pow.f64 z 3)
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (pow.f64 z 3))
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (+.f64 (pow.f64 z 3) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/24 (pow.f64 z 3)) (+.f64 (*.f64 1/2 (pow.f64 z 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z))))))
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (+.f64 (pow.f64 z 3) (+.f64 (*.f64 (pow.f64 y 6) (+.f64 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 z 2)) (*.f64 -1/24 (pow.f64 z 2))) z) (+.f64 (*.f64 -1/720 (pow.f64 z 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z)) (*.f64 -1/24 (pow.f64 z 3)))))) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/24 (pow.f64 z 3)) (+.f64 (*.f64 1/2 (pow.f64 z 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z)))))))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
Outputs
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(neg.f64 (*.f64 (*.f64 (cos.f64 y) z) (cbrt.f64 -1)))
(*.f64 (neg.f64 (*.f64 (cos.f64 y) (cbrt.f64 -1))) z)
(*.f64 (cos.f64 y) (neg.f64 (*.f64 z (cbrt.f64 -1))))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(neg.f64 (*.f64 (*.f64 (cos.f64 y) z) (cbrt.f64 -1)))
(*.f64 (neg.f64 (*.f64 (cos.f64 y) (cbrt.f64 -1))) z)
(*.f64 (cos.f64 y) (neg.f64 (*.f64 z (cbrt.f64 -1))))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(neg.f64 (*.f64 (*.f64 (cos.f64 y) z) (cbrt.f64 -1)))
(*.f64 (neg.f64 (*.f64 (cos.f64 y) (cbrt.f64 -1))) z)
(*.f64 (cos.f64 y) (neg.f64 (*.f64 z (cbrt.f64 -1))))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(neg.f64 (*.f64 (*.f64 (cos.f64 y) z) (cbrt.f64 -1)))
(*.f64 (neg.f64 (*.f64 (cos.f64 y) (cbrt.f64 -1))) z)
(*.f64 (cos.f64 y) (neg.f64 (*.f64 z (cbrt.f64 -1))))
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z)
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (fma.f64 (pow.f64 y 4) (*.f64 z 1/24) z))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(pow.f64 z 3)
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (pow.f64 z 3))
(fma.f64 (*.f64 (pow.f64 z 3) -3/2) (*.f64 y y) (pow.f64 z 3))
(fma.f64 (*.f64 y y) (*.f64 (pow.f64 z 3) -3/2) (pow.f64 z 3))
(fma.f64 y (*.f64 -3/2 (*.f64 (pow.f64 z 3) y)) (pow.f64 z 3))
(*.f64 (+.f64 (*.f64 (*.f64 -3/2 y) y) 1) (pow.f64 z 3))
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (+.f64 (pow.f64 z 3) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/24 (pow.f64 z 3)) (+.f64 (*.f64 1/2 (pow.f64 z 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z))))))
(+.f64 (fma.f64 (*.f64 (pow.f64 z 3) -3/2) (*.f64 y y) (pow.f64 z 3)) (*.f64 (pow.f64 y 4) (fma.f64 1/24 (pow.f64 z 3) (fma.f64 1/2 (pow.f64 z 3) (*.f64 z (*.f64 (*.f64 z z) 1/3))))))
(fma.f64 (*.f64 y y) (*.f64 (pow.f64 z 3) -3/2) (fma.f64 (pow.f64 y 4) (+.f64 (*.f64 (pow.f64 z 3) 1/3) (*.f64 (pow.f64 z 3) 13/24)) (pow.f64 z 3)))
(fma.f64 y (*.f64 -3/2 (*.f64 (pow.f64 z 3) y)) (fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 z 3) 7/8) (pow.f64 z 3)))
(fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 z 3) 7/8) (*.f64 (+.f64 (*.f64 (*.f64 -3/2 y) y) 1) (pow.f64 z 3)))
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 z 3)) (*.f64 -1/2 (pow.f64 z 3))) (pow.f64 y 2)) (+.f64 (pow.f64 z 3) (+.f64 (*.f64 (pow.f64 y 6) (+.f64 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 z 2)) (*.f64 -1/24 (pow.f64 z 2))) z) (+.f64 (*.f64 -1/720 (pow.f64 z 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z)) (*.f64 -1/24 (pow.f64 z 3)))))) (*.f64 (pow.f64 y 4) (+.f64 (*.f64 1/24 (pow.f64 z 3)) (+.f64 (*.f64 1/2 (pow.f64 z 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 z 2)) (*.f64 1/12 (pow.f64 z 2))) z)))))))
(+.f64 (fma.f64 (*.f64 (pow.f64 z 3) -3/2) (*.f64 y y) (pow.f64 z 3)) (fma.f64 (pow.f64 y 6) (fma.f64 (*.f64 (*.f64 z z) -2/45) z (fma.f64 -1/720 (pow.f64 z 3) (fma.f64 -1/2 (*.f64 z (*.f64 (*.f64 z z) 1/3)) (*.f64 (pow.f64 z 3) -1/24)))) (*.f64 (pow.f64 y 4) (fma.f64 1/24 (pow.f64 z 3) (fma.f64 1/2 (pow.f64 z 3) (*.f64 z (*.f64 (*.f64 z z) 1/3)))))))
(+.f64 (fma.f64 (*.f64 y y) (*.f64 (pow.f64 z 3) -3/2) (pow.f64 z 3)) (fma.f64 (pow.f64 y 4) (+.f64 (*.f64 (pow.f64 z 3) 1/3) (*.f64 (pow.f64 z 3) 13/24)) (*.f64 (pow.f64 y 6) (+.f64 (*.f64 (pow.f64 z 3) -2/45) (fma.f64 -1/720 (pow.f64 z 3) (fma.f64 -1/2 (*.f64 (pow.f64 z 3) 1/3) (*.f64 (pow.f64 z 3) -1/24)))))))
(fma.f64 y (*.f64 -3/2 (*.f64 (pow.f64 z 3) y)) (fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 z 3) 7/8) (fma.f64 (pow.f64 y 6) (+.f64 (fma.f64 (pow.f64 z 3) -1/24 (*.f64 (pow.f64 z 3) -1/6)) (*.f64 (pow.f64 z 3) -11/240)) (pow.f64 z 3))))
(fma.f64 y (*.f64 (pow.f64 z 3) (*.f64 -3/2 y)) (fma.f64 (pow.f64 y 4) (*.f64 (pow.f64 z 3) 7/8) (fma.f64 (pow.f64 y 6) (+.f64 (*.f64 z (*.f64 (*.f64 z z) -5/24)) (*.f64 (pow.f64 z 3) -11/240)) (pow.f64 z 3))))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))

localize37.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (sin.f64 y))
0.1b
(*.f64 z (cos.f64 y))
0.6b
(pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)
9.0b
(cbrt.f64 (*.f64 x (sin.f64 y)))
Compiler

Compiled 43 to 14 computations (67.4% saved)

series24.0ms (0.2%)

Counts
2 → 16
Calls

12 calls:

TimeVariablePointExpression
5.0ms
x
@-inf
(pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)
3.0ms
y
@-inf
(cbrt.f64 (*.f64 x (sin.f64 y)))
3.0ms
y
@inf
(cbrt.f64 (*.f64 x (sin.f64 y)))
2.0ms
x
@0
(pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)
2.0ms
x
@inf
(pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)

rewrite63.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
638×pow1_binary64
596×add-log-exp_binary64
596×log1p-expm1-u_binary64
596×expm1-log1p-u_binary64
581×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
116614
2166914
Stop Event
node limit
Counts
2 → 52
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 x (sin.f64 y)))
(pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 x (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) (pow.f64 (*.f64 x (sin.f64 y)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 1/3) (pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sin.f64 y)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sin.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (*.f64 (cbrt.f64 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) (*.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2) 3) (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) 3) (pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (pow.f64 (cbrt.f64 (sin.f64 y)) 2)) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) 1) (cbrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 x)) (cbrt.f64 (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (*.f64 x (sin.f64 y)) 1/6)) (pow.f64 (*.f64 x (sin.f64 y)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sin.f64 y))))))))

simplify178.0ms (1.5%)

Algorithm
egg-herbie
Rules
1290×sqr-pow_binary64
666×pow-sqr_binary64
625×cube-prod_binary64
559×fabs-mul_binary64
373×unpow3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
010136
126112
240112
351112
475112
5169112
6541112
71207112
81299112
91437112
101600112
111839112
122166112
132594112
143100112
153706112
164429112
174750112
185034112
195258112
205438112
215522112
226465112
237442112
247908112
Stop Event
node limit
Counts
68 → 55
Calls
Call 1
Inputs
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
Outputs
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(cbrt.f64 (*.f64 (sin.f64 y) x))
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(cbrt.f64 (*.f64 (sin.f64 y) x))
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(cbrt.f64 (*.f64 (sin.f64 y) x))
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(cbrt.f64 (*.f64 (sin.f64 y) x))
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(cbrt.f64 (*.f64 (sin.f64 y) x))
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(cbrt.f64 (*.f64 (sin.f64 y) x))
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(cbrt.f64 (*.f64 (sin.f64 y) x))
(pow.f64 (*.f64 (sin.f64 y) x) 1/3)
(cbrt.f64 (*.f64 (sin.f64 y) x))
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (*.f64 (sin.f64 y) x) 1)
(*.f64 (sin.f64 y) x)
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (*.f64 (sin.f64 y) x) 1)
(*.f64 (sin.f64 y) x)
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (*.f64 (sin.f64 y) x) 1)
(*.f64 (sin.f64 y) x)
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (*.f64 (sin.f64 y) x) 1)
(*.f64 (sin.f64 y) x)
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (*.f64 (sin.f64 y) x) 1)
(*.f64 (sin.f64 y) x)
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (*.f64 (sin.f64 y) x) 1)
(*.f64 (sin.f64 y) x)
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (*.f64 (sin.f64 y) x) 1)
(*.f64 (sin.f64 y) x)
(*.f64 (pow.f64 1 1/3) (*.f64 (sin.f64 y) x))
(*.f64 (*.f64 (sin.f64 y) x) 1)
(*.f64 (sin.f64 y) x)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
0.0b
(sqrt.f64 (cos.f64 y))
0.1b
(*.f64 z (sqrt.f64 (cos.f64 y)))
0.1b
(*.f64 x (sin.f64 y))
Compiler

Compiled 35 to 9 computations (74.3% saved)

series8.0ms (0.1%)

Counts
3 → 56
Calls

18 calls:

TimeVariablePointExpression
1.0ms
z
@0
(*.f64 z (sqrt.f64 (cos.f64 y)))
1.0ms
y
@inf
(*.f64 z (sqrt.f64 (cos.f64 y)))
1.0ms
y
@-inf
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
1.0ms
y
@-inf
(*.f64 z (sqrt.f64 (cos.f64 y)))
1.0ms
z
@inf
(*.f64 z (sqrt.f64 (cos.f64 y)))

rewrite67.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
931×pow1_binary64
850×add-log-exp_binary64
850×log1p-expm1-u_binary64
850×expm1-log1p-u_binary64
828×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01034
119627
2232927
Stop Event
node limit
Counts
3 → 54
Calls
Call 1
Inputs
(*.f64 z (sqrt.f64 (cos.f64 y)))
(sqrt.f64 (cos.f64 y))
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (sqrt.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (cos.f64 y) (*.f64 z z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sqrt.f64 (cos.f64 y)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/4) (pow.f64 (cos.f64 y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (sqrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/2) (pow.f64 (cbrt.f64 (cos.f64 y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 y))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 z (cos.f64 y)) 1) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2) (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3) (pow.f64 (*.f64 x (sin.f64 y)) 3)) (+.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 z (cos.f64 y)) (*.f64 z (cos.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))))

simplify245.0ms (2.1%)

Algorithm
egg-herbie
Rules
1900×fma-def_binary64
662×sqr-pow_binary64
432×*-commutative_binary64
416×cube-prod_binary64
351×pow-sqr_binary64
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
053610
1131602
2334593
31095591
41775591
52765591
62899591
73054591
83220585
95102585
105419585
115787585
126252585
136805585
147554585
157960585
Stop Event
node limit
Counts
110 → 79
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
z
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -19/5760 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z)))))
1
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) 1)
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (*.f64 -1/96 (pow.f64 y 4))))
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -1/96 (pow.f64 y 4)) (*.f64 -19/5760 (pow.f64 y 6)))))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
Outputs
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
(*.f64 (sqrt.f64 (cos.f64 y)) z)
z
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/4 (*.f64 z (*.f64 y y)) z)
(*.f64 (fma.f64 -1/4 (*.f64 y y) 1) z)
(*.f64 z (fma.f64 -1/4 (*.f64 y y) 1))
(*.f64 z (fma.f64 y (*.f64 y -1/4) 1))
(fma.f64 y (*.f64 -1/4 (*.f64 y z)) z)
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/4 (*.f64 z (*.f64 y y)) z) (*.f64 -1/96 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/4 (*.f64 y (*.f64 y z)) (*.f64 (fma.f64 -1/96 (pow.f64 y 4) 1) z))
(*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1)))
(+.f64 (*.f64 -19/5760 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 -1/96 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -19/5760 (*.f64 z (pow.f64 y 6)) (+.f64 (fma.f64 -1/4 (*.f64 z (*.f64 y y)) z) (*.f64 -1/96 (*.f64 z (pow.f64 y 4)))))
(fma.f64 -19/5760 (*.f64 z (pow.f64 y 6)) (fma.f64 -1/4 (*.f64 y (*.f64 y z)) (*.f64 (fma.f64 -1/96 (pow.f64 y 4) 1) z)))
(+.f64 z (*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -19/5760 (pow.f64 y 6) (*.f64 -1/96 (pow.f64 y 4))))))
(*.f64 z (fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) (fma.f64 -19/5760 (pow.f64 y 6) 1))))
(*.f64 z (fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 4) -19/5760 -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1)))
1
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) 1)
(fma.f64 -1/4 (*.f64 y y) 1)
(fma.f64 y (*.f64 y -1/4) 1)
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (*.f64 -1/96 (pow.f64 y 4))))
(+.f64 (fma.f64 -1/4 (*.f64 y y) 1) (*.f64 -1/96 (pow.f64 y 4)))
(fma.f64 -1/4 (*.f64 y y) (fma.f64 -1/96 (pow.f64 y 4) 1))
(fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1))
(+.f64 (*.f64 -1/4 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -1/96 (pow.f64 y 4)) (*.f64 -19/5760 (pow.f64 y 6)))))
(+.f64 (fma.f64 -1/4 (*.f64 y y) 1) (fma.f64 -1/96 (pow.f64 y 4) (*.f64 -19/5760 (pow.f64 y 6))))
(+.f64 (fma.f64 -1/4 (*.f64 y y) 1) (fma.f64 -19/5760 (pow.f64 y 6) (*.f64 -1/96 (pow.f64 y 4))))
(fma.f64 y (*.f64 y -1/4) (fma.f64 -1/96 (pow.f64 y 4) (fma.f64 -19/5760 (pow.f64 y 6) 1)))
(fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 4) -19/5760 -1/4) (fma.f64 -1/96 (pow.f64 y 4) 1))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z))
(fma.f64 (*.f64 y (*.f64 y z)) -1/2 (fma.f64 y x z))
(fma.f64 y x (fma.f64 z (*.f64 (*.f64 y y) -1/2) z))
(fma.f64 y x (fma.f64 z (*.f64 y (*.f64 y -1/2)) z))
(fma.f64 y (fma.f64 -1/2 (*.f64 y z) x) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x (+.f64 z (*.f64 (*.f64 -1/6 (pow.f64 y 3)) x))))
(fma.f64 (*.f64 y (*.f64 y z)) -1/2 (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z)))
(fma.f64 y x (fma.f64 z (*.f64 (*.f64 y y) -1/2) (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z)))
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z)))
(fma.f64 y (fma.f64 -1/6 (*.f64 y (*.f64 y x)) (fma.f64 z (*.f64 y -1/2) x)) z)
(fma.f64 y x (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y x) -1/6 (*.f64 z -1/2)) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))

eval312.0ms (2.7%)

Compiler

Compiled 8944 to 3338 computations (62.7% saved)

prune116.0ms (1%)

Pruning

29 alts after pruning (25 fresh and 4 done)

PrunedKeptTotal
New53617553
Fresh12820
Picked101
Done145
Total55029579
Error
0.0b
Counts
579 → 29
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
4.9b
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))
33.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
13.6b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2)))
0.8b
(+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))) (*.f64 z (cos.f64 y)))
25.8b
(*.f64 (cos.f64 y) z)
12.9b
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) z)
37.2b
(*.f64 (sin.f64 y) x)
13.6b
(fma.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
32.9b
(+.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (cos.f64 y)))
32.3b
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
0.6b
(+.f64 (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) (*.f64 z (cos.f64 y)))
0.8b
(+.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (cos.f64 y)))
28.3b
(fma.f64 y x z)
31.4b
(+.f64 (*.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y)))
1.4b
(pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 3)
13.6b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y)))))
0.1b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
28.3b
(+.f64 (*.f64 y x) z)
24.1b
(+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))
37.7b
z
26.3b
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y x))
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
13.6b
(fma.f64 (*.f64 z (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))
24.1b
(+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))
0.4b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3)))
52.5b
(*.f64 y x)
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))))
Compiler

Compiled 772 to 520 computations (32.6% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(exp.f64 (cos.f64 y))
0.1b
(*.f64 x (sin.f64 y))
0.1b
(*.f64 z (log.f64 (exp.f64 (cos.f64 y))))
0.3b
(log.f64 (exp.f64 (cos.f64 y)))
Compiler

Compiled 38 to 10 computations (73.7% saved)

series4.0ms (0%)

Counts
3 → 40
Calls

12 calls:

TimeVariablePointExpression
1.0ms
y
@0
(exp.f64 (cos.f64 y))
0.0ms
y
@0
(log.f64 (exp.f64 (cos.f64 y)))
0.0ms
y
@inf
(log.f64 (exp.f64 (cos.f64 y)))
0.0ms
y
@-inf
(exp.f64 (cos.f64 y))
0.0ms
y
@-inf
(log.f64 (exp.f64 (cos.f64 y)))

rewrite58.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
531×pow1_binary64
504×add-sqr-sqrt_binary64
484×log1p-expm1-u_binary64
484×expm1-log1p-u_binary64
483×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
111914
2133014
Stop Event
node limit
Counts
3 → 49
Calls
Call 1
Inputs
(log.f64 (exp.f64 (cos.f64 y)))
(*.f64 z (log.f64 (exp.f64 (cos.f64 y))))
(exp.f64 (cos.f64 y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 2) (cbrt.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) (sqrt.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (cos.f64 y))))))))

simplify128.0ms (1.1%)

Algorithm
egg-herbie
Rules
1628×fma-def_binary64
820×unswap-sqr_binary64
612×sqr-pow_binary64
356×pow-sqr_binary64
355×cube-prod_binary64
Iterations

Useful iterations: 9 (0.0ms)

IterNodesCost
049338
1125330
2339311
31102305
42575305
53032305
63165305
73291305
83425305
93600304
104446304
116146304
126707304
137360304
Stop Event
node limit
Counts
89 → 73
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(exp.f64 1)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (exp.f64 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (exp.f64 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (+.f64 (*.f64 -31/720 (*.f64 (pow.f64 y 6) (exp.f64 1))) (exp.f64 1))))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 y y)))
(fma.f64 -1/2 (*.f64 y y) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4)))
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) 1)
(fma.f64 y (*.f64 y (fma.f64 y (*.f64 y 1/24) -1/2)) 1)
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1))
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) 1))
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z)
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z)
(fma.f64 (*.f64 y y) (*.f64 -1/2 z) z)
(fma.f64 y (*.f64 y (*.f64 -1/2 z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) 1) z)
(fma.f64 z (*.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2)) z)
(fma.f64 (*.f64 y y) (*.f64 z (fma.f64 y (*.f64 y 1/24) -1/2)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)))
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))))
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))))
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) z)
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) 1)) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(exp.f64 1)
(E.f64)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (exp.f64 1))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (E.f64))
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (exp.f64 1)))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (E.f64)))
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/6)) (E.f64))
(*.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 1)))
(*.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 -1/2 (*.f64 y y) 1)))
(*.f64 (E.f64) (fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/6) -1/2) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (exp.f64 1))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 4) (exp.f64 1))) (+.f64 (*.f64 -31/720 (*.f64 (pow.f64 y 6) (exp.f64 1))) (exp.f64 1))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 y 4) (E.f64)) (fma.f64 -31/720 (*.f64 (pow.f64 y 6) (E.f64)) (E.f64))))
(+.f64 (*.f64 (E.f64) (+.f64 (*.f64 (pow.f64 y 4) 1/6) (*.f64 (pow.f64 y 6) -31/720))) (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64)))
(fma.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (*.f64 (pow.f64 y 6) -31/720)) (*.f64 (fma.f64 -1/2 (*.f64 y y) 1) (E.f64)))
(fma.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 (*.f64 (pow.f64 y 6) -31/720))) (E.f64))
(*.f64 (E.f64) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 (pow.f64 y 6) -31/720 (fma.f64 -1/2 (*.f64 y y) 1))))
(*.f64 (E.f64) (fma.f64 -1/2 (*.f64 y y) (fma.f64 (pow.f64 y 4) 1/6 (fma.f64 (pow.f64 y 6) -31/720 1))))

localize3.0ms (0%)

Compiler

Compiled 8 to 4 computations (50% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (sin.f64 y))
0.1b
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))
0.3b
(cbrt.f64 (pow.f64 (cos.f64 y) 3))
0.3b
(pow.f64 (cos.f64 y) 3)
Compiler

Compiled 43 to 21 computations (51.2% saved)

series6.0ms (0%)

Counts
3 → 40
Calls

12 calls:

TimeVariablePointExpression
1.0ms
y
@inf
(pow.f64 (cos.f64 y) 3)
1.0ms
y
@-inf
(pow.f64 (cos.f64 y) 3)
1.0ms
y
@0
(pow.f64 (cos.f64 y) 3)
0.0ms
z
@0
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))
0.0ms
y
@0
(cbrt.f64 (pow.f64 (cos.f64 y) 3))

rewrite61.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
632×pow1_binary64
590×add-log-exp_binary64
590×log1p-expm1-u_binary64
590×expm1-log1p-u_binary64
575×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
116615
2165315
Stop Event
node limit
Counts
3 → 50
Calls
Call 1
Inputs
(pow.f64 (cos.f64 y) 3)
(cbrt.f64 (pow.f64 (cos.f64 y) 3))
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 2) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 3/2) (pow.f64 (cos.f64 y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 3) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 3) (pow.f64 (sqrt.f64 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) 1) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (cos.f64 y))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3) (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))))

simplify147.0ms (1.2%)

Algorithm
egg-herbie
Rules
787×fma-def_binary64
629×distribute-rgt-in_binary64
628×distribute-rgt-out_binary64
563×associate-*l*_binary64
556×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045316
1108308
2283293
3904291
43399291
55784291
66124291
76354291
86571291
96844291
107181291
Stop Event
node limit
Counts
90 → 72
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2)))
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
Outputs
1
(+.f64 1 (*.f64 -3/2 (pow.f64 y 2)))
(+.f64 1 (*.f64 -3/2 (*.f64 y y)))
(fma.f64 -3/2 (*.f64 y y) 1)
(+.f64 1 (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2))))
(+.f64 1 (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y))))
(+.f64 (fma.f64 -3/2 (*.f64 y y) 1) (*.f64 7/8 (pow.f64 y 4)))
(fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) 1))
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 7/8 -3/2) 1)
(+.f64 1 (+.f64 (*.f64 -61/240 (pow.f64 y 6)) (+.f64 (*.f64 7/8 (pow.f64 y 4)) (*.f64 -3/2 (pow.f64 y 2)))))
(+.f64 1 (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) (*.f64 -3/2 (*.f64 y y)))))
(+.f64 (fma.f64 -61/240 (pow.f64 y 6) (*.f64 7/8 (pow.f64 y 4))) (fma.f64 -3/2 (*.f64 y y) 1))
(fma.f64 -61/240 (pow.f64 y 6) (fma.f64 -3/2 (*.f64 y y) (fma.f64 7/8 (pow.f64 y 4) 1)))
(fma.f64 -3/2 (*.f64 y y) (fma.f64 -61/240 (pow.f64 y 6) (fma.f64 7/8 (pow.f64 y 4) 1)))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 1 (*.f64 (*.f64 y y) -1/2))
(fma.f64 (*.f64 y y) -1/2 1)
(fma.f64 y (*.f64 y -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24)))
(+.f64 1 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24)))
(fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1))
(fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 1 (fma.f64 -1/2 (*.f64 y y) (*.f64 (pow.f64 y 4) 1/24))))
(+.f64 (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 4) 1/24)) (fma.f64 (pow.f64 y 6) -1/720 1))
(fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1)))
(fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 1)))
(fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) (fma.f64 (pow.f64 y 6) -1/720 1))
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z)
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z)
(fma.f64 (*.f64 y y) (*.f64 -1/2 z) z)
(fma.f64 (*.f64 y z) (*.f64 y -1/2) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))
(*.f64 z (fma.f64 (*.f64 y y) -1/2 (fma.f64 (pow.f64 y 4) 1/24 1)))
(*.f64 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 4) 1/24 1)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)))
(+.f64 z (*.f64 z (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 4) 1/24)))))
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (*.f64 (pow.f64 y 4) 1/24))) z)
(*.f64 (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 (pow.f64 y 4) 1/24 1))) z)
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 y y) 1/24 -1/2) (fma.f64 (pow.f64 y 6) -1/720 1)) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
0.1b
(*.f64 (cos.f64 y) (sqrt.f64 z))
0.1b
(*.f64 x (sin.f64 y))
0.2b
(*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))
Compiler

Compiled 42 to 10 computations (76.2% saved)

series10.0ms (0.1%)

Counts
3 → 72
Calls

21 calls:

TimeVariablePointExpression
1.0ms
z
@inf
(*.f64 (cos.f64 y) (sqrt.f64 z))
1.0ms
z
@-inf
(*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))
1.0ms
z
@0
(*.f64 (cos.f64 y) (sqrt.f64 z))
1.0ms
z
@-inf
(*.f64 (cos.f64 y) (sqrt.f64 z))
1.0ms
y
@inf
(*.f64 (cos.f64 y) (sqrt.f64 z))

rewrite96.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
599×log-prod_binary64
437×pow-prod-down_binary64
378×fma-def_binary64
301×pow2_binary64
229×pow-unpow_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01126
122826
2301226
Stop Event
node limit
Counts
3 → 118
Calls
Call 1
Inputs
(*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) z)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) z))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 y) z)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 y) z))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) z))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 y) z))) 1/3))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 y) (sqrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) (sqrt.f64 z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))) (/.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (/.f64 1 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (/.f64 1 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))) (neg.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))) (neg.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))) (pow.f64 (exp.f64 x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (cos.f64 y)) z) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (exp.f64 (cos.f64 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (cos.f64 y) (sqrt.f64 z)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) z) 1 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sin.f64 y)) 1 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 y) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2))) (*.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (sqrt.f64 z)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 (*.f64 x (sin.f64 y))) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (cbrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 z) (*.f64 (pow.f64 z 1/6) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (pow.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) z) 1/2) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))) (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 z))) 1/2) (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (cbrt.f64 z)) (pow.f64 z 1/6) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (pow.f64 z 1/4)) (pow.f64 z 1/4) (*.f64 x (sin.f64 y)))))))

simplify98.0ms (0.8%)

Algorithm
egg-herbie
Rules
796×unsub-neg_binary64
482×*-commutative_binary64
477×distribute-lft-out_binary64
364×fma-neg_binary64
333×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
059736
1154725
2449708
31491704
42558704
54265702
67190702
Stop Event
node limit
Counts
190 → 147
Calls
Call 1
Inputs
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(sqrt.f64 z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (sqrt.f64 z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))
Outputs
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 -1/2 (*.f64 y y))))
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(sqrt.f64 z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (sqrt.f64 z))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (fma.f64 -1/2 (*.f64 y y) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)) (sqrt.f64 z)))
(*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 (sqrt.f64 z) (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1)))
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))))
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z)) (+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/720 (pow.f64 y 6)) (*.f64 -1/2 (*.f64 y y)))))
(fma.f64 (sqrt.f64 z) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 (sqrt.f64 z) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 (sqrt.f64 z) (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y)))))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z))
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 y x z))
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (fma.f64 y x z))
(fma.f64 y (+.f64 x (*.f64 y (*.f64 z -1/2))) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z)))
(fma.f64 (*.f64 y y) (*.f64 z -1/2) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z)))
(fma.f64 z (*.f64 -1/2 (*.f64 y y)) (fma.f64 (pow.f64 y 3) (*.f64 x -1/6) (fma.f64 y x z)))
(fma.f64 y x (fma.f64 (*.f64 y y) (+.f64 (*.f64 z -1/2) (*.f64 x (*.f64 y -1/6))) z))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2))
0.3b
(*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.6b
(cbrt.f64 x)
Compiler

Compiled 53 to 22 computations (58.5% saved)

series41.0ms (0.3%)

Counts
4 → 36
Calls

18 calls:

TimeVariablePointExpression
15.0ms
x
@inf
(*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2))
7.0ms
x
@inf
(cbrt.f64 x)
3.0ms
x
@-inf
(*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
3.0ms
y
@inf
(*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2))
2.0ms
x
@0
(*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))

rewrite103.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
766×pow1_binary64
705×add-log-exp_binary64
705×log1p-expm1-u_binary64
705×expm1-log1p-u_binary64
688×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
118126
2201126
Stop Event
node limit
Counts
4 → 62
Calls
Call 1
Inputs
(cbrt.f64 x)
(pow.f64 (cbrt.f64 x) 2)
(*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/6) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (cbrt.f64 x)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) 1/3) (pow.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (cbrt.f64 (*.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) (*.f64 (cbrt.f64 (cbrt.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/6) (*.f64 (pow.f64 x 1/6) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 x (*.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sin.f64 y))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (sin.f64 y)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 x) (sqrt.f64 (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x (cbrt.f64 x)) (pow.f64 (sin.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 (cbrt.f64 x) 2)) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 x x) (pow.f64 (sin.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 y) 3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sin.f64 y))))))))

simplify175.0ms (1.5%)

Algorithm
egg-herbie
Rules
1174×unswap-sqr_binary64
649×distribute-lft-out_binary64
624×associate-+l+_binary64
614×*-commutative_binary64
522×sqr-pow_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
044410
1126407
2380368
31372354
42363352
53183352
63332352
73499352
83626352
93777352
105013352
116831352
127181352
137567352
Stop Event
node limit
Counts
98 → 81
Calls
Call 1
Inputs
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y)
(+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))))
(+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))) (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 5)))))
(+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 7))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))) (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 5))))))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
Outputs
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))
(fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y))
(*.f64 x (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) y)))
(*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y)))
(*.f64 x (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y)))
(+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) x)) (+.f64 (*.f64 y x) (+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 y 7) x)) (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (fma.f64 -1/5040 (*.f64 x (pow.f64 y 7)) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))))
(fma.f64 1/120 (*.f64 x (pow.f64 y 5)) (fma.f64 y x (*.f64 x (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (*.f64 -1/5040 (pow.f64 y 7))))))
(*.f64 x (+.f64 (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 -1/6 (pow.f64 y 3))) (fma.f64 1/120 (pow.f64 y 5) y)))
(*.f64 x (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 -1/6 (pow.f64 y 3)))))
(*.f64 x (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 -1/6 (pow.f64 y 3) (*.f64 -1/5040 (pow.f64 y 7)))))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y)
(*.f64 y (cbrt.f64 (*.f64 x x)))
(+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))))
(fma.f64 (cbrt.f64 (*.f64 x x)) y (*.f64 -1/6 (*.f64 (pow.f64 y 3) (cbrt.f64 (*.f64 x x)))))
(fma.f64 y (cbrt.f64 (*.f64 x x)) (*.f64 (pow.f64 y 3) (*.f64 -1/6 (cbrt.f64 (*.f64 x x)))))
(*.f64 (cbrt.f64 (*.f64 x x)) (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))) (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 5)))))
(fma.f64 (cbrt.f64 (*.f64 x x)) y (fma.f64 -1/6 (*.f64 (pow.f64 y 3) (cbrt.f64 (*.f64 x x))) (*.f64 1/120 (*.f64 (pow.f64 y 5) (cbrt.f64 (*.f64 x x))))))
(fma.f64 y (cbrt.f64 (*.f64 x x)) (fma.f64 1/120 (*.f64 (pow.f64 y 5) (cbrt.f64 (*.f64 x x))) (*.f64 (pow.f64 y 3) (*.f64 -1/6 (cbrt.f64 (*.f64 x x))))))
(fma.f64 (pow.f64 y 5) (*.f64 1/120 (cbrt.f64 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x x)) (fma.f64 -1/6 (pow.f64 y 3) y)))
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (fma.f64 -1/6 (pow.f64 y 3) y)))
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (*.f64 -1/6 (pow.f64 y 3)) (fma.f64 1/120 (pow.f64 y 5) y)))
(+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 7))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) y) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 3))) (*.f64 1/120 (*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (pow.f64 y 5))))))
(fma.f64 -1/5040 (*.f64 (pow.f64 y 7) (cbrt.f64 (*.f64 x x))) (fma.f64 (cbrt.f64 (*.f64 x x)) y (fma.f64 -1/6 (*.f64 (pow.f64 y 3) (cbrt.f64 (*.f64 x x))) (*.f64 1/120 (*.f64 (pow.f64 y 5) (cbrt.f64 (*.f64 x x)))))))
(fma.f64 -1/5040 (*.f64 (pow.f64 y 7) (cbrt.f64 (*.f64 x x))) (fma.f64 y (cbrt.f64 (*.f64 x x)) (fma.f64 1/120 (*.f64 (pow.f64 y 5) (cbrt.f64 (*.f64 x x))) (*.f64 (pow.f64 y 3) (*.f64 -1/6 (cbrt.f64 (*.f64 x x)))))))
(+.f64 (*.f64 (cbrt.f64 (*.f64 x x)) (fma.f64 -1/6 (pow.f64 y 3) y)) (*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 -1/5040 (pow.f64 y 7)))))
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (fma.f64 -1/6 (pow.f64 y 3) y) (+.f64 (*.f64 -1/5040 (pow.f64 y 7)) (*.f64 1/120 (pow.f64 y 5)))))
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 -1/5040 (pow.f64 y 7) (*.f64 -1/6 (pow.f64 y 3)))))
(*.f64 (cbrt.f64 (*.f64 x x)) (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (fma.f64 -1/6 (pow.f64 y 3) (*.f64 -1/5040 (pow.f64 y 7)))))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 x 2)) 1/3) (sin.f64 y))
(*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x)))

eval173.0ms (1.5%)

Compiler

Compiled 8468 to 3184 computations (62.4% saved)

prune273.0ms (2.3%)

Pruning

30 alts after pruning (24 fresh and 6 done)

PrunedKeptTotal
New49911510
Fresh71320
Picked011
Done358
Total50930539
Error
0.0b
Counts
539 → 30
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
13.6b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y)))))
44.0b
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
4.9b
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 (cos.f64 y) z))
0.8b
(+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))) (*.f64 z (cos.f64 y)))
25.8b
(*.f64 (cos.f64 y) z)
0.4b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3)))
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1)))
13.6b
(fma.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
32.9b
(+.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (cos.f64 y)))
28.3b
(fma.f64 y x z)
0.8b
(+.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (cos.f64 y)))
32.3b
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
0.6b
(+.f64 (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) (*.f64 z (cos.f64 y)))
1.4b
(pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 3)
31.4b
(+.f64 (*.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y)))
0.1b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
28.3b
(+.f64 (*.f64 y x) z)
37.2b
(*.f64 (sin.f64 y) x)
33.2b
(fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))
52.5b
(*.f64 y x)
24.1b
(+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))
37.7b
z
26.3b
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y x))
18.4b
(+.f64 (*.f64 (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) (*.f64 z (cos.f64 y)))
33.3b
(fma.f64 (*.f64 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))) (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))
21.8b
(+.f64 (*.f64 y x) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
12.9b
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) z)
13.6b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2)))
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))))
Compiler

Compiled 799 to 535 computations (33% saved)

localize47.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (sin.f64 y))
0.1b
(*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))
0.3b
(-.f64 (+.f64 1 (cos.f64 y)) 1)
0.4b
(+.f64 1 (cos.f64 y))
Compiler

Compiled 46 to 24 computations (47.8% saved)

series6.0ms (0.1%)

Counts
3 → 40
Calls

12 calls:

TimeVariablePointExpression
1.0ms
y
@0
(+.f64 1 (cos.f64 y))
1.0ms
y
@-inf
(+.f64 1 (cos.f64 y))
1.0ms
y
@inf
(+.f64 1 (cos.f64 y))
1.0ms
y
@0
(-.f64 (+.f64 1 (cos.f64 y)) 1)
0.0ms
y
@0
(*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))

rewrite100.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
849×pow1_binary64
790×add-log-exp_binary64
790×log1p-expm1-u_binary64
790×expm1-log1p-u_binary64
776×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0827
117315
2241215
Stop Event
node limit
Counts
3 → 93
Calls
Call 1
Inputs
(+.f64 1 (cos.f64 y))
(-.f64 (+.f64 1 (cos.f64 y)) 1)
(*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (cos.f64 y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (cos.f64 y))) (/.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (cbrt.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (sqrt.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (*.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (/.f64 1 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (/.f64 1 (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)) (+.f64 1 (pow.f64 (cos.f64 y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (cos.f64 y)) (*.f64 (sin.f64 y) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) (+.f64 (pow.f64 (cos.f64 y) 2) (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (-.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3))) (neg.f64 (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (sin.f64 y) (sin.f64 y))) (neg.f64 (-.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 y) 2) 1) (+.f64 (cos.f64 y) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (cos.f64 y) 3)) 1) (-.f64 (+.f64 1 (pow.f64 (cos.f64 y) 2)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) 1) (-.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)) 1)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (cos.f64 y) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (cos.f64 y) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 y) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (cos.f64 y) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (sqrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (/.f64 1 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1) (-.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (cos.f64 y) 2) (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (-.f64 1 (*.f64 (+.f64 1 (cos.f64 y)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) (-.f64 (+.f64 1 (cos.f64 y)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))) (neg.f64 (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (cos.f64 y) -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 (cos.f64 y) -1) (+.f64 (cos.f64 y) -1)) (+.f64 (cos.f64 y) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (+.f64 (cos.f64 y) -1) (+.f64 (cos.f64 y) -1))) (-.f64 1 (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cos.f64 y)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (cos.f64 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (cos.f64 y))) 2) (cbrt.f64 (+.f64 1 (cos.f64 y))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (cos.f64 y))) (sqrt.f64 (+.f64 1 (cos.f64 y))) -1)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 z (*.f64 (+.f64 (cos.f64 y) -1) z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 z (*.f64 z (+.f64 (cos.f64 y) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 1 (cos.f64 y)) z) (*.f64 -1 z))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (+.f64 1 (cos.f64 y))) (*.f64 z -1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) z) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) z) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 z (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1)) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 z (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y))) (+.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))))

simplify146.0ms (1.2%)

Algorithm
egg-herbie
Rules
693×fma-def_binary64
577×distribute-rgt-out_binary64
453×associate-*l*_binary64
438×*-commutative_binary64
436×associate-+l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037316
191308
2245293
3769291
42776291
55109291
65377291
75731291
86404291
97293291
Stop Event
node limit
Counts
133 → 116
Calls
Call 1
Inputs
2
(+.f64 2 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
Outputs
2
(+.f64 2 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 2 (*.f64 -1/2 (*.f64 y y)))
(fma.f64 -1/2 (*.f64 y y) 2)
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 2 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 2))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 2 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4)))))
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 2))
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 2)))
(fma.f64 (*.f64 y y) (fma.f64 y (*.f64 y 1/24) -1/2) (fma.f64 -1/720 (pow.f64 y 6) 2))
(fma.f64 -1/2 (*.f64 y y) (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 1/24 (pow.f64 y 4) 2)))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 y 2)))
(+.f64 (*.f64 -1/2 (*.f64 y y)) 1)
(fma.f64 -1/2 (*.f64 y y) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4))))
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) 1)
(+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1))
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1))
(+.f64 (*.f64 -1/720 (pow.f64 y 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 y 2)) (*.f64 1/24 (pow.f64 y 4)))))
(fma.f64 -1/720 (pow.f64 y 6) (+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) 1))
(+.f64 (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))) (fma.f64 -1/720 (pow.f64 y 6) 1))
(fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))
(fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1)))
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(cos.f64 y)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z)
(*.f64 (fma.f64 -1/2 (*.f64 y y) 1) z)
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z)
(fma.f64 y (*.f64 z (*.f64 -1/2 y)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z))
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z)))
(+.f64 z (*.f64 z (fma.f64 -1/720 (pow.f64 y 6) (fma.f64 -1/2 (*.f64 y y) (*.f64 1/24 (pow.f64 y 4))))))
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))))
(*.f64 (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 -1/720 (pow.f64 y 6) 1))) z)
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) (*.f64 -1/720 (pow.f64 y 6)))) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)

localize19.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 y)
0.1b
(*.f64 (cos.f64 y) z)
Compiler

Compiled 11 to 5 computations (54.5% saved)

series3.0ms (0%)

Counts
1 → 12
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@0
(*.f64 (cos.f64 y) z)
0.0ms
z
@-inf
(*.f64 (cos.f64 y) z)
0.0ms
z
@inf
(*.f64 (cos.f64 y) z)
0.0ms
y
@-inf
(*.f64 (cos.f64 y) z)
0.0ms
y
@inf
(*.f64 (cos.f64 y) z)

rewrite62.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
462×pow1_binary64
440×add-sqr-sqrt_binary64
435×*-un-lft-identity_binary64
422×add-log-exp_binary64
422×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1976
211466
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (cos.f64 y) z)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))))

simplify139.0ms (1.2%)

Algorithm
egg-herbie
Rules
779×distribute-lft-out_binary64
740×*-commutative_binary64
526×associate-+l+_binary64
521×distribute-rgt-out_binary64
499×sqr-pow_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025116
163112
2167108
3534105
42186105
54347105
64579105
74871105
85244105
95641105
106032105
117549105
127989105
Stop Event
node limit
Counts
23 → 19
Calls
Call 1
Inputs
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
Outputs
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1))
(*.f64 z (fma.f64 y (*.f64 -1/2 y) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (fma.f64 -1/2 (*.f64 y y) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (fma.f64 1/24 (pow.f64 y 4) (fma.f64 y (*.f64 -1/2 y) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/720 (pow.f64 y 6) (*.f64 -1/2 (*.f64 y y)))))
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) (fma.f64 -1/720 (pow.f64 y 6) 1))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
0.0b
(cos.f64 y)
0.1b
(*.f64 (cos.f64 y) (sqrt.f64 z))
0.2b
(*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))
Compiler

Compiled 38 to 9 computations (76.3% saved)

series3.0ms (0%)

Counts
1 → 36
Calls

9 calls:

TimeVariablePointExpression
0.0ms
y
@0
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
0.0ms
z
@-inf
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
0.0ms
y
@inf
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
0.0ms
y
@-inf
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
0.0ms
x
@0
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))

rewrite82.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
555×log-prod_binary64
416×pow-prod-down_binary64
391×exp-prod_binary64
375×fma-def_binary64
275×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01010
120910
2279510
Stop Event
node limit
Counts
1 → 80
Calls
Call 1
Inputs
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 y x) 2) (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z))) (/.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 y) z (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 2) (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (/.f64 1 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (/.f64 1 (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2)) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 (*.f64 y x) (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2)) (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))) (neg.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))) (neg.f64 (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) (pow.f64 (*.f64 y x) 2)) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 (cos.f64 y) z) (-.f64 (*.f64 (cos.f64 y) z) (*.f64 y x)) (pow.f64 (*.f64 y x) 2)) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (*.f64 (cos.f64 y) z) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 y x) (*.f64 (cos.f64 y) z)) (-.f64 (pow.f64 (*.f64 y x) 2) (pow.f64 (*.f64 (cos.f64 y) z) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 2)) (cbrt.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))) (sqrt.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 y x))) (pow.f64 (exp.f64 (cos.f64 y)) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 y x)) (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 y x))) (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))) (exp.f64 (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (cos.f64 y)) z) (+.f64 1 (expm1.f64 (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 y) z))) (+.f64 1 (expm1.f64 (*.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 (cos.f64 y) z (*.f64 y x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 y x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y x) 1 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (cos.f64 y) (sqrt.f64 z)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) z) 1 (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 y) z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2))) (*.f64 (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (sqrt.f64 z)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 y y)) (*.f64 (cbrt.f64 y) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (cbrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 z) (*.f64 (pow.f64 z 1/6) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 y x)) (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (cbrt.f64 (*.f64 y x)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (pow.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) z) 1/2) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (*.f64 (sqrt.f64 y) x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (*.f64 (cos.f64 y) z)) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 y x)) (sqrt.f64 (*.f64 y x)) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))) (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 z))) 1/2) (sqrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (cbrt.f64 z)) (pow.f64 z 1/6) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (pow.f64 z 1/4)) (pow.f64 z 1/4) (*.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (*.f64 y y))) (cbrt.f64 y) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 y)) (sqrt.f64 y) (*.f64 (cos.f64 y) z))))))

simplify72.0ms (0.6%)

Algorithm
egg-herbie
Rules
474×distribute-lft-out_binary64
406×neg-sub0_binary64
406×neg-mul-1_binary64
375×cancel-sign-sub-inv_binary64
357×distribute-rgt-neg-out_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
031326
175324
2207323
3541321
41962321
53689320
67465320
Stop Event
node limit
Counts
116 → 94
Calls
Call 1
Inputs
z
(+.f64 (*.f64 y x) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 y x)
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))))
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))))
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))))
Outputs
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) z))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x z))
(fma.f64 y x (fma.f64 (*.f64 y y) (*.f64 z -1/2) z))
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 y x z))
(fma.f64 y (+.f64 x (*.f64 -1/2 (*.f64 z y))) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 y x) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 (fma.f64 y x z) (*.f64 1/24 (*.f64 z (pow.f64 y 4)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 y x (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 y x (*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 y (*.f64 y -1/2)))))
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 y x))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))))
(fma.f64 z (cos.f64 y) (*.f64 y x))
(+.f64 (*.f64 y x) (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))))
(fma.f64 z (cos.f64 y) (*.f64 y x))

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))
0.1b
(*.f64 x (sin.f64 y))
0.1b
(*.f64 z (cos.f64 y))
0.2b
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
Compiler

Compiled 50 to 12 computations (76% saved)

series17.0ms (0.1%)

Counts
2 → 40
Calls

18 calls:

TimeVariablePointExpression
2.0ms
z
@inf
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
2.0ms
x
@inf
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
2.0ms
x
@0
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
1.0ms
z
@0
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
1.0ms
z
@-inf
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)

rewrite111.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
542×log-prod_binary64
397×exp-prod_binary64
368×pow-prod-down_binary64
336×fma-def_binary64
294×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01226
125226
2293126
Stop Event
node limit
Counts
2 → 115
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
(sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) (/.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (/.f64 1 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (/.f64 1 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/4) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 5/6) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2)) (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3))) (neg.f64 (fma.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))) (pow.f64 (*.f64 x (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))) (neg.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (pow.f64 (*.f64 x (sin.f64 y)) 2)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (pow.f64 (exp.f64 z) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (pow.f64 (exp.f64 x) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 x (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sin.f64 y)) 1 (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) z (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cos.f64 y)) 1 (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 2) (cbrt.f64 (*.f64 z (cos.f64 y))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (cbrt.f64 (*.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 y)) 2) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 (sin.f64 y)) 2)) (cbrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (cos.f64 y)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4) (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))) (sqrt.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (hypot.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3/2) (pow.f64 (*.f64 x (sin.f64 y)) 3/2)) (hypot.f64 (*.f64 x (sin.f64 y)) (sqrt.f64 (*.f64 (*.f64 z (cos.f64 y)) (-.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/2) (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))) 2)) (cbrt.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))) (sqrt.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 x (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/4 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) 1) 1))))))

simplify96.0ms (0.8%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
473×times-frac_binary64
402×*-commutative_binary64
379×unswap-sqr_binary64
324×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01551177
14871100
216781027
36815951
Stop Event
node limit
Counts
155 → 156
Calls
Call 1
Inputs
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) z))))) (pow.f64 x 2)) (*.f64 (sin.f64 y) x)))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (*.f64 (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)))) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 z 2) (pow.f64 (cos.f64 y) 2)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)))))) (pow.f64 x 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) z))))) (pow.f64 x 2)) (*.f64 (sin.f64 y) x))))
z
(+.f64 (*.f64 y x) z)
(+.f64 (*.f64 y x) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 x 2) z)) (*.f64 -1/2 z)) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) z))
(+.f64 (*.f64 y x) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 x 2) z)) (*.f64 -1/2 z)) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x)))) (pow.f64 z 2)) (*.f64 (sin.f64 y) x)))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (*.f64 (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2))))) (pow.f64 z 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x)))) (pow.f64 z 2)) (*.f64 (sin.f64 y) x))))
(sqrt.f64 (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (sqrt.f64 (*.f64 z (cos.f64 y))))
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2))))))
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))) (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2)))))))
(sqrt.f64 z)
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z)))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (+.f64 (sqrt.f64 z) (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 -1/6 x) (*.f64 1/2 (/.f64 (*.f64 (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2)) x) z))) (pow.f64 y 3)) (sqrt.f64 (/.f64 1 z)))))))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (sqrt.f64 (*.f64 (sin.f64 y) x)))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (+.f64 (*.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5)))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))))))
Outputs
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) z))))) (pow.f64 x 2)) (*.f64 (sin.f64 y) x)))
(fma.f64 z (cos.f64 y) (fma.f64 (fma.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (*.f64 -1/8 (+.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))))) (*.f64 x x) (*.f64 (sin.f64 y) x)))
(fma.f64 z (cos.f64 y) (fma.f64 (sin.f64 y) x (*.f64 (fma.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (*.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) -1/4)) (*.f64 x x))))
(fma.f64 z (cos.f64 y) (*.f64 x (+.f64 (*.f64 x (*.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) 0)) (sin.f64 y))))
(fma.f64 z (cos.f64 y) (*.f64 x (+.f64 (*.f64 x 0) (sin.f64 y))))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (*.f64 (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)))) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 z 2) (pow.f64 (cos.f64 y) 2)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)))))) (pow.f64 x 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 (cos.f64 y) z))))) (pow.f64 x 2)) (*.f64 (sin.f64 y) x))))
(fma.f64 z (cos.f64 y) (fma.f64 (fma.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z))) (fma.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z))) (*.f64 -1/8 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z)))))) (pow.f64 x 3) (fma.f64 (fma.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (*.f64 -1/8 (+.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y)))))) (*.f64 x x) (*.f64 (sin.f64 y) x))))
(fma.f64 z (cos.f64 y) (fma.f64 (fma.f64 1/16 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 z (*.f64 z (pow.f64 (cos.f64 y) 2)))) (*.f64 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 z (*.f64 z (pow.f64 (cos.f64 y) 2)))) -1/16)) (pow.f64 x 3) (fma.f64 (sin.f64 y) x (*.f64 (fma.f64 1/4 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) (*.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) -1/4)) (*.f64 x x)))))
(fma.f64 z (cos.f64 y) (fma.f64 (sin.f64 y) x (*.f64 (*.f64 x x) (+.f64 (*.f64 x (*.f64 (/.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z))) 0)) (*.f64 (/.f64 (pow.f64 (sin.f64 y) 2) (*.f64 z (cos.f64 y))) 0)))))
(fma.f64 z (cos.f64 y) (fma.f64 (sin.f64 y) x (*.f64 (*.f64 x x) (+.f64 0 (*.f64 x 0)))))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(+.f64 (*.f64 y x) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 x 2) z)) (*.f64 -1/2 z)) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) z))
(fma.f64 y x (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 (*.f64 x x) z) (*.f64 z -1/2)) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)) z))
(fma.f64 y x (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 x (/.f64 z x)) (*.f64 z -1/2)) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2)) z))
(fma.f64 y x (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (*.f64 (/.f64 x z) x) (*.f64 z -1/2)) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2)) z))
(fma.f64 y x (fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 1/4 (fma.f64 (/.f64 x z) x (*.f64 (/.f64 1 z) (*.f64 x (neg.f64 x)))))) z))
(+.f64 (*.f64 y x) (+.f64 (*.f64 (pow.f64 y 2) (-.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 x 2) z)) (*.f64 -1/2 z)) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (+.f64 z (*.f64 -1/6 (*.f64 (pow.f64 y 3) x)))))
(fma.f64 y x (+.f64 (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 (*.f64 x x) z) (*.f64 z -1/2)) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)) z) (*.f64 -1/6 (*.f64 x (pow.f64 y 3)))))
(fma.f64 y x (fma.f64 (*.f64 y y) (-.f64 (fma.f64 1/4 (/.f64 x (/.f64 z x)) (*.f64 z -1/2)) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2)) (fma.f64 -1/6 (*.f64 x (pow.f64 y 3)) z)))
(fma.f64 y (*.f64 y (-.f64 (fma.f64 1/4 (*.f64 (/.f64 x z) x) (*.f64 z -1/2)) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2))) (fma.f64 y x (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z)))
(fma.f64 y (*.f64 y (fma.f64 z -1/2 (*.f64 1/4 (fma.f64 (/.f64 x z) x (*.f64 (/.f64 1 z) (*.f64 x (neg.f64 x))))))) (fma.f64 y x (fma.f64 x (*.f64 -1/6 (pow.f64 y 3)) z)))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x)))) (pow.f64 z 2)) (*.f64 (sin.f64 y) x)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (*.f64 (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2))))) (pow.f64 z 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x))) (*.f64 -1/4 (/.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (sin.f64 y) x)))) (pow.f64 z 2)) (*.f64 (sin.f64 y) x))))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(sqrt.f64 (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (sqrt.f64 (*.f64 z (cos.f64 y))))
(fma.f64 1/2 (*.f64 (*.f64 (sin.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y))))) (sqrt.f64 (*.f64 z (cos.f64 y))))
(fma.f64 1/2 (*.f64 x (*.f64 (sin.f64 y) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y)))))) (sqrt.f64 (*.f64 z (cos.f64 y))))
(fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 z) (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y))))
(fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 (cos.f64 y)) z))) (sqrt.f64 (*.f64 z (cos.f64 y))))
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2))))))
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 (sin.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y))))) (sqrt.f64 (*.f64 z (cos.f64 y)))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))))))
(fma.f64 1/2 (*.f64 x (*.f64 (sin.f64 y) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y)))))) (fma.f64 -1/8 (*.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 (cos.f64 y) 3)) (pow.f64 z 3)))) (sqrt.f64 (*.f64 z (cos.f64 y)))))
(fma.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 z) (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y)))))
(fma.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 (cos.f64 y)) z))) (sqrt.f64 (*.f64 z (cos.f64 y)))))
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cos.f64 y) z))) (*.f64 (sin.f64 y) x))) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))) (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))) (*.f64 (pow.f64 (sin.f64 y) 2) (pow.f64 x 2)))))))
(fma.f64 1/2 (*.f64 (*.f64 (sin.f64 y) x) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y))))) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))) (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))) (+.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (sin.f64 y) 2) (*.f64 x x)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))))))))
(fma.f64 1/2 (*.f64 x (*.f64 (sin.f64 y) (sqrt.f64 (/.f64 1 (*.f64 z (cos.f64 y)))))) (fma.f64 1/16 (*.f64 (pow.f64 (sin.f64 y) 3) (*.f64 (pow.f64 x 3) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))))) (fma.f64 -1/8 (*.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (sqrt.f64 (/.f64 (/.f64 1 (pow.f64 (cos.f64 y) 3)) (pow.f64 z 3)))) (sqrt.f64 (*.f64 z (cos.f64 y))))))
(fma.f64 1/16 (*.f64 (pow.f64 x 3) (*.f64 (pow.f64 (sin.f64 y) 3) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))))) (fma.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 z) (cos.f64 y)))) (sqrt.f64 (*.f64 z (cos.f64 y))))))
(fma.f64 1/16 (*.f64 (pow.f64 x 3) (*.f64 (pow.f64 (sin.f64 y) 3) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 5) (pow.f64 z 5)))))) (fma.f64 (*.f64 x (*.f64 x (pow.f64 (sin.f64 y) 2))) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))) (fma.f64 (*.f64 (sin.f64 y) x) (*.f64 1/2 (sqrt.f64 (/.f64 (/.f64 1 (cos.f64 y)) z))) (sqrt.f64 (*.f64 z (cos.f64 y))))))
(sqrt.f64 z)
(+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z))
(fma.f64 1/2 (*.f64 y (*.f64 x (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z))
(fma.f64 (*.f64 (*.f64 1/2 x) y) (sqrt.f64 (/.f64 1 z)) (sqrt.f64 z))
(fma.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 y (*.f64 x 1/2)) (sqrt.f64 z))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z)))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)))) (fma.f64 1/2 (*.f64 y (*.f64 x (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z)))
(+.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 (*.f64 1/2 (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2))) (*.f64 y y)) (*.f64 (*.f64 1/2 x) y))))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2))) (*.f64 y x))) (sqrt.f64 z))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 (*.f64 x x) (*.f64 -1/4 (/.f64 1 z))))) (*.f64 y x))) (sqrt.f64 z))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (pow.f64 y 2) (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2))) (sqrt.f64 (/.f64 1 z)))) (+.f64 (*.f64 1/2 (*.f64 (*.f64 y x) (sqrt.f64 (/.f64 1 z)))) (+.f64 (sqrt.f64 z) (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 -1/6 x) (*.f64 1/2 (/.f64 (*.f64 (-.f64 (*.f64 -1/2 z) (pow.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) x)) 2)) x) z))) (pow.f64 y 3)) (sqrt.f64 (/.f64 1 z)))))))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)))) (+.f64 (fma.f64 1/2 (*.f64 y (*.f64 x (sqrt.f64 (/.f64 1 z)))) (sqrt.f64 z)) (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 (pow.f64 y 3) (-.f64 (*.f64 x -1/6) (*.f64 1/2 (/.f64 (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 1/2 (*.f64 x (sqrt.f64 (/.f64 1 z)))) 2)) (/.f64 z x)))))))))
(+.f64 (fma.f64 1/2 (*.f64 (fma.f64 x -1/6 (*.f64 -1/2 (/.f64 (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2)) (/.f64 z x)))) (*.f64 (sqrt.f64 (/.f64 1 z)) (pow.f64 y 3))) (sqrt.f64 z)) (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 (*.f64 1/2 (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 z)) (*.f64 x 1/2)) 2))) (*.f64 y y)) (*.f64 (*.f64 1/2 x) y))))
(+.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 1/2 (+.f64 (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2))) (*.f64 y x))) (*.f64 (fma.f64 x -1/6 (/.f64 -1/2 (/.f64 (/.f64 z x) (-.f64 (*.f64 z -1/2) (pow.f64 (*.f64 x (*.f64 1/2 (sqrt.f64 (/.f64 1 z)))) 2))))) (*.f64 1/2 (pow.f64 y 3))))))
(+.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 (/.f64 1 z)) (+.f64 (*.f64 1/2 (+.f64 (*.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 (*.f64 x x) (*.f64 -1/4 (/.f64 1 z))))) (*.f64 y x))) (*.f64 (fma.f64 x -1/6 (*.f64 (/.f64 (*.f64 -1/2 (fma.f64 z -1/2 (*.f64 (*.f64 x x) (*.f64 -1/4 (/.f64 1 z))))) z) x)) (*.f64 1/2 (pow.f64 y 3))))))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (+.f64 (*.f64 (cos.f64 y) z) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x)))
(sqrt.f64 (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (sqrt.f64 (*.f64 (sin.f64 y) x)))
(fma.f64 1/2 (*.f64 (*.f64 z (cos.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x)))) (sqrt.f64 (*.f64 (sin.f64 y) x)))
(fma.f64 1/2 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (sqrt.f64 (*.f64 (sin.f64 y) x)))
(fma.f64 (*.f64 z (cos.f64 y)) (*.f64 1/2 (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x)))) (sqrt.f64 (*.f64 (sin.f64 y) x)))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))))
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 z (cos.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x)))) (sqrt.f64 (*.f64 (sin.f64 y) x))) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))))
(fma.f64 1/2 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) (sqrt.f64 (*.f64 (sin.f64 y) x))))
(fma.f64 (cos.f64 y) (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (*.f64 z z) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))) (sqrt.f64 (*.f64 (sin.f64 y) x))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 (cos.f64 y) z) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (+.f64 (*.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5)))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 z 2)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))))))
(fma.f64 1/2 (*.f64 (*.f64 z (cos.f64 y)) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x)))) (fma.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5))))) (+.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (*.f64 -1/8 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z z)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))))))
(fma.f64 1/2 (*.f64 z (*.f64 (cos.f64 y) (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (fma.f64 1/16 (*.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 z (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3))))))) (sqrt.f64 (*.f64 (sin.f64 y) x)))))
(fma.f64 (cos.f64 y) (*.f64 1/2 (*.f64 z (sqrt.f64 (/.f64 1 (*.f64 (sin.f64 y) x))))) (fma.f64 -1/8 (*.f64 (pow.f64 (cos.f64 y) 2) (*.f64 (*.f64 z z) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 3) (pow.f64 x 3)))))) (fma.f64 1/16 (*.f64 (pow.f64 (cos.f64 y) 3) (*.f64 (pow.f64 z 3) (sqrt.f64 (/.f64 1 (*.f64 (pow.f64 (sin.f64 y) 5) (pow.f64 x 5)))))) (sqrt.f64 (*.f64 (sin.f64 y) x)))))

localize45.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
0.1b
(*.f64 x (sin.f64 y))
0.3b
(pow.f64 (cos.f64 y) 3)
36.3b
(cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))
Compiler

Compiled 53 to 29 computations (45.3% saved)

series12.0ms (0.1%)

Counts
2 → 36
Calls

12 calls:

TimeVariablePointExpression
2.0ms
z
@-inf
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
2.0ms
z
@0
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
2.0ms
y
@inf
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
1.0ms
y
@0
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
1.0ms
z
@inf
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))

rewrite90.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
776×pow1_binary64
722×add-log-exp_binary64
722×log1p-expm1-u_binary64
722×expm1-log1p-u_binary64
700×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
119415
2204515
Stop Event
node limit
Counts
2 → 37
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3)))
(*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 y) z)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) z)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 2) (cbrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) (sqrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2) 1/3) (cbrt.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 y)) z))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 y) z)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 y) z)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 y) z) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 y) z) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 y) z) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 3) 3) (pow.f64 (pow.f64 z 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 z 3) 3) (pow.f64 (pow.f64 (cos.f64 y) 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (cos.f64 y) z) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 y) z))))))))

simplify145.0ms (1.2%)

Algorithm
egg-herbie
Rules
1552×unswap-sqr_binary64
593×distribute-lft-out_binary64
478×distribute-rgt-in_binary64
461×*-commutative_binary64
360×distribute-rgt-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047406
1127396
2438379
31754374
43311374
54001374
64557374
75431374
85661374
96542374
Stop Event
node limit
Counts
73 → 54
Calls
Call 1
Inputs
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(pow.f64 z 3)
(+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (pow.f64 z 3))
(+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (+.f64 (*.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3))) (pow.f64 z 3)))
(+.f64 (*.f64 -61/240 (*.f64 (pow.f64 y 6) (pow.f64 z 3))) (+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (+.f64 (*.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3))) (pow.f64 z 3))))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
Outputs
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1))
(fma.f64 z (*.f64 y (*.f64 -1/2 y)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (fma.f64 -1/2 (*.f64 y y) 1) (*.f64 1/24 (pow.f64 y 4))))
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(neg.f64 (*.f64 (*.f64 z (cos.f64 y)) (cbrt.f64 -1)))
(*.f64 (*.f64 z (cos.f64 y)) (neg.f64 (cbrt.f64 -1)))
(*.f64 z (*.f64 (cos.f64 y) (neg.f64 (cbrt.f64 -1))))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(neg.f64 (*.f64 (*.f64 z (cos.f64 y)) (cbrt.f64 -1)))
(*.f64 (*.f64 z (cos.f64 y)) (neg.f64 (cbrt.f64 -1)))
(*.f64 z (*.f64 (cos.f64 y) (neg.f64 (cbrt.f64 -1))))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(neg.f64 (*.f64 (*.f64 z (cos.f64 y)) (cbrt.f64 -1)))
(*.f64 (*.f64 z (cos.f64 y)) (neg.f64 (cbrt.f64 -1)))
(*.f64 z (*.f64 (cos.f64 y) (neg.f64 (cbrt.f64 -1))))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 y) z)))
(neg.f64 (*.f64 (*.f64 z (cos.f64 y)) (cbrt.f64 -1)))
(*.f64 (*.f64 z (cos.f64 y)) (neg.f64 (cbrt.f64 -1)))
(*.f64 z (*.f64 (cos.f64 y) (neg.f64 (cbrt.f64 -1))))
(pow.f64 z 3)
(+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (pow.f64 z 3))
(fma.f64 -3/2 (*.f64 (*.f64 y y) (pow.f64 z 3)) (pow.f64 z 3))
(*.f64 (+.f64 (*.f64 (*.f64 y y) -3/2) 1) (pow.f64 z 3))
(*.f64 (pow.f64 z 3) (fma.f64 (*.f64 y y) -3/2 1))
(+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (+.f64 (*.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3))) (pow.f64 z 3)))
(fma.f64 -3/2 (*.f64 (*.f64 y y) (pow.f64 z 3)) (fma.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3)) (pow.f64 z 3)))
(+.f64 (pow.f64 z 3) (*.f64 (pow.f64 z 3) (+.f64 (*.f64 (*.f64 y y) -3/2) (*.f64 (pow.f64 y 4) 7/8))))
(*.f64 (pow.f64 z 3) (+.f64 (*.f64 y (*.f64 y -3/2)) (fma.f64 (pow.f64 y 4) 7/8 1)))
(*.f64 (pow.f64 z 3) (+.f64 1 (fma.f64 (*.f64 y y) -3/2 (*.f64 (pow.f64 y 4) 7/8))))
(+.f64 (*.f64 -61/240 (*.f64 (pow.f64 y 6) (pow.f64 z 3))) (+.f64 (*.f64 -3/2 (*.f64 (pow.f64 y 2) (pow.f64 z 3))) (+.f64 (*.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3))) (pow.f64 z 3))))
(fma.f64 -61/240 (*.f64 (pow.f64 y 6) (pow.f64 z 3)) (fma.f64 -3/2 (*.f64 (*.f64 y y) (pow.f64 z 3)) (fma.f64 7/8 (*.f64 (pow.f64 y 4) (pow.f64 z 3)) (pow.f64 z 3))))
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 y 4) 7/8) 1) (pow.f64 z 3)) (*.f64 (pow.f64 z 3) (+.f64 (*.f64 (pow.f64 y 6) -61/240) (*.f64 (*.f64 y y) -3/2))))
(fma.f64 (pow.f64 z 3) (fma.f64 (pow.f64 y 6) -61/240 (*.f64 y (*.f64 y -3/2))) (*.f64 (pow.f64 z 3) (fma.f64 (pow.f64 y 4) 7/8 1)))
(*.f64 (pow.f64 z 3) (+.f64 (fma.f64 (pow.f64 y 4) 7/8 1) (fma.f64 (pow.f64 y 6) -61/240 (*.f64 y (*.f64 y -3/2)))))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))
(*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))

eval431.0ms (3.7%)

Compiler

Compiled 12841 to 5596 computations (56.4% saved)

prune152.0ms (1.3%)

Pruning

29 alts after pruning (21 fresh and 8 done)

PrunedKeptTotal
New74313756
Fresh11819
Picked101
Done2810
Total75729786
Error
0.0b
Counts
786 → 29
Alt Table
Click to see full alt table
StatusErrorProgram
44.0b
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
0.8b
(+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))) (*.f64 z (cos.f64 y)))
25.8b
(*.f64 (cos.f64 y) z)
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1)))
33.4b
(*.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2) z)
41.3b
(+.f64 (*.f64 y x) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))
12.9b
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) z)
42.1b
(pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2)) 2)
32.9b
(+.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (cos.f64 y)))
37.7b
z
28.3b
(fma.f64 y x z)
0.8b
(+.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (cos.f64 y)))
0.6b
(+.f64 (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) (*.f64 z (cos.f64 y)))
25.8b
(*.f64 (log.f64 (exp.f64 (cos.f64 y))) z)
0.1b
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
28.3b
(+.f64 (*.f64 y x) z)
37.2b
(*.f64 (sin.f64 y) x)
52.5b
(*.f64 y x)
46.0b
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)
25.8b
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z)
26.5b
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) z) (*.f64 -1 z)))
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
49.0b
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) 2)
31.4b
(+.f64 (*.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y)))
0.2b
(+.f64 (*.f64 x (sin.f64 y)) (/.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) z) (+.f64 (cos.f64 y) 2)))
0.3b
(+.f64 (*.f64 x (sin.f64 y)) (/.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) z) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2))))
33.4b
(*.f64 (exp.f64 (log.f64 (cos.f64 y))) z)
18.4b
(+.f64 (*.f64 (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) (*.f64 z (cos.f64 y)))
Compiler

Compiled 391 to 270 computations (30.9% saved)

regimes256.0ms (2.2%)

Counts
68 → 1
Calls
Call 1
Inputs
z
z
z
(*.f64 y x)
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1)))
(+.f64 (*.f64 x (sin.f64 y)) (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) z) (*.f64 -1 z)))
(*.f64 (log.f64 (exp.f64 (cos.f64 y))) z)
(*.f64 (exp.f64 (log.f64 (cos.f64 y))) z)
(*.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2) z)
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z)
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) 2)
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) z)
(+.f64 (*.f64 y x) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
(+.f64 (*.f64 y x) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y)))))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (exp.f64 (log.f64 (cos.f64 y)))))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2)))
(pow.f64 (sqrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 2)
(pow.f64 (cbrt.f64 (+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))) 3)
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (sqrt.f64 (cos.f64 y)) 2)))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3)))
(+.f64 (pow.f64 (sqrt.f64 (*.f64 x (sin.f64 y))) 2) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
(+.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 3) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (pow.f64 (*.f64 z (cos.f64 y)) 3)))
(+.f64 (*.f64 x (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
(+.f64 (*.f64 y x) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
(+.f64 (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (exp.f64 (log1p.f64 (cos.f64 y))) 1)))
(+.f64 (*.f64 (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x)) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 x (sin.f64 y)) (/.f64 (*.f64 (*.f64 (+.f64 (cos.f64 y) 2) (cos.f64 y)) z) (+.f64 (cos.f64 y) 2)))
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 y x))
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (sin.f64 y)))
(fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (cos.f64 y)))
(+.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 x)) 3) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 x (sin.f64 y)) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) (pow.f64 z 3))))
(+.f64 (*.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) (*.f64 z (cos.f64 y)))
(pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3/2)) 2)
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
(fma.f64 (*.f64 x (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 z (cos.f64 y)))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sin.f64 y)) (*.f64 z (cos.f64 y)))
(fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (cos.f64 y)))
(fma.f64 (pow.f64 z 1/4) (*.f64 (pow.f64 z 1/4) (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))
(fma.f64 (*.f64 z (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 y))) 1)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
(/.f64 1 (/.f64 (-.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))) (-.f64 (pow.f64 (*.f64 x (sin.f64 y)) 2) (pow.f64 (*.f64 z (cos.f64 y)) 2))))
(+.f64 (*.f64 x (sin.f64 y)) (/.f64 (*.f64 (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 3) -1) z) (+.f64 (pow.f64 (+.f64 1 (cos.f64 y)) 2) (+.f64 (cos.f64 y) 2))))
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 (cos.f64 y) z))
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) x) (*.f64 z (cos.f64 y)))
(fma.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 3/2) 1/3)) (sqrt.f64 (cos.f64 y)) (*.f64 x (sin.f64 y)))
(fma.f64 (*.f64 (sqrt.f64 z) (cbrt.f64 (*.f64 z (pow.f64 (cos.f64 y) 2)))) (cbrt.f64 (*.f64 (cos.f64 y) (sqrt.f64 z))) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sin.f64 y))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 x (sin.f64 y))))) (*.f64 z (cos.f64 y)))
Outputs
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
Calls

5 calls:

70.0ms
z
57.0ms
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
38.0ms
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
36.0ms
x
33.0ms
y
Results
ErrorSegmentsBranch
0.1b1x
0.1b1y
0.1b1z
0.1b1(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
0.1b1(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
Compiler

Compiled 801 to 275 computations (65.7% saved)

regimes70.0ms (0.6%)

Counts
22 → 1
Calls
Call 1
Inputs
z
z
z
(*.f64 y x)
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (-.f64 (+.f64 1 (cos.f64 y)) 1)))
(+.f64 (*.f64 x (sin.f64 y)) (+.f64 (*.f64 (+.f64 1 (cos.f64 y)) z) (*.f64 -1 z)))
(*.f64 (log.f64 (exp.f64 (cos.f64 y))) z)
(*.f64 (exp.f64 (log.f64 (cos.f64 y))) z)
(*.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 2) z)
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 y) z)) 2)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 3)) z)
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) 3)
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) 2)
Outputs
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
Calls

4 calls:

31.0ms
y
12.0ms
z
11.0ms
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
10.0ms
x
Results
ErrorSegmentsBranch
0.1b1x
0.1b1y
0.1b1z
0.1b1(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
Compiler

Compiled 150 to 66 computations (56% saved)

regimes138.0ms (1.2%)

Counts
12 → 6
Calls
Call 1
Inputs
z
z
z
(*.f64 y x)
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
Outputs
(*.f64 (sin.f64 y) x)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
(*.f64 (sin.f64 y) x)
(*.f64 (cos.f64 y) z)
Calls

3 calls:

61.0ms
y
54.0ms
x
21.0ms
z
Results
ErrorSegmentsBranch
11.6b6x
10.2b6y
16.2b3z
Compiler

Compiled 54 to 19 computations (64.8% saved)

bsearch358.0ms (3%)

Algorithm
binary-search
Steps
TimeLeftRight
149.0ms
6.937114074321918e+167
2.1471348802717704e+178
80.0ms
4.730321874199684e+105
3.3397597268094346e+106
41.0ms
2.5221648677339053e+61
4.8395848027852803e+61
51.0ms
9.761974989807316e-5
402.3546205012707
36.0ms
-604415900.6623467
-704050.1279253244
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes117.0ms (1%)

Counts
7 → 3
Calls
Call 1
Inputs
z
z
z
(*.f64 y x)
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
Outputs
(*.f64 (sin.f64 y) x)
(fma.f64 y x z)
(*.f64 (sin.f64 y) x)
Calls

3 calls:

55.0ms
x
29.0ms
z
28.0ms
y
Results
ErrorSegmentsBranch
20.5b5x
13.3b3y
23.0b3z
Compiler

Compiled 34 to 17 computations (50% saved)

bsearch114.0ms (1%)

Algorithm
binary-search
Steps
TimeLeftRight
55.0ms
9.761974989807316e-5
402.3546205012707
59.0ms
-604415900.6623467
-704050.1279253244
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes35.0ms (0.3%)

Counts
6 → 1
Calls
Call 1
Inputs
z
z
z
(*.f64 y x)
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
Outputs
(fma.f64 y x z)
Calls

3 calls:

12.0ms
z
11.0ms
x
10.0ms
y
Results
ErrorSegmentsBranch
28.3b1x
28.3b1y
28.3b1z
Compiler

Compiled 30 to 15 computations (50% saved)

regimes31.0ms (0.3%)

Counts
5 → 1
Calls
Call 1
Inputs
z
z
z
(*.f64 y x)
(+.f64 (*.f64 y x) z)
Outputs
(+.f64 (*.f64 y x) z)
Calls

3 calls:

11.0ms
x
9.0ms
z
9.0ms
y
Results
ErrorSegmentsBranch
28.3b1x
28.3b1y
28.3b1z
Compiler

Compiled 26 to 14 computations (46.2% saved)

regimes69.0ms (0.6%)

Counts
4 → 3
Calls
Call 1
Inputs
z
z
z
(*.f64 y x)
Outputs
(*.f64 y x)
z
(*.f64 y x)
Calls

3 calls:

23.0ms
y
22.0ms
z
21.0ms
x
Results
ErrorSegmentsBranch
33.1b3x
36.5b3y
35.6b3z
Compiler

Compiled 21 to 13 computations (38.1% saved)

bsearch252.0ms (2.1%)

Algorithm
binary-search
Steps
TimeLeftRight
108.0ms
5.1016843920844816e+70
1.8669796251449186e+77
144.0ms
-2.211277618029156e+144
-3.622989463885593e+143
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes43.0ms (0.4%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0.0b (-0%)

Counts
3 → 1
Calls
Call 1
Inputs
z
z
z
Outputs
z
Calls

3 calls:

27.0ms
x
7.0ms
z
7.0ms
y
Results
ErrorSegmentsBranch
37.7b1x
37.7b1y
37.7b1z
Compiler

Compiled 18 to 12 computations (33.3% saved)

simplify14.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039154
143154
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(if (<=.f64 y -5070208059623367/8388608) (*.f64 (sin.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (fma.f64 y x z) (if (<=.f64 y 25221648677339052555158849107147970065146691258237195823087616) (*.f64 (sin.f64 y) x) (if (<=.f64 y 4730321874199684355237876117647019059884929043509986685352018486669676818946792797178794990944361637740544) (*.f64 (cos.f64 y) z) (if (<=.f64 y 693711407432191847871237852445441522179885412222223354749941714672826188606267126714014106763233899286457111197804466535164200315836298460699095141119289971686275809280) (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))))))
(if (<=.f64 y -5070208059623367/8388608) (*.f64 (sin.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (fma.f64 y x z) (*.f64 (sin.f64 y) x)))
(fma.f64 y x z)
(+.f64 (*.f64 y x) z)
(if (<=.f64 x -2211277618029155850943644891577266239854975638463706623165775804869942734785280159331243820385080596642094413371174832874194019408713729477443584) (*.f64 y x) (if (<=.f64 x 51016843920844815664550888336220858787399503533712864000016991234555904) z (*.f64 y x)))
z
Outputs
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(if (<=.f64 y -5070208059623367/8388608) (*.f64 (sin.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (fma.f64 y x z) (if (<=.f64 y 25221648677339052555158849107147970065146691258237195823087616) (*.f64 (sin.f64 y) x) (if (<=.f64 y 4730321874199684355237876117647019059884929043509986685352018486669676818946792797178794990944361637740544) (*.f64 (cos.f64 y) z) (if (<=.f64 y 693711407432191847871237852445441522179885412222223354749941714672826188606267126714014106763233899286457111197804466535164200315836298460699095141119289971686275809280) (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))))))
(if (<=.f64 y -5070208059623367/8388608) (*.f64 (sin.f64 y) x) (if (<=.f64 y 7203066171637159/73786976294838206464) (fma.f64 y x z) (*.f64 (sin.f64 y) x)))
(fma.f64 y x z)
(+.f64 (*.f64 y x) z)
(+.f64 z (*.f64 y x))
(if (<=.f64 x -2211277618029155850943644891577266239854975638463706623165775804869942734785280159331243820385080596642094413371174832874194019408713729477443584) (*.f64 y x) (if (<=.f64 x 51016843920844815664550888336220858787399503533712864000016991234555904) z (*.f64 y x)))
z
Compiler

Compiled 130 to 72 computations (44.6% saved)

soundness245.0ms (2.1%)

Algorithm
egg-herbie
Rules
853×fma-def_binary64
757×sqr-pow_binary64
556×distribute-lft-out_binary64
476×*-commutative_binary64
441×cube-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
21612
025396
163394
2151394
3400391
41332388
52659388
64130388
74254388
84430388
94644388
104980388
115334388
125810388
136353388
147015388
157843388
Stop Event
node limit
saturated
Compiler

Compiled 46 to 30 computations (34.8% saved)

end100.0ms (0.8%)

Compiler

Compiled 109 to 39 computations (64.2% saved)

Profiling

Loading profile data...