Details

Time bar (total: 16.8s)

analyze4.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%49.7%50.3%0
0%49.7%50.3%1
0%49.7%50.3%2
24.8%24.8%50.3%3
37.3%12.4%50.3%4
43.5%6.2%50.3%5
46.6%3.1%50.3%6
48.1%1.6%50.3%7
48.9%0.8%50.3%8
49.3%0.4%50.3%9
49.5%0.2%50.3%10
49.6%0.1%50.3%11
49.6%0%50.3%12
Compiler

Compiled 16 to 12 computations (25% saved)

sample11.1s (65.8%)

Results
9.0s4179×body2048valid
1.5s2031×body1024valid
251.0ms1024×body512valid
188.0ms227×body4096valid
115.0ms795×body256valid

preprocess21.0ms (0.1%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21712
32512
43512
55312
69012
712412
816812
920412
1023012
1123212
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Outputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify14.0ms (0.1%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21712
32512
43512
55312
69012
712412
816812
920412
1023012
1123212
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Outputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))

eval1.0ms (0%)

Compiler

Compiled 17 to 12 computations (29.4% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
59.5b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
59.5b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 9 to 7 computations (22.2% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (tan.f64 x))
3.0b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 20 to 12 computations (40% saved)

series4.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
1.0ms
x
@0
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
1.0ms
x
@-inf
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
1.0ms
x
@inf
(/.f64 1 (tan.f64 x))
0.0ms
x
@-inf
(/.f64 1 (tan.f64 x))

rewrite71.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
883×pow1_binary64
823×add-log-exp_binary64
823×log1p-expm1-u_binary64
823×expm1-log1p-u_binary64
805×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0718
116018
2236518
Stop Event
node limit
Counts
2 → 64
Calls
Call 1
Inputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(/.f64 1 (tan.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (*.f64 (/.f64 -1 (tan.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) (fma.f64 (/.f64 -1 (tan.f64 x)) 1 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) (fma.f64 (neg.f64 (/.f64 1 (cbrt.f64 (tan.f64 x)))) (cbrt.f64 (pow.f64 (tan.f64 x) -2)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) (fma.f64 (neg.f64 (pow.f64 (tan.f64 x) -1/2)) (pow.f64 (tan.f64 x) -1/2) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 -1 (tan.f64 x)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))) (pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))) 2) (cbrt.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))) (sqrt.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (tan.f64 x) x) (/.f64 (/.f64 1 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) -3)) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -2) (pow.f64 (tan.f64 x) -2)) (/.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -1/2) (pow.f64 (tan.f64 x) -1/2)) (-.f64 (pow.f64 x -1/2) (pow.f64 (tan.f64 x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (tan.f64 x) x) (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x)))) (-.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) (-.f64 (pow.f64 x -2) (pow.f64 (tan.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (tan.f64 x) x) (*.f64 (tan.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) -3)) (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (pow.f64 (tan.f64 x) -2)) (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (tan.f64 x) x)) (neg.f64 (*.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -3) (pow.f64 (tan.f64 x) -3))) (neg.f64 (+.f64 (pow.f64 x -2) (+.f64 (pow.f64 (tan.f64 x) -2) (/.f64 (/.f64 1 x) (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -2) (pow.f64 (tan.f64 x) -2))) (neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 (tan.f64 x)) (*.f64 (neg.f64 x) 1)) (*.f64 (neg.f64 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 (tan.f64 x)) (*.f64 x -1)) (*.f64 x (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 -1 (neg.f64 (tan.f64 x))) (*.f64 (neg.f64 x) -1)) (*.f64 (neg.f64 x) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -3) (pow.f64 (/.f64 -1 (tan.f64 x)) 3)) (+.f64 (pow.f64 x -2) (-.f64 (*.f64 (/.f64 -1 (tan.f64 x)) (/.f64 -1 (tan.f64 x))) (*.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -2) (*.f64 (/.f64 -1 (tan.f64 x)) (/.f64 -1 (tan.f64 x)))) (-.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) (/.f64 -1 (tan.f64 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (tan.f64 x))) (cbrt.f64 (pow.f64 (tan.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (tan.f64 x) -2)) (/.f64 1 (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tan.f64 x) -1/2) (pow.f64 (tan.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 -1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (tan.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (tan.f64 x)) -1) (pow.f64 (sqrt.f64 (tan.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tan.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 x) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tan.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (tan.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (tan.f64 x))))))))

simplify86.0ms (0.5%)

Algorithm
egg-herbie
Rules
855×fma-def_binary64
712×distribute-rgt-neg-in_binary64
624×unswap-sqr_binary64
603×distribute-lft-neg-in_binary64
438×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
039281
196275
2220275
3570275
41053275
52194275
63053275
74079275
84575275
96502275
Stop Event
node limit
Counts
88 → 83
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(/.f64 1 x)
(+.f64 (*.f64 -1/3 x) (/.f64 1 x))
(+.f64 (*.f64 -1/45 (pow.f64 x 3)) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))
(+.f64 (*.f64 -2/945 (pow.f64 x 5)) (+.f64 (*.f64 -1/45 (pow.f64 x 3)) (+.f64 (*.f64 -1/3 x) (/.f64 1 x))))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x)))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 1 x)
(+.f64 (*.f64 -1/3 x) (/.f64 1 x))
(fma.f64 -1/3 x (/.f64 1 x))
(fma.f64 x -1/3 (/.f64 1 x))
(+.f64 (*.f64 -1/45 (pow.f64 x 3)) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))
(fma.f64 -1/45 (pow.f64 x 3) (fma.f64 -1/3 x (/.f64 1 x)))
(fma.f64 (pow.f64 x 3) -1/45 (fma.f64 x -1/3 (/.f64 1 x)))
(fma.f64 x (fma.f64 x (*.f64 x -1/45) -1/3) (/.f64 1 x))
(fma.f64 x -1/3 (fma.f64 (pow.f64 x 3) -1/45 (/.f64 1 x)))
(fma.f64 x (fma.f64 -1/45 (*.f64 x x) -1/3) (/.f64 1 x))
(+.f64 (*.f64 -2/945 (pow.f64 x 5)) (+.f64 (*.f64 -1/45 (pow.f64 x 3)) (+.f64 (*.f64 -1/3 x) (/.f64 1 x))))
(fma.f64 -2/945 (pow.f64 x 5) (fma.f64 -1/45 (pow.f64 x 3) (fma.f64 -1/3 x (/.f64 1 x))))
(fma.f64 (pow.f64 x 5) -2/945 (fma.f64 (pow.f64 x 3) -1/45 (fma.f64 x -1/3 (/.f64 1 x))))
(fma.f64 (pow.f64 x 3) -1/45 (fma.f64 (pow.f64 x 5) -2/945 (fma.f64 x -1/3 (/.f64 1 x))))
(fma.f64 x -1/3 (fma.f64 (pow.f64 x 3) -1/45 (fma.f64 (pow.f64 x 5) -2/945 (/.f64 1 x))))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))
(/.f64 (cos.f64 x) (sin.f64 x))

eval24.0ms (0.1%)

Compiler

Compiled 1123 to 723 computations (35.6% saved)

prune20.0ms (0.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New74983
Fresh000
Picked011
Done000
Total741084
Error
0.4b
Counts
84 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
59.5b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
0.9b
(*.f64 1/3 x)
0.4b
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
0.4b
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
0.5b
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
0.5b
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
59.7b
(-.f64 (/.f64 1 x) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))
59.5b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 241 to 179 computations (25.7% saved)

localize57.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/4725 (pow.f64 x 7))
0.1b
(*.f64 2/945 (pow.f64 x 5))
0.1b
(*.f64 1/45 (pow.f64 x 3))
0.4b
(*.f64 1/3 x)
Compiler

