Details

Time bar (total: 10.8s)

analyze4.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
66.7%50%25%0%25%0%0%4
80%50%12.5%0%37.5%0%0%5
88.9%50%6.2%0%43.7%0%0%6
94.1%50%3.1%0%46.9%0%0%7
97%50%1.6%0%48.4%0%0%8
98.5%50%0.8%0%49.2%0%0%9
99.2%50.4%0.4%0%49.2%0%0%10
99.6%50.4%0.2%0%49.4%0%0%11
99.8%50.4%0.1%0%49.5%0%0%12
Compiler

Compiled 10 to 8 computations (20% saved)

sample6.1s (56.6%)

Results
4.7s4283×body2048valid
939.0ms2062×body1024valid
363.0ms1009×body512valid
110.0ms902×body256valid
2.0ms14×body256infinite
Bogosity

preprocess82.0ms (0.8%)

Algorithm
egg-herbie
Rules
801×associate-/l*_binary64
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
536×div-sub_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23613
36013
412213
527313
670913
7172913
8314513
9760513
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Outputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
(+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (+.f64 -2 (exp.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify63.0ms (0.6%)

Algorithm
egg-herbie
Rules
801×associate-/l*_binary64
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
536×div-sub_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23613
36013
412213
527313
670913
7172913
8314513
9760513
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Outputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
(+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (+.f64 -2 (exp.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

eval1.0ms (0%)

Compiler

Compiled 17 to 10 computations (41.2% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
28.8b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
28.9b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
28.9b
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 18 to 14 computations (22.2% saved)

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
4.0b
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 24 to 8 computations (66.7% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0ms
x
@-inf
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0ms
x
@inf
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

rewrite36.0ms (0.3%)

Algorithm
egg-rewrite-iter-limit
batch-egg-rewrite
Rules
96×add-sqr-sqrt_binary64
92×add-log-exp_binary64
90×*-un-lft-identity_binary64
90×add-exp-log_binary64
90×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
11829
231539
089
Stop Event
iter limit
unsound
Counts
1 → 11
Calls
Call 1
Inputs
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (pow.f64 (*.f64 2 (cosh.f64 x)) 3)) (+.f64 4 (-.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 -2 (*.f64 2 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x)))) (-.f64 -2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x))) (+.f64 -2 (*.f64 2 (cosh.f64 x)))) (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 -2 (*.f64 2 (cosh.f64 x)))))))))

simplify61.0ms (0.6%)

Algorithm
egg-herbie
Rules
558×distribute-rgt-out_binary64
423×associate-/l/_binary64
415×unswap-sqr_binary64
382×distribute-lft-out_binary64
342×associate-/r/_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
031168
176162
2157162
3449162
42059162
54616162
65791162
Stop Event
node limit
Counts
23 → 22
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8)))))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
Outputs
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))))
(fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
4.7b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 22 to 10 computations (54.5% saved)

series2.0ms (0%)

Counts
2 → 16
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(-.f64 (exp.f64 x) 2)
0.0ms
x
@0
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.0ms
x
@inf
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.0ms
x
@inf
(-.f64 (exp.f64 x) 2)
0.0ms
x
@-inf
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

rewrite63.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
869×pow1_binary64
818×add-log-exp_binary64
815×log1p-expm1-u_binary64
815×expm1-log1p-u_binary64
804×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0819
118117
2265317
Stop Event
node limit
Counts
2 → 74
Calls
Call 1
Inputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))) (/.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 x) (exp.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) (pow.f64 (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 2) (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) (sqrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2)) (/.f64 1 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))) (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x))) (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2)) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2))) (neg.f64 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (exp.f64 x)) (*.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) 1)) (*.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (exp.f64 x)) (*.f64 (+.f64 (exp.f64 x) 2) 1)) (*.f64 (+.f64 (exp.f64 x) 2) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (exp.f64 x) -4))) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 2 (exp.f64 x)) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x)))) (+.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (+.f64 (exp.f64 x) -2) 2)) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (+.f64 (exp.f64 x) (exp.f64 x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (exp.f64 x) -2) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) (sqrt.f64 (+.f64 (exp.f64 x) -2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (neg.f64 (-.f64 2 (exp.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -2 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) (sqrt.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (/.f64 1 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (+.f64 (pow.f64 (exp.f64 x) 3) -8)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 x) 2) (fma.f64 (exp.f64 x) (exp.f64 x) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 4 (*.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (+.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4) (-.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8)) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -4)) (neg.f64 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -2)))))

simplify42.0ms (0.4%)

Algorithm
egg-herbie
Rules
749×unswap-sqr_binary64
682×distribute-rgt-out_binary64
678×distribute-lft-out_binary64
573×associate-*l*_binary64
555×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
043202
1107196
2240196
3753191
43557191
Stop Event
node limit
Counts
90 → 92
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8)))))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
-1
(-.f64 x 1)
(-.f64 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x) 1)
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) 1)
Outputs
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
-1
(-.f64 x 1)
(+.f64 x -1)
(-.f64 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x) 1)
(+.f64 (fma.f64 1/2 (*.f64 x x) x) -1)
(+.f64 -1 (fma.f64 (*.f64 x x) 1/2 x))
(+.f64 x (fma.f64 x (*.f64 x 1/2) -1))
(fma.f64 (fma.f64 x 1/2 1) x -1)
(fma.f64 x (fma.f64 x 1/2 1) -1)
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) 1)
(+.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x)) -1)
(+.f64 -1 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 (*.f64 x x) 1/2 x)))
(+.f64 -1 (fma.f64 x (*.f64 x 1/2) (fma.f64 1/6 (pow.f64 x 3) x)))
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (-.f64 x 1))
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (+.f64 x -1))

