Details

Time bar (total: 8.6s)

analyze230.0ms (2.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
25%74.9%0.1%7
37.4%62.4%0.1%8
37.4%62.4%0.1%9
56.2%43.7%0.1%10
65.5%34.3%0.1%11
65.5%34.3%0.1%12
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.7s (31.1%)

Results
1.4s6257×body256valid
892.0ms1337×body1024valid
282.0ms659×body512valid
10.0msbody2048valid

preprocess21.0ms (0.2%)

Algorithm
egg-herbie
Rules
24×fma-def_binary64
20×+-commutative_binary64
12×associate-+r+_binary64
12×associate-+l+_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02256
14248
27848
310248
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)))
(+.f64 x (+.f64 (sin.f64 y) (*.f64 z (cos.f64 y))))
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (+.f64 y (sin.f64 x)) (*.f64 z (cos.f64 x)))
(fma.f64 z (cos.f64 x) (+.f64 y (sin.f64 x)))
(+.f64 (sin.f64 x) (fma.f64 z (cos.f64 x) y))
(+.f64 (+.f64 z (sin.f64 y)) (*.f64 x (cos.f64 y)))
(+.f64 z (+.f64 (sin.f64 y) (*.f64 x (cos.f64 y))))
(fma.f64 x (cos.f64 y) (+.f64 (sin.f64 y) z))
(+.f64 (sin.f64 y) (fma.f64 x (cos.f64 y) z))
(+.f64 (+.f64 x (sin.f64 z)) (*.f64 y (cos.f64 z)))
(+.f64 x (+.f64 (sin.f64 z) (*.f64 y (cos.f64 z))))
(fma.f64 y (cos.f64 z) (+.f64 x (sin.f64 z)))
(+.f64 x (fma.f64 y (cos.f64 z) (sin.f64 z)))
Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0914
11412
22312
32912
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 z (cos.f64 y) (+.f64 x (sin.f64 y)))

eval1.0ms (0%)

Compiler

Compiled 20 to 9 computations (55% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 12 to 8 computations (33.3% saved)

localize45.0ms (0.5%)

Local error

Found 3 expressions with local error:

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

Compiled 27 to 8 computations (70.4% saved)

series11.0ms (0.1%)

Counts
3 → 76
Calls

21 calls:

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

rewrite88.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
497×log-prod_binary64
490×fma-def_binary64
374×pow-prod-down_binary64
280×pow2_binary64
236×fma-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify154.0ms (1.8%)

Algorithm
egg-herbie
Rules
767×distribute-rgt-out_binary64
713×associate-*l*_binary64
565×distribute-lft-out_binary64
552×associate-*r*_binary64
492×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
049674
1131670
2349666
31155665
43789665
56746665
67020665
77307665
87595665
97966665
Stop Event
node limit
Counts
240 → 191
Calls
Call 1
Inputs
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
x
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
x
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 z x)
(+.f64 y (+.f64 z x))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x)))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x))))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(sin.f64 y)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
x
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
x
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
x
(+.f64 y x)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x)))
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
Outputs
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z)
(fma.f64 z (*.f64 y (*.f64 y -1/2)) z)
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
x
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
x
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 z x)
(+.f64 y (+.f64 z x))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x)))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y (+.f64 z x)))
(+.f64 (+.f64 z x) (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y))
(+.f64 y (+.f64 (fma.f64 z (*.f64 y (*.f64 y -1/2)) z) x))
(+.f64 x (+.f64 z (fma.f64 (*.f64 y y) (*.f64 z -1/2) y)))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y (+.f64 z x))))
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y (+.f64 z x))))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 (+.f64 z x) (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y)))
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (+.f64 z (fma.f64 -1/6 (pow.f64 y 3) (+.f64 y x))))
(+.f64 z (+.f64 (fma.f64 (*.f64 y y) (*.f64 z -1/2) y) (fma.f64 -1/6 (pow.f64 y 3) x)))
(+.f64 y (+.f64 (fma.f64 z (*.f64 y (*.f64 y -1/2)) z) (fma.f64 -1/6 (pow.f64 y 3) x)))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (sin.f64 y) x)
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(+.f64 (*.f64 (cos.f64 y) z) (+.f64 (sin.f64 y) x))
(fma.f64 (cos.f64 y) z (+.f64 (sin.f64 y) x))
(+.f64 (sin.f64 y) (fma.f64 (cos.f64 y) z x))
(sin.f64 y)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
x
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
x
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
x
(+.f64 y x)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y x))
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x)))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x)))
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x)))
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) (+.f64 y x)))
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) y)))
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)

eval79.0ms (0.9%)

Compiler

Compiled 2871 to 911 computations (68.3% saved)

prune42.0ms (0.5%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New17912191
Fresh000
Picked011
Done000
Total17913192
Error
0.0b
Counts
192 → 13
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
16.6b
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y)))
37.0b
(+.f64 (log.f64 (exp.f64 (+.f64 x (sin.f64 y)))) (*.f64 z (cos.f64 y)))
0.6b
(fma.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y)))
30.1b
(fma.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z) (+.f64 x (sin.f64 y)))
25.1b
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))
14.3b
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
0.1b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
29.2b
(+.f64 (sin.f64 y) x)
0.7b
(+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
23.1b
(+.f64 y (+.f64 z x))
20.7b
(+.f64 z x)
38.1b
x
Compiler

Compiled 290 to 191 computations (34.1% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

Compiled 49 to 22 computations (55.1% saved)

series22.0ms (0.3%)

Counts
4 → 52
Calls

15 calls:

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

rewrite67.0ms (0.8%)

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

Useful iterations: 0 (0.0ms)

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

simplify82.0ms (1%)

Algorithm
egg-herbie
Rules
1004×fma-def_binary64
504×fma-neg_binary64
490×distribute-rgt-neg-in_binary64
438×cancel-sign-sub-inv_binary64
373×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
061548
1153527
2396516
31254514
43043514
54378514
66348514
Stop Event
node limit
Counts
128 → 106
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 (*.f64 -1 (pow.f64 y 2)) 1)
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4))))
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4)))))
1
(+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))))
(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)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
z
(+.f64 z (*.f64 -1/3 (*.f64 (pow.f64 y 2) z)))
(+.f64 z (+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) z)) (*.f64 -1/3 (*.f64 (pow.f64 y 2) z))))
(+.f64 (*.f64 -1/1701 (*.f64 (pow.f64 y 8) z)) (+.f64 z (+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) z)) (*.f64 -1/3 (*.f64 (pow.f64 y 2) z)))))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
Outputs
1
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2)))
(+.f64 1 (*.f64 -1/3 (*.f64 y y)))
(fma.f64 -1/3 (*.f64 y 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 -1/405 (pow.f64 y 6))))
(+.f64 (fma.f64 -1/3 (*.f64 y y) 1) (*.f64 -1/405 (pow.f64 y 6)))
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1))
(+.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)))))
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)))
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1)))
(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 (*.f64 -1 (pow.f64 y 2)) 1)
(fma.f64 -1 (*.f64 y y) 1)
(-.f64 1 (*.f64 y y))
(neg.f64 (fma.f64 y y -1))
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (*.f64 1/3 (pow.f64 y 4))))
(fma.f64 -1 (*.f64 y y) (+.f64 1 (*.f64 1/3 (pow.f64 y 4))))
(-.f64 (fma.f64 1/3 (pow.f64 y 4) 1) (*.f64 y y))
(-.f64 (*.f64 1/3 (pow.f64 y 4)) (fma.f64 y y -1))
(+.f64 (*.f64 -1 (pow.f64 y 2)) (+.f64 1 (+.f64 (*.f64 -2/45 (pow.f64 y 6)) (*.f64 1/3 (pow.f64 y 4)))))
(+.f64 (fma.f64 -1 (*.f64 y y) 1) (fma.f64 -2/45 (pow.f64 y 6) (*.f64 1/3 (pow.f64 y 4))))
(+.f64 (-.f64 1 (*.f64 y y)) (fma.f64 1/3 (pow.f64 y 4) (*.f64 (pow.f64 y 6) -2/45)))
(-.f64 (fma.f64 (pow.f64 y 6) -2/45 (fma.f64 1/3 (pow.f64 y 4) 1)) (*.f64 y y))
(-.f64 (*.f64 1/3 (pow.f64 y 4)) (fma.f64 y y (fma.f64 (pow.f64 y 6) 2/45 -1)))
1
(+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))
(+.f64 1 (*.f64 (*.f64 y y) -1/6))
(fma.f64 (*.f64 y y) -1/6 1)
(fma.f64 y (*.f64 y -1/6) 1)
(+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2))))
(fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 (*.f64 y y) -1/6)))
(fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (*.f64 y y) -1/6 1))
(fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 1))
(+.f64 (*.f64 -23/6480 (pow.f64 y 6)) (+.f64 (*.f64 -1/72 (pow.f64 y 4)) (+.f64 1 (*.f64 -1/6 (pow.f64 y 2)))))
(fma.f64 -23/6480 (pow.f64 y 6) (fma.f64 -1/72 (pow.f64 y 4) (+.f64 1 (*.f64 (*.f64 y y) -1/6))))
(fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 (pow.f64 y 4) -1/72 (fma.f64 (*.f64 y y) -1/6 1)))
(fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 1)))
(fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 (pow.f64 y 4) -1/72 1)))
(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))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
z
(+.f64 z (*.f64 -1/3 (*.f64 (pow.f64 y 2) z)))
(+.f64 z (*.f64 -1/3 (*.f64 (*.f64 y y) z)))
(*.f64 (fma.f64 -1/3 (*.f64 y y) 1) z)
(fma.f64 y (*.f64 y (*.f64 -1/3 z)) z)
(+.f64 z (+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) z)) (*.f64 -1/3 (*.f64 (pow.f64 y 2) z))))
(+.f64 z (fma.f64 -1/405 (*.f64 (pow.f64 y 6) z) (*.f64 -1/3 (*.f64 (*.f64 y y) z))))
(+.f64 z (*.f64 z (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6)))))
(fma.f64 z (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6))) z)
(*.f64 (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)) z)
(+.f64 (*.f64 -1/1701 (*.f64 (pow.f64 y 8) z)) (+.f64 z (+.f64 (*.f64 -1/405 (*.f64 (pow.f64 y 6) z)) (*.f64 -1/3 (*.f64 (pow.f64 y 2) z)))))
(fma.f64 -1/1701 (*.f64 (pow.f64 y 8) z) (+.f64 z (fma.f64 -1/405 (*.f64 (pow.f64 y 6) z) (*.f64 -1/3 (*.f64 (*.f64 y y) z)))))
(+.f64 (*.f64 z (fma.f64 -1/3 (*.f64 y y) (*.f64 -1/405 (pow.f64 y 6)))) (fma.f64 -1/1701 (*.f64 (pow.f64 y 8) z) z))
(+.f64 z (*.f64 z (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) (*.f64 -1/3 (*.f64 y y))))))
(*.f64 z (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1))))
(*.f64 (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1))) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 y) 2)) 1/3) z)
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) z)