Compiled 85 to 68 computations (20% saved)

series8.0ms (0%)

Counts
4 → 0
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 1/3 x)
1.0ms
x
@0
(*.f64 1/4725 (pow.f64 x 7))
1.0ms
x
@0
(*.f64 2/945 (pow.f64 x 5))
1.0ms
x
@0
(*.f64 1/45 (pow.f64 x 3))
1.0ms
x
@inf
(*.f64 1/45 (pow.f64 x 3))

rewrite69.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
622×log-prod_binary64
378×pow2_binary64
307×pow-prod-down_binary64
266×expm1-udef_binary64
266×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01625
134425
2353825
Stop Event
node limit
Counts
4 → 80
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/45 (pow.f64 x 3))
(*.f64 2/945 (pow.f64 x 5))
(*.f64 1/4725 (pow.f64 x 7))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x))) 2)) (log.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 x)))) (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (cbrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/3 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 1/3 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/3 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/3 x))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/45 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/45 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2025 (pow.f64 x 6)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 1/45)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/45) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/2025 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/45 (pow.f64 x 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (cbrt.f64 1/45))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 1/45) (pow.f64 x 3/2))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/945 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/945 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4/893025 (pow.f64 x 10)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/945 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/945) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4/893025 (pow.f64 x 10)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 5 (log.f64 x) (log.f64 2/945)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 5 (log.f64 x) (log.f64 2/945)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (fma.f64 5 (log.f64 x) (log.f64 2/945))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 2/945 (pow.f64 x 5)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 2/945) (pow.f64 x 5/2))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/4725 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/4725 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 14) 1/22325625) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/4725 (pow.f64 x 7))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/4725) (pow.f64 x 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 14) 1/22325625))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 7 (log.f64 x) (log.f64 1/4725)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 7 (log.f64 x) (log.f64 1/4725)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (fma.f64 7 (log.f64 x) (log.f64 1/4725))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/4725 (pow.f64 x 7)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 1/4725) (pow.f64 x 7/2))) 2))))))

simplify7.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
80 → 80
Calls
Call 1
Inputs
Outputs

localize3.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(*.f64 1/3 x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/45 (*.f64 x x) 1/3)
0.4b
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
Compiler

Compiled 21 to 11 computations (47.6% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
1.0ms
x
@inf
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
0.0ms
x
@-inf
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
0.0ms
x
@0
(fma.f64 1/45 (*.f64 x x) 1/3)
0.0ms
x
@inf
(fma.f64 1/45 (*.f64 x x) 1/3)

rewrite50.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
114219
2157119
Stop Event
node limit
Counts
2 → 34
Calls
Call 1
Inputs
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (*.f64 x x) 1/3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 1/45 (*.f64 x x))) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/3 (*.f64 1/45 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) 1) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/45 (*.f64 x x) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/45 (*.f64 x x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) 2) (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) (sqrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))))

simplify178.0ms (1.1%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
564×cube-prod_binary64
536×unswap-sqr_binary64
534×fabs-mul_binary64
502×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
013222
131204
261204
3134204
4336204
51386204
62757204
72943204
83194204
93481204
103860204
114370204
124977204
135689204
146160204
156481204
166753204
176921204
187013204
197690204
Stop Event
node limit
Counts
58 → 43
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)

localize7.0ms (0%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
0.0b
(/.f64 (-.f64 (tan.f64 x) x) x)
2.9b
(-.f64 (tan.f64 x) x)
Compiler

Compiled 23 to 5 computations (78.3% saved)

series6.0ms (0%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@0
(-.f64 (tan.f64 x) x)
1.0ms
x
@inf
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
1.0ms
x
@-inf
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
1.0ms
x
@-inf
(/.f64 (-.f64 (tan.f64 x) x) x)
0.0ms
x
@inf
(/.f64 (-.f64 (tan.f64 x) x) x)

rewrite96.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
496×prod-diff_binary64
436×log-prod_binary64
333×exp-prod_binary64
283×pow-prod-down_binary64
214×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify85.0ms (0.5%)

Algorithm
egg-herbie
Rules
845×fma-def_binary64
740×distribute-lft-out_binary64
717×associate-*l*_binary64
697×distribute-rgt-out_binary64
557×associate-*r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
066478
1167460
2391460
31144460
44425460
56910460
67856460
Stop Event
node limit
Counts
254 → 251
Calls
Call 1
Inputs
(*.f64 1/3 (pow.f64 x 3))
(+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5)))
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))))
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 62/2835 (pow.f64 x 9)) (*.f64 2/15 (pow.f64 x 5)))))
(*.f64 -1 x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(*.f64 -1 x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(*.f64 1/3 (pow.f64 x 2))
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4)))
(+.f64 (*.f64 17/315 (pow.f64 x 6)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4))))
(+.f64 (*.f64 17/315 (pow.f64 x 6)) (+.f64 (*.f64 62/2835 (pow.f64 x 8)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4)))))
-1
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
-1
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
Outputs
(*.f64 1/3 (pow.f64 x 3))
(+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))))
(fma.f64 17/315 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (*.f64 17/315 (pow.f64 x 7))))
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 62/2835 (pow.f64 x 9)) (*.f64 2/15 (pow.f64 x 5)))))
(fma.f64 17/315 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 62/2835 (pow.f64 x 9) (*.f64 2/15 (pow.f64 x 5)))))
(fma.f64 17/315 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (*.f64 62/2835 (pow.f64 x 9)))))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (fma.f64 17/315 (pow.f64 x 7) (*.f64 62/2835 (pow.f64 x 9)))))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4)))
(fma.f64 1/3 (*.f64 x x) (*.f64 2/15 (pow.f64 x 4)))
(fma.f64 2/15 (pow.f64 x 4) (*.f64 1/3 (*.f64 x x)))
(*.f64 (*.f64 x x) (fma.f64 2/15 (*.f64 x x) 1/3))
(+.f64 (*.f64 17/315 (pow.f64 x 6)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4))))
(fma.f64 17/315 (pow.f64 x 6) (fma.f64 1/3 (*.f64 x x) (*.f64 2/15 (pow.f64 x 4))))
(fma.f64 17/315 (pow.f64 x 6) (fma.f64 2/15 (pow.f64 x 4) (*.f64 1/3 (*.f64 x x))))
(fma.f64 1/3 (*.f64 x x) (fma.f64 2/15 (pow.f64 x 4) (*.f64 17/315 (pow.f64 x 6))))
(+.f64 (*.f64 17/315 (pow.f64 x 6)) (+.f64 (*.f64 62/2835 (pow.f64 x 8)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4)))))
(fma.f64 17/315 (pow.f64 x 6) (fma.f64 62/2835 (pow.f64 x 8) (fma.f64 1/3 (*.f64 x x) (*.f64 2/15 (pow.f64 x 4)))))
(fma.f64 17/315 (pow.f64 x 6) (fma.f64 62/2835 (pow.f64 x 8) (fma.f64 2/15 (pow.f64 x 4) (*.f64 1/3 (*.f64 x x)))))
(fma.f64 17/315 (pow.f64 x 6) (fma.f64 1/3 (*.f64 x x) (fma.f64 2/15 (pow.f64 x 4) (*.f64 62/2835 (pow.f64 x 8)))))
(fma.f64 1/3 (*.f64 x x) (fma.f64 2/15 (pow.f64 x 4) (fma.f64 17/315 (pow.f64 x 6) (*.f64 62/2835 (pow.f64 x 8)))))
-1
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
-1
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 (pow.f64 x 3) 1/45))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 (pow.f64 x 3) 1/45)))
(fma.f64 1/3 x (fma.f64 (pow.f64 x 3) 1/45 (*.f64 (pow.f64 x 5) 2/945)))
(fma.f64 1/3 x (fma.f64 (pow.f64 x 5) 2/945 (*.f64 (pow.f64 x 3) 1/45)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (pow.f64 x 7) 1/4725))))
(fma.f64 1/3 x (fma.f64 (pow.f64 x 5) 2/945 (fma.f64 (pow.f64 x 3) 1/45 (*.f64 (pow.f64 x 7) 1/4725))))
(fma.f64 1/3 x (fma.f64 (pow.f64 x 3) 1/45 (fma.f64 (pow.f64 x 5) 2/945 (*.f64 (pow.f64 x 7) 1/4725))))
(fma.f64 (pow.f64 x 5) 2/945 (fma.f64 (pow.f64 x 3) 1/45 (fma.f64 (pow.f64 x 7) 1/4725 (*.f64 1/3 x))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))

