Details

Time bar (total: 4.9s)

analyze525.0ms (10.7%)

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
0%99.9%0.1%6
37.4%62.4%0.1%7
43.7%56.2%0.1%8
43.7%56.2%0.1%9
65.5%34.3%0.1%10
70.2%29.6%0.1%11
70.2%29.6%0.1%12
81.9%17.9%0.1%13
84.6%15.2%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.9s (58.5%)

Results
1.5s2041×body1024valid
757.0ms4649×body128valid
442.0ms1066×body512valid
146.0ms495×body256valid
7.0msbody2048valid
Compiler

Compiled 26 to 18 computations (30.8% saved)

preprocess19.0ms (0.4%)

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 12 to 8 computations (33.3% saved)

simplify6.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)))

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 42 to 23 computations (45.2% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series21.0ms (0.4%)

Counts
2 → 60
Calls

15 calls:

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

rewrite43.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 z (cos.f64 y))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
Outputs
((#(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)) 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 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 cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 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 log1p.f64 (expm1.f64 (*.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 exp.f64 (log.f64 (*.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 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 (exp.f64 (log1p.f64 (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 log.f64 (+.f64 1 (expm1.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 log1p.f64 (expm1.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))) (#(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 exp.f64 (log.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))))))

simplify38.0ms (0.8%)

Algorithm
egg-herbie
Rules
744×cancel-sign-sub-inv_binary64
697×fma-def_binary64
362×fma-neg_binary64
276×sub-neg_binary64
234×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
039588
1107587
2326576
31247568
44695568
Stop Event
node limit
Counts
96 → 53
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 z (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) 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 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
z
(+.f64 (*.f64 y x) z)
(-.f64 (+.f64 (*.f64 y x) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 y x) z) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
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 z (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(+.f64 z (*.f64 -1/2 (*.f64 z (*.f64 y y))))
(+.f64 z (*.f64 (*.f64 -1/2 z) (*.f64 y y)))
(fma.f64 (*.f64 z (*.f64 y y)) -1/2 z)
(*.f64 z (fma.f64 (*.f64 y y) -1/2 1))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(+.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z) (*.f64 -1/2 (*.f64 z (*.f64 y y))))
(fma.f64 (*.f64 1/24 (pow.f64 y 4)) z (+.f64 z (*.f64 (*.f64 -1/2 z) (*.f64 y y))))
(*.f64 z (-.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 y (*.f64 y 1/2))))
(*.f64 z (fma.f64 (*.f64 y y) -1/2 (fma.f64 1/24 (pow.f64 y 4) 1)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z))))
(-.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z) (fma.f64 1/2 (*.f64 z (*.f64 y y)) (*.f64 1/720 (*.f64 z (pow.f64 y 6)))))
(-.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z) (*.f64 z (+.f64 (*.f64 1/2 (*.f64 y y)) (*.f64 1/720 (pow.f64 y 6)))))
(+.f64 z (*.f64 z (-.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 1/2 (*.f64 y y) (*.f64 1/720 (pow.f64 y 6))))))
(fma.f64 z (fma.f64 1/24 (pow.f64 y 4) (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720))) 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 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(-.f64 (+.f64 (*.f64 y x) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(+.f64 (fma.f64 y x z) (*.f64 -1/2 (*.f64 z (*.f64 y y))))
(+.f64 (fma.f64 y x z) (*.f64 (*.f64 -1/2 z) (*.f64 y y)))
(fma.f64 y x (fma.f64 (*.f64 z (*.f64 y y)) -1/2 z))
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 y x z))
(-.f64 (+.f64 (*.f64 y x) z) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))))
(-.f64 (fma.f64 y x z) (fma.f64 1/6 (*.f64 x (pow.f64 y 3)) (*.f64 1/2 (*.f64 z (*.f64 y y)))))
(-.f64 (fma.f64 y x z) (fma.f64 1/6 (*.f64 x (pow.f64 y 3)) (*.f64 (*.f64 y y) (*.f64 z 1/2))))
(+.f64 (fma.f64 (*.f64 z (*.f64 y y)) -1/2 z) (*.f64 x (-.f64 y (*.f64 1/6 (pow.f64 y 3)))))
(fma.f64 y (*.f64 -1/2 (*.f64 y z)) (fma.f64 x (-.f64 y (*.f64 1/6 (pow.f64 y 3))) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 (cos.f64 y) z))
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))