eval46.0ms (0.4%)

Compiler

Compiled 1637 to 934 computations (42.9% saved)

prune37.0ms (0.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1095114
Fresh000
Picked101
Done101
Total1115116
Error
0b
Counts
116 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
29.8b
(+.f64 -1 (exp.f64 (neg.f64 x)))
0.8b
(*.f64 x x)
0.6b
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
0.7b
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
28.9b
(*.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))
Compiler

Compiled 88 to 68 computations (22.7% saved)

localize40.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
0.0b
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
0.0b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 1/12 (pow.f64 x 4))
Compiler

Compiled 50 to 39 computations (22% saved)

series11.0ms (0.1%)

Counts
4 → 9
Calls

12 calls:

TimeVariablePointExpression
2.0ms
x
@0
(*.f64 1/12 (pow.f64 x 4))
1.0ms
x
@0
(*.f64 1/360 (pow.f64 x 6))
1.0ms
x
@inf
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
1.0ms
x
@inf
(*.f64 1/12 (pow.f64 x 4))
1.0ms
x
@inf
(*.f64 1/360 (pow.f64 x 6))

rewrite126.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
639×fma-def_binary64
575×log-prod_binary64
352×pow2_binary64
344×fma-neg_binary64
238×pow1/3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01447
131843
2389543
Stop Event
node limit
Counts
4 → 179
Calls
Call 1
Inputs
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/12 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/12 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) 1/1728) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 1/144))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 12) 1/1728))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 4 (log.f64 x) (log1p.f64 -11/12)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 4 (log.f64 x) (log1p.f64 -11/12)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/360 (pow.f64 x 6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/360 (pow.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (cbrt.f64 1/360)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) (sqrt.f64 1/360)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 12) 1/129600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 6 (log.f64 x) (log1p.f64 -359/360)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 6 (log.f64 x) (log1p.f64 -359/360)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x (*.f64 -1/12 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 x 8) 1/144) (fma.f64 x x (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 12) 1/1728 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 x 8) 1/144) (*.f64 (pow.f64 x 6) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (/.f64 1 (fma.f64 x x (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 x 8) 1/144) (*.f64 (pow.f64 x 6) 1/12))) (fma.f64 (pow.f64 x 12) 1/1728 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 -1/12 (pow.f64 x 4))) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) 1/1728 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 x 8) 1/144) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) 1/1728 (pow.f64 x 6)) (fma.f64 (pow.f64 x 8) 1/144 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (fma.f64 x x (*.f64 -1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 12) 1/1728 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 x 8) 1/144) (*.f64 (pow.f64 x 6) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144))) (neg.f64 (fma.f64 x x (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 8) 1/144) (pow.f64 x 4)) (-.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 x 8) 1/144) (*.f64 (pow.f64 x 6) 1/12))) (fma.f64 (pow.f64 x 12) 1/1728 (pow.f64 x 6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x (*.f64 -1/12 (pow.f64 x 4))) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4)))) (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (pow.f64 (exp.f64 1/12) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/12 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (pow.f64 x 4)) 1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 8)) (*.f64 (cbrt.f64 (pow.f64 x 4)) 1/12) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) (cbrt.f64 (*.f64 (pow.f64 x 8) 1/144)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 1/144)) (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 8))) (sqrt.f64 (cbrt.f64 (pow.f64 x 4))) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (*.f64 x x)) (*.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (cbrt.f64 (pow.f64 x 8))) (cbrt.f64 (pow.f64 x 4)) (*.f64 x x))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 12) 1/129600) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))) (/.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3)) (/.f64 1 (fma.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (-.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2)) (/.f64 1 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (-.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600)) (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3)) (fma.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (-.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3)) (+.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2) (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (*.f64 1/360 (*.f64 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2)) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))) (neg.f64 (fma.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (-.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))) (neg.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)) 3) (*.f64 (pow.f64 x 12) 1/1728)) (+.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)) 2) (-.f64 (*.f64 (pow.f64 x 8) 1/144) (*.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)) (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2) (*.f64 (pow.f64 x 12) 1/129600)) (-.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)) 2) (*.f64 (pow.f64 x 8) 1/144)) (-.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)) (*.f64 1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (-.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600)) (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)) (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4)))) (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360) (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4)))) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360) (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6)))) (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360) (+.f64 1 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6)))) (+.f64 1 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))) (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))) (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360) (pow.f64 (exp.f64 x) x)) (pow.f64 (exp.f64 1/12) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 6)) 1/360) (pow.f64 (exp.f64 x) x)) (+.f64 1 (expm1.f64 (*.f64 1/12 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/12 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/360) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (pow.f64 x 4)) 1 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 6) 1/360 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 6)) 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1 (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/12 (pow.f64 x 4)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) (*.f64 (pow.f64 x 3) 1/360) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 8)) (*.f64 (cbrt.f64 (pow.f64 x 4)) 1/12) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) (cbrt.f64 (*.f64 (pow.f64 x 8) 1/144)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 1/144)) (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (cbrt.f64 1/360)) (cbrt.f64 (*.f64 (pow.f64 x 12) 1/129600)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 12) 1/129600)) (*.f64 (*.f64 x x) (cbrt.f64 1/360)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3) (sqrt.f64 1/360)) (*.f64 (pow.f64 x 3) (sqrt.f64 1/360)) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 12) 1/1728 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 x 8) 1/144) (*.f64 (pow.f64 x 6) 1/12)))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (/.f64 1 (fma.f64 x x (*.f64 -1/12 (pow.f64 x 4)))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)) 1 (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x (*.f64 (pow.f64 x 3) (sqrt.f64 1/360))) (hypot.f64 x (*.f64 (pow.f64 x 3) (sqrt.f64 1/360))) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 8))) (sqrt.f64 (cbrt.f64 (pow.f64 x 4))) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (*.f64 x x)) (*.f64 x x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (cbrt.f64 (pow.f64 x 8))) (cbrt.f64 (pow.f64 x 4)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 4)) (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 3)) (pow.f64 x 3) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))))