localize21.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))
0.0b
(fma.f64 x (*.f64 x 1/45) 1/3)
0.3b
(*.f64 x 1/45)
0.4b
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
Compiler

Compiled 39 to 27 computations (30.8% saved)

series5.0ms (0%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
1.0ms
x
@0
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
1.0ms
x
@inf
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
0.0ms
x
@-inf
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))
0.0ms
x
@inf
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))

rewrite87.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
563×unpow-prod-down_binary64
450×log-prod_binary64
351×exp-prod_binary64
275×pow2_binary64
252×pow-prod-down_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01141
123141
2252941
Stop Event
node limit
Counts
4 → 134
Calls
Call 1
Inputs
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 x 1/45)
(fma.f64 x (*.f64 x 1/45) 1/3)
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) x) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x (*.f64 x 1/45))) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (fma.f64 x (*.f64 x 1/45) 1/3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (fma.f64 x (*.f64 x 1/45) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (fma.f64 x (*.f64 x 1/45) 1/3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (fma.f64 x (*.f64 x 1/45) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))) (sqrt.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x (*.f64 x 1/45)) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x 1/45)) x (*.f64 1/3 x))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x 1/45))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/45) x)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/45) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/45) x))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/45) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x 1/45))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/45) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/45) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 1/91125) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/45)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/45)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x 1/45))) 2)) (cbrt.f64 (log.f64 (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x 1/45)))) (sqrt.f64 (log.f64 (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x 1/45) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/45) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) 1/91125))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x 1/45)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x 1/45))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x 1/45))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x 1/45))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x 1/45)) 1) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/3 (*.f64 x (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (*.f64 x 1/45) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) 1) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (*.f64 x 1/45) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 2) (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) (sqrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (fma.f64 x (*.f64 x 1/45) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 x (*.f64 x 1/45) 1/3) (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 2) 1/3) (cbrt.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 2) 3) (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 6) 1/91125) 1/27) (+.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 2) (-.f64 1/9 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 2) 1/9) (fma.f64 x (*.f64 x 1/45) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 2)) (cbrt.f64 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))) (sqrt.f64 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 1/45) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3)) 1) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2/945 (pow.f64 x 5)) 1) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))) 2) (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))) (sqrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 2) 1/3) (cbrt.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 2) 3) (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 8/843908625 (pow.f64 x 15)) (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 3)) (+.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 2) (-.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 2) (*.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 2) (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)) 2)) (-.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 2)) (cbrt.f64 (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))) (sqrt.f64 (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))) (pow.f64 (exp.f64 2/945) (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)) (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))) 1) 1))))))

simplify124.0ms (0.7%)

Algorithm
egg-herbie
Rules
767×sqr-pow_binary64
754×unswap-sqr_binary64
519×associate-*l*_binary64
482×cube-prod_binary64
433×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020435
150417
298417
3211417
4520417
51880417
63844417
74197417
84544417
94958417
105563417
116457417
127465417
Stop Event
node limit
Counts
182 → 150
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(*.f64 2/945 (pow.f64 x 5))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(*.f64 2/945 (pow.f64 x 5))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(*.f64 2/945 (pow.f64 x 5))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(*.f64 2/945 (pow.f64 x 5))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))

eval266.0ms (1.6%)

Compiler

Compiled 9460 to 5736 computations (39.4% saved)

prune158.0ms (0.9%)

Pruning

18 alts after pruning (14 fresh and 4 done)

PrunedKeptTotal
New53113544
Fresh314
Picked101
Done145
Total53618554
Error
0.0b
Counts
554 → 18
Alt Table
Click to see full alt table
StatusErrorProgram
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
0.8b
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 1/3))))
0.5b
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
30.5b
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
59.5b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
0.9b
(*.f64 1/3 x)
43.8b
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
0.5b
(*.f64 x (/.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))
59.5b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
0.4b
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))
0.4b
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
29.1b
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
0.5b
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
2.1b
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
59.5b
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
38.2b
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
30.8b
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 3))
38.2b
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
Compiler

Compiled 441 to 323 computations (26.8% saved)

localize24.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/45 (*.f64 x x) 1/3)
0.0b
(*.f64 1/4725 (pow.f64 x 7))
0.1b
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
0.4b
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
Compiler

Compiled 56 to 39 computations (30.4% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
0.0ms
x
@-inf
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
0.0ms
x
@inf
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
0.0ms
x
@-inf
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
0.0ms
x
@inf
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))

rewrite68.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
561×log-prod_binary64
368×pow2_binary64
310×pow-prod-down_binary64
256×expm1-udef_binary64
256×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01539
131839
2340339
Stop Event
node limit
Counts
2 → 67
Calls
Call 1
Inputs
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 1) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (*.f64 2/945 (pow.f64 x 5))) (*.f64 1/4725 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 2) (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) (sqrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 3) (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 3)) (+.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 2) (-.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 2) (*.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 2) (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 2)) (-.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) (exp.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) (exp.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))) (+.f64 1 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2/945 (pow.f64 x 5)) 1) (*.f64 1/4725 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) (pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 2) (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3) (pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 3)) (+.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 2) (-.f64 (*.f64 (pow.f64 x 14) 1/22325625) (*.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 2) (*.f64 (pow.f64 x 14) 1/22325625)) (-.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)) (exp.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/4725 (pow.f64 x 7)))) (exp.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 2/945 (pow.f64 x 5))) (+.f64 1 (expm1.f64 (*.f64 1/4725 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))) 2))))))

simplify166.0ms (1%)

Algorithm
egg-herbie
Rules
675×sqr-pow_binary64
672×cube-prod_binary64
624×unswap-sqr_binary64
622×fabs-mul_binary64
443×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023339
161339
2132339
3318339
4608339
51346339
61974339
72923339
83077339
93324339
103639339
114120339
124799339
135693339
146337339
156846339
167249339
177624339
187844339
Stop Event
node limit
Counts
91 → 79
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 2/945 (pow.f64 x 5))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 2/945 (pow.f64 x 5))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 1/45 (*.f64 x x)) 1/3)
0.1b
(*.f64 1/45 (*.f64 x x))
0.4b
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
Compiler

Compiled 28 to 15 computations (46.4% saved)