prune38.0ms (0.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New47653
Fresh000
Picked101
Done000
Total48654
Error
0.1b
Counts
54 → 6
Alt Table
StatusErrorProgram
1.3b
(*.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))
0.9b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
32.5b
(pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
42.6b
(/.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))))))
Compiler

Compiled 924 to 373 computations (59.6% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series21.0ms (0.4%)

Counts
2 → 40
Calls

15 calls:

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

rewrite42.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 (sin.f64 y) x)
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.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 log.f64 (+.f64 1 (expm1.f64 (*.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 log1p.f64 (expm1.f64 (*.f64 (sin.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 (exp.f64 (log1p.f64 (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 log.f64 (+.f64 1 (expm1.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 log1p.f64 (expm1.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))) (#(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 exp.f64 (log.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))))))))

simplify38.0ms (0.8%)

Algorithm
egg-herbie
Rules
811×fma-def_binary64
505×associate-*l*_binary64
422×associate-*r*_binary64
410×fma-neg_binary64
224×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
039480
1118472
2358460
31240451
44701451
Stop Event
node limit
Counts
76 → 55
Calls
Call 1
Inputs
(*.f64 y x)
(-.f64 (*.f64 y x) (*.f64 1/6 (*.f64 (pow.f64 y 3) x)))
(-.f64 (+.f64 (*.f64 y x) (*.f64 1/120 (*.f64 (pow.f64 y 5) x))) (*.f64 1/6 (*.f64 (pow.f64 y 3) x)))
(-.f64 (+.f64 (*.f64 y x) (*.f64 1/120 (*.f64 (pow.f64 y 5) x))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) x)) (*.f64 1/5040 (*.f64 (pow.f64 y 7) x))))
z
(+.f64 (*.f64 y x) z)
(-.f64 (+.f64 (*.f64 y x) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 y x) z) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
Outputs
(*.f64 y x)
(-.f64 (*.f64 y x) (*.f64 1/6 (*.f64 (pow.f64 y 3) x)))
(+.f64 (*.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 (+.f64 y (*.f64 (pow.f64 y 3) -1/6)))
(*.f64 x (fma.f64 (pow.f64 y 3) -1/6 y))
(-.f64 (+.f64 (*.f64 y x) (*.f64 1/120 (*.f64 (pow.f64 y 5) x))) (*.f64 1/6 (*.f64 (pow.f64 y 3) x)))
(+.f64 (fma.f64 y x (*.f64 1/120 (*.f64 x (pow.f64 y 5)))) (*.f64 -1/6 (*.f64 x (pow.f64 y 3))))
(fma.f64 y x (*.f64 x (-.f64 (*.f64 1/120 (pow.f64 y 5)) (*.f64 1/6 (pow.f64 y 3)))))
(*.f64 x (-.f64 (fma.f64 1/120 (pow.f64 y 5) y) (*.f64 1/6 (pow.f64 y 3))))
(*.f64 x (fma.f64 1/120 (pow.f64 y 5) (fma.f64 (pow.f64 y 3) -1/6 y)))
(-.f64 (+.f64 (*.f64 y x) (*.f64 1/120 (*.f64 (pow.f64 y 5) x))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) x)) (*.f64 1/5040 (*.f64 (pow.f64 y 7) x))))
(-.f64 (fma.f64 y x (*.f64 1/120 (*.f64 x (pow.f64 y 5)))) (fma.f64 1/6 (*.f64 x (pow.f64 y 3)) (*.f64 1/5040 (*.f64 x (pow.f64 y 7)))))
(-.f64 (*.f64 x (+.f64 y (*.f64 1/120 (pow.f64 y 5)))) (*.f64 x (+.f64 (*.f64 1/6 (pow.f64 y 3)) (*.f64 1/5040 (pow.f64 y 7)))))
(*.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 (pow.f64 y 3) -1/6 (*.f64 (pow.f64 y 7) -1/5040))))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(-.f64 (+.f64 (*.f64 y x) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(+.f64 (fma.f64 y x z) (*.f64 -1/2 (*.f64 z (*.f64 y y))))
(+.f64 (fma.f64 y x z) (*.f64 (*.f64 -1/2 z) (*.f64 y y)))
(fma.f64 (*.f64 z (*.f64 y y)) -1/2 (fma.f64 y x z))
(fma.f64 y x (fma.f64 z (*.f64 (*.f64 y y) -1/2) z))
(-.f64 (+.f64 (*.f64 y x) z) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))))
(-.f64 (fma.f64 y x z) (fma.f64 1/6 (*.f64 x (pow.f64 y 3)) (*.f64 1/2 (*.f64 z (*.f64 y y)))))
(-.f64 (fma.f64 y x z) (fma.f64 1/6 (*.f64 x (pow.f64 y 3)) (*.f64 z (*.f64 1/2 (*.f64 y y)))))
(+.f64 z (fma.f64 y x (fma.f64 (*.f64 x (pow.f64 y 3)) -1/6 (*.f64 z (*.f64 (*.f64 y y) -1/2)))))
(fma.f64 y (*.f64 y (*.f64 z -1/2)) (fma.f64 x (fma.f64 (pow.f64 y 3) -1/6 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(*.f64 (sin.f64 y) x)
(*.f64 x (sin.f64 y))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))

prune36.0ms (0.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New55055
Fresh055
Picked011
Done000
Total55661
Error
0.1b
Counts
61 → 6
Alt Table
StatusErrorProgram
1.3b
(*.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))
0.9b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
32.5b
(pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
42.6b
(/.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))))))
Compiler