simplify191.0ms (1.8%)

Algorithm
egg-herbie
Rules
1124×sqr-pow_binary64
653×pow-sqr_binary64
603×cube-prod_binary64
565×fma-def_binary64
382×unpow3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01477
13075
26275
316675
476875
5198975
6248975
7273475
8294575
9321475
10353675
11394675
12437875
13486975
14548475
15574575
16599175
17625575
18652775
19678975
Stop Event
node limit
Counts
188 → 187
Calls
Call 1
Inputs
(pow.f64 x 2)
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
Outputs
(pow.f64 x 2)
(*.f64 x x)
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12))

localize4.0ms (0%)

Compiler

Compiled 5 to 2 computations (60% saved)

localize10.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
5.2b
(+.f64 -1 (exp.f64 (neg.f64 x)))
Compiler

Compiled 13 to 6 computations (53.8% saved)

series3.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(+.f64 -1 (exp.f64 (neg.f64 x)))
1.0ms
x
@0
(+.f64 -1 (exp.f64 (neg.f64 x)))
0.0ms
x
@inf
(+.f64 -1 (exp.f64 (neg.f64 x)))

rewrite58.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
543×pow1_binary64
506×add-log-exp_binary64
504×log1p-expm1-u_binary64
504×expm1-log1p-u_binary64
497×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify68.0ms (0.6%)

Algorithm
egg-herbie
Rules
633×cancel-sign-sub-inv_binary64
499×fma-neg_binary64
370×distribute-rgt-out--_binary64
315×fma-def_binary64
312×distribute-rgt-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02794
17194
216393
355286
4201986
5564086
Stop Event
node limit
Counts
43 → 42
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1 x))))
(-.f64 (exp.f64 (neg.f64 x)) 1)
(-.f64 (exp.f64 (neg.f64 x)) 1)
(-.f64 (exp.f64 (neg.f64 x)) 1)
(-.f64 (exp.f64 (neg.f64 x)) 1)
(-.f64 (exp.f64 (*.f64 -1 x)) 1)
(-.f64 (exp.f64 (*.f64 -1 x)) 1)
(-.f64 (exp.f64 (*.f64 -1 x)) 1)
(-.f64 (exp.f64 (*.f64 -1 x)) 1)
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(-.f64 (*.f64 x (*.f64 x 1/2)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))
(-.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 1/2 (*.f64 x x))) x)
(-.f64 (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x -1/6))) x)
(fma.f64 x (*.f64 x (fma.f64 x -1/6 1/2)) (neg.f64 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1 x))))
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (neg.f64 x))))
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (-.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(-.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) (*.f64 1/24 (pow.f64 x 4)))) x)
(fma.f64 x (*.f64 x (fma.f64 x -1/6 1/2)) (fma.f64 1/24 (pow.f64 x 4) (neg.f64 x)))
(fma.f64 1/24 (pow.f64 x 4) (fma.f64 x (*.f64 x (fma.f64 x -1/6 1/2)) (neg.f64 x)))
(-.f64 (exp.f64 (neg.f64 x)) 1)
(expm1.f64 (neg.f64 x))
(-.f64 (exp.f64 (neg.f64 x)) 1)
(expm1.f64 (neg.f64 x))
(-.f64 (exp.f64 (neg.f64 x)) 1)
(expm1.f64 (neg.f64 x))
(-.f64 (exp.f64 (neg.f64 x)) 1)
(expm1.f64 (neg.f64 x))
(-.f64 (exp.f64 (*.f64 -1 x)) 1)
(expm1.f64 (neg.f64 x))
(-.f64 (exp.f64 (*.f64 -1 x)) 1)
(expm1.f64 (neg.f64 x))
(-.f64 (exp.f64 (*.f64 -1 x)) 1)
(expm1.f64 (neg.f64 x))
(-.f64 (exp.f64 (*.f64 -1 x)) 1)
(expm1.f64 (neg.f64 x))