series3.0ms (0%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
0.0ms
x
@inf
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
0.0ms
x
@inf
(*.f64 1/45 (*.f64 x x))
0.0ms
x
@-inf
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
0.0ms
x
@0
(*.f64 1/45 (*.f64 x x))

rewrite67.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
894×pow1_binary64
840×add-log-exp_binary64
840×log1p-expm1-u_binary64
840×expm1-log1p-u_binary64
824×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0826
118126
2233026
Stop Event
node limit
Counts
3 → 68
Calls
Call 1
Inputs
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 1/45 (*.f64 x x))
(+.f64 (*.f64 1/45 (*.f64 x x)) 1/3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/3) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) 1) (*.f64 (*.f64 x 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/45 (pow.f64 x 3)) 3) (pow.f64 (*.f64 x 1/3) 3)) (+.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3))) (-.f64 (*.f64 (*.f64 x 1/3) (*.f64 x 1/3)) (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3))) (*.f64 (*.f64 x 1/3) (*.f64 x 1/3))) (-.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3))) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9)) (fma.f64 1/45 (*.f64 x x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x (*.f64 x 1/45)) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x 1/45)) x (*.f64 x 1/3))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x 1/45))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 1/45)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/45))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/45)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/2025 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/45) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 1/45))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (*.f64 x 1/45) x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/2025 (pow.f64 x 4)) (fma.f64 1/45 (*.f64 x x) -1/3)) (/.f64 1/9 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 x 1/45) x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) 2) (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) (sqrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) (/.f64 1 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) (/.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))) (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) (+.f64 1/9 (-.f64 (*.f64 1/2025 (pow.f64 x 4)) (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3))) (neg.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9)) (neg.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/9 (*.f64 1/2025 (pow.f64 x 4))) (-.f64 1/3 (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/45 (*.f64 x x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1/45 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (*.f64 x 1/45)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4))) (cbrt.f64 (*.f64 x (*.f64 x 1/45))) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 1/45)) (*.f64 x (sqrt.f64 1/45)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 1/45) x 1/3)))))

simplify182.0ms (1.1%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
564×cube-prod_binary64
536×unswap-sqr_binary64
534×fabs-mul_binary64
502×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
013306
131288
261288
3134288
4336288
51386288
62757288
72943288
83194288
93481288
103860288
114370288
124977288
135689288
146160288
156481288
166753288
176921288
187013288
197690288
Stop Event
node limit
Counts
104 → 77
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)

localize54.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 x x) 1/9)
28.3b
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
Compiler

Compiled 17 to 8 computations (52.9% saved)

series4.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 (*.f64 x x) 1/9)
1.0ms
x
@inf
(*.f64 (*.f64 x x) 1/9)
1.0ms
x
@0
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
1.0ms
x
@inf
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
0.0ms
x
@-inf
(*.f64 (*.f64 x x) 1/9)

rewrite91.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
508×pow1_binary64
492×add-sqr-sqrt_binary64
475×add-log-exp_binary64
475×log1p-expm1-u_binary64
475×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0616
112411
2139611
Stop Event
node limit
Counts
2 → 38
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(*.f64 (*.f64 x x) 1/9)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 1/9 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x 1/3)) (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x 1/3)) (sqrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 (*.f64 x 1/9) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/81))) (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1/9 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/81)) 1/2) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 x x) 1/9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/81) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x x) 1/9) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/81))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) 1/9) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) 1/9)))))))

simplify193.0ms (1.1%)

Algorithm
egg-herbie
Rules
1101×sqr-pow_binary64
582×associate-*l*_binary64
565×cube-prod_binary64
557×fabs-mul_binary64
528×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010132
118132
229132
358132
4138132
5442132
61604132
72497132
82661132
92874132
103094132
113397132
123799132
134292132
144860132
155550132
166383132
176773132
187057132
197333132
207409132
217443132
Stop Event
node limit
Counts
62 → 42
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (pow.f64 x 2))
Outputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 -1/3 x)
(*.f64 x -1/3)
(*.f64 -1/3 x)
(*.f64 x -1/3)
(*.f64 -1/3 x)
(*.f64 x -1/3)
(*.f64 -1/3 x)
(*.f64 x -1/3)
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))
(*.f64 1/9 (pow.f64 x 2))
(*.f64 1/9 (*.f64 x x))
(*.f64 x (*.f64 x 1/9))

localize16.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.4b
(*.f64 1/3 x)
0.7b
(cbrt.f64 (*.f64 1/3 x))
0.7b
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
Compiler

Compiled 17 to 13 computations (23.5% saved)

series12.0ms (0.1%)

Counts
2 → 0
Calls

6 calls:

TimeVariablePointExpression
3.0ms
x
@0
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
3.0ms
x
@-inf
(cbrt.f64 (*.f64 1/3 x))
3.0ms
x
@-inf
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
2.0ms
x
@inf
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
1.0ms
x
@inf
(cbrt.f64 (*.f64 1/3 x))

rewrite73.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
515×pow1_binary64
508×add-sqr-sqrt_binary64
487×add-log-exp_binary64
487×log1p-expm1-u_binary64
487×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify43.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
49 → 49
Calls
Call 1
Inputs
Outputs

localize51.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (neg.f64 (tan.f64 x)))
0.0b
(/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x)
0.0b
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
2.9b
(-.f64 (tan.f64 x) x)
Compiler

Compiled 42 to 12 computations (71.4% saved)

series14.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
7.0ms
x
@inf
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
1.0ms
x
@-inf
(/.f64 1 (neg.f64 (tan.f64 x)))
1.0ms
x
@inf
(/.f64 1 (neg.f64 (tan.f64 x)))
1.0ms
x
@0
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
1.0ms
x
@0
(/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x)