Compiled 917 to 368 computations (59.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series271.0ms (5.5%)

Counts
3 → 51
Calls

21 calls:

TimeVariablePointExpression
29.0ms
y
@inf
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
28.0ms
y
@-inf
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
27.0ms
y
@-inf
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
26.0ms
y
@inf
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
24.0ms
y
@-inf
(cbrt.f64 (*.f64 z (cos.f64 y)))

rewrite51.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
863×log1p-expm1-u_binary64
863×expm1-log1p-u_binary64
102×add-sqr-sqrt_binary64
98×pow1_binary64
97×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify34.0ms (0.7%)

Algorithm
egg-herbie
Rules
666×fma-neg_binary64
474×distribute-rgt-neg-in_binary64
465×distribute-lft-neg-in_binary64
277×associate-*r*_binary64
260×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
056562
1163555
2538535
32454531
Stop Event
node limit
Counts
133 → 108
Calls
Call 1
Inputs
z
(-.f64 z (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) 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)
(pow.f64 z 1/3)
(-.f64 (pow.f64 z 1/3) (*.f64 1/6 (*.f64 (pow.f64 y 2) (pow.f64 z 1/3))))
(-.f64 (pow.f64 z 1/3) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 2) (pow.f64 z 1/3))) (*.f64 1/72 (*.f64 (pow.f64 y 4) (pow.f64 z 1/3)))))
(-.f64 (pow.f64 z 1/3) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 2) (pow.f64 z 1/3))) (+.f64 (*.f64 23/6480 (*.f64 (pow.f64 y 6) (pow.f64 z 1/3))) (*.f64 1/72 (*.f64 (pow.f64 y 4) (pow.f64 z 1/3))))))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
z
(+.f64 (*.f64 y x) z)
(-.f64 (+.f64 (*.f64 y x) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 y x) z) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
Outputs
z
(-.f64 z (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 z (*.f64 1/2 (*.f64 z (*.f64 y y))))
(+.f64 z (*.f64 (*.f64 -1/2 z) (*.f64 y y)))
(fma.f64 (*.f64 (*.f64 y y) -1/2) z z)
(fma.f64 (*.f64 y (*.f64 y -1/2)) z z)
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(+.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z) (*.f64 -1/2 (*.f64 z (*.f64 y y))))
(+.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z) (*.f64 (*.f64 -1/2 z) (*.f64 y y)))
(*.f64 z (-.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (*.f64 1/2 (*.f64 y y))))
(+.f64 z (*.f64 z (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2)))))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z))))
(-.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z) (fma.f64 1/2 (*.f64 z (*.f64 y y)) (*.f64 1/720 (*.f64 z (pow.f64 y 6)))))
(-.f64 (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z) (*.f64 z (+.f64 (*.f64 1/2 (*.f64 y y)) (*.f64 1/720 (pow.f64 y 6)))))
(+.f64 z (*.f64 z (-.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 1/2 (*.f64 y y) (*.f64 1/720 (pow.f64 y 6))))))
(+.f64 z (*.f64 z (fma.f64 1/24 (pow.f64 y 4) (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720)))))
(*.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))
(pow.f64 z 1/3)
(cbrt.f64 z)
(-.f64 (pow.f64 z 1/3) (*.f64 1/6 (*.f64 (pow.f64 y 2) (pow.f64 z 1/3))))
(+.f64 (cbrt.f64 z) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z))))
(+.f64 (cbrt.f64 z) (*.f64 (*.f64 y (*.f64 y (cbrt.f64 z))) -1/6))
(fma.f64 (*.f64 (*.f64 y y) -1/6) (cbrt.f64 z) (cbrt.f64 z))
(fma.f64 (*.f64 y (*.f64 y (cbrt.f64 z))) -1/6 (cbrt.f64 z))
(-.f64 (pow.f64 z 1/3) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 2) (pow.f64 z 1/3))) (*.f64 1/72 (*.f64 (pow.f64 y 4) (pow.f64 z 1/3)))))
(-.f64 (cbrt.f64 z) (fma.f64 1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (*.f64 1/72 (*.f64 (pow.f64 y 4) (cbrt.f64 z)))))
(-.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 (*.f64 y y) 1/6) (*.f64 (pow.f64 y 4) 1/72))))
(-.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (fma.f64 (*.f64 y y) 1/6 (*.f64 (pow.f64 y 4) 1/72))))
(*.f64 (cbrt.f64 z) (-.f64 (+.f64 (*.f64 y (*.f64 y -1/6)) 1) (*.f64 (pow.f64 y 4) 1/72)))
(-.f64 (pow.f64 z 1/3) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 2) (pow.f64 z 1/3))) (+.f64 (*.f64 23/6480 (*.f64 (pow.f64 y 6) (pow.f64 z 1/3))) (*.f64 1/72 (*.f64 (pow.f64 y 4) (pow.f64 z 1/3))))))
(-.f64 (cbrt.f64 z) (fma.f64 1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (fma.f64 23/6480 (*.f64 (pow.f64 y 6) (cbrt.f64 z)) (*.f64 1/72 (*.f64 (pow.f64 y 4) (cbrt.f64 z))))))
(-.f64 (cbrt.f64 z) (fma.f64 1/6 (*.f64 y (*.f64 y (cbrt.f64 z))) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 (pow.f64 y 4) 1/72) (*.f64 (pow.f64 y 6) 23/6480)))))
(-.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (+.f64 (*.f64 y (*.f64 y 1/6)) (fma.f64 (pow.f64 y 4) 1/72 (*.f64 (pow.f64 y 6) 23/6480)))))
(*.f64 (cbrt.f64 z) (-.f64 (+.f64 (*.f64 y (*.f64 y -1/6)) 1) (fma.f64 (pow.f64 y 4) 1/72 (*.f64 (pow.f64 y 6) 23/6480))))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(cbrt.f64 (*.f64 z (cos.f64 y)))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(cbrt.f64 (*.f64 z (cos.f64 y)))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(cbrt.f64 (*.f64 z (cos.f64 y)))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(cbrt.f64 (*.f64 z (cos.f64 y)))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(cbrt.f64 (*.f64 z (cos.f64 y)))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(cbrt.f64 (*.f64 z (cos.f64 y)))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(cbrt.f64 (*.f64 z (cos.f64 y)))
(pow.f64 (*.f64 (cos.f64 y) z) 1/3)
(cbrt.f64 (*.f64 z (cos.f64 y)))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
z
(+.f64 (*.f64 y x) z)
(fma.f64 y x z)
(-.f64 (+.f64 (*.f64 y x) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (fma.f64 y x z) (*.f64 1/2 (*.f64 z (*.f64 y y))))
(+.f64 (fma.f64 y x z) (*.f64 (*.f64 -1/2 z) (*.f64 y y)))
(fma.f64 (*.f64 (*.f64 y y) -1/2) z (fma.f64 y x z))
(fma.f64 y x (fma.f64 (*.f64 y (*.f64 y -1/2)) z z))
(-.f64 (+.f64 (*.f64 y x) z) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 3) x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z))))
(-.f64 (fma.f64 y x z) (fma.f64 1/6 (*.f64 x (pow.f64 y 3)) (*.f64 1/2 (*.f64 z (*.f64 y y)))))
(-.f64 (fma.f64 y x z) (fma.f64 1/2 (*.f64 z (*.f64 y y)) (*.f64 x (*.f64 1/6 (pow.f64 y 3)))))
(+.f64 (fma.f64 (*.f64 (*.f64 y y) -1/2) z z) (*.f64 x (-.f64 y (*.f64 1/6 (pow.f64 y 3)))))
(+.f64 (fma.f64 y x z) (*.f64 (*.f64 y y) (-.f64 (*.f64 z -1/2) (*.f64 x (*.f64 y 1/6)))))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(+.f64 (*.f64 (sin.f64 y) x) (*.f64 (cos.f64 y) z))
(fma.f64 (sin.f64 y) x (*.f64 z (cos.f64 y)))
(fma.f64 z (cos.f64 y) (*.f64 (sin.f64 y) x))
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)
(*.f64 (sin.f64 y) x)