localize19.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
4.0b
(+.f64 -2 (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 25 to 17 computations (32% saved)

series6.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(+.f64 -2 (*.f64 2 (cosh.f64 x)))
2.0ms
x
@-inf
(+.f64 -2 (*.f64 2 (cosh.f64 x)))
1.0ms
x
@0
(+.f64 -2 (*.f64 2 (cosh.f64 x)))

rewrite87.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
754×pow1_binary64
704×add-log-exp_binary64
702×log1p-expm1-u_binary64
702×expm1-log1p-u_binary64
692×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
079
11547
218887
Stop Event
node limit
Counts
1 → 32
Calls
Call 1
Inputs
(+.f64 -2 (*.f64 2 (cosh.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 2 (cosh.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))) (/.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) (pow.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 2) (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)) (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3))) (/.f64 1 (+.f64 4 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (*.f64 -4 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 4 (*.f64 4 (pow.f64 (cosh.f64 x) 2))) (/.f64 1 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (*.f64 -4 (cosh.f64 x)))) (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 -2 (*.f64 -2 (cosh.f64 x))) (-.f64 4 (*.f64 4 (pow.f64 (cosh.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3))) (+.f64 4 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (*.f64 -4 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3))) (+.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (-.f64 4 (*.f64 -4 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 4 (pow.f64 (cosh.f64 x) 2))) (+.f64 -2 (*.f64 -2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -8 (*.f64 8 (pow.f64 (cosh.f64 x) 3)))) (neg.f64 (+.f64 4 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) (*.f64 -4 (cosh.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 4 (*.f64 4 (pow.f64 (cosh.f64 x) 2)))) (neg.f64 (+.f64 -2 (*.f64 -2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 4 (pow.f64 (cosh.f64 x) 2)) 4) (-.f64 (*.f64 2 (cosh.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2 (cosh.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2 (cosh.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2 (cosh.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (cosh.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cosh.f64 x) 2 -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (cosh.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2) (cbrt.f64 (*.f64 2 (cosh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))) -2)))))

simplify144.0ms (1.3%)

Algorithm
egg-herbie
Rules
508×distribute-rgt-out_binary64
413×unswap-sqr_binary64
382×distribute-lft-out_binary64
338×associate-*l*_binary64
320×*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
026168
163162
2142162
3414162
41949162
54406162
65019162
76528162
Stop Event
node limit
Counts
44 → 42
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8)))))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
Outputs
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))

localize16.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
Compiler

Compiled 18 to 10 computations (44.4% saved)

series15.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
13.0ms
x
@inf
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
1.0ms
x
@-inf
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
1.0ms
x
@0
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))

rewrite68.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
562×pow1_binary64
525×add-log-exp_binary64
525×log1p-expm1-u_binary64
525×expm1-log1p-u_binary64
513×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114511
2151011
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/12 (pow.f64 x 4)) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/12 (pow.f64 x 4)) 3) (pow.f64 x 6)) (+.f64 (*.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 4))) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 4))) (pow.f64 x 4)) (-.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))))

simplify199.0ms (1.8%)

Algorithm
egg-herbie
Rules
1057×sqr-pow_binary64
963×fma-def_binary64
506×pow-sqr_binary64
451×cube-prod_binary64
363×fabs-mul_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
09135
118117
238117
386117
4293117
51235117
62593117
73274117
83485117
93726117
104023117
114409117
124874117
135415117
146041117
156792117
167102117
177324117
187520117
197578117
207602117
Stop Event
node limit
Counts
33 → 26
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
Outputs
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))

eval487.0ms (4.5%)

Compiler

Compiled 5194 to 3686 computations (29% saved)

prune80.0ms (0.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2907297
Fresh000
Picked101
Done224
Total2939302
Error
0b
Counts
302 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
0.6b
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x)))
29.6b
(*.f64 (+.f64 -1 (exp.f64 x)) 1)
28.9b
(*.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))
0.7b
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
60.1b
(expm1.f64 (neg.f64 x))
60.2b
(*.f64 x (fma.f64 x 1/2 -1))
60.2b
(neg.f64 x)
0.8b
(*.f64 x x)
29.7b
(*.f64 1/360 (pow.f64 x 6))
Compiler

Compiled 125 to 86 computations (31.2% saved)

localize34.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x)))
0.0b
(fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x))
0.0b
(*.f64 1/360 (pow.f64 x 6))
0.2b
(*.f64 (*.f64 x x) 1/12)
Compiler

Compiled 51 to 24 computations (52.9% saved)

series6.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 (*.f64 x x) 1/12)
1.0ms
x
@inf
(*.f64 (*.f64 x x) 1/12)
1.0ms
x
@inf
(fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x))
1.0ms
x
@0
(fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x))
1.0ms
x
@0
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x)))