rewrite88.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
572×prod-diff_binary64
495×log-prod_binary64
277×fma-def_binary64
234×pow2_binary64
220×pow-unpow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01037
122929
2373129
Stop Event
node limit
Counts
3 → 133
Calls
Call 1
Inputs
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
(/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x)
(/.f64 1 (neg.f64 (tan.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (tan.f64 x)) (*.f64 (neg.f64 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (tan.f64 x)) (*.f64 (tan.f64 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (tan.f64 x)) (/.f64 (tan.f64 x) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (tan.f64 x)) (/.f64 (*.f64 x (tan.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (tan.f64 x)) (/.f64 x (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 x (tan.f64 x)) x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (/.f64 x (+.f64 x (tan.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (tan.f64 x) (/.f64 x (+.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (tan.f64 x) (/.f64 (+.f64 x (tan.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (tan.f64 x)) (+.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (/.f64 (+.f64 x (tan.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (tan.f64 x)) (/.f64 x (+.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 2)) (/.f64 (tan.f64 x) (cbrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) (/.f64 (tan.f64 x) (sqrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (/.f64 x (+.f64 x (tan.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (tan.f64 x) (/.f64 x (+.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 x (tan.f64 x)) (tan.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 x (tan.f64 x)) (tan.f64 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 x (tan.f64 x)) x) (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 1) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 x (tan.f64 x)) x) (cbrt.f64 (pow.f64 (tan.f64 x) 2))) (cbrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 x (tan.f64 x)) x) -1) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 x (tan.f64 x)) (tan.f64 x)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 x (tan.f64 x)) (tan.f64 x)) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (+.f64 x (tan.f64 x)) (tan.f64 x)) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (+.f64 x (tan.f64 x)) x) -1) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 3) (pow.f64 (tan.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 3) (pow.f64 (/.f64 1 (tan.f64 x)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (/.f64 1 (tan.f64 x)) 3) (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 x (+.f64 x (tan.f64 x))) (tan.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (tan.f64 x) (/.f64 x (+.f64 x (tan.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 x) (/.f64 (+.f64 x (tan.f64 x)) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (tan.f64 x)) (+.f64 x (tan.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (/.f64 (+.f64 x (tan.f64 x)) (tan.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (+.f64 1 (expm1.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 3) (pow.f64 (/.f64 1 (tan.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (tan.f64 x)) 3) (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (+.f64 x (tan.f64 x)) (*.f64 x (tan.f64 x)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (+.f64 x (tan.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (+.f64 x (tan.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 x (tan.f64 x)) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (tan.f64 x) x) (/.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 0 x) (/.f64 (+.f64 x (tan.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (tan.f64 x)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (tan.f64 x)) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (tan.f64 x)) (*.f64 (/.f64 1 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (+.f64 x (tan.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 x (tan.f64 x)) 2)) (*.f64 (cbrt.f64 (+.f64 x (tan.f64 x))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) (cbrt.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 2)) (cbrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 2)) (*.f64 (cbrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (tan.f64 x))) (*.f64 (sqrt.f64 (+.f64 x (tan.f64 x))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) (sqrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) (*.f64 (sqrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (+.f64 x (tan.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (+.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (*.f64 x x))) (/.f64 (+.f64 x (tan.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (+.f64 x (tan.f64 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 x (tan.f64 x)) 2)) 1) (/.f64 (cbrt.f64 (+.f64 x (tan.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 x (tan.f64 x))) 1) (/.f64 (sqrt.f64 (+.f64 x (tan.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 x (tan.f64 x)) 2)) (cbrt.f64 (*.f64 x x))) (cbrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 x (tan.f64 x))) (cbrt.f64 (*.f64 x x))) (/.f64 (sqrt.f64 (+.f64 x (tan.f64 x))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (cbrt.f64 (*.f64 x x))) (/.f64 (+.f64 x (tan.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (+.f64 x (tan.f64 x)) 2)) (sqrt.f64 x)) (/.f64 (cbrt.f64 (+.f64 x (tan.f64 x))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (sqrt.f64 x)) (/.f64 (+.f64 x (tan.f64 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (+.f64 x (tan.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (+.f64 x (tan.f64 x)) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 x (+.f64 x (tan.f64 x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 x (tan.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (+.f64 x (tan.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (+.f64 1 (expm1.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 x (tan.f64 x)) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 x (tan.f64 x)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (+.f64 x (tan.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (+.f64 x (tan.f64 x)) x)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1 (tan.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (tan.f64 x))) (cbrt.f64 (pow.f64 (tan.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (tan.f64 x) -2)) (/.f64 1 (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tan.f64 x) -1/2) (pow.f64 (tan.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 x) 2))) (/.f64 1 (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (tan.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 x) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (tan.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (tan.f64 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (tan.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (tan.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (tan.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 x))) 1))))))

simplify69.0ms (0.4%)

Algorithm
egg-herbie
Rules
767×fma-def_binary64
748×distribute-lft-out_binary64
621×associate-*l*_binary64
596×distribute-rgt-out_binary64
481×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
060471
1150449
2352447
31050447
44298447
57849447
Stop Event
node limit
Counts
169 → 162
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(*.f64 -1/3 (pow.f64 x 2))
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (*.f64 -2/15 (pow.f64 x 4)))
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 (*.f64 -2/15 (pow.f64 x 4)) (*.f64 -17/315 (pow.f64 x 6))))
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 (*.f64 -2/15 (pow.f64 x 4)) (+.f64 (*.f64 -62/2835 (pow.f64 x 8)) (*.f64 -17/315 (pow.f64 x 6)))))
1
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
1
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(/.f64 -1 x)
(-.f64 (*.f64 1/3 x) (/.f64 1 x))
(-.f64 (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) (/.f64 1 x))
(-.f64 (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) (/.f64 1 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 1/3 x))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1/3 (pow.f64 x 2))
(*.f64 -1/3 (*.f64 x x))
(*.f64 x (*.f64 x -1/3))
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (*.f64 -2/15 (pow.f64 x 4)))
(fma.f64 -1/3 (*.f64 x x) (*.f64 -2/15 (pow.f64 x 4)))
(fma.f64 x (*.f64 x -1/3) (*.f64 -2/15 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -2/15) -1/3))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -2/15) -1/3)))
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 (*.f64 -2/15 (pow.f64 x 4)) (*.f64 -17/315 (pow.f64 x 6))))
(fma.f64 -1/3 (*.f64 x x) (fma.f64 -2/15 (pow.f64 x 4) (*.f64 -17/315 (pow.f64 x 6))))
(fma.f64 x (*.f64 x -1/3) (fma.f64 -2/15 (pow.f64 x 4) (*.f64 -17/315 (pow.f64 x 6))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -2/15) -1/3) (*.f64 -17/315 (pow.f64 x 6)))
(+.f64 (*.f64 -1/3 (pow.f64 x 2)) (+.f64 (*.f64 -2/15 (pow.f64 x 4)) (+.f64 (*.f64 -62/2835 (pow.f64 x 8)) (*.f64 -17/315 (pow.f64 x 6)))))
(fma.f64 -1/3 (*.f64 x x) (fma.f64 -2/15 (pow.f64 x 4) (fma.f64 -62/2835 (pow.f64 x 8) (*.f64 -17/315 (pow.f64 x 6)))))
(fma.f64 x (*.f64 x -1/3) (fma.f64 -2/15 (pow.f64 x 4) (fma.f64 -17/315 (pow.f64 x 6) (*.f64 -62/2835 (pow.f64 x 8)))))
(fma.f64 x (*.f64 x -1/3) (fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -62/2835 -2/15) (*.f64 -17/315 (pow.f64 x 6))))
1
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (neg.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))))
(-.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (neg.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))))
(-.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (neg.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))))
(-.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
1
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (neg.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))))
(-.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (neg.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))))
(-.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(+.f64 1 (*.f64 -1 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x))))
(+.f64 1 (neg.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))))
(-.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(/.f64 -1 x)
(-.f64 (*.f64 1/3 x) (/.f64 1 x))
(fma.f64 1/3 x (/.f64 -1 x))
(-.f64 (+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3))) (/.f64 1 x))
(-.f64 (fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3))) (/.f64 1 x))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (/.f64 -1 x)))
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 1/3 x (/.f64 -1 x)))
(-.f64 (+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3)))) (/.f64 1 x))
(-.f64 (fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3)))) (/.f64 1 x))
(fma.f64 1/3 x (+.f64 (*.f64 2/945 (pow.f64 x 5)) (fma.f64 1/45 (pow.f64 x 3) (/.f64 -1 x))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (/.f64 -1 x))))
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (/.f64 -1 x))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (/.f64 -1 x))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))

eval391.0ms (2.3%)

Compiler

Compiled 9645 to 5562 computations (42.3% saved)

prune155.0ms (0.9%)

Pruning

26 alts after pruning (18 fresh and 8 done)

PrunedKeptTotal
New57113584
Fresh459
Picked011
Done178
Total57626602
Error
0.0b
Counts
602 → 26
Alt Table
Click to see full alt table
StatusErrorProgram
30.3b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
0.4b
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))
2.1b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
38.2b
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
29.1b
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
2.4b
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3)
0.5b
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
30.5b
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
0.5b
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
59.5b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
0.9b
(*.f64 1/3 x)
29.1b
(*.f64 (*.f64 x (*.f64 x -1/3)) (/.f64 1 (neg.f64 (tan.f64 x))))
43.8b
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
43.8b
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
59.5b
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
2.1b
(*.f64 (cbrt.f64 1/3) (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))
0.4b
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
29.0b
(*.f64 (*.f64 -1/3 (pow.f64 x 2)) (/.f64 1 (neg.f64 (tan.f64 x))))
0.5b
(*.f64 x (/.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))
59.5b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
2.1b
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
59.1b
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
0.4b
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
0.4b
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
38.2b
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
Compiler

Compiled 539 to 406 computations (24.7% saved)

localize50.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/45 (*.f64 x x) 1/3)
0.0b
(*.f64 1/4725 (pow.f64 x 7))
0.1b
(*.f64 2/945 (pow.f64 x 5))
0.4b
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
Compiler

Compiled 63 to 45 computations (28.6% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
0.0ms
x
@0
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
0.0ms
x
@-inf
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))