localize3.0ms (0%)

Compiler

Compiled 8 to 4 computations (50% saved)

localize41.0ms (0.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (sin.f64 y) x)
Compiler

Compiled 11 to 5 computations (54.5% saved)

series2.0ms (0%)

Counts
1 → 7
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@0
(+.f64 (sin.f64 y) x)
0.0ms
y
@-inf
(+.f64 (sin.f64 y) x)
0.0ms
x
@-inf
(+.f64 (sin.f64 y) x)
0.0ms
x
@inf
(+.f64 (sin.f64 y) x)
0.0ms
y
@inf
(+.f64 (sin.f64 y) x)

rewrite50.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
612×pow1_binary64
569×add-log-exp_binary64
569×log1p-expm1-u_binary64
569×expm1-log1p-u_binary64
556×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify155.0ms (1.8%)

Algorithm
egg-herbie
Rules
1204×sqr-pow_binary64
710×cube-prod_binary64
678×fabs-mul_binary64
660×pow-sqr_binary64
416×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01739
14439
29939
324839
444839
596539
6142739
7208139
8218939
9235139
10256439
11289439
12335039
13394939
14470039
15563039
16614039
17662839
18702639
19734639
20750839
Stop Event
node limit
Counts
40 → 41
Calls
Call 1
Inputs
x
(+.f64 y x)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x)))
(sin.f64 y)
x
x
Outputs
x
(+.f64 y x)
(+.f64 x y)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 x y))
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x)))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x)))
(+.f64 (fma.f64 1/120 (pow.f64 y 5) x) (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x)))
(fma.f64 1/120 (pow.f64 y 5) (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)))
(+.f64 y (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) x)))
(+.f64 x (fma.f64 1/120 (pow.f64 y 5) (fma.f64 -1/6 (pow.f64 y 3) y)))
(sin.f64 y)
x
x

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

Compiled 20 to 7 computations (65% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

rewrite129.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
803×pow1_binary64
742×add-log-exp_binary64
742×log1p-expm1-u_binary64
742×expm1-log1p-u_binary64
725×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify128.0ms (1.5%)

Algorithm
egg-herbie
Rules
637×associate-*l*_binary64
536×unswap-sqr_binary64
507×sqr-pow_binary64
505×distribute-lft-out_binary64
504×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
019208
148208
2117208
3317203
4824203
52856203
64829203
76064203
86325203
96636203
107019203
117596203
Stop Event
node limit
Counts
59 → 44
Calls
Call 1
Inputs
(sin.f64 y)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
z
(+.f64 y z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
Outputs
(sin.f64 y)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
z
(+.f64 y z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y z))
(+.f64 z (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y))
(+.f64 y (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z))
(fma.f64 (fma.f64 y (*.f64 y -1/2) 1) z y)
(fma.f64 z (fma.f64 y (*.f64 y -1/2) 1) y)
(fma.f64 (fma.f64 -1/2 (*.f64 y z) 1) y z)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)))
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 y z)))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 z (fma.f64 -1/2 (*.f64 y (*.f64 y z)) y)))
(fma.f64 z (*.f64 y (*.f64 y -1/2)) (fma.f64 -1/6 (pow.f64 y 3) (+.f64 y z)))
(fma.f64 (*.f64 y y) (fma.f64 z -1/2 (*.f64 y -1/6)) (+.f64 y z))
(+.f64 y (fma.f64 y (*.f64 y (fma.f64 z -1/2 (*.f64 y -1/6))) z))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.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.8b
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
Compiler

Compiled 43 to 14 computations (67.4% saved)

series73.0ms (0.8%)

Counts
3 → 51
Calls

21 calls:

TimeVariablePointExpression
51.0ms
y
@0
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
7.0ms
y
@-inf
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
2.0ms
y
@inf
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
2.0ms
z
@-inf
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
1.0ms
x
@0
(+.f64 (+.f64 x (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))

rewrite98.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
574×log-prod_binary64
548×fma-def_binary64
439×pow-prod-down_binary64
321×pow2_binary64
260×fma-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify63.0ms (0.7%)

Algorithm
egg-herbie
Rules
791×associate-*r*_binary64
763×associate-*l*_binary64
644×fma-def_binary64
280×associate-+l+_binary64
275×associate-+r+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0104817
1338738
21111686
36650686
Stop Event
node limit
Counts
208 → 190
Calls
Call 1
Inputs
(*.f64 (pow.f64 1 1/3) z)
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z))
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3)))) (*.f64 1/18 (*.f64 (pow.f64 1 1/3) z)))) (pow.f64 y 4)) (*.f64 (pow.f64 1 1/3) z)))
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3))))) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (pow.f64 y 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3)))) (*.f64 1/18 (*.f64 (pow.f64 1 1/3) z)))) (pow.f64 y 4)) (*.f64 (pow.f64 1 1/3) z))))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(pow.f64 z 1/3)
(+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2)))))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))))))
(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 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
x
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
x
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (*.f64 (pow.f64 1 1/3) z) x)
(+.f64 y (+.f64 (*.f64 (pow.f64 1 1/3) z) x))
(+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (pow.f64 1 1/3) z) x)))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (pow.f64 1 1/3) z) x))))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
Outputs
(*.f64 (pow.f64 1 1/3) z)
z
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z))
(fma.f64 (*.f64 z -1/2) (*.f64 y y) z)
(fma.f64 z (*.f64 (*.f64 y y) -1/2) z)
(+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3)))) (*.f64 1/18 (*.f64 (pow.f64 1 1/3) z)))) (pow.f64 y 4)) (*.f64 (pow.f64 1 1/3) z)))
(fma.f64 (*.f64 z -1/2) (*.f64 y y) (fma.f64 (+.f64 (*.f64 1/3 (*.f64 z -1/24)) (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 z 1/18))) (pow.f64 y 4) z))
(fma.f64 (*.f64 z -1/2) (*.f64 y y) (fma.f64 (fma.f64 1/3 (*.f64 z -1/24) (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 z 1/18))) (pow.f64 y 4) z))
(fma.f64 (fma.f64 (cbrt.f64 z) (fma.f64 (cbrt.f64 (/.f64 1 z)) (*.f64 z -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (fma.f64 z 1/18 (*.f64 z -1/72))) (pow.f64 y 4) (fma.f64 z (*.f64 (*.f64 y y) -1/2) z))
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3))))) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))))) (pow.f64 y 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (+.f64 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 z) 1/3) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 z 2)) 1/3)))) (*.f64 1/18 (*.f64 (pow.f64 1 1/3) z)))) (pow.f64 y 4)) (*.f64 (pow.f64 1 1/3) z))))
(fma.f64 (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 z)) (-.f64 (*.f64 z -1/720) (fma.f64 -1/216 z (*.f64 -1/3 (*.f64 z -1/24))))) (*.f64 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) -1/9)) (+.f64 (*.f64 1/3 (-.f64 (*.f64 z -1/720) (fma.f64 -1/216 z (*.f64 -1/3 (*.f64 z -1/24))))) (fma.f64 -1/6 (*.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z))))) (*.f64 -1/9 (*.f64 z -1/24))))) (pow.f64 y 6) (fma.f64 (*.f64 z -1/2) (*.f64 y y) (fma.f64 (+.f64 (*.f64 1/3 (*.f64 z -1/24)) (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 z 1/18))) (pow.f64 y 4) z)))
(fma.f64 (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 z)) (-.f64 (*.f64 z 7/2160) (*.f64 z 1/72))) (*.f64 (cbrt.f64 (/.f64 1 z)) (*.f64 (*.f64 z -1/24) -1/9))) (fma.f64 1/3 (-.f64 (*.f64 z 7/2160) (*.f64 z 1/72)) (fma.f64 (*.f64 -1/6 (cbrt.f64 z)) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 (*.f64 z -1/24) -1/9)))) (pow.f64 y 6) (fma.f64 (*.f64 z -1/2) (*.f64 y y) (fma.f64 (fma.f64 1/3 (*.f64 z -1/24) (fma.f64 (cbrt.f64 z) (fma.f64 2/3 (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 z))) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (*.f64 z 1/18))) (pow.f64 y 4) z)))
(fma.f64 (fma.f64 1/3 (*.f64 z -23/2160) (fma.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (/.f64 1 z)) (+.f64 (*.f64 2/3 (*.f64 z -23/2160)) (*.f64 z 1/216))) (fma.f64 (cbrt.f64 z) (*.f64 -1/6 (fma.f64 (cbrt.f64 (/.f64 1 z)) (*.f64 z -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 z z))))) (*.f64 z 1/216)))) (pow.f64 y 6) (fma.f64 (fma.f64 (cbrt.f64 z) (fma.f64 (cbrt.f64 (/.f64 1 z)) (*.f64 z -1/36) (*.f64 1/36 (cbrt.f64 (*.f64 z z)))) (fma.f64 z 1/18 (*.f64 z -1/72))) (pow.f64 y 4) (fma.f64 z (*.f64 (*.f64 y y) -1/2) z)))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 z (cos.f64 y))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 z (cos.f64 y))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 z (cos.f64 y))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 z (cos.f64 y))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 z (cos.f64 y))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 z (cos.f64 y))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.f64 z (cos.f64 y))
(*.f64 (pow.f64 1 1/3) (*.f64 z (cos.f64 y)))
(*.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 (*.f64 1 z) 1/3) (pow.f64 y 2))))
(+.f64 (cbrt.f64 z) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z))))
(fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2)))))
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 z z))) (*.f64 (*.f64 z -1/24) (pow.f64 y 4))) (+.f64 (cbrt.f64 z) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)))))
(fma.f64 1/3 (*.f64 (pow.f64 y 4) (*.f64 (*.f64 z -1/24) (cbrt.f64 (/.f64 1 (*.f64 z z))))) (fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)))
(fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (fma.f64 (cbrt.f64 (/.f64 1 (*.f64 z z))) (*.f64 (*.f64 z -1/72) (pow.f64 y 4)) (cbrt.f64 z)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 6) (-.f64 (*.f64 -1/720 z) (+.f64 (*.f64 -1/216 z) (*.f64 -1/3 (-.f64 (*.f64 1/24 z) (*.f64 1/12 z)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 z 2)) 1/3) (*.f64 (pow.f64 y 4) (-.f64 (*.f64 1/24 z) (*.f64 1/12 z))))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))))))
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 z z))) (*.f64 (-.f64 (*.f64 z -1/720) (fma.f64 -1/216 z (*.f64 -1/3 (*.f64 z -1/24)))) (pow.f64 y 6))) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 z z))) (*.f64 (*.f64 z -1/24) (pow.f64 y 4))) (+.f64 (cbrt.f64 z) (*.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z))))))
(+.f64 (fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)) (*.f64 (*.f64 1/3 (cbrt.f64 (/.f64 1 (*.f64 z z)))) (+.f64 (*.f64 (-.f64 (*.f64 z 7/2160) (*.f64 z 1/72)) (pow.f64 y 6)) (*.f64 z (*.f64 -1/24 (pow.f64 y 4))))))
(fma.f64 (*.f64 1/3 (cbrt.f64 (/.f64 1 (*.f64 z z)))) (fma.f64 (*.f64 z -23/2160) (pow.f64 y 6) (*.f64 z (*.f64 (pow.f64 y 4) -1/24))) (fma.f64 -1/6 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)))
(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 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
x
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
x
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (*.f64 (pow.f64 1 1/3) z) x)
(+.f64 z x)
(+.f64 y (+.f64 (*.f64 (pow.f64 1 1/3) z) x))
(+.f64 (+.f64 y z) x)
(+.f64 x (+.f64 z y))
(+.f64 z (+.f64 y x))
(+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (pow.f64 1 1/3) z) x)))
(+.f64 y (fma.f64 (*.f64 z -1/2) (*.f64 y y) (+.f64 z x)))
(fma.f64 z (*.f64 (*.f64 y y) -1/2) (+.f64 z (+.f64 y x)))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (+.f64 (*.f64 (pow.f64 1 1/3) z) x))))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 (*.f64 z -1/2) (*.f64 y y) (+.f64 z x))))
(+.f64 (fma.f64 (*.f64 z -1/2) (*.f64 y y) (+.f64 z x)) (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 (+.f64 z x) (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 (*.f64 y y) -1/2) y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) (+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) x))
(+.f64 (sin.f64 y) (+.f64 (*.f64 z (cos.f64 y)) x))
(+.f64 (sin.f64 y) (fma.f64 z (cos.f64 y) x))
(+.f64 x (fma.f64 z (cos.f64 y) (sin.f64 y)))
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)

eval125.0ms (1.5%)

Compiler

Compiled 7456 to 2949 computations (60.4% saved)

prune79.0ms (0.9%)

Pruning

18 alts after pruning (14 fresh and 4 done)

PrunedKeptTotal
New42912441
Fresh527
Picked101
Done145
Total43618454
Error
0b
Counts
454 → 18
Alt Table
Click to see full alt table
StatusErrorProgram
45.1b
z
39.9b
(+.f64 y x)
14.3b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))))
34.1b
(*.f64 (cos.f64 y) z)
56.7b
(log.f64 (exp.f64 (+.f64 (sin.f64 y) x)))
25.1b
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))
16.6b
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y)))
0.4b
(fma.f64 (*.f64 z (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2) 3)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
0.1b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
53.5b
(sin.f64 y)
25.7b
(+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y))
29.2b
(+.f64 (sin.f64 y) x)
0.2b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
0.6b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))))
20.7b
(+.f64 z x)
38.1b
x
30.1b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)))
42.6b
(+.f64 y z)
Compiler