rewrite129.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
492×log-prod_binary64
369×exp-prod_binary64
327×pow-prod-down_binary64
308×fma-def_binary64
284×pow2_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01148
124140
2296036
Stop Event
node limit
Counts
3 → 133
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) 1/12)
(fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (*.f64 x 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/12))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/12)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x 1/12)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 1/12)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/144) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 1/12)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/12))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/12)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (*.f64 x 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (*.f64 x 1/12)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (*.f64 x 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (*.f64 x 1/12))))) (sqrt.f64 (log.f64 (*.f64 x (*.f64 x 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/144))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/12)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x 1/12))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (sqrt.f64 1/12)) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/12)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 1/12))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x 1/12))) 1) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 x 4) 1/12) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2) (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (*.f64 x (*.f64 x (sqrt.f64 1/12)))) (hypot.f64 x (*.f64 x (*.f64 x (sqrt.f64 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (pow.f64 x 4) 1/12) 3) (pow.f64 x 6)) (+.f64 (pow.f64 (*.f64 (pow.f64 x 4) 1/12) 2) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x 4) 1/12) 2) (pow.f64 x 4)) (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (*.f64 x (*.f64 x (sqrt.f64 1/12)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 2)) (cbrt.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) (sqrt.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (pow.f64 (exp.f64 (pow.f64 x 4)) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) 1/12) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 x (*.f64 x (*.f64 x (sqrt.f64 1/12))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 3) 1/3))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 12) 1/129600) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (/.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 2) (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 18) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3)) (/.f64 1 (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2)) (/.f64 1 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600)) (fma.f64 (pow.f64 x 18) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 18) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3)) (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 18) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3)) (+.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2) (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (*.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2)) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 18) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3))) (neg.f64 (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2))) (neg.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2) (*.f64 (pow.f64 x 12) 1/129600)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 12) 1/129600)) (fma.f64 (pow.f64 x 18) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (-.f64 (*.f64 (pow.f64 x 12) 1/129600) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) 2)) (cbrt.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (sqrt.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (pow.f64 (exp.f64 1/360) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6)))) (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/360) (pow.f64 x 6)) (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6)))) (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x (*.f64 x (*.f64 x 1/12))) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x (*.f64 x 1/12)) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x 1/12)) (*.f64 x x) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 1 (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 6)) 1 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (pow.f64 x 4) 1/12) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) (*.f64 x 1/12) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) (*.f64 (pow.f64 x 3) 1/360) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/360) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2) (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (pow.f64 (*.f64 (cbrt.f64 x) (*.f64 x (sqrt.f64 1/12))) 2) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (cbrt.f64 1/360)) (cbrt.f64 (*.f64 (pow.f64 x 12) 1/129600)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 12) 1/129600)) (*.f64 (*.f64 x x) (cbrt.f64 1/360)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x (*.f64 x (*.f64 x (sqrt.f64 1/12)))) (hypot.f64 x (*.f64 x (*.f64 x (sqrt.f64 1/12)))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3) (sqrt.f64 1/360)) (*.f64 (pow.f64 x 3) (sqrt.f64 1/360)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/12)) 2) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/12)) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x (sqrt.f64 1/12))) (*.f64 x (*.f64 x (sqrt.f64 1/12))) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/144))) (cbrt.f64 (*.f64 x (*.f64 x 1/12))) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (*.f64 x (sqrt.f64 1/12))) (*.f64 x (sqrt.f64 1/12)) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 4)) (*.f64 x x) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 3)) (pow.f64 x 3) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))

simplify198.0ms (1.8%)

Algorithm
egg-herbie
Rules
1800×fma-def_binary64
726×sqr-pow_binary64
424×distribute-lft-out_binary64
410×*-commutative_binary64
328×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
016398
137366
279366
3203366
4911366
52508366
63330366
73539366
83761366
94030366
104373366
116107366
126600366
137103366
147790366
Stop Event
node limit
Counts
169 → 145
Calls
Call 1
Inputs
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
Outputs
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(*.f64 1/12 (pow.f64 x 2))
(*.f64 1/12 (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x)))
(fma.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x)))
(fma.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12) (*.f64 x x))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x)))
(fma.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x)))
(fma.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12) (*.f64 x x))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x)))
(fma.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x (fma.f64 1/360 (pow.f64 x 5) x)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) (fma.f64 1/360 (pow.f64 x 5) x)))
(fma.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12) (*.f64 x x))

localize4.0ms (0%)

Compiler

Compiled 4 to 2 computations (50% saved)

localize7.0ms (0.1%)

Compiler

Compiled 7 to 3 computations (57.1% saved)

localize11.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/360 (pow.f64 x 6))
Compiler

Compiled 12 to 9 computations (25% saved)

localize13.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (fma.f64 x 1/2 -1))
Compiler

Compiled 14 to 10 computations (28.6% saved)

series6.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
4.0ms
x
@inf
(*.f64 x (fma.f64 x 1/2 -1))
1.0ms
x
@-inf
(*.f64 x (fma.f64 x 1/2 -1))
1.0ms
x
@0
(*.f64 x (fma.f64 x 1/2 -1))

rewrite62.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11168
212578
Stop Event
node limit
Counts
1 → 13
Calls
Call 1
Inputs
(*.f64 x (fma.f64 x 1/2 -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 1/2) x) (*.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x 1/2)) (*.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x 1/2 -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x 1/2 -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x 1/2 -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x 1/2 -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x 1/2 -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x 1/2 -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 x 1/2 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x 1/2 -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x 1/2 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x 1/2 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x 1/2 -1))))))))

simplify131.0ms (1.2%)

Algorithm
egg-herbie
Rules
1287×fma-def_binary64
661×fma-neg_binary64
385×distribute-rgt-neg-in_binary64
306×cancel-sign-sub-inv_binary64
273×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 9 (0.0ms)

IterNodesCost
09107
119107
234107
38089
422989
578789
6187389
7398789
8513889
9581187
10642887
11682587
12732387
Stop Event
node limit
Counts
25 → 19
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
Outputs
(*.f64 -1 x)
(neg.f64 x)
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 x 1/2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 x 1/2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 1/2 (*.f64 x x)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(fma.f64 1/2 (*.f64 x x) x)

eval318.0ms (2.9%)

Compiler

Compiled 3709 to 2590 computations (30.2% saved)

prune101.0ms (0.9%)

Pruning

11 alts after pruning (5 fresh and 6 done)

PrunedKeptTotal
New1933196
Fresh022
Picked011
Done156
Total19411205
Error
0b
Counts
205 → 11
Alt Table
Click to see full alt table
StatusErrorProgram
60.2b
(*.f64 x (fma.f64 x 1/2 -1))
0.6b
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
28.9b
(*.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))
0.7b
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
60.1b
x
60.1b
(expm1.f64 (neg.f64 x))
60.2b
(neg.f64 x)
0.8b
(*.f64 x x)
29.7b
(*.f64 1/360 (pow.f64 x 6))
29.6b
(*.f64 (+.f64 -1 (exp.f64 x)) 1)
60.2b
(+.f64 (*.f64 (*.f64 x 1/2) x) (*.f64 -1 x))
Compiler