rewrite223.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
660×log-prod_binary64
413×pow2_binary64
367×fma-def_binary64
285×expm1-udef_binary64
285×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01625
134925
2406025
Stop Event
node limit
Counts
1 → 32
Calls
Call 1
Inputs
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))) (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 1) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (*.f64 1/4725 (pow.f64 x 7))) (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (*.f64 2/945 (pow.f64 x 5))) (*.f64 1/4725 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))) 2) (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))) (sqrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 3) (pow.f64 (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))) 3)) (+.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 2) (-.f64 (pow.f64 (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))) 2) (*.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 2) (pow.f64 (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))) 2)) (-.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))) (exp.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))) (exp.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))) (+.f64 1 (expm1.f64 (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 2/945 (pow.f64 x 5))))) 1))))))

simplify156.0ms (0.9%)

Algorithm
egg-herbie
Rules
675×sqr-pow_binary64
672×cube-prod_binary64
624×unswap-sqr_binary64
622×fabs-mul_binary64
443×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023192
161192
2132192
3318192
4608192
51346192
61974192
72923192
83077192
93324192
103639192
114120192
124799192
135693192
146337192
156846192
167249192
177624192
187844192
Stop Event
node limit
Counts
44 → 44
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 1/4725 (pow.f64 x 7))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))
(+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))

localize8.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(*.f64 x 1/3)
6.4b
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
Compiler

Compiled 19 to 15 computations (21.1% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
0.0ms
x
@0
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
0.0ms
x
@-inf
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
0.0ms
x
@inf
(*.f64 x 1/3)
0.0ms
x
@0
(*.f64 x 1/3)

rewrite69.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
726×pow1_binary64
683×add-log-exp_binary64
683×log1p-expm1-u_binary64
683×expm1-log1p-u_binary64
673×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0720
11568
221088
Stop Event
node limit
Counts
2 → 75
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
(*.f64 x 1/3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 x 1/3 -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 x 1/3 -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/3) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/3 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 x 1/3 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/3 -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x 1/3)) (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x 1/3)) (sqrt.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (/.f64 1 (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 x 1/3 1)) 1) (-.f64 (sqrt.f64 (fma.f64 x 1/3 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x 1/3) 2) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (-.f64 1 (*.f64 (fma.f64 x 1/3 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (+.f64 (*.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (-.f64 (fma.f64 x 1/3 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1)) (neg.f64 (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 x 1/3 -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 x 1/3 -1) (fma.f64 x 1/3 -1)) (fma.f64 x 1/3 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 x 1/3 -1) (fma.f64 x 1/3 -1))) (-.f64 1 (fma.f64 x 1/3 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 1/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x 1/3 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/3 1)) 2) (cbrt.f64 (fma.f64 x 1/3 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x 1/3 1)) (sqrt.f64 (fma.f64 x 1/3 1)) -1)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 x 1/3 -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 x 1/3 -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/3) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/3 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 x 1/3 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 1/3 -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 x 1/3 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 x 1/3 1) 3) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)) (/.f64 1 (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x 1/3) 2) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (-.f64 1 (*.f64 (fma.f64 x 1/3 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (+.f64 (*.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1) (-.f64 (fma.f64 x 1/3 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) (+.f64 (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x 1/3 1) 2) -1)) (neg.f64 (+.f64 (*.f64 x 1/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 x 1/3 -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 x 1/3 -1) (fma.f64 x 1/3 -1)) (fma.f64 x 1/3 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 x 1/3 -1) (fma.f64 x 1/3 -1))) (-.f64 1 (fma.f64 x 1/3 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 1/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x 1/3 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/3 1)) 2) (cbrt.f64 (fma.f64 x 1/3 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x 1/3 1)) (sqrt.f64 (fma.f64 x 1/3 1)) -1)))))

simplify12.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0496
1596
Stop Event
saturated
Counts
99 → 46
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
Outputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 1/3 (*.f64 x x))
28.3b
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
Compiler

Compiled 21 to 9 computations (57.1% saved)

series4.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
1.0ms
x
@-inf
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
1.0ms
x
@0
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
0.0ms
x
@inf
(*.f64 1/3 (*.f64 x x))
0.0ms
x
@0
(*.f64 1/3 (*.f64 x x))

rewrite241.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
816×pow1_binary64
762×add-log-exp_binary64
762×log1p-expm1-u_binary64
762×expm1-log1p-u_binary64
746×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
115219
2204119
Stop Event
node limit
Counts
2 → 57
Calls
Call 1
Inputs
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 1/3 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (/.f64 1 (/.f64 (tan.f64 x) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (*.f64 (*.f64 x x) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 (*.f64 x x)) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/9 (pow.f64 x 4))) (*.f64 (cbrt.f64 (*.f64 1/3 (*.f64 x x))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) (pow.f64 (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) 2) (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 1/3)) (*.f64 (*.f64 x (sqrt.f64 1/3)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 1/3)) (sqrt.f64 (tan.f64 x))) (/.f64 (*.f64 x (sqrt.f64 1/3)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) -1/3) (/.f64 1 (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (*.f64 1/3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 x) (*.f64 x (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) 1) (/.f64 1/3 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 1/9 (pow.f64 x 4))) 1) (/.f64 (cbrt.f64 (*.f64 1/3 (*.f64 x x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 1/3)) 1) (/.f64 (*.f64 x (sqrt.f64 1/3)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/3 x) 1) (/.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/3 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 x x) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 1/3 (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 1/3 (*.f64 x x)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 1/9 (pow.f64 x 4))) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 1/3)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 x (sqrt.f64 1/3)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/3 x) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 x (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/3 (sqrt.f64 (tan.f64 x))) (/.f64 (*.f64 x x) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) (sqrt.f64 (tan.f64 x))) (/.f64 1/3 (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (tan.f64 x))) (/.f64 (*.f64 1/3 (*.f64 x x)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 1/9 (pow.f64 x 4))) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (*.f64 1/3 (*.f64 x x))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/3 x) (sqrt.f64 (tan.f64 x))) (/.f64 x (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (sqrt.f64 1/3)) (sqrt.f64 (tan.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (/.f64 (tan.f64 x) (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 1/3 (*.f64 x x)) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (*.f64 1/9 (pow.f64 x 4)) (pow.f64 (tan.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 1/3 (*.f64 x x)) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 (*.f64 x x))))))))

simplify106.0ms (0.6%)

Algorithm
egg-herbie
Rules
613×associate-/l/_binary64
596×associate-/r/_binary64
586×associate-*r/_binary64
439×unswap-sqr_binary64
424×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030278
177278
2178278
3477278
41259278
52378278
65520278
76078278
86641278
97088278
107522278
Stop Event
node limit
Counts
81 → 68
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (*.f64 1/3 x))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 -2/2835 (pow.f64 x 7)))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (*.f64 1/3 x))
(fma.f64 -1/9 (pow.f64 x 3) (*.f64 1/3 x))
(fma.f64 1/3 x (*.f64 -1/9 (pow.f64 x 3)))
(*.f64 x (fma.f64 x (*.f64 x -1/9) 1/3))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (*.f64 1/3 x)))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 1/3 x)))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 1/3 x (*.f64 -1/135 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x -1/9) 1/3) (*.f64 -1/135 (pow.f64 x 5)))
(fma.f64 1/3 x (fma.f64 -1/9 (pow.f64 x 3) (*.f64 -1/135 (pow.f64 x 5))))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 -2/2835 (pow.f64 x 7)))))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 -2/2835 (pow.f64 x 7)))))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (fma.f64 -2/2835 (pow.f64 x 7) (*.f64 1/3 x))))
(fma.f64 x (fma.f64 x (*.f64 x -1/9) 1/3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -2/2835 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -2/2835 (pow.f64 x 7)))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (*.f64 x 1/9))
0.1b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
0.3b
(*.f64 x 1/9)
Compiler

