Details

Time bar (total: 4.7s)

analyze490.0ms (10.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
37.4%62.4%0.1%7
56.2%43.7%0.1%8
56.2%43.7%0.1%9
65.5%34.3%0.1%10
76.5%23.4%0.1%11
76.5%23.4%0.1%12
81.9%17.9%0.1%13
87.8%12.1%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.8s (59.9%)

Results
1.4s2018×body1024valid
757.0ms4632×body128valid
430.0ms1057×body512valid
152.0ms545×body256valid
6.0msbody2048valid
Compiler

Compiled 26 to 18 computations (30.8% saved)

preprocess16.0ms (0.3%)

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 (cos.f64 y)) (*.f64 z (sin.f64 y)))
(+.f64 (*.f64 y (cos.f64 x)) (*.f64 z (sin.f64 x)))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))
(+.f64 (*.f64 x (cos.f64 z)) (*.f64 y (sin.f64 z)))
Outputs
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(+.f64 (*.f64 y (cos.f64 x)) (*.f64 z (sin.f64 x)))
(fma.f64 y (cos.f64 x) (*.f64 z (sin.f64 x)))
(+.f64 (*.f64 z (cos.f64 y)) (*.f64 x (sin.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 x (sin.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 x (cos.f64 z)) (*.f64 y (sin.f64 z)))
(fma.f64 x (cos.f64 z) (*.f64 y (sin.f64 z)))
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify8.0ms (0.2%)

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 (cos.f64 y)) (*.f64 z (sin.f64 y)))
Outputs
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 44 to 25 computations (43.2% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series27.0ms (0.6%)

Counts
3 → 84
Calls

21 calls:

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

rewrite47.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
484×log-prod_binary64
325×fma-def_binary64
176×pow1/3_binary64
176×expm1-udef_binary64
176×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0924
118724
2249624
Stop Event
node limit
Counts
3 → 99
Calls
Call 1
Inputs
(*.f64 z (sin.f64 y))
(*.f64 x (cos.f64 y))
(+.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y))) (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 z (sin.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (sin.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 z) (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 z (sin.f64 y))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y))) (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (cos.f64 y))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))) (/.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 2) (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (/.f64 1 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (/.f64 1 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (+.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (*.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2)) (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) (neg.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))) (neg.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (pow.f64 (exp.f64 x) (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 z) (sin.f64 y)) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (pow.f64 (exp.f64 z) (sin.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (cos.f64 y)) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (cos.f64 y)))) (+.f64 1 (expm1.f64 (*.f64 z (sin.f64 y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 y) z (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sin.f64 y)) 1 (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cos.f64 y)) 1 (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2)) (cbrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 2)) (cbrt.f64 (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 z (sin.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)) x) (*.f64 z (sin.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)) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 x (cos.f64 y))) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 z (sin.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (*.f64 x (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))) 1))))))

simplify46.0ms (1%)