Compiled 78 to 58 computations (25.6% saved)

localize12.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
5.3b
(+.f64 -1 (exp.f64 x))
Compiler

Compiled 16 to 10 computations (37.5% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(+.f64 -1 (exp.f64 x))
0.0ms
x
@inf
(+.f64 -1 (exp.f64 x))
0.0ms
x
@-inf
(+.f64 -1 (exp.f64 x))

rewrite177.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
519×pow1_binary64
506×add-sqr-sqrt_binary64
482×add-log-exp_binary64
482×log1p-expm1-u_binary64
482×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify92.0ms (0.9%)

Algorithm
egg-herbie
Rules
881×fma-def_binary64
803×unswap-sqr_binary64
610×associate-/l/_binary64
507×distribute-lft-out_binary64
349×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02270
15970
212670
337264
4116463
5303463
6509863
7541963
8617663
Stop Event
node limit
Counts
43 → 40
Calls
Call 1
Inputs
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
(-.f64 (exp.f64 x) 1)
Outputs
x
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x)
(fma.f64 1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x 1/2 1))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x))
(fma.f64 x (*.f64 x 1/2) (fma.f64 1/6 (pow.f64 x 3) x))
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/24 (pow.f64 x 4) x)))
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (fma.f64 1/24 (pow.f64 x 4) x))
(fma.f64 x (*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/24 1/6)))) x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)
(-.f64 (exp.f64 x) 1)
(expm1.f64 x)

localize45.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
0.0b
(+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))
0.0b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 (pow.f64 x 4) 1/12)
Compiler

Compiled 49 to 33 computations (32.7% saved)

series5.0ms (0%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 (pow.f64 x 4) 1/12)
1.0ms
x
@inf
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
0.0ms
x
@inf
(+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))
0.0ms
x
@-inf
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
0.0ms
x
@0
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))

rewrite140.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
618×fma-def_binary64
558×log-prod_binary64
340×fma-neg_binary64
337×pow2_binary64
227×pow1/3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01336
129736
2376836
Stop Event
node limit
Counts
3 → 166
Calls
Call 1
Inputs
(*.f64 (pow.f64 x 4) 1/12)
(+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 x 4) 1/12))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/12) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/144 (pow.f64 x 8)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/12)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/1728 (pow.f64 x 12)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/144 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/1728 (pow.f64 x 12)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 4) 1/12)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/144 (pow.f64 x 8)) (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2) (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/1728 (pow.f64 x 12) (pow.f64 x 6)) (/.f64 1 (-.f64 (fma.f64 1/144 (pow.f64 x 8) (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 1/144 (pow.f64 x 8)) (pow.f64 x 4)) (/.f64 1 (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 1/144 (pow.f64 x 8) (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 6))) (fma.f64 1/1728 (pow.f64 x 12) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)) (-.f64 (*.f64 1/144 (pow.f64 x 8)) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/1728 (pow.f64 x 12) (pow.f64 x 6)) (-.f64 (fma.f64 1/144 (pow.f64 x 8) (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/1728 (pow.f64 x 12) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 1/144 (pow.f64 x 8)) (*.f64 1/12 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/144 (pow.f64 x 8)) (pow.f64 x 4)) (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 1/1728 (pow.f64 x 12) (pow.f64 x 6))) (neg.f64 (-.f64 (fma.f64 1/144 (pow.f64 x 8) (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 1/144 (pow.f64 x 8)) (pow.f64 x 4))) (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 1/144 (pow.f64 x 8))) (-.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 1/144 (pow.f64 x 8) (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 6))) (fma.f64 1/1728 (pow.f64 x 12) (pow.f64 x 6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)) (-.f64 (*.f64 1/144 (pow.f64 x 8)) (pow.f64 x 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 4) 1/12))) (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/12) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 4) 1/12))) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (pow.f64 (exp.f64 1/12) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/12 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 4) 1/12) 1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/12)) (cbrt.f64 (*.f64 1/144 (pow.f64 x 8))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/144 (pow.f64 x 8))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/12)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 8)) (*.f64 (cbrt.f64 (pow.f64 x 4)) 1/12) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x) (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 8))) (sqrt.f64 (cbrt.f64 (pow.f64 x 4))) (*.f64 (pow.f64 x 4) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (*.f64 x x)) (*.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (cbrt.f64 (pow.f64 x 8))) (cbrt.f64 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (*.f64 x x))) (cbrt.f64 x) (*.f64 (pow.f64 x 4) 1/12))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/129600 (pow.f64 x 12)) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (/.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 2) (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))) (hypot.f64 x (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3)) (/.f64 1 (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 1/129600 (pow.f64 x 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 1/129600 (pow.f64 x 12)) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2)) (/.f64 1 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 1/129600 (pow.f64 x 12))) (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (-.f64 (*.f64 1/129600 (pow.f64 x 12)) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3)) (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 1/129600 (pow.f64 x 12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3)) (+.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2) (-.f64 (*.f64 1/129600 (pow.f64 x 12)) (*.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/129600 (pow.f64 x 12)) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2)) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3))) (neg.f64 (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 1/129600 (pow.f64 x 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 1/129600 (pow.f64 x 12)) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2))) (neg.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)) 3) (pow.f64 x 6)) (+.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)) 2) (-.f64 (pow.f64 x 4) (*.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2) (*.f64 1/129600 (pow.f64 x 12))) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)) 2) (pow.f64 x 4)) (-.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (-.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 1/129600 (pow.f64 x 12))) (fma.f64 (pow.f64 (pow.f64 x 6) 3) 1/46656000 (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (-.f64 (*.f64 1/129600 (pow.f64 x 12)) (pow.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (*.f64 (pow.f64 (exp.f64 1/360) (pow.f64 x 6)) (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (*.f64 (pow.f64 (exp.f64 1/360) (pow.f64 x 6)) (pow.f64 (exp.f64 1/12) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (pow.f64 (exp.f64 1/360) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6)))) (exp.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/360) (pow.f64 x 6)) (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/360 (pow.f64 x 6)))) (+.f64 1 (expm1.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 1/360) (pow.f64 x 6)) (pow.f64 (exp.f64 1/12) (pow.f64 x 4))) (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12))) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 1/360) (pow.f64 x 6)) (pow.f64 (exp.f64 1/12) (pow.f64 x 4))) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/360) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 4) 1/12) 1 (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) 1 (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 6)) 1 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (pow.f64 x 4) 1/12) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) (*.f64 (pow.f64 x 3) 1/360) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) 2) (cbrt.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (pow.f64 x 4)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (cbrt.f64 1/360)) (cbrt.f64 (*.f64 1/129600 (pow.f64 x 12))) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/129600 (pow.f64 x 12))) (*.f64 (*.f64 x x) (cbrt.f64 1/360)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/12)) (cbrt.f64 (*.f64 1/144 (pow.f64 x 8))) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/144 (pow.f64 x 8))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/12)) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 8)) (*.f64 (cbrt.f64 (pow.f64 x 4)) 1/12) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3) (sqrt.f64 1/360)) (*.f64 (pow.f64 x 3) (sqrt.f64 1/360)) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/1728 (pow.f64 x 12) (pow.f64 x 6)) (/.f64 1 (-.f64 (fma.f64 1/144 (pow.f64 x 8) (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 6)))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 1/144 (pow.f64 x 8)) (pow.f64 x 4)) (/.f64 1 (-.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x))) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)) 1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12))) 2) (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 8))) (sqrt.f64 (cbrt.f64 (pow.f64 x 4))) (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (*.f64 x x)) (*.f64 x x) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 4)) (*.f64 x x) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/360 (pow.f64 x 3)) (pow.f64 x 3) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/12 (cbrt.f64 (pow.f64 x 8))) (cbrt.f64 (pow.f64 x 4)) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (*.f64 x x))) (cbrt.f64 x) (fma.f64 1/360 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12)))))))