Compiled 19 to 12 computations (36.8% saved)

series50.0ms (0.3%)

Counts
3 → 24
Calls

9 calls:

TimeVariablePointExpression
45.0ms
x
@inf
(*.f64 x 1/9)
1.0ms
x
@-inf
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
1.0ms
x
@0
(sqrt.f64 (*.f64 x 1/9))
1.0ms
x
@-inf
(*.f64 x 1/9)
1.0ms
x
@-inf
(sqrt.f64 (*.f64 x 1/9))

rewrite127.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
594×pow1_binary64
552×add-log-exp_binary64
552×log1p-expm1-u_binary64
552×expm1-log1p-u_binary64
537×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0719
114314
2159414
Stop Event
node limit
Counts
3 → 50
Calls
Call 1
Inputs
(*.f64 x 1/9)
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
(sqrt.f64 (*.f64 x 1/9))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 1/9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 x) 1/3) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/81 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/9) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/9)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/81 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/9) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/9)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 1/9)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 x) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (pow.f64 1/9 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 x) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (sqrt.f64 x) 1/3)) (cbrt.f64 (*.f64 x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (sqrt.f64 x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x 1/9)) (cbrt.f64 (*.f64 (sqrt.f64 x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x 1/9) 1/4) (pow.f64 (*.f64 x 1/9) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/4) (*.f64 (pow.f64 x 1/4) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/9)) 2)) (sqrt.f64 (cbrt.f64 (*.f64 x 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1/9 1/2) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/9)) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 x 1/9)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 x) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/9) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 x) 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/9) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (sqrt.f64 x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/9) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 x) 1/3)))))))

simplify47.0ms (0.3%)

Algorithm
egg-herbie
Rules
248×fma-def_binary64
24×distribute-rgt-in_binary64
21×associate-*l*_binary64
21×sub-neg_binary64
18×distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013132
123132
255132
3106132
4121132
5169132
6241132
7278132
8326132
9501132
10529132
Stop Event
saturated
Counts
74 → 55
Calls
Call 1
Inputs
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -1/9) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -1/9) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -1/9) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -1/9) x)))
Outputs
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/9 x)
(*.f64 1/3 x)
(*.f64 x 1/3)
(*.f64 1/3 x)
(*.f64 x 1/3)
(*.f64 1/3 x)
(*.f64 x 1/3)
(*.f64 1/3 x)
(*.f64 x 1/3)
(*.f64 1/3 x)
(*.f64 x 1/3)
(*.f64 1/3 x)
(*.f64 x 1/3)
(*.f64 1/3 x)
(*.f64 x 1/3)
(*.f64 1/3 x)
(*.f64 x 1/3)
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -1/9) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -1/9))))
(*.f64 (sqrt.f64 -1) (neg.f64 (*.f64 x (sqrt.f64 -1/9))))
(*.f64 x (*.f64 (sqrt.f64 -1) (neg.f64 (sqrt.f64 -1/9))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -1/9) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -1/9))))
(*.f64 (sqrt.f64 -1) (neg.f64 (*.f64 x (sqrt.f64 -1/9))))
(*.f64 x (*.f64 (sqrt.f64 -1) (neg.f64 (sqrt.f64 -1/9))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -1/9) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -1/9))))
(*.f64 (sqrt.f64 -1) (neg.f64 (*.f64 x (sqrt.f64 -1/9))))
(*.f64 x (*.f64 (sqrt.f64 -1) (neg.f64 (sqrt.f64 -1/9))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -1/9) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -1/9))))
(*.f64 (sqrt.f64 -1) (neg.f64 (*.f64 x (sqrt.f64 -1/9))))
(*.f64 x (*.f64 (sqrt.f64 -1) (neg.f64 (sqrt.f64 -1/9))))

localize41.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/45 (*.f64 x x) -1/3)
0.1b
(*.f64 1/2025 (pow.f64 x 4))
0.3b
(*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x)
0.3b
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
Compiler

Compiled 56 to 40 computations (28.6% saved)

series7.0ms (0%)

Counts
4 → 36
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
1.0ms
x
@inf
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
1.0ms
x
@inf
(*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x)
1.0ms
x
@inf
(*.f64 1/2025 (pow.f64 x 4))
0.0ms
x
@-inf
(*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x)

rewrite149.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
623×log-prod_binary64
352×pow2_binary64
243×pow1/3_binary64
243×expm1-udef_binary64
243×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01447
130647
2367147
Stop Event
node limit
Counts
4 → 126
Calls
Call 1
Inputs
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
(*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x)
(*.f64 1/2025 (pow.f64 x 4))
(fma.f64 1/45 (*.f64 x x) -1/3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (/.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (/.f64 1 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (*.f64 x (/.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) (/.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)) (cbrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -2)) (cbrt.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) 2) (*.f64 (cbrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (/.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)) (sqrt.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (*.f64 (sqrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (/.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (neg.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (/.f64 1 (neg.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3)) (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) 1) (/.f64 x (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) 2) 1) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) 1) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2)) (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2)) (/.f64 x (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) -2) (/.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) 2) (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2)) (cbrt.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2)) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))) (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))) (/.f64 x (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) -1/3) -1/2) (/.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) 2) (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) 3) (pow.f64 (fma.f64 1/45 (*.f64 x x) -1/3) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) (neg.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) 3) (pow.f64 (fma.f64 1/45 (*.f64 x x) -1/3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3)) x)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2025 (pow.f64 x 4)) x) (*.f64 -1/9 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/9 x) (*.f64 (*.f64 1/2025 (pow.f64 x 4)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 1/2025 (pow.f64 x 4))) (*.f64 x -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x -1/9) (*.f64 x (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9)) x)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9)) x))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 x 12) 1/8303765625 -1/729) x) (-.f64 (fma.f64 (pow.f64 x 8) 1/4100625 1/81) (*.f64 (pow.f64 x 4) -1/18225)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 x 8) 1/4100625 -1/81) x) (fma.f64 1/2025 (pow.f64 x 4) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 (pow.f64 x 12) 1/8303765625 -1/729)) (-.f64 (fma.f64 (pow.f64 x 8) 1/4100625 1/81) (*.f64 (pow.f64 x 4) -1/18225)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 (pow.f64 x 8) 1/4100625 -1/81)) (fma.f64 1/2025 (pow.f64 x 4) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9)) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 1/2025 (pow.f64 x 4) -1/9))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 1/2025 (pow.f64 x 4)) (*.f64 x -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x -1/9 (*.f64 x (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2025 (pow.f64 x 4)) x (*.f64 -1/9 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/9 x (*.f64 (*.f64 1/2025 (pow.f64 x 4)) x))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/2025 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/2025) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/2025) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/2025) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/2025) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/2025 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2025 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 8) 1/4100625) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/45 (*.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) 1/8303765625) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 1/4100625))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/2025) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2025 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 12) 1/8303765625))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/2025 (pow.f64 x 4))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/3 (*.f64 1/45 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/45 (*.f64 x x)) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 1/45 (*.f64 x x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) 1) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) -1/3))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/45 (*.f64 x x) -1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/45 (*.f64 x x) -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2) (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (fma.f64 1/45 (*.f64 x x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (sqrt.f64 (*.f64 (pow.f64 x 12) 1/8303765625)) -1/27) (fma.f64 1/2025 (pow.f64 x 4) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/45 (*.f64 x x) -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) -1/3) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) -1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) -1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) -1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 1))))))