Algorithm
egg-herbie
Rules
655×fma-neg_binary64
402×sub-neg_binary64
335×*-commutative_binary64
251×distribute-lft-neg-in_binary64
243×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054790
1158781
2492760
31885758
44749758
Stop Event
node limit
Counts
183 → 123
Calls
Call 1
Inputs
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 y z)
(-.f64 (*.f64 y z) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 y z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 y z)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
x
(-.f64 x (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 y 6) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))))
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
x
(+.f64 (*.f64 y z) x)
(-.f64 (+.f64 (*.f64 y z) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(-.f64 (+.f64 (*.f64 y z) x) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) x)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
Outputs
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 y z)
(-.f64 (*.f64 y z) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))
(+.f64 (*.f64 y z) (*.f64 -1/6 (*.f64 z (pow.f64 y 3))))
(*.f64 z (-.f64 y (*.f64 1/6 (pow.f64 y 3))))
(*.f64 z (+.f64 y (*.f64 (pow.f64 y 3) -1/6)))
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 y z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z)))
(+.f64 (fma.f64 1/120 (*.f64 z (pow.f64 y 5)) (*.f64 y z)) (*.f64 -1/6 (*.f64 z (pow.f64 y 3))))
(fma.f64 1/120 (*.f64 z (pow.f64 y 5)) (*.f64 z (-.f64 y (*.f64 1/6 (pow.f64 y 3)))))
(*.f64 z (-.f64 (fma.f64 1/120 (pow.f64 y 5) y) (*.f64 1/6 (pow.f64 y 3))))
(*.f64 z (+.f64 (fma.f64 1/120 (pow.f64 y 5) y) (*.f64 (pow.f64 y 3) -1/6)))
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 y 5) z)) (*.f64 y z)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 y 7) z)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
(-.f64 (fma.f64 1/120 (*.f64 z (pow.f64 y 5)) (*.f64 y z)) (fma.f64 1/5040 (*.f64 z (pow.f64 y 7)) (*.f64 1/6 (*.f64 z (pow.f64 y 3)))))
(-.f64 (*.f64 z (+.f64 y (*.f64 1/120 (pow.f64 y 5)))) (*.f64 z (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 1/5040 (pow.f64 y 7)))))
(*.f64 z (-.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 z (-.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) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (sin.f64 y) z)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
x
(-.f64 x (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(+.f64 x (*.f64 -1/2 (*.f64 x (*.f64 y y))))
(+.f64 x (*.f64 (*.f64 -1/2 x) (*.f64 y y)))
(fma.f64 (*.f64 y (*.f64 y x)) -1/2 x)
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 1/2 (*.f64 x (*.f64 y y))))
(+.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 (*.f64 -1/2 x) (*.f64 y y)))
(*.f64 x (+.f64 (*.f64 (*.f64 y y) -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)))
(+.f64 x (*.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2)))))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 y 6) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))))
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (fma.f64 1/720 (*.f64 x (pow.f64 y 6)) (*.f64 1/2 (*.f64 x (*.f64 y y)))))
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 x (+.f64 (*.f64 1/2 (*.f64 y y)) (*.f64 1/720 (pow.f64 y 6)))))
(+.f64 x (*.f64 x (-.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 1/720 (pow.f64 y 6) (*.f64 1/2 (*.f64 y y))))))
(*.f64 x (-.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 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (cos.f64 y) x)
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
x
(+.f64 (*.f64 y z) x)
(fma.f64 y z x)
(-.f64 (+.f64 (*.f64 y z) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(+.f64 (fma.f64 y z x) (*.f64 -1/2 (*.f64 x (*.f64 y y))))
(+.f64 (fma.f64 y z x) (*.f64 (*.f64 -1/2 x) (*.f64 y y)))
(fma.f64 y z (fma.f64 (*.f64 y (*.f64 y x)) -1/2 x))
(fma.f64 (*.f64 y (*.f64 y x)) -1/2 (fma.f64 y z x))
(-.f64 (+.f64 (*.f64 y z) x) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) x)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
(-.f64 (fma.f64 y z x) (fma.f64 1/2 (*.f64 x (*.f64 y y)) (*.f64 1/6 (*.f64 z (pow.f64 y 3)))))
(-.f64 (fma.f64 y z x) (fma.f64 1/6 (*.f64 z (pow.f64 y 3)) (*.f64 (*.f64 y y) (*.f64 x 1/2))))
(+.f64 (fma.f64 (*.f64 y (*.f64 y x)) -1/2 x) (*.f64 z (+.f64 y (*.f64 (pow.f64 y 3) -1/6))))
(+.f64 x (fma.f64 z (+.f64 y (*.f64 (pow.f64 y 3) -1/6)) (*.f64 y (*.f64 -1/2 (*.f64 y x)))))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 (sin.f64 y) z))
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))