prune97.0ms (2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1273130
Fresh044
Picked011
Done011
Total1279136
Error
0.0b
Counts
136 → 9
Alt Table
StatusErrorProgram
16.4b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z)))
1.3b
(*.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))
0.9b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
0.8b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z)))
32.5b
(pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
42.6b
(/.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))))))
Compiler

Compiled 2279 to 967 computations (57.6% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series193.0ms (3.9%)

Counts
4 → 72
Calls

18 calls:

TimeVariablePointExpression
23.0ms
y
@inf
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
21.0ms
y
@-inf
(cbrt.f64 (cos.f64 y))
21.0ms
y
@-inf
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
21.0ms
y
@inf
(cbrt.f64 (cos.f64 y))
21.0ms
y
@inf
(*.f64 (cbrt.f64 (cos.f64 y)) z)

rewrite48.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
769×pow1_binary64
708×log1p-expm1-u_binary64
708×expm1-log1p-u_binary64
86×add-sqr-sqrt_binary64
83×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify35.0ms (0.7%)

Algorithm
egg-herbie
Rules
634×fma-neg_binary64
334×*-commutative_binary64
276×distribute-rgt-neg-in_binary64
271×distribute-lft-neg-in_binary64
243×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
064628
1187621
2561604
32196602
Stop Event
node limit
Counts
144 → 103
Calls
Call 1
Inputs
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 (*.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)
z
(-.f64 z (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) 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)
(*.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 z (*.f64 1/6 (*.f64 (pow.f64 y 2) z)))
(-.f64 z (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 2) z)) (*.f64 1/72 (*.f64 (pow.f64 y 4) z))))
(-.f64 z (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 1/72 (*.f64 (pow.f64 y 4) z)) (*.f64 23/6480 (*.f64 (pow.f64 y 6) z)))))
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
Outputs
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 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 (fma.f64 (*.f64 y y) -1/6 1) (*.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 23/6480 (pow.f64 y 6)))))
(-.f64 1 (fma.f64 1/6 (*.f64 y y) (fma.f64 23/6480 (pow.f64 y 6) (*.f64 1/72 (pow.f64 y 4)))))
(-.f64 (fma.f64 (*.f64 y y) -1/6 1) (fma.f64 1/72 (pow.f64 y 4) (*.f64 23/6480 (pow.f64 y 6))))
(+.f64 (fma.f64 (*.f64 y y) -1/6 1) (fma.f64 (pow.f64 y 4) -1/72 (*.f64 (pow.f64 y 6) -23/6480)))
(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 (*.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 -1/3) y 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 (pow.f64 y 6) 1/405)))
(-.f64 1 (fma.f64 (*.f64 y y) 1/3 (*.f64 (pow.f64 y 6) 1/405)))
(-.f64 (fma.f64 (*.f64 y -1/3) y 1) (*.f64 (pow.f64 y 6) 1/405))
(+.f64 (fma.f64 (*.f64 y -1/3) y 1) (*.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 (pow.f64 y 6) 1/405))))
(-.f64 1 (fma.f64 1/1701 (pow.f64 y 8) (fma.f64 (*.f64 y y) 1/3 (*.f64 (pow.f64 y 6) 1/405))))
(-.f64 1 (fma.f64 y (*.f64 y 1/3) (fma.f64 (pow.f64 y 6) 1/405 (*.f64 1/1701 (pow.f64 y 8)))))
(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))
z
(-.f64 z (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(+.f64 z (*.f64 -1/2 (*.f64 (*.f64 y y) z)))
(+.f64 z (*.f64 (*.f64 (*.f64 y y) z) -1/2))
(fma.f64 (*.f64 y (*.f64 y z)) -1/2 z)
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
(-.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z) (*.f64 1/2 (*.f64 (*.f64 y y) z)))
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z) (*.f64 (*.f64 (*.f64 y y) z) -1/2))
(*.f64 z (-.f64 (fma.f64 (pow.f64 y 4) 1/24 1) (*.f64 y (*.f64 y 1/2))))
(*.f64 z (+.f64 1 (fma.f64 (pow.f64 y 4) 1/24 (*.f64 y (*.f64 y -1/2)))))
(-.f64 (+.f64 (*.f64 1/24 (*.f64 (pow.f64 y 4) z)) z) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 y 2) z)) (*.f64 1/720 (*.f64 (pow.f64 y 6) z))))
(-.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z) (fma.f64 1/2 (*.f64 (*.f64 y y) z) (*.f64 1/720 (*.f64 (pow.f64 y 6) z))))
(-.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) z) z) (*.f64 z (+.f64 (*.f64 (*.f64 y y) 1/2) (*.f64 (pow.f64 y 6) 1/720))))
(+.f64 z (*.f64 z (-.f64 (*.f64 (pow.f64 y 4) 1/24) (fma.f64 (pow.f64 y 6) 1/720 (*.f64 y (*.f64 y 1/2))))))
(*.f64 z (-.f64 (fma.f64 (pow.f64 y 4) 1/24 1) (fma.f64 (*.f64 y y) 1/2 (*.f64 (pow.f64 y 6) 1/720))))
(*.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)
(*.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 z (*.f64 1/6 (*.f64 (pow.f64 y 2) z)))
(+.f64 z (*.f64 -1/6 (*.f64 (*.f64 y y) z)))
(+.f64 z (*.f64 (*.f64 (*.f64 y y) z) -1/6))
(*.f64 (fma.f64 (*.f64 y y) -1/6 1) z)
(*.f64 z (fma.f64 (*.f64 y y) -1/6 1))
(-.f64 z (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 2) z)) (*.f64 1/72 (*.f64 (pow.f64 y 4) z))))
(-.f64 z (fma.f64 1/6 (*.f64 (*.f64 y y) z) (*.f64 (*.f64 1/72 (pow.f64 y 4)) z)))
(-.f64 z (*.f64 z (fma.f64 1/6 (*.f64 y y) (*.f64 1/72 (pow.f64 y 4)))))
(+.f64 z (*.f64 z (fma.f64 (*.f64 y y) -1/6 (*.f64 (pow.f64 y 4) -1/72))))
(*.f64 z (+.f64 (fma.f64 (*.f64 y y) -1/6 1) (*.f64 (pow.f64 y 4) -1/72)))
(-.f64 z (+.f64 (*.f64 1/6 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 1/72 (*.f64 (pow.f64 y 4) z)) (*.f64 23/6480 (*.f64 (pow.f64 y 6) z)))))
(-.f64 z (fma.f64 1/6 (*.f64 (*.f64 y y) z) (fma.f64 1/72 (*.f64 (pow.f64 y 4) z) (*.f64 23/6480 (*.f64 (pow.f64 y 6) z)))))
(-.f64 z (fma.f64 1/6 (*.f64 (*.f64 y y) z) (*.f64 z (fma.f64 23/6480 (pow.f64 y 6) (*.f64 1/72 (pow.f64 y 4))))))
(-.f64 z (*.f64 z (fma.f64 1/6 (*.f64 y y) (fma.f64 1/72 (pow.f64 y 4) (*.f64 23/6480 (pow.f64 y 6))))))
(+.f64 z (*.f64 z (fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 (*.f64 (pow.f64 y 6) -23/6480)))))
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)
(*.f64 (pow.f64 (cos.f64 y) 1/3) z)
(*.f64 (cbrt.f64 (cos.f64 y)) z)

prune113.0ms (2.3%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1331134
Fresh066
Picked101
Done022
Total1349143
Error
0.0b
Counts
143 → 9
Alt Table
StatusErrorProgram
16.4b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z)))
1.3b
(*.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))
0.9b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
16.4b
(fma.f64 x (sin.f64 y) (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 1/3) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
0.8b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 z) 2)) (cbrt.f64 z)))
32.5b
(pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
42.6b
(/.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))))))
Compiler

Compiled 2655 to 1165 computations (56.1% saved)

regimes195.0ms (4%)

Accuracy

Total 0.1b remaining (46.1%)

Threshold costs 0.1b (46.1%)

Counts
48 → 1
Compiler

Compiled 2872 to 1826 computations (36.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

end134.0ms (2.7%)

Stop Event
fuel
Compiler

Compiled 194 to 114 computations (41.2% saved)

Profiling

Loading profile data...