simplify101.0ms (0.6%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
754×unswap-sqr_binary64
539×associate-*l*_binary64
520×sqr-pow_binary64
508×distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021321
149321
291321
3194321
4506321
51881321
63586321
73876321
84371321
95147321
106459321
Stop Event
node limit
Counts
162 → 140
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 -1/9 x)
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(*.f64 1/2025 (pow.f64 x 5))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(*.f64 1/2025 (pow.f64 x 5))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
-1/3
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 -1/9 x)
(*.f64 x -1/9)
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
(*.f64 1/2025 (pow.f64 x 5))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
(*.f64 1/2025 (pow.f64 x 5))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
(+.f64 (*.f64 1/2025 (pow.f64 x 5)) (*.f64 -1/9 x))
(fma.f64 1/2025 (pow.f64 x 5) (*.f64 x -1/9))
(fma.f64 x -1/9 (*.f64 1/2025 (pow.f64 x 5)))
-1/3
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)
(-.f64 (*.f64 1/45 (pow.f64 x 2)) 1/3)
(fma.f64 1/45 (*.f64 x x) -1/3)
(fma.f64 x (*.f64 x 1/45) -1/3)

eval311.0ms (1.8%)

Compiler

Compiled 7173 to 5079 computations (29.2% saved)

prune181.0ms (1.1%)

Pruning

27 alts after pruning (17 fresh and 10 done)

PrunedKeptTotal
New40712419
Fresh8513
Picked101
Done21012
Total41827445
Error
0b
Counts
445 → 27
Alt Table
Click to see full alt table
StatusErrorProgram
30.3b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
0.4b
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))
0.8b
(*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2)) (/.f64 x (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))
0.4b
(/.f64 (*.f64 x -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))
29.0b
(/.f64 (*.f64 x (*.f64 1/3 x)) (tan.f64 x))
2.4b
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3)
0.5b
(*.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (/.f64 1 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x)))
0.5b
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
30.5b
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
38.2b
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
2.1b
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
59.5b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
43.8b
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
0.9b
(*.f64 1/3 x)
43.8b
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
59.1b
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
29.0b
(*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))
0.5b
(*.f64 x (/.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))
59.5b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
2.1b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))
0.4b
(fma.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
29.1b
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
0.5b
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
59.5b
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
0.4b
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
0.7b
(pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -1)
38.2b
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
Compiler

Compiled 324 to 239 computations (26.2% saved)

regimes162.0ms (1%)

Counts
48 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
(-.f64 (/.f64 1 x) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))
(*.f64 x (/.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(/.f64 (*.f64 x (*.f64 1/3 x)) (tan.f64 x))
(*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(/.f64 (*.f64 x -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))
(*.f64 (*.f64 x (*.f64 x -1/3)) (/.f64 1 (neg.f64 (tan.f64 x))))
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
(*.f64 (*.f64 -1/3 (pow.f64 x 2)) (/.f64 1 (neg.f64 (tan.f64 x))))
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3)
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))
(*.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (/.f64 1 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x)))
(fma.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 (cbrt.f64 1/3) (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)))
(pow.f64 (/.f64 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x) (fma.f64 1/2025 (pow.f64 x 4) -1/9)) -1)
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7))))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x (*.f64 x 1/45) 1/3))) 1/3))))
(*.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3)) 2)) (/.f64 x (cbrt.f64 (fma.f64 1/45 (*.f64 x x) -1/3))))
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5))))) 3))
Outputs
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
Calls

2 calls:

109.0ms
x
12.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 578 to 400 computations (30.8% saved)

regimes94.0ms (0.6%)

Counts
40 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
(-.f64 (/.f64 1 x) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))
(*.f64 x (/.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(/.f64 (*.f64 x (*.f64 1/3 x)) (tan.f64 x))
(*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(/.f64 (*.f64 x -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))
(*.f64 (*.f64 x (*.f64 x -1/3)) (/.f64 1 (neg.f64 (tan.f64 x))))
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
(*.f64 (*.f64 -1/3 (pow.f64 x 2)) (/.f64 1 (neg.f64 (tan.f64 x))))
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3)
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))
(*.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (/.f64 1 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x)))
(fma.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
Outputs
(fma.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
Calls

2 calls:

61.0ms
x
10.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 411 to 277 computations (32.6% saved)

regimes124.0ms (0.7%)

Counts
39 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
(-.f64 (/.f64 1 x) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))
(*.f64 x (/.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(/.f64 (*.f64 x (*.f64 1/3 x)) (tan.f64 x))
(*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(/.f64 (*.f64 x -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))
(*.f64 (*.f64 x (*.f64 x -1/3)) (/.f64 1 (neg.f64 (tan.f64 x))))
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
(*.f64 (*.f64 -1/3 (pow.f64 x 2)) (/.f64 1 (neg.f64 (tan.f64 x))))
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(pow.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 1/3)) 3)
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x 1/3)) 2) (cbrt.f64 (*.f64 x 1/3)))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3)))
(*.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (/.f64 1 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) x)))
Outputs
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
Calls

2 calls:

68.0ms
x
8.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 391 to 263 computations (32.7% saved)

regimes95.0ms (0.6%)

Counts
31 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
(-.f64 (/.f64 1 x) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))
(*.f64 x (/.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(/.f64 (*.f64 x (*.f64 1/3 x)) (tan.f64 x))
(*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(/.f64 (*.f64 x -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))
(*.f64 (*.f64 x (*.f64 x -1/3)) (/.f64 1 (neg.f64 (tan.f64 x))))
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
(cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))
(pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x 1/9)))
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
(*.f64 (*.f64 -1/3 (pow.f64 x 2)) (/.f64 1 (neg.f64 (tan.f64 x))))
(*.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))
(fma.f64 2/945 (pow.f64 x 5) (*.f64 x (+.f64 (*.f64 x (*.f64 x 1/45)) 1/3)))
Outputs
(/.f64 (*.f64 x -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))
Calls

2 calls:

47.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
32.0ms
x
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 276 to 177 computations (35.9% saved)

regimes26.0ms (0.2%)

Counts
15 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
(-.f64 (/.f64 1 x) (+.f64 (*.f64 -1/3 x) (/.f64 1 x)))
(*.f64 x (/.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 x (*.f64 x 1/9)))
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(/.f64 (*.f64 x (*.f64 1/3 x)) (tan.f64 x))
(*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
Outputs
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
Calls

2 calls:

12.0ms
x
7.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Results
ErrorSegmentsBranch
0.5b1x
0.5b1(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 143 to 88 computations (38.5% saved)

regimes6.0ms (0%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
Outputs
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
Calls

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
0.5b1x
Compiler

Compiled 22 to 16 computations (27.3% saved)

regimes4.0ms (0%)

Accuracy

Total -58.2b remaining (-6377.6%)

Threshold costs -58.2b (-6377.6%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(-.f64 (+.f64 1 (*.f64 x 1/3)) 1)
Outputs
(*.f64 1/3 x)
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
0.9b1x
Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify8.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
034129
150129
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(/.f64 (*.f64 x -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 1/3 x)
Outputs
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3) (+.f64 (*.f64 1/4725 (pow.f64 x 7)) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (+.f64 1/3 (*.f64 1/45 (*.f64 x x))) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/4725 (pow.f64 x 7))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(/.f64 (*.f64 x -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))
(+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 x (*.f64 1/45 (*.f64 x x))))
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 x (+.f64 1/3 (*.f64 1/45 (*.f64 x x))))
(*.f64 1/3 x)
Compiler

Compiled 96 to 73 computations (24% saved)

soundness0.0ms (0%)

end70.0ms (0.4%)

Compiler

Compiled 90 to 64 computations (28.9% saved)

Profiling

Loading profile data...