prune86.0ms (1.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1158123
Fresh000
Picked101
Done000
Total1168124
Error
0.0b
Counts
124 → 8
Alt Table
StatusErrorProgram
2.2b
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))
0.5b
(+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3))
0.3b
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))
0.1b
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
21.4b
(fma.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2)) (*.f64 z (sin.f64 y)))
0.5b
(fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y)))
40.0b
(/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))
0.3b
(fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 2204 to 788 computations (64.2% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series21.0ms (0.4%)

Counts
2 → 40
Calls

15 calls:

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

rewrite41.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
757×pow1_binary64
689×add-log-exp_binary64
689×log1p-expm1-u_binary64
689×expm1-log1p-u_binary64
81×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify36.0ms (0.8%)

Algorithm
egg-herbie
Rules
739×cancel-sign-sub-inv_binary64
698×fma-def_binary64
361×fma-neg_binary64
271×sub-neg_binary64
240×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
039468
1107467
2324457
31258450
44705450
Stop Event
node limit
Counts
76 → 54
Calls
Call 1
Inputs
x
(-.f64 x (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 y 6) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))))
x
(+.f64 (*.f64 y z) x)
(-.f64 (+.f64 (*.f64 y z) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(-.f64 (+.f64 (*.f64 y z) x) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) x)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (sin.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(*.f64 (cos.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
Outputs
x
(-.f64 x (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(+.f64 x (*.f64 -1/2 (*.f64 x (*.f64 y y))))
(+.f64 x (*.f64 (*.f64 -1/2 x) (*.f64 y y)))
(fma.f64 (*.f64 (*.f64 y y) -1/2) x x)
(*.f64 x (fma.f64 (*.f64 y y) -1/2 1))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(+.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 -1/2 (*.f64 x (*.f64 y y))))
(+.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 (*.f64 -1/2 x) (*.f64 y y)))
(*.f64 x (-.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 1/2 (*.f64 y y))))
(fma.f64 x (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) x)
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) x)) x) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 y 6) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) x))))
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (fma.f64 1/720 (*.f64 x (pow.f64 y 6)) (*.f64 1/2 (*.f64 x (*.f64 y y)))))
(-.f64 (fma.f64 1/24 (*.f64 x (pow.f64 y 4)) x) (*.f64 x (+.f64 (*.f64 1/2 (*.f64 y y)) (*.f64 1/720 (pow.f64 y 6)))))
(+.f64 x (*.f64 x (-.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 1/2 (*.f64 y y) (*.f64 1/720 (pow.f64 y 6))))))
(fma.f64 x (-.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 1/720 (pow.f64 y 6) (*.f64 1/2 (*.f64 y y)))) x)
x
(+.f64 (*.f64 y z) x)
(fma.f64 y z x)
(-.f64 (+.f64 (*.f64 y z) x) (*.f64 1/2 (*.f64 (pow.f64 y 2) x)))
(-.f64 (fma.f64 y z x) (*.f64 1/2 (*.f64 x (*.f64 y y))))
(-.f64 (fma.f64 y z x) (*.f64 x (*.f64 1/2 (*.f64 y y))))
(fma.f64 y z (fma.f64 (*.f64 (*.f64 y y) -1/2) x x))
(fma.f64 x (*.f64 y (*.f64 y -1/2)) (fma.f64 y z x))
(-.f64 (+.f64 (*.f64 y z) x) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) x)) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
(-.f64 (fma.f64 y z x) (fma.f64 1/2 (*.f64 x (*.f64 y y)) (*.f64 1/6 (*.f64 z (pow.f64 y 3)))))
(-.f64 (fma.f64 y z x) (fma.f64 1/2 (*.f64 x (*.f64 y y)) (*.f64 z (*.f64 1/6 (pow.f64 y 3)))))
(+.f64 (fma.f64 y z (fma.f64 (*.f64 (*.f64 y y) -1/2) x x)) (*.f64 z (*.f64 (pow.f64 y 3) -1/6)))
(fma.f64 (fma.f64 (*.f64 y y) -1/2 1) x (*.f64 z (-.f64 y (*.f64 1/6 (pow.f64 y 3)))))
(fma.f64 (fma.f64 (*.f64 y y) -1/2 1) x (*.f64 z (+.f64 y (*.f64 (pow.f64 y 3) -1/6))))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(*.f64 (cos.f64 y) x)
(*.f64 x (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(*.f64 (sin.f64 y) z)
(*.f64 z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(*.f64 (sin.f64 y) z)
(*.f64 z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(*.f64 (sin.f64 y) z)
(*.f64 z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(*.f64 (cos.f64 y) x)
(*.f64 x (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(*.f64 (cos.f64 y) x)
(*.f64 x (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))
(+.f64 (*.f64 (cos.f64 y) x) (*.f64 (sin.f64 y) z))
(fma.f64 (cos.f64 y) x (*.f64 z (sin.f64 y)))
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
(fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y)))

prune49.0ms (1.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New53154
Fresh167
Picked101
Done000
Total55762
Error
0.0b
Counts
62 → 7
Alt Table
StatusErrorProgram
2.2b
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))
0.5b
(+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3))
0.3b
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))
0.9b
(fma.f64 (sin.f64 y) z (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3))
0.5b
(fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y)))
40.0b
(/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))
0.3b
(fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 958 to 412 computations (57% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2)))
0.3b
(pow.f64 (cos.f64 y) 2)
0.3b
(cbrt.f64 (cos.f64 y))
0.3b
(cbrt.f64 (pow.f64 (cos.f64 y) 2))

series231.0ms (5%)

Counts
4 → 52
Calls

15 calls:

TimeVariablePointExpression
27.0ms
y
@-inf
(*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2)))
27.0ms
y
@inf
(*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2)))
27.0ms
x
@0
(*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2)))
27.0ms
y
@inf
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
27.0ms
x
@-inf
(*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2)))

rewrite48.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
713×pow1_binary64
656×add-log-exp_binary64
656×log1p-expm1-u_binary64
656×expm1-log1p-u_binary64
83×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0930
117630
2189630
Stop Event
node limit
Counts
4 → 80
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
(cbrt.f64 (cos.f64 y))
(pow.f64 (cos.f64 y) 2)
(*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (*.f64 (pow.f64 (cos.f64 y) 1/6) (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) 1/3) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (cos.f64 y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) (cbrt.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 1/6) (pow.f64 (cos.f64 y) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 y)) 1/3) (pow.f64 (sqrt.f64 (cos.f64 y)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 y) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 y) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (cos.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (cos.f64 y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (cos.f64 y))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 1/2 (cos.f64 (*.f64 2 y))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cos.f64 y) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 y) (cos.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (cbrt.f64 (pow.f64 (cos.f64 y) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 y) (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 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) 1) (pow.f64 (cbrt.f64 (cos.f64 y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (cbrt.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 4)) (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (cos.f64 (+.f64 y y)) (cos.f64 (-.f64 y y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cos.f64 y) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cos.f64 y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cos.f64 y) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) (cbrt.f64 (pow.f64 (cos.f64 y) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (cos.f64 y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 2) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) x)))))))

simplify42.0ms (0.9%)