Compiled 339 to 228 computations (32.7% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

Compiled 55 to 18 computations (67.3% saved)

series12.0ms (0.1%)

Counts
3 → 60
Calls

15 calls:

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

rewrite87.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
769×pow1_binary64
708×add-log-exp_binary64
708×log1p-expm1-u_binary64
708×expm1-log1p-u_binary64
691×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify188.0ms (2.2%)

Algorithm
egg-herbie
Rules
1936×fma-def_binary64
703×sqr-pow_binary64
436×*-commutative_binary64
417×cube-prod_binary64
320×pow-sqr_binary64
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
056528
1149522
2401508
31267506
42030506
52780506
62934506
73125506
83340500
95257500
105654500
116134500
126711500
137393500
147724500
Stop Event
node limit
Counts
103 → 68
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)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/72 (*.f64 (pow.f64 y 4) z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z))
(+.f64 (*.f64 -1/72 (*.f64 (pow.f64 y 4) z)) (+.f64 (*.f64 -23/6480 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
Outputs
1
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2)))
(+.f64 1 (*.f64 -1/3 (*.f64 y y)))
(fma.f64 -1/3 (*.f64 y 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 -1/405 (pow.f64 y 6))))
(+.f64 (fma.f64 -1/3 (*.f64 y y) 1) (*.f64 -1/405 (pow.f64 y 6)))
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1))
(+.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)))))
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)))
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1)))
(fma.f64 (*.f64 y y) (fma.f64 (pow.f64 y 6) -1/1701 -1/3) (fma.f64 -1/405 (pow.f64 y 6) 1))
(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 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z)
(*.f64 z (fma.f64 (*.f64 y y) -1/2 1))
(*.f64 z (fma.f64 y (*.f64 y -1/2) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 (*.f64 y y) -1/2 1)))
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 z (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720)) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720))))
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 1/24 (pow.f64 y 4) 1))))
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) (fma.f64 (pow.f64 y 6) -1/720 1))))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/6 (*.f64 (*.f64 y y) z) z)
(fma.f64 (*.f64 (*.f64 y y) z) -1/6 z)
(*.f64 z (fma.f64 (*.f64 y y) -1/6 1))
(fma.f64 y (*.f64 y (*.f64 z -1/6)) z)
(fma.f64 (*.f64 y (*.f64 y z)) -1/6 z)
(+.f64 (*.f64 -1/72 (*.f64 (pow.f64 y 4) z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z))
(fma.f64 -1/72 (*.f64 z (pow.f64 y 4)) (fma.f64 -1/6 (*.f64 (*.f64 y y) z) z))
(fma.f64 (*.f64 z (pow.f64 y 4)) -1/72 (fma.f64 (*.f64 (*.f64 y y) z) -1/6 z))
(fma.f64 z (fma.f64 (pow.f64 y 4) -1/72 (*.f64 y (*.f64 y -1/6))) z)
(*.f64 z (fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 4) -1/72 1)))
(+.f64 (*.f64 -1/72 (*.f64 (pow.f64 y 4) z)) (+.f64 (*.f64 -23/6480 (*.f64 (pow.f64 y 6) z)) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 y 2) z)) z)))
(fma.f64 -1/72 (*.f64 z (pow.f64 y 4)) (fma.f64 -23/6480 (*.f64 (pow.f64 y 6) z) (fma.f64 -1/6 (*.f64 (*.f64 y y) z) z)))
(fma.f64 (*.f64 z (pow.f64 y 4)) -1/72 (fma.f64 (*.f64 (pow.f64 y 6) z) -23/6480 (fma.f64 (*.f64 (*.f64 y y) z) -1/6 z)))
(fma.f64 z (fma.f64 (pow.f64 y 4) -1/72 (*.f64 (pow.f64 y 6) -23/6480)) (*.f64 z (fma.f64 (*.f64 y y) -1/6 1)))
(*.f64 z (+.f64 (fma.f64 (*.f64 y y) -1/6 1) (fma.f64 (pow.f64 y 4) -1/72 (*.f64 (pow.f64 y 6) -23/6480))))
(*.f64 z (fma.f64 y (*.f64 y -1/6) (fma.f64 (pow.f64 y 6) -23/6480 (fma.f64 (pow.f64 y 4) -1/72 1))))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))
(*.f64 (pow.f64 (*.f64 1 (cos.f64 y)) 1/3) z)
(*.f64 z (cbrt.f64 (cos.f64 y)))

localize3.0ms (0%)

Compiler

Compiled 8 to 4 computations (50% saved)

localize4.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize93.0ms (1.1%)

Local error

Found 1 expressions with local error:

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

Compiled 23 to 7 computations (69.6% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y))
0.1b
(*.f64 z (cos.f64 y))
0.6b
(cbrt.f64 (*.f64 z (cos.f64 y)))
0.8b
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
Compiler

Compiled 36 to 13 computations (63.9% saved)

series2.0ms (0%)

Counts
1 → 15
Calls

6 calls:

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

rewrite77.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
972×pow1_binary64
907×add-log-exp_binary64
907×log1p-expm1-u_binary64
907×expm1-log1p-u_binary64
99×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify119.0ms (1.4%)

Algorithm
egg-herbie
Rules
622×distribute-rgt-in_binary64
541×*-commutative_binary64
469×associate-+l+_binary64
456×distribute-lft-out_binary64
455×sqr-pow_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028163
177121
2189121
3518117
41618117
52519117
63931117
75451117
85716117
95979117
106239117
116587117
127229117
Stop Event
node limit
Counts
52 → 48
Calls
Call 1
Inputs
(sin.f64 y)
(sin.f64 y)
(sin.f64 y)
(*.f64 (pow.f64 1 1/3) z)
(+.f64 y (*.f64 (pow.f64 1 1/3) z))
(+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z)))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z))))
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)))
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)))
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)))
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)))
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
Outputs
(sin.f64 y)
(sin.f64 y)
(sin.f64 y)
(*.f64 (pow.f64 1 1/3) z)
(*.f64 1 z)
z
(+.f64 y (*.f64 (pow.f64 1 1/3) z))
(+.f64 y (*.f64 1 z))
(+.f64 y z)
(+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z)))
(+.f64 y (fma.f64 (*.f64 (*.f64 1 z) -1/2) (*.f64 y y) (*.f64 1 z)))
(+.f64 y (fma.f64 (*.f64 z -1/2) (*.f64 y y) z))
(+.f64 z (fma.f64 z (*.f64 (*.f64 y y) -1/2) y))
(fma.f64 z (fma.f64 (*.f64 y y) -1/2 1) y)
(fma.f64 (fma.f64 -1/2 (*.f64 y z) 1) y z)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 (+.f64 (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) z)) (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) z))) (pow.f64 y 2)) (*.f64 (pow.f64 1 1/3) z))))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 (*.f64 (*.f64 1 z) -1/2) (*.f64 y y) (*.f64 1 z))))
(+.f64 (fma.f64 (*.f64 z -1/2) (*.f64 y y) z) (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 z (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 z (*.f64 (*.f64 y y) -1/2) y)))
(fma.f64 z (fma.f64 (*.f64 y y) -1/2 1) (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)))
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)))
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)))
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (sin.f64 y) (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)))
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 y) z)) (sin.f64 y))
(fma.f64 1 (*.f64 z (cos.f64 y)) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))

eval97.0ms (1.1%)

Compiler

Compiled 5556 to 2468 computations (55.6% saved)

prune95.0ms (1.1%)

Pruning

19 alts after pruning (11 fresh and 8 done)

PrunedKeptTotal
New3086314
Fresh459
Picked011
Done178
Total31319332
Error
0b
Counts
332 → 19
Alt Table
Click to see full alt table
StatusErrorProgram
45.1b
z
39.9b
(+.f64 y x)
0.1b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
34.1b
(*.f64 (cos.f64 y) z)
56.7b
(log.f64 (exp.f64 (+.f64 (sin.f64 y) x)))
34.0b
(+.f64 (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (sin.f64 y))
25.1b
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))
42.1b
(+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.f64 y))
16.6b
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y)))
0.1b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
53.5b
(sin.f64 y)
25.7b
(+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y))
29.2b
(+.f64 (sin.f64 y) x)
25.3b
(+.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)) (sin.f64 y))
20.7b
(+.f64 z x)
42.6b
(+.f64 y z)
17.1b
(+.f64 (+.f64 y x) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
25.6b
(+.f64 (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))) (sin.f64 y))
38.1b
x
Compiler

Compiled 318 to 219 computations (31.1% saved)

localize34.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

Compiled 75 to 37 computations (50.7% saved)