simplify276.0ms (2.6%)

Algorithm
egg-herbie
Rules
1287×fma-def_binary64
726×sqr-pow_binary64
544×cube-prod_binary64
360×*-commutative_binary64
336×unpow3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
015398
135366
275366
3191366
4843366
52331366
63441366
73675366
83875366
94126366
104441366
114886366
125646366
136140366
146805366
157089366
167335366
177597366
187869366
Stop Event
node limit
Counts
202 → 176
Calls
Call 1
Inputs
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
Outputs
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(*.f64 1/12 (pow.f64 x 4))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(*.f64 x (fma.f64 (pow.f64 x 3) (fma.f64 (*.f64 x x) 1/360 1/12) x))
(fma.f64 x (fma.f64 1/12 (pow.f64 x 3) x) (*.f64 1/360 (pow.f64 x 6)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(*.f64 x (fma.f64 (pow.f64 x 3) (fma.f64 (*.f64 x x) 1/360 1/12) x))
(fma.f64 x (fma.f64 1/12 (pow.f64 x 3) x) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/360 1/12))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(*.f64 x (fma.f64 (pow.f64 x 3) (fma.f64 (*.f64 x x) 1/360 1/12) x))
(fma.f64 x (fma.f64 1/12 (pow.f64 x 3) x) (*.f64 1/360 (pow.f64 x 6)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(*.f64 x (fma.f64 (pow.f64 x 3) (fma.f64 (*.f64 x x) 1/360 1/12) x))
(fma.f64 x (fma.f64 1/12 (pow.f64 x 3) x) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/360 1/12))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) 1/12))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(*.f64 x (fma.f64 (pow.f64 x 3) (fma.f64 (*.f64 x x) 1/360 1/12) x))
(fma.f64 x (fma.f64 1/12 (pow.f64 x 3) x) (*.f64 1/360 (pow.f64 x 6)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(*.f64 x (fma.f64 (pow.f64 x 3) (fma.f64 (*.f64 x x) 1/360 1/12) x))
(fma.f64 x (fma.f64 1/12 (pow.f64 x 3) x) (*.f64 1/360 (pow.f64 x 6)))

localize17.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
0.1b
(*.f64 1/12 (pow.f64 x 4))
Compiler

Compiled 24 to 15 computations (37.5% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
0.0ms
x
@inf
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
0.0ms
x
@-inf
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))

rewrite76.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
799×pow1_binary64
752×add-log-exp_binary64
752×log1p-expm1-u_binary64
752×expm1-log1p-u_binary64
735×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
117811
2216611
Stop Event
node limit
Counts
1 → 35
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 x 8) 1/144) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (/.f64 1 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (*.f64 (pow.f64 x 6) 1/12)) (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4))) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (-.f64 (+.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (*.f64 (pow.f64 x 6) 1/12)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728)) (+.f64 (*.f64 (pow.f64 x 8) 1/144) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 (pow.f64 x 4) 3) 1/1728))) (neg.f64 (-.f64 (+.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144)) (*.f64 (pow.f64 x 6) 1/12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 8) 1/144))) (neg.f64 (+.f64 (*.f64 x x) (*.f64 -1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 8) 1/144) (pow.f64 x 4)) (-.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (*.f64 (*.f64 x x) (sqrt.f64 1/12))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/12 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 1/144)) (cbrt.f64 (*.f64 1/12 (pow.f64 x 4))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 (*.f64 x x) (sqrt.f64 1/12)) (*.f64 x x))))))