Algorithm
egg-herbie
Rules
531×fma-neg_binary64
485×sub-neg_binary64
273×*-commutative_binary64
245×distribute-rgt-neg-in_binary64
236×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
060547
1171535
2508526
31911526
44713526
Stop Event
node limit
Counts
132 → 110
Calls
Call 1
Inputs
1
(-.f64 1 (*.f64 1/3 (pow.f64 y 2)))
(-.f64 1 (+.f64 (*.f64 1/3 (pow.f64 y 2)) (*.f64 1/405 (pow.f64 y 6))))
(-.f64 1 (+.f64 (*.f64 1/1701 (pow.f64 y 8)) (+.f64 (*.f64 1/3 (pow.f64 y 2)) (*.f64 1/405 (pow.f64 y 6)))))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
1
(-.f64 1 (*.f64 1/6 (pow.f64 y 2)))
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 y 2)) (*.f64 1/72 (pow.f64 y 4))))
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 y 2)) (+.f64 (*.f64 1/72 (pow.f64 y 4)) (*.f64 23/6480 (pow.f64 y 6)))))
(pow.f64 (cos.f64 y) 1/3)
(pow.f64 (cos.f64 y) 1/3)
(pow.f64 (cos.f64 y) 1/3)
(pow.f64 (cos.f64 y) 1/3)
(pow.f64 (cos.f64 y) 1/3)
(pow.f64 (cos.f64 y) 1/3)
(pow.f64 (cos.f64 y) 1/3)
(pow.f64 (cos.f64 y) 1/3)
1
(-.f64 1 (pow.f64 y 2))
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (pow.f64 y 2))
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (+.f64 (pow.f64 y 2) (*.f64 2/45 (pow.f64 y 6))))
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
x
(-.f64 x (*.f64 1/3 (*.f64 (pow.f64 y 2) x)))
(-.f64 x (+.f64 (*.f64 1/405 (*.f64 (pow.f64 y 6) x)) (*.f64 1/3 (*.f64 (pow.f64 y 2) x))))
(-.f64 x (+.f64 (*.f64 1/405 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/1701 (*.f64 (pow.f64 y 8) x)) (*.f64 1/3 (*.f64 (pow.f64 y 2) x)))))
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
Outputs
1
(-.f64 1 (*.f64 1/3 (pow.f64 y 2)))
(+.f64 1 (*.f64 -1/3 (*.f64 y y)))
(+.f64 1 (*.f64 (*.f64 y y) -1/3))
(fma.f64 (*.f64 y y) -1/3 1)
(-.f64 1 (+.f64 (*.f64 1/3 (pow.f64 y 2)) (*.f64 1/405 (pow.f64 y 6))))
(-.f64 1 (fma.f64 1/3 (*.f64 y y) (*.f64 1/405 (pow.f64 y 6))))
(+.f64 (fma.f64 (*.f64 y y) -1/3 1) (*.f64 (pow.f64 y 6) -1/405))
(+.f64 1 (fma.f64 y (*.f64 y -1/3) (*.f64 (pow.f64 y 6) -1/405)))
(-.f64 1 (+.f64 (*.f64 1/1701 (pow.f64 y 8)) (+.f64 (*.f64 1/3 (pow.f64 y 2)) (*.f64 1/405 (pow.f64 y 6)))))
(-.f64 1 (fma.f64 1/1701 (pow.f64 y 8) (fma.f64 1/3 (*.f64 y y) (*.f64 1/405 (pow.f64 y 6)))))
(-.f64 1 (fma.f64 1/405 (pow.f64 y 6) (fma.f64 1/3 (*.f64 y y) (*.f64 1/1701 (pow.f64 y 8)))))
(+.f64 1 (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (*.f64 (pow.f64 y 8) -1/1701))))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
1
(-.f64 1 (*.f64 1/6 (pow.f64 y 2)))
(+.f64 1 (*.f64 -1/6 (*.f64 y y)))
(-.f64 1 (*.f64 (*.f64 y y) 1/6))
(fma.f64 (*.f64 y -1/6) y 1)
(fma.f64 (*.f64 y y) -1/6 1)
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 y 2)) (*.f64 1/72 (pow.f64 y 4))))
(-.f64 1 (fma.f64 1/6 (*.f64 y y) (*.f64 1/72 (pow.f64 y 4))))
(-.f64 1 (fma.f64 1/72 (pow.f64 y 4) (*.f64 (*.f64 y y) 1/6)))
(+.f64 (fma.f64 (*.f64 y -1/6) y 1) (*.f64 (pow.f64 y 4) -1/72))
(+.f64 1 (fma.f64 y (*.f64 y -1/6) (*.f64 (pow.f64 y 4) -1/72)))
(-.f64 1 (+.f64 (*.f64 1/6 (pow.f64 y 2)) (+.f64 (*.f64 1/72 (pow.f64 y 4)) (*.f64 23/6480 (pow.f64 y 6)))))
(-.f64 1 (fma.f64 1/6 (*.f64 y y) (fma.f64 1/72 (pow.f64 y 4) (*.f64 (pow.f64 y 6) 23/6480))))
(-.f64 1 (fma.f64 (*.f64 y y) 1/6 (fma.f64 1/72 (pow.f64 y 4) (*.f64 (pow.f64 y 6) 23/6480))))
(-.f64 1 (fma.f64 y (*.f64 y 1/6) (fma.f64 (pow.f64 y 6) 23/6480 (*.f64 1/72 (pow.f64 y 4)))))
(+.f64 1 (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 y (*.f64 y -1/6) (*.f64 (pow.f64 y 4) -1/72))))
(pow.f64 (cos.f64 y) 1/3)
(cbrt.f64 (cos.f64 y))
(pow.f64 (cos.f64 y) 1/3)
(cbrt.f64 (cos.f64 y))
(pow.f64 (cos.f64 y) 1/3)
(cbrt.f64 (cos.f64 y))
(pow.f64 (cos.f64 y) 1/3)
(cbrt.f64 (cos.f64 y))
(pow.f64 (cos.f64 y) 1/3)
(cbrt.f64 (cos.f64 y))
(pow.f64 (cos.f64 y) 1/3)
(cbrt.f64 (cos.f64 y))
(pow.f64 (cos.f64 y) 1/3)
(cbrt.f64 (cos.f64 y))
(pow.f64 (cos.f64 y) 1/3)
(cbrt.f64 (cos.f64 y))
1
(-.f64 1 (pow.f64 y 2))
(-.f64 1 (*.f64 y y))
(fma.f64 y (neg.f64 y) 1)
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (pow.f64 y 2))
(+.f64 1 (-.f64 (*.f64 1/3 (pow.f64 y 4)) (*.f64 y y)))
(-.f64 (fma.f64 1/3 (pow.f64 y 4) 1) (*.f64 y y))
(fma.f64 1/3 (pow.f64 y 4) (fma.f64 y (neg.f64 y) 1))
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (+.f64 (pow.f64 y 2) (*.f64 2/45 (pow.f64 y 6))))
(-.f64 (+.f64 1 (*.f64 1/3 (pow.f64 y 4))) (+.f64 (*.f64 y y) (*.f64 (pow.f64 y 6) 2/45)))
(-.f64 (fma.f64 1/3 (pow.f64 y 4) 1) (fma.f64 y y (*.f64 (pow.f64 y 6) 2/45)))
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
x
(-.f64 x (*.f64 1/3 (*.f64 (pow.f64 y 2) x)))
(+.f64 x (*.f64 -1/3 (*.f64 (*.f64 y y) x)))
(+.f64 x (*.f64 (*.f64 (*.f64 y y) x) -1/3))
(fma.f64 (*.f64 (*.f64 y y) -1/3) x x)
(fma.f64 (*.f64 y (*.f64 y -1/3)) x x)
(-.f64 x (+.f64 (*.f64 1/405 (*.f64 (pow.f64 y 6) x)) (*.f64 1/3 (*.f64 (pow.f64 y 2) x))))
(-.f64 x (fma.f64 1/405 (*.f64 (pow.f64 y 6) x) (*.f64 1/3 (*.f64 (*.f64 y y) x))))
(-.f64 x (*.f64 x (fma.f64 1/3 (*.f64 y y) (*.f64 1/405 (pow.f64 y 6)))))
(-.f64 x (*.f64 (fma.f64 1/3 (*.f64 y y) (*.f64 1/405 (pow.f64 y 6))) x))
(-.f64 x (+.f64 (*.f64 1/405 (*.f64 (pow.f64 y 6) x)) (+.f64 (*.f64 1/1701 (*.f64 (pow.f64 y 8) x)) (*.f64 1/3 (*.f64 (pow.f64 y 2) x)))))
(-.f64 x (fma.f64 1/405 (*.f64 (pow.f64 y 6) x) (fma.f64 1/1701 (*.f64 (pow.f64 y 8) x) (*.f64 1/3 (*.f64 (*.f64 y y) x)))))
(-.f64 x (fma.f64 1/405 (*.f64 (pow.f64 y 6) x) (*.f64 x (fma.f64 1/1701 (pow.f64 y 8) (*.f64 1/3 (*.f64 y y))))))
(-.f64 x (*.f64 x (fma.f64 1/405 (pow.f64 y 6) (fma.f64 1/3 (*.f64 y y) (*.f64 1/1701 (pow.f64 y 8))))))
(+.f64 x (*.f64 x (fma.f64 y (*.f64 y -1/3) (fma.f64 (pow.f64 y 6) -1/405 (*.f64 (pow.f64 y 8) -1/1701)))))
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) x)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) x)