series67.0ms (0.8%)

Counts
2 → 36
Calls

9 calls:

TimeVariablePointExpression
41.0ms
y
@inf
(pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2)
18.0ms
y
@-inf
(pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2)
2.0ms
y
@inf
(*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))
2.0ms
z
@0
(*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))
1.0ms
y
@0
(*.f64 (pow.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))

rewrite58.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

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

simplify101.0ms (1.2%)

Algorithm
egg-herbie
Rules
674×distribute-rgt-out_binary64
671×fma-def_binary64
626×associate-*l*_binary64
500×associate-*r*_binary64
477×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
043304
1106298
2265290
3841287
43536287
56067287
67396287
77780287
Stop Event
node limit
Counts
68 → 49
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)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
Outputs
1
(+.f64 1 (*.f64 -1/3 (pow.f64 y 2)))
(+.f64 1 (*.f64 -1/3 (*.f64 y y)))
(fma.f64 -1/3 (*.f64 y y) 1)
(fma.f64 y (*.f64 -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 -1/405 (pow.f64 y 6))))
(+.f64 (fma.f64 -1/3 (*.f64 y y) 1) (*.f64 -1/405 (pow.f64 y 6)))
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1))
(+.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)))))
(fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) 1)))
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/405 (pow.f64 y 6) (fma.f64 -1/1701 (pow.f64 y 8) 1)))
(fma.f64 -1/3 (*.f64 y y) (fma.f64 -1/1701 (pow.f64 y 8) (fma.f64 -1/405 (pow.f64 y 6) 1)))
(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 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) z)
(*.f64 z (fma.f64 (*.f64 y y) -1/2 1))
(*.f64 z (fma.f64 y (*.f64 y -1/2) 1))
(fma.f64 y (*.f64 y (*.f64 z -1/2)) z)
(fma.f64 (*.f64 y y) (*.f64 z -1/2) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) z) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (fma.f64 y (*.f64 y -1/2) (fma.f64 1/24 (pow.f64 y 4) 1)))
(fma.f64 z (fma.f64 y (*.f64 y -1/2) (*.f64 1/24 (pow.f64 y 4))) z)
(fma.f64 z (fma.f64 1/24 (pow.f64 y 4) (*.f64 y (*.f64 y -1/2))) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) z) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) z) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 z (fma.f64 (*.f64 y y) -1/2 (*.f64 (pow.f64 y 6) -1/720)) (*.f64 z (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 y (*.f64 y -1/2) (*.f64 (pow.f64 y 6) -1/720))))
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 y (*.f64 y -1/2) (fma.f64 (pow.f64 y 6) -1/720 1))))
(*.f64 z (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 (pow.f64 y 6) -1/720 (fma.f64 1/24 (pow.f64 y 4) 1))))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 (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)

localize5.0ms (0.1%)

Compiler

Compiled 8 to 4 computations (50% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (sin.f64 y) x)
0.1b
(exp.f64 (+.f64 (sin.f64 y) x))
3.5b
(log.f64 (exp.f64 (+.f64 (sin.f64 y) x)))
Compiler

Compiled 22 to 7 computations (68.2% saved)

series6.0ms (0.1%)

Counts
2 → 36
Calls

12 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
(exp.f64 (+.f64 (sin.f64 y) x))
0.0ms
x
@0
(exp.f64 (+.f64 (sin.f64 y) x))
0.0ms
y
@0
(exp.f64 (+.f64 (sin.f64 y) x))
0.0ms
y
@0
(log.f64 (exp.f64 (+.f64 (sin.f64 y) x)))
0.0ms
y
@inf
(exp.f64 (+.f64 (sin.f64 y) x))

rewrite58.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
684×pow1_binary64
634×log1p-expm1-u_binary64
634×expm1-log1p-u_binary64
633×add-log-exp_binary64
618×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify83.0ms (1%)

Algorithm
egg-herbie
Rules
695×unsub-neg_binary64
314×*-commutative_binary64
304×fma-neg_binary64
266×fma-def_binary64
261×neg-mul-1_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
053339
1149317
2363298
31272286
42852284
57692284
Stop Event
node limit
Counts
94 → 82
Calls
Call 1
Inputs
x
(+.f64 y x)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x)))
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(sin.f64 y)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
x
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
x
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(+.f64 (sin.f64 y) x)
(exp.f64 x)
(+.f64 (*.f64 y (exp.f64 x)) (exp.f64 x))
(+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x)))))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 4) (exp.f64 x))) (+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x))))))
(exp.f64 (sin.f64 y))
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (exp.f64 (sin.f64 y)))
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 2))) (exp.f64 (sin.f64 y))))
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 2))) (+.f64 (exp.f64 (sin.f64 y)) (*.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3))))))
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x)))
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x)))
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x)))
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x)))
Outputs
x
(+.f64 y x)
(+.f64 x y)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y x))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 x y))
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) x))
(+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 y (+.f64 (*.f64 1/120 (pow.f64 y 5)) x)))
(fma.f64 -1/6 (pow.f64 y 3) (+.f64 y (fma.f64 1/120 (pow.f64 y 5) x)))
(+.f64 (fma.f64 1/120 (pow.f64 y 5) x) (fma.f64 -1/6 (pow.f64 y 3) y))
(+.f64 y (fma.f64 -1/6 (pow.f64 y 3) (fma.f64 1/120 (pow.f64 y 5) x)))
(fma.f64 1/120 (pow.f64 y 5) (+.f64 x (fma.f64 -1/6 (pow.f64 y 3) y)))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(sin.f64 y)
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
x
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
x
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(+.f64 (sin.f64 y) x)
(+.f64 x (sin.f64 y))
(exp.f64 x)
(+.f64 (*.f64 y (exp.f64 x)) (exp.f64 x))
(fma.f64 y (exp.f64 x) (exp.f64 x))
(*.f64 (exp.f64 x) (+.f64 y 1))
(+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x)))))
(+.f64 (fma.f64 y (exp.f64 x) (exp.f64 x)) (*.f64 1/2 (*.f64 (exp.f64 x) (*.f64 y y))))
(*.f64 (exp.f64 x) (+.f64 (+.f64 y 1) (*.f64 (*.f64 1/2 y) y)))
(*.f64 (exp.f64 x) (+.f64 y (fma.f64 1/2 (*.f64 y y) 1)))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 4) (exp.f64 x))) (+.f64 (*.f64 y (exp.f64 x)) (+.f64 (exp.f64 x) (*.f64 1/2 (*.f64 (pow.f64 y 2) (exp.f64 x))))))
(fma.f64 -1/8 (*.f64 (exp.f64 x) (pow.f64 y 4)) (+.f64 (fma.f64 y (exp.f64 x) (exp.f64 x)) (*.f64 1/2 (*.f64 (exp.f64 x) (*.f64 y y)))))
(fma.f64 -1/8 (*.f64 (exp.f64 x) (pow.f64 y 4)) (*.f64 (exp.f64 x) (+.f64 (+.f64 y 1) (*.f64 (*.f64 1/2 y) y))))
(*.f64 (exp.f64 x) (+.f64 (*.f64 -1/8 (pow.f64 y 4)) (+.f64 y (fma.f64 1/2 (*.f64 y y) 1))))
(*.f64 (exp.f64 x) (+.f64 (fma.f64 -1/8 (pow.f64 y 4) y) (fma.f64 1/2 (*.f64 y y) 1)))
(*.f64 (exp.f64 x) (+.f64 (fma.f64 1/2 (*.f64 y y) 1) (fma.f64 -1/8 (pow.f64 y 4) y)))
(exp.f64 (sin.f64 y))
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (exp.f64 (sin.f64 y)))
(fma.f64 (exp.f64 (sin.f64 y)) x (exp.f64 (sin.f64 y)))
(*.f64 (+.f64 x 1) (exp.f64 (sin.f64 y)))
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 x 1))
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 2))) (exp.f64 (sin.f64 y))))
(fma.f64 (exp.f64 (sin.f64 y)) x (fma.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (*.f64 x x)) (exp.f64 (sin.f64 y))))
(+.f64 (*.f64 (+.f64 x 1) (exp.f64 (sin.f64 y))) (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (*.f64 x x))))
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 (+.f64 x 1) (*.f64 x (*.f64 x 1/2))))
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 x (+.f64 1 (*.f64 x (*.f64 x 1/2)))))
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 1 (fma.f64 x (*.f64 x 1/2) x)))
(+.f64 (*.f64 (exp.f64 (sin.f64 y)) x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 2))) (+.f64 (exp.f64 (sin.f64 y)) (*.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3))))))
(fma.f64 (exp.f64 (sin.f64 y)) x (+.f64 (fma.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (*.f64 x x)) (exp.f64 (sin.f64 y))) (*.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3)))))
(fma.f64 x (exp.f64 (sin.f64 y)) (fma.f64 1/2 (*.f64 (exp.f64 (sin.f64 y)) (*.f64 x x)) (fma.f64 1/6 (*.f64 (exp.f64 (sin.f64 y)) (pow.f64 x 3)) (exp.f64 (sin.f64 y)))))
(+.f64 (*.f64 (+.f64 (*.f64 x (*.f64 x 1/2)) 1) (exp.f64 (sin.f64 y))) (*.f64 (exp.f64 (sin.f64 y)) (+.f64 (*.f64 1/6 (pow.f64 x 3)) x)))
(*.f64 (exp.f64 (sin.f64 y)) (+.f64 (+.f64 x 1) (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x 1/6)))))
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x)))
(exp.f64 (-.f64 (sin.f64 y) (neg.f64 x)))
(exp.f64 (+.f64 x (sin.f64 y)))
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x)))
(exp.f64 (-.f64 (sin.f64 y) (neg.f64 x)))
(exp.f64 (+.f64 x (sin.f64 y)))
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x)))
(exp.f64 (-.f64 (sin.f64 y) (neg.f64 x)))
(exp.f64 (+.f64 x (sin.f64 y)))
(exp.f64 (-.f64 (sin.f64 y) (*.f64 -1 x)))
(exp.f64 (-.f64 (sin.f64 y) (neg.f64 x)))
(exp.f64 (+.f64 x (sin.f64 y)))