simplify205.0ms (1.9%)

Algorithm
egg-herbie
Rules
1057×sqr-pow_binary64
963×fma-def_binary64
506×pow-sqr_binary64
451×cube-prod_binary64
363×fabs-mul_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
09135
118117
238117
386117
4293117
51235117
62593117
73274117
83485117
93726117
104023117
114409117
124874117
135415117
146041117
156792117
167102117
177324117
187520117
197578117
207602117
Stop Event
node limit
Counts
47 → 40
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
Outputs
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x (fma.f64 1/12 (pow.f64 x 3) x))

localize9.0ms (0.1%)

Compiler

Compiled 24 to 16 computations (33.3% saved)

eval187.0ms (1.7%)

Compiler

Compiled 5231 to 3727 computations (28.8% saved)

prune36.0ms (0.3%)

Pruning

10 alts after pruning (2 fresh and 8 done)

PrunedKeptTotal
New2871288
Fresh011
Picked011
Done279
Total28910299
Error
0b
Counts
299 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
60.1b
x
59.9b
(*.f64 (expm1.f64 x) 1)
60.2b
(*.f64 x (fma.f64 x 1/2 -1))
0.6b
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
28.9b
(*.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))
0.7b
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
60.1b
(expm1.f64 (neg.f64 x))
60.2b
(neg.f64 x)
0.8b
(*.f64 x x)
60.2b
(+.f64 (*.f64 (*.f64 x 1/2) x) (*.f64 -1 x))
Compiler

Compiled 70 to 51 computations (27.1% saved)

regimes27.0ms (0.3%)

Counts
18 → 1
Calls
Call 1
Inputs
x
(neg.f64 x)
(*.f64 x x)
(+.f64 (*.f64 (*.f64 x 1/2) x) (*.f64 -1 x))
(expm1.f64 (neg.f64 x))
(*.f64 (expm1.f64 x) 1)
(*.f64 1/360 (pow.f64 x 6))
(+.f64 -1 (exp.f64 (neg.f64 x)))
(*.f64 (+.f64 -1 (exp.f64 x)) 1)
(*.f64 x (fma.f64 x 1/2 -1))
(*.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/12) (*.f64 x x)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
Outputs
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
Calls

2 calls:

13.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
9.0ms
x
Results
ErrorSegmentsBranch
0.6b1x
0.6b1(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 145 to 89 computations (38.6% saved)

regimes18.0ms (0.2%)

Counts
15 → 1
Calls
Call 1
Inputs
x
(neg.f64 x)
(*.f64 x x)
(+.f64 (*.f64 (*.f64 x 1/2) x) (*.f64 -1 x))
(expm1.f64 (neg.f64 x))
(*.f64 (expm1.f64 x) 1)
(*.f64 1/360 (pow.f64 x 6))
(+.f64 -1 (exp.f64 (neg.f64 x)))
(*.f64 (+.f64 -1 (exp.f64 x)) 1)
(*.f64 x (fma.f64 x 1/2 -1))
(*.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(+.f64 -2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Outputs
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
Calls

2 calls:

11.0ms
x
3.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Results
ErrorSegmentsBranch
0.7b1x
0.7b1(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 97 to 59 computations (39.2% saved)

regimes9.0ms (0.1%)

Counts
11 → 1
Calls
Call 1
Inputs
x
(neg.f64 x)
(*.f64 x x)
(+.f64 (*.f64 (*.f64 x 1/2) x) (*.f64 -1 x))
(expm1.f64 (neg.f64 x))
(*.f64 (expm1.f64 x) 1)
(*.f64 1/360 (pow.f64 x 6))
(+.f64 -1 (exp.f64 (neg.f64 x)))
(*.f64 (+.f64 -1 (exp.f64 x)) 1)
(*.f64 x (fma.f64 x 1/2 -1))
(*.f64 1 (+.f64 -2 (*.f64 2 (cosh.f64 x))))
Outputs
(*.f64 x x)
Calls

1 calls:

6.0ms
x
Results
ErrorSegmentsBranch
0.8b1x
Compiler

Compiled 55 to 37 computations (32.7% saved)

regimes6.0ms (0.1%)

Accuracy

Total -0.7b remaining (-1.1%)

Threshold costs -0.7b (-1.1%)

Counts
2 → 1
Calls
Call 1
Inputs
x
(neg.f64 x)
Outputs
x
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
60.1b1x
Compiler

Compiled 6 to 3 computations (50% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01540
11840
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(*.f64 x x)
x
Outputs
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 (pow.f64 x 4) 1/12) (*.f64 x x)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12))
(*.f64 x x)
x
Compiler

Compiled 32 to 22 computations (31.3% saved)

soundness198.0ms (1.8%)

Algorithm
egg-herbie
Rules
801×associate-/l*_binary64
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
536×div-sub_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23613
36013
412213
527313
670913
7172913
8314513
9760513
Stop Event
node limit
Compiler

Compiled 48 to 38 computations (20.8% saved)

end33.0ms (0.3%)

Compiler

Compiled 29 to 17 computations (41.4% saved)

Profiling

Loading profile data...