prune110.0ms (2.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh066
Picked011
Done000
Total1098117
Error
0.0b
Counts
117 → 8
Alt Table
StatusErrorProgram
2.2b
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))
0.5b
(+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3))
20.1b
(fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (pow.f64 (cos.f64 y) 1/3) (*.f64 z (sin.f64 y)))
0.3b
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))
0.9b
(fma.f64 (sin.f64 y) z (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3))
0.5b
(fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y)))
40.0b
(/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))
0.3b
(fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 2444 to 1100 computations (55% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 z (sin.f64 y))
0.3b
(pow.f64 (cos.f64 y) 2)
0.3b
(cbrt.f64 (cos.f64 y))
0.3b
(cbrt.f64 (pow.f64 (cos.f64 y) 2))

prune109.0ms (2.4%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1110111
Fresh066
Picked011
Done011
Total1118119
Error
0.0b
Counts
119 → 8
Alt Table
StatusErrorProgram
2.2b
(fma.f64 (cbrt.f64 (pow.f64 (sin.f64 y) 2)) (*.f64 (cbrt.f64 (sin.f64 y)) z) (*.f64 x (cos.f64 y)))
0.5b
(+.f64 (*.f64 x (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) 3))
20.1b
(fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (pow.f64 (cos.f64 y) 1/3) (*.f64 z (sin.f64 y)))
0.3b
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 z (sin.f64 y)))
0.9b
(fma.f64 (sin.f64 y) z (pow.f64 (cbrt.f64 (*.f64 (cos.f64 y) x)) 3))
0.5b
(fma.f64 (*.f64 (sin.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z) (*.f64 x (cos.f64 y)))
40.0b
(/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (-.f64 (*.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (+.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))
0.3b
(fma.f64 (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 2381 to 991 computations (58.4% saved)

regimes275.0ms (5.9%)

Accuracy

Total 0.1b remaining (53.8%)

Threshold costs 0.1b (53.8%)

Counts
71 → 1
Compiler

Compiled 4516 to 2922 computations (35.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11312
Stop Event
saturated
Calls
Call 1
Inputs
(pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 1)
Outputs
(pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 1)
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))

end142.0ms (3.1%)

Stop Event
fuel
Compiler

Compiled 180 to 114 computations (36.7% saved)

Profiling

Loading profile data...