localize28.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

Compiled 35 to 9 computations (74.3% saved)

series15.0ms (0.2%)

Counts
3 → 60
Calls

18 calls:

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

rewrite93.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
982×pow1_binary64
907×add-log-exp_binary64
907×log1p-expm1-u_binary64
907×expm1-log1p-u_binary64
98×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify104.0ms (1.2%)

Algorithm
egg-herbie
Rules
786×unsub-neg_binary64
416×*-commutative_binary64
363×distribute-lft-out_binary64
298×neg-mul-1_binary64
288×neg-sub0_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
053548
1139539
2413518
31411514
42382514
53874514
66528514
Stop Event
node limit
Counts
123 → 92
Calls
Call 1
Inputs
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(sqrt.f64 z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (sqrt.f64 z))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (sqrt.f64 z) (cos.f64 y))
z
(+.f64 y z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(sin.f64 y)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(*.f64 (cos.f64 y) z)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y))
Outputs
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1))
(fma.f64 y (*.f64 -1/2 (*.f64 z y)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(fma.f64 z (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(sqrt.f64 z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (sqrt.f64 z))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (fma.f64 -1/2 (*.f64 y y) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (fma.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)) (sqrt.f64 z)))
(*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/2 (*.f64 y y)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 (sqrt.f64 z) (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 -1/2 (*.f64 y y) 1)))
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) (sqrt.f64 z))) (+.f64 (sqrt.f64 z) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z))))))
(fma.f64 -1/720 (*.f64 (pow.f64 y 6) (sqrt.f64 z)) (+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)))))
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 y 4) (sqrt.f64 z)) (sqrt.f64 z)) (*.f64 (sqrt.f64 z) (+.f64 (*.f64 -1/720 (pow.f64 y 6)) (*.f64 -1/2 (*.f64 y y)))))
(fma.f64 (sqrt.f64 z) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6))) (*.f64 (sqrt.f64 z) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 (sqrt.f64 z) (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
(*.f64 (sqrt.f64 z) (cos.f64 y))
(*.f64 (cos.f64 y) (sqrt.f64 z))
z
(+.f64 y z)
(+.f64 z y)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 z y))
(fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z y)
(+.f64 (*.f64 -1/6 (pow.f64 y 3)) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 y z)))
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 -1/2 (*.f64 z (*.f64 y y)) (+.f64 z y)))
(fma.f64 -1/6 (pow.f64 y 3) (fma.f64 (fma.f64 -1/2 (*.f64 y y) 1) z y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(sin.f64 y)
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 (cos.f64 y) z) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z)))
(*.f64 z (cos.f64 y))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (cos.f64 y) z))) (sin.f64 y))
(fma.f64 (cos.f64 y) z (sin.f64 y))
(fma.f64 z (cos.f64 y) (sin.f64 y))

localize49.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cbrt.f64 z) (cos.f64 y))
0.3b
(*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)))
0.5b
(pow.f64 (cbrt.f64 z) 2)
0.6b
(cbrt.f64 z)
Compiler

Compiled 44 to 17 computations (61.4% saved)

series80.0ms (0.9%)

Counts
4 → 36
Calls

18 calls:

TimeVariablePointExpression
63.0ms
z
@-inf
(*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y)))
3.0ms
y
@inf
(*.f64 (cbrt.f64 z) (cos.f64 y))
1.0ms
z
@-inf
(pow.f64 (cbrt.f64 z) 2)
1.0ms
z
@-inf
(*.f64 (cbrt.f64 z) (cos.f64 y))
1.0ms
y
@0
(*.f64 (cbrt.f64 z) (cos.f64 y))

rewrite86.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
769×pow1_binary64
708×add-log-exp_binary64
708×log1p-expm1-u_binary64
708×expm1-log1p-u_binary64
691×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify173.0ms (2%)

Algorithm
egg-herbie
Rules
838×unswap-sqr_binary64
756×distribute-rgt-out_binary64
655×associate-+l+_binary64
534×sqr-pow_binary64
461×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
043338
1120332
2378318
31378314
42404310
53990310
65137310
75586310
85749310
95964310
106269310
116630310
127067310
137811310
Stop Event
node limit
Counts
99 → 81
Calls
Call 1
Inputs
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(*.f64 z (cos.f64 y))
(pow.f64 z 1/3)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (pow.f64 z 1/3))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 4))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (pow.f64 z 1/3)))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 4))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/720 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 6))))))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
Outputs
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
(*.f64 (cos.f64 y) z)
z
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) z)
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) z)
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) z)
(*.f64 z (fma.f64 (*.f64 y -1/2) y 1))
(*.f64 z (fma.f64 -1/2 (*.f64 y y) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z))))
(+.f64 (fma.f64 -1/2 (*.f64 z (*.f64 y y)) z) (*.f64 1/24 (*.f64 z (pow.f64 y 4))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z))
(*.f64 z (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(*.f64 z (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 (*.f64 y -1/2) y 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 y 2) z)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 y 6) z)) (+.f64 z (*.f64 1/24 (*.f64 (pow.f64 y 4) z)))))
(fma.f64 -1/2 (*.f64 z (*.f64 y y)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (+.f64 z (*.f64 1/24 (*.f64 z (pow.f64 y 4))))))
(fma.f64 -1/2 (*.f64 y (*.f64 y z)) (fma.f64 -1/720 (*.f64 z (pow.f64 y 6)) (fma.f64 1/24 (*.f64 z (pow.f64 y 4)) z)))
(*.f64 z (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(*.f64 z (cos.f64 y))
(*.f64 (cos.f64 y) z)
(pow.f64 z 1/3)
(cbrt.f64 z)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (pow.f64 z 1/3))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z))
(*.f64 (fma.f64 (*.f64 y -1/2) y 1) (cbrt.f64 z))
(*.f64 (cbrt.f64 z) (fma.f64 (*.f64 y -1/2) y 1))
(*.f64 (cbrt.f64 z) (fma.f64 -1/2 (*.f64 y y) 1))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 4))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (pow.f64 z 1/3)))
(fma.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 z)) (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)))
(fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (*.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (cbrt.f64 z)))
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 1/24 (pow.f64 y 4)) (fma.f64 (*.f64 y -1/2) y 1)))
(*.f64 (cbrt.f64 z) (+.f64 (*.f64 y (*.f64 y -1/2)) (fma.f64 1/24 (pow.f64 y 4) 1)))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 4))) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 2))) (+.f64 (pow.f64 z 1/3) (*.f64 -1/720 (*.f64 (pow.f64 (*.f64 1 z) 1/3) (pow.f64 y 6))))))
(fma.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 z)) (+.f64 (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (cbrt.f64 z)) (*.f64 -1/720 (*.f64 (pow.f64 y 6) (cbrt.f64 z)))))
(fma.f64 1/24 (*.f64 (pow.f64 y 4) (cbrt.f64 z)) (fma.f64 -1/2 (*.f64 (*.f64 y y) (cbrt.f64 z)) (fma.f64 -1/720 (*.f64 (pow.f64 y 6) (cbrt.f64 z)) (cbrt.f64 z))))
(+.f64 (*.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))
(+.f64 (cbrt.f64 z) (*.f64 (cbrt.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 (cbrt.f64 z) (+.f64 (fma.f64 1/24 (pow.f64 y 4) 1) (fma.f64 -1/2 (*.f64 y y) (*.f64 -1/720 (pow.f64 y 6)))))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (cos.f64 y) (cbrt.f64 z))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (cos.f64 y) (cbrt.f64 z))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (cos.f64 y) (cbrt.f64 z))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (cos.f64 y) (cbrt.f64 z))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (cos.f64 y) (cbrt.f64 z))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (cos.f64 y) (cbrt.f64 z))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (cos.f64 y) (cbrt.f64 z))
(*.f64 (pow.f64 (*.f64 1 z) 1/3) (cos.f64 y))
(*.f64 (cos.f64 y) (cbrt.f64 z))

eval140.0ms (1.6%)

Compiler

Compiled 6404 to 2806 computations (56.2% saved)

prune100.0ms (1.2%)

Pruning

19 alts after pruning (7 fresh and 12 done)

PrunedKeptTotal
New4153418
Fresh246
Picked011
Done11112
Total41819437
Error
0b
Counts
437 → 19
Alt Table
Click to see full alt table
StatusErrorProgram
45.1b
z
39.9b
(+.f64 y x)
34.1b
(*.f64 (cos.f64 y) z)
56.7b
(log.f64 (exp.f64 (+.f64 (sin.f64 y) x)))
34.0b
(+.f64 (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))) (sin.f64 y))
25.1b
(+.f64 (*.f64 z (cos.f64 y)) (sin.f64 y))
33.4b
(+.f64 (*.f64 (sqrt.f64 (*.f64 z (cbrt.f64 z))) (*.f64 (cbrt.f64 z) (cos.f64 y))) (sin.f64 y))
38.1b
x
42.1b
(+.f64 (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 z)) (sqrt.f64 z)) (sin.f64 y))
16.6b
(+.f64 (+.f64 y x) (*.f64 z (cos.f64 y)))
0.1b
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
53.5b
(sin.f64 y)
25.6b
(+.f64 (*.f64 (pow.f64 (cbrt.f64 z) 2) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 y) 3) z))) (sin.f64 y))
25.7b
(+.f64 (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3) (sin.f64 y))
29.2b
(+.f64 (sin.f64 y) x)
42.6b
(+.f64 y z)
17.1b
(+.f64 (+.f64 y x) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
25.6b
(+.f64 (*.f64 (pow.f64 (cbrt.f64 z) 2) (*.f64 (cbrt.f64 z) (cos.f64 y))) (sin.f64 y))
20.7b
(+.f64 z x)
Compiler

Compiled 194 to 135 computations (30.4% saved)

regimes81.0ms (0.9%)

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

4 calls:

19.0ms
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
19.0ms
z
16.0ms
x
16.0ms
y
Results
ErrorSegmentsBranch
0.1b1x
0.1b1y
0.1b1z
0.1b1(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
Compiler

Compiled 356 to 115 computations (67.7% saved)

regimes86.0ms (1%)

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

3 calls:

41.0ms
z
22.0ms
y
20.0ms
x
Results
ErrorSegmentsBranch
6.6b3x
9.4b3y
5.9b6z
Compiler

Compiled 57 to 23 computations (59.6% saved)

bsearch241.0ms (2.8%)

Algorithm
binary-search
Steps
TimeLeftRight
51.0ms
3.3675823272914263e+184
2.1591852917856652e+186
47.0ms
1.5256828054520908e+98
2.9730668154805883e+100
43.0ms
1.0534743273697433e-42
5.5997377546635976e-42
44.0ms
-1.5269390318249027e-111
-9.999092321689874e-127
56.0ms
-1.2122258679160396e+192
-8.350495106165983e+190
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes80.0ms (0.9%)

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

3 calls:

30.0ms
z
25.0ms
y
23.0ms
x
Results
ErrorSegmentsBranch
14.0b4x
11.7b4y
6.6b5z
Compiler

Compiled 42 to 20 computations (52.4% saved)

bsearch189.0ms (2.2%)

Algorithm
binary-search
Steps
TimeLeftRight
54.0ms
1.5256828054520908e+98
2.9730668154805883e+100
43.0ms
1.0534743273697433e-42
5.5997377546635976e-42
42.0ms
-1.5269390318249027e-111
-9.999092321689874e-127
50.0ms
-1.2122258679160396e+192
-8.350495106165983e+190
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes126.0ms (1.5%)

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

3 calls:

72.0ms
y
29.0ms
z
22.0ms
x
Results
ErrorSegmentsBranch
14.0b4x
14.6b5y
12.4b5z
Compiler

Compiled 38 to 19 computations (50% saved)

bsearch197.0ms (2.3%)

Algorithm
binary-search
Steps
TimeLeftRight
51.0ms
1.5256828054520908e+98
2.9730668154805883e+100
48.0ms
6.951885837040458e-95
1.605336677779909e-92
46.0ms
-4.134652416664313e-170
-1.7324032198514375e-171
53.0ms
-1.2122258679160396e+192
-8.350495106165983e+190
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes95.0ms (1.1%)

Counts
8 → 4
Calls
Call 1
Inputs
x
z
x
(+.f64 y x)
(+.f64 y z)
(+.f64 z x)
(+.f64 y (+.f64 z x))
(sin.f64 y)
Outputs
(+.f64 z x)
(sin.f64 y)
(+.f64 y (+.f64 z x))
(+.f64 z x)
Calls

3 calls:

34.0ms
y
32.0ms
x
27.0ms
z
Results
ErrorSegmentsBranch
16.9b4x
17.6b3y
19.2b3z
Compiler

Compiled 34 to 17 computations (50% saved)

bsearch175.0ms (2%)

Algorithm
binary-search
Steps
TimeLeftRight
58.0ms
4.7882041375632194e-33
3.948892485564202e-29
56.0ms
-2.8741572151691164e-72
-5.730454642523982e-75
61.0ms
-1.0694109591234513e-21
-4.1684978378366753e-23
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes47.0ms (0.5%)

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

3 calls:

15.0ms
y
15.0ms
z
15.0ms
x
Results
ErrorSegmentsBranch
18.0b3x
17.6b3y
19.2b3z
Compiler

Compiled 32 to 16 computations (50% saved)

bsearch75.0ms (0.9%)

Algorithm
binary-search
Steps
TimeLeftRight
39.0ms
1393467.4013561832
22302784063515.707
36.0ms
-5.6331254089158625e+56
-3.4820686405313685e+47
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes36.0ms (0.4%)

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

3 calls:

14.0ms
z
14.0ms
x
6.0ms
y
Results
ErrorSegmentsBranch
18.4b3x
20.7b1y
19.4b3z
Compiler

Compiled 27 to 15 computations (44.4% saved)

bsearch112.0ms (1.3%)

Algorithm
binary-search
Steps
TimeLeftRight
55.0ms
1.0368026855248793e-84
3.46246672469427e-83
56.0ms
-2.3464185735336456e-218
-9.073945039235497e-220
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes68.0ms (0.8%)

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

3 calls:

29.0ms
y
24.0ms
z
13.0ms
x
Results
ErrorSegmentsBranch
24.7b3x
28.3b7y
29.0b5z
Compiler

Compiled 24 to 14 computations (41.7% saved)

bsearch97.0ms (1.1%)

Algorithm
binary-search
Steps
TimeLeftRight
58.0ms
1189639.3908977848
2665025.41464906
39.0ms
-4.519040634168812e+124
-1.5980646720755047e+113
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes55.0ms (0.6%)

Accuracy

Total -35.2b remaining (-129.8%)

Threshold costs -35.2b (-129.8%)

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

3 calls:

23.0ms
z
19.0ms
y
12.0ms
x
Results
ErrorSegmentsBranch
27.2b3x
30.6b5y
29.0b5z
Compiler

Compiled 21 to 13 computations (38.1% saved)

bsearch93.0ms (1.1%)

Algorithm
binary-search
Steps
TimeLeftRight
54.0ms
1189639.3908977848
2665025.41464906
39.0ms
-2.3944564044018373e+125
-4.519040634168812e+124
Compiler

Compiled 18 to 13 computations (27.8% saved)

simplify13.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
074304
182304
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 z x) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 (sin.f64 y) x) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (if (<=.f64 z 33675823272914262738573608762094300435859360155939683187011121221788383136586221172283123302563959296230990765585393489736871338667781827234106028970178294694564467222479658660178952192) (*.f64 (cos.f64 y) z) (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))))))))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 z x) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 (sin.f64 y) x) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (*.f64 (cos.f64 y) z)))))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -5621941723090121/135971326161092377264534580877431968596375838138120172339057699379303311324378174141225600579898697131235668348479104259928724310439093053288837114564246362097620805333860664072122400768) (+.f64 z x) (if (<=.f64 z 5224575974038985/75153362648762663292463379097258784876021841565066235862633311089030688803667470190838367948312598497021919232) (+.f64 y (+.f64 z x)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (*.f64 (cos.f64 y) z)))))
(if (<=.f64 x -5685963943464359/5316911983139663491615228241121378304) (+.f64 z x) (if (<=.f64 x -2858770336396889/994646472819573284310764496293641680200912301594695434880927953786318994025066751066112) (sin.f64 y) (if (<=.f64 x 6997968186923249/1461501637330902918203684832716283019655932542976) (+.f64 y (+.f64 z x)) (+.f64 z x))))
(if (<=.f64 y -563312540891586246537655028135085749163204369414264717312) (+.f64 z x) (if (<=.f64 y 5984896916866913/4294967296) (+.f64 y (+.f64 z x)) (+.f64 z x)))
(if (<=.f64 x -582857166003425/24840289476811342962383671815400040884110176273867145778224832608416815242982030181294054541258343647207803691154097171298745280705837030263108596400658898227271279616333598488804244570105575117204207987099463500014285549661056925696) (+.f64 z x) (if (<=.f64 x 4535494850742531/4374501449566023848745004454235242730706338861786424872851541212819905998398751846447026354046107648) (+.f64 y z) (+.f64 z x)))
(if (<=.f64 x -45190406341688123027315209458055314815991614017819418021607169127463460670441170490321919313959159314113307516084626095341568) x (if (<=.f64 x 2554731138969673/2147483648) (+.f64 y z) x))
(if (<=.f64 x -239445640440183734953002429244664151111683535462076620894300708855117551212625861717585375969402989837677002009575048811118592) x (if (<=.f64 x 2554731138969673/2147483648) z x))
x
Outputs
(+.f64 (+.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y)))
(+.f64 (*.f64 z (cos.f64 y)) (+.f64 x (sin.f64 y)))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 z x) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 (sin.f64 y) x) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (if (<=.f64 z 33675823272914262738573608762094300435859360155939683187011121221788383136586221172283123302563959296230990765585393489736871338667781827234106028970178294694564467222479658660178952192) (*.f64 (cos.f64 y) z) (+.f64 (+.f64 y x) (*.f64 z (cos.f64 y))))))))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 z (cos.f64 y)) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 x z) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 x (sin.f64 y)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 x z) (if (<=.f64 z 33675823272914262738573608762094300435859360155939683187011121221788383136586221172283123302563959296230990765585393489736871338667781827234106028970178294694564467222479658660178952192) (*.f64 z (cos.f64 y)) (+.f64 (*.f64 z (cos.f64 y)) (+.f64 x y)))))))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 z x) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 (sin.f64 y) x) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (*.f64 (cos.f64 y) z)))))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 z (cos.f64 y)) (if (<=.f64 z -1033617572829855/676921312041214565326761275425557544784286395355423968547480366360991530225982818124993751490268451683933401113623918903558144) (+.f64 x z) (if (<=.f64 z 1653191382129483/1569275433846670190958947355801916604025588861116008628224) (+.f64 x (sin.f64 y)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 x z) (*.f64 z (cos.f64 y))))))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 (cos.f64 y) z) (if (<=.f64 z -5621941723090121/135971326161092377264534580877431968596375838138120172339057699379303311324378174141225600579898697131235668348479104259928724310439093053288837114564246362097620805333860664072122400768) (+.f64 z x) (if (<=.f64 z 5224575974038985/75153362648762663292463379097258784876021841565066235862633311089030688803667470190838367948312598497021919232) (+.f64 y (+.f64 z x)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 z x) (*.f64 (cos.f64 y) z)))))
(if (<=.f64 z -1212225867916039582314365993949068528338804774986818380329575161127128051907060550596931955002997417181168787726677134816394252485588615037180417961866587606668523047344925070328157367672242176) (*.f64 z (cos.f64 y)) (if (<=.f64 z -5621941723090121/135971326161092377264534580877431968596375838138120172339057699379303311324378174141225600579898697131235668348479104259928724310439093053288837114564246362097620805333860664072122400768) (+.f64 x z) (if (<=.f64 z 5224575974038985/75153362648762663292463379097258784876021841565066235862633311089030688803667470190838367948312598497021919232) (+.f64 y (+.f64 x z)) (if (<=.f64 z 152568280545209082499903557436276445563691824398810309377107959089131858964005916558472274476269568) (+.f64 x z) (*.f64 z (cos.f64 y))))))
(if (<=.f64 x -5685963943464359/5316911983139663491615228241121378304) (+.f64 z x) (if (<=.f64 x -2858770336396889/994646472819573284310764496293641680200912301594695434880927953786318994025066751066112) (sin.f64 y) (if (<=.f64 x 6997968186923249/1461501637330902918203684832716283019655932542976) (+.f64 y (+.f64 z x)) (+.f64 z x))))
(if (<=.f64 x -5685963943464359/5316911983139663491615228241121378304) (+.f64 x z) (if (<=.f64 x -2858770336396889/994646472819573284310764496293641680200912301594695434880927953786318994025066751066112) (sin.f64 y) (if (<=.f64 x 6997968186923249/1461501637330902918203684832716283019655932542976) (+.f64 y (+.f64 x z)) (+.f64 x z))))
(if (<=.f64 y -563312540891586246537655028135085749163204369414264717312) (+.f64 z x) (if (<=.f64 y 5984896916866913/4294967296) (+.f64 y (+.f64 z x)) (+.f64 z x)))
(if (<=.f64 y -563312540891586246537655028135085749163204369414264717312) (+.f64 x z) (if (<=.f64 y 5984896916866913/4294967296) (+.f64 y (+.f64 x z)) (+.f64 x z)))
(if (<=.f64 x -582857166003425/24840289476811342962383671815400040884110176273867145778224832608416815242982030181294054541258343647207803691154097171298745280705837030263108596400658898227271279616333598488804244570105575117204207987099463500014285549661056925696) (+.f64 z x) (if (<=.f64 x 4535494850742531/4374501449566023848745004454235242730706338861786424872851541212819905998398751846447026354046107648) (+.f64 y z) (+.f64 z x)))
(if (<=.f64 x -582857166003425/24840289476811342962383671815400040884110176273867145778224832608416815242982030181294054541258343647207803691154097171298745280705837030263108596400658898227271279616333598488804244570105575117204207987099463500014285549661056925696) (+.f64 x z) (if (<=.f64 x 4535494850742531/4374501449566023848745004454235242730706338861786424872851541212819905998398751846447026354046107648) (+.f64 y z) (+.f64 x z)))
(if (<=.f64 x -45190406341688123027315209458055314815991614017819418021607169127463460670441170490321919313959159314113307516084626095341568) x (if (<=.f64 x 2554731138969673/2147483648) (+.f64 y z) x))
(if (<=.f64 x -239445640440183734953002429244664151111683535462076620894300708855117551212625861717585375969402989837677002009575048811118592) x (if (<=.f64 x 2554731138969673/2147483648) z x))
x
Compiler

Compiled 240 to 131 computations (45.4% saved)

soundness0.0ms (0%)

end82.0ms (1%)

Compiler

Compiled 213 to 85 computations (60.1% saved)

Profiling

Loading profile data...