Details

Time bar (total: 12.8s)

analyze109.0ms (0.9%)

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
75%75%25%0%0%0%0%4
75%75%25%0%0%0%0%5
75%75%25%0%0%0%0%6
78.1%78.1%21.9%0%0%0%0%7
78.1%78.1%21.9%0%0%0%0%8
78.1%78.1%21.9%0%0%0%0%9
78.1%78.1%21.9%0%0%0%0%10
78.1%78.1%21.9%0%0%0%0%11
78.1%78.1%21.9%0%0%0%0%12
Compiler

Compiled 10 to 7 computations (30% saved)

sample4.0s (31.1%)

Results
2.1s2103×body2048valid
652.0ms1531×body512valid
587.0ms1189×body1024valid
497.0ms3302×body256valid
143.0ms131×body4096valid
Bogosity

preprocess48.0ms (0.4%)

Algorithm
egg-herbie
Rules
426×fma-def_binary64
293×fma-neg_binary64
85×div-sub_binary64
78×associate-/l*_binary64
63×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47312
512512
619212
731812
862312
9114012
10169812
11183012
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 10 to 7 computations (30% saved)

simplify32.0ms (0.2%)

Algorithm
egg-herbie
Rules
426×fma-def_binary64
293×fma-neg_binary64
85×div-sub_binary64
78×associate-/l*_binary64
63×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47312
512512
619212
731812
862312
9114012
10169812
11183012
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

eval0.0ms (0%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
34.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
34.0b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 9 to 6 computations (33.3% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
2.0b
(-.f64 1 (cos.f64 x))
16.9b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 20 to 9 computations (55% saved)

series3.0ms (0%)

Counts
2 → 16
Calls

6 calls:

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

rewrite58.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
873×pow1_binary64
819×add-log-exp_binary64
818×log1p-expm1-u_binary64
818×expm1-log1p-u_binary64
801×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify58.0ms (0.5%)

Algorithm
egg-herbie
Rules
619×distribute-rgt-out_binary64
564×associate-/r*_binary64
555×distribute-lft-out_binary64
510×fma-def_binary64
427×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037218
191216
2217214
3656212
42571212
55901212
Stop Event
node limit
Counts
78 → 79
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/24 (pow.f64 x 4))))
(fma.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 6)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24))))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))))

eval21.0ms (0.2%)

Compiler

Compiled 1062 to 636 computations (40.1% saved)

prune25.0ms (0.2%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New651479
Fresh000
Picked011
Done000
Total651580
Error
0.0b
Counts
80 → 15
Alt Table
Click to see full alt table
StatusErrorProgram
34.1b
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
46.0b
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
34.1b
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
33.5b
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
33.2b
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
29.1b
(fma.f64 -1/24 (*.f64 x x) 1/2)
34.0b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
28.4b
1/2
17.3b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
34.0b
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
18.5b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x))
33.2b
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
33.7b
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
33.2b
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)
28.9b
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
Compiler

Compiled 319 to 226 computations (29.2% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.3b
(*.f64 (sin.f64 x) (sin.f64 x))
0.4b
(+.f64 1 (cos.f64 x))
16.6b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
Compiler

Compiled 43 to 15 computations (65.1% saved)

series8.0ms (0.1%)

Counts
4 → 44
Calls

12 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
1.0ms
x
@inf
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
1.0ms
x
@0
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
0.0ms
x
@inf
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.0ms
x
@-inf
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))

rewrite78.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
582×log-prod_binary64
456×prod-diff_binary64
291×pow2_binary64
250×fma-def_binary64
243×log-div_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify66.0ms (0.5%)

Algorithm
egg-herbie
Rules
920×times-frac_binary64
877×distribute-lft-out_binary64
511×associate-/l*_binary64
357×associate-/r*_binary64
346×associate-/l/_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
068576
1158572
2393520
31256520
42457520
57247520
Stop Event
node limit
Counts
226 → 220
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2)))
2
(+.f64 2 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))))
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1/720 (pow.f64 x 6)))))
(+.f64 (cos.f64 x) 1)
(+.f64 (cos.f64 x) 1)
(+.f64 (cos.f64 x) 1)
(+.f64 (cos.f64 x) 1)
(pow.f64 x 2)
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))))
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))
(+.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/40320 (pow.f64 x 6)))))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2))))
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2))))
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2))))
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2))))
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2))))
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2))))
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2))))
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (tan.f64 (/.f64 x 2))))
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
2
(+.f64 2 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 2 (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 2)
(fma.f64 x (*.f64 x -1/2) 2)
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))))
(+.f64 2 (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24)))
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (*.f64 (pow.f64 x 4) 1/24))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) 1/24 2))
(fma.f64 (pow.f64 x 4) 1/24 (fma.f64 (*.f64 x x) -1/2 2))
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 -1/720 (pow.f64 x 6)))))
(+.f64 2 (fma.f64 -1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -1/720))))
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) -1/720)))
(+.f64 2 (fma.f64 (pow.f64 x 6) -1/720 (fma.f64 x (*.f64 x -1/2) (*.f64 (pow.f64 x 4) 1/24))))
(+.f64 (fma.f64 (*.f64 x x) -1/2 2) (fma.f64 (pow.f64 x 6) -1/720 (*.f64 (pow.f64 x 4) 1/24)))
(+.f64 (fma.f64 x (*.f64 x -1/2) 2) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) -1/720)))
(+.f64 (cos.f64 x) 1)
(+.f64 1 (cos.f64 x))
(+.f64 (cos.f64 x) 1)
(+.f64 1 (cos.f64 x))
(+.f64 (cos.f64 x) 1)
(+.f64 1 (cos.f64 x))
(+.f64 (cos.f64 x) 1)
(+.f64 1 (cos.f64 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2))
(fma.f64 -1/3 (pow.f64 x 4) (*.f64 x x))
(fma.f64 (pow.f64 x 4) -1/3 (*.f64 x x))
(fma.f64 x x (*.f64 (pow.f64 x 4) -1/3))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x)))
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 x x (*.f64 (pow.f64 x 6) 2/45)))
(fma.f64 x x (fma.f64 (pow.f64 x 4) -1/3 (*.f64 (pow.f64 x 6) 2/45)))
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (*.f64 x x)))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))))
(fma.f64 -1/3 (pow.f64 x 4) (fma.f64 -1/315 (pow.f64 x 8) (fma.f64 2/45 (pow.f64 x 6) (*.f64 x x))))
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 -1/315 (pow.f64 x 8) (fma.f64 x x (*.f64 (pow.f64 x 6) 2/45))))
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 x x (*.f64 -1/315 (pow.f64 x 8)))))
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 (pow.f64 x 6) 2/45 (fma.f64 -1/315 (pow.f64 x 8) (*.f64 x x))))
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(pow.f64 (sin.f64 x) 2)
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 x (*.f64 1/2 x))))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/720 (pow.f64 x 6)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 8)))))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 (cos.f64 x) 1))
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 13 to 7 computations (46.2% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite42.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
505×pow1_binary64
497×add-sqr-sqrt_binary64
473×add-log-exp_binary64
473×log1p-expm1-u_binary64
473×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify161.0ms (1.3%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
560×cube-prod_binary64
556×fabs-mul_binary64
523×pow-sqr_binary64
443×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
08105
11587
22787
35187
411487
533787
6128287
7217987
8234387
9252787
10273587
11303487
12342587
13390487
14447287
15516287
16599787
17638987
18667987
19695787
20702987
21706387
Stop Event
node limit
Counts
33 → 26
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(*.f64 -1/24 (pow.f64 x 2))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(*.f64 -1/24 (pow.f64 x 2))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)

localize114.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
0.1b
(*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))
0.3b
(fma.f64 -1/24 (*.f64 x x) 1/2)
37.7b
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
Compiler

Compiled 45 to 22 computations (51.1% saved)

series4.0ms (0%)

Counts
3 → 36
Calls

9 calls:

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

rewrite86.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
530×log-prod_binary64
402×exp-prod_binary64
330×pow-prod-down_binary64
241×pow2_binary64
237×div-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0945
119636
2271236
Stop Event
node limit
Counts
3 → 143
Calls
Call 1
Inputs
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
(*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (/.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4)) (*.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (cbrt.f64 x)) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (/.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)) (cbrt.f64 (pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 2)) (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)) (sqrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (neg.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (/.f64 1 (neg.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2))) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 x) x) (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 x (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4)) x) (/.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) 1) (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4)) 1) (/.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (/.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (*.f64 (cbrt.f64 x) x)) (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (/.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (/.f64 x (cbrt.f64 x))) (/.f64 x (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) (*.f64 (cbrt.f64 x) x)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 (cbrt.f64 x) x)) (/.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) (/.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4)) (*.f64 (cbrt.f64 x) x)) (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (cbrt.f64 x) x)) (/.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) (/.f64 x (cbrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 2) 1) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 2) (/.f64 x (cbrt.f64 x))) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (/.f64 x (cbrt.f64 x))) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 x)) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0)) 2)) (cbrt.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0))) (sqrt.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) (neg.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) -3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 0 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (-.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) 0) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 1) (log.f64 (/.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (-.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 0) (*.f64 (log.f64 x) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) x) (*.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 -1/24 (*.f64 x x))) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))) (sqrt.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 -1/24 (*.f64 x x)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) x (*.f64 1/2 x))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (*.f64 -1/24 (*.f64 x x))) (*.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x)) 2)) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 3) (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (/.f64 x (cbrt.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (sqrt.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 -1/24 (*.f64 x x) 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 -1/24 (*.f64 x x)) (*.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 x x) (*.f64 1/2 (*.f64 x x)))))))

simplify187.0ms (1.5%)

Algorithm
egg-herbie
Rules
957×sqr-pow_binary64
803×unswap-sqr_binary64
635×cube-prod_binary64
536×fabs-mul_binary64
385×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018369
142351
281351
3182351
4611351
51165351
62602351
72721351
82895351
93110351
103393351
113765351
124211351
134763351
145449351
155906351
166213351
176481351
186693351
196887351
207668351
Stop Event
node limit
Counts
179 → 157
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(*.f64 -1/24 (pow.f64 x 2))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(*.f64 -1/24 (pow.f64 x 2))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(*.f64 1/2 x)
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(*.f64 -1/24 (pow.f64 x 3))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(*.f64 -1/24 (pow.f64 x 3))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(*.f64 1/2 x)
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(*.f64 -1/24 (pow.f64 x 3))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(*.f64 -1/24 (pow.f64 x 3))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3)))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (fma.f64 1/2 x (*.f64 -1/24 (pow.f64 x 3))))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x)))

localize21.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/720 (pow.f64 x 4))
0.4b
(*.f64 -1/24 (pow.f64 x 2))
12.4b
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
Compiler

Compiled 47 to 38 computations (19.1% saved)

series4.0ms (0%)

Counts
3 → 3
Calls

9 calls:

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

rewrite73.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
446×log-prod_binary64
335×exp-prod_binary64
304×fma-def_binary64
298×prod-exp_binary64
270×pow-prod-down_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01128
123928
2273428
Stop Event
node limit
Counts
3 → 117
Calls
Call 1
Inputs
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 1/720 (pow.f64 x 4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 4) 1/576) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 x 8) 1/518400) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824)) (/.f64 1 (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400)) (/.f64 1 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576)) (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824)) (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824)) (fma.f64 (pow.f64 x 8) 1/518400 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400)) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824))) (neg.f64 (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400))) (neg.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 8) 1/518400) (*.f64 (pow.f64 x 4) 1/576)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 1/720 (pow.f64 x 4)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))) (*.f64 (pow.f64 x 4) 1/576)) (fma.f64 (pow.f64 x 12) 1/373248000 (*.f64 (pow.f64 x 6) -1/13824))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (pow.f64 x 8) 1/518400))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 2)) (cbrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))) (sqrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (exp.f64 1/720) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (pow.f64 (exp.f64 x) (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x -1/24) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/720) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) 1 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/720 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 x 4)) 1 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/24) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) 1/720) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) (cbrt.f64 (*.f64 (pow.f64 x 8) 1/518400)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 1/518400)) (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/720)) (*.f64 (*.f64 x x) (sqrt.f64 1/720)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (*.f64 x x)) (*.f64 x x) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (*.f64 -1/24 (*.f64 x x)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/24 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/24 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/576) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) -1/13824) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 -1/24 (*.f64 x x)))) 2)) (cbrt.f64 (log.f64 (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))))) (sqrt.f64 (log.f64 (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 6) -1/13824))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 -1/24))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 6) -1/13824)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))) 3) 1/3))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/720 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/720 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 8) 1/518400) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/720)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) 1/373248000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4)))) 2)) (cbrt.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))))) (sqrt.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 1/518400))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 12) 1/373248000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/720 (pow.f64 x 4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/720))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 12) 1/373248000)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/720 (pow.f64 x 4))) 3) 1/3))))))

simplify177.0ms (1.4%)

Algorithm
egg-herbie
Rules
1319×sqr-pow_binary64
659×pow-sqr_binary64
493×cube-prod_binary64
406×fabs-mul_binary64
386×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
11921
23921
39021
429421
5117321
6191721
7204121
8221021
9240921
10268021
11303721
12349121
13402221
14465221
15540321
16571321
17593921
18613721
19619521
20621721
21705121
22796421
Stop Event
node limit
Counts
120 → 120
Calls
Call 1
Inputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 1/720 (pow.f64 x 4))
(*.f64 1/720 (pow.f64 x 4))
Outputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 1/720 (pow.f64 x 4))
(*.f64 1/720 (pow.f64 x 4))

localize13.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cos.f64 x) (pow.f64 x -2))
19.2b
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
Compiler

Compiled 24 to 14 computations (41.7% saved)

series5.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
1.0ms
x
@inf
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
1.0ms
x
@0
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
0.0ms
x
@0
(*.f64 (cos.f64 x) (pow.f64 x -2))
0.0ms
x
@-inf
(*.f64 (cos.f64 x) (pow.f64 x -2))

rewrite86.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
837×pow1_binary64
783×add-log-exp_binary64
782×log1p-expm1-u_binary64
782×expm1-log1p-u_binary64
766×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0724
116021
2216221
Stop Event
node limit
Counts
2 → 51
Calls
Call 1
Inputs
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
(*.f64 (cos.f64 x) (pow.f64 x -2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (*.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2) (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (neg.f64 (pow.f64 x -2)) (cos.f64 x) (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) 1 (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (cos.f64 x)))) (cbrt.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4))) (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) (fma.f64 (neg.f64 (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x))) (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x)) (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (+.f64 1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) 2) (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) (sqrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -6) (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6))) (/.f64 1 (+.f64 (pow.f64 x -4) (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)) (*.f64 (pow.f64 x -4) (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -4) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4))) (/.f64 1 (*.f64 (pow.f64 x -2) (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 1 x) (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x))) (-.f64 (/.f64 1 x) (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (neg.f64 (cos.f64 x)) 1) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -4) (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)) (*.f64 (pow.f64 x -4) (cos.f64 x)))) (-.f64 (pow.f64 x -6) (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (pow.f64 x -2) (+.f64 1 (cos.f64 x))) (-.f64 (pow.f64 x -4) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -6) (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6))) (+.f64 (pow.f64 x -4) (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)) (*.f64 (pow.f64 x -4) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -4) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4))) (*.f64 (pow.f64 x -2) (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -6) (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6)))) (neg.f64 (+.f64 (pow.f64 x -4) (+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)) (*.f64 (pow.f64 x -4) (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -4) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)))) (neg.f64 (*.f64 (pow.f64 x -2) (+.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -6) (pow.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) 3)) (+.f64 (pow.f64 x -4) (-.f64 (*.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x)))) (*.f64 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -4) (*.f64 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))) (-.f64 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -4)) (cbrt.f64 (pow.f64 x -2)) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 x) (/.f64 1 x) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 x -2) (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x -2) (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x -2) (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (cos.f64 x)) (/.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 x) 3) (pow.f64 x -6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x -2) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x -2) (cos.f64 x))))))))

simplify49.0ms (0.4%)

Algorithm
egg-herbie
Rules
568×associate-/r*_binary64
374×associate-/l/_binary64
345×distribute-lft-out_binary64
341×distribute-rgt-neg-in_binary64
327×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
036278
182276
2191274
3536272
41830272
54141272
Stop Event
node limit
Counts
75 → 70
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(-.f64 (/.f64 1 (pow.f64 x 2)) 1/2)
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2))) 1/2)
(-.f64 (+.f64 (*.f64 -1/720 (pow.f64 x 4)) (+.f64 (*.f64 1/24 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2)))) 1/2)
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (pow.f64 x 2))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(-.f64 (/.f64 1 (pow.f64 x 2)) 1/2)
(+.f64 (/.f64 1 (*.f64 x x)) -1/2)
(-.f64 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2))) 1/2)
(+.f64 (fma.f64 1/24 (*.f64 x x) (/.f64 1 (*.f64 x x))) -1/2)
(+.f64 (fma.f64 (*.f64 x x) 1/24 (/.f64 1 (*.f64 x x))) -1/2)
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 x (*.f64 x 1/24) -1/2))
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 (*.f64 x x) 1/24 -1/2))
(-.f64 (+.f64 (*.f64 -1/720 (pow.f64 x 4)) (+.f64 (*.f64 1/24 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2)))) 1/2)
(+.f64 (fma.f64 -1/720 (pow.f64 x 4) (fma.f64 1/24 (*.f64 x x) (/.f64 1 (*.f64 x x)))) -1/2)
(+.f64 (fma.f64 (pow.f64 x 4) -1/720 (fma.f64 (*.f64 x x) 1/24 (/.f64 1 (*.f64 x x)))) -1/2)
(+.f64 (fma.f64 x (*.f64 x 1/24) (/.f64 1 (*.f64 x x))) (fma.f64 (pow.f64 x 4) -1/720 -1/2))
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) -1/720 -1/2)))
(-.f64 (fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) -1/720 -1/2)) (/.f64 -1 (*.f64 x x)))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (*.f64 x x))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (*.f64 x x))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (*.f64 x x))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (*.f64 x x))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (*.f64 x x))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (*.f64 x x))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (*.f64 x x))
(/.f64 (cos.f64 x) (pow.f64 x 2))
(/.f64 (cos.f64 x) (*.f64 x x))

eval210.0ms (1.7%)

Compiler

Compiled 10577 to 6429 computations (39.2% saved)

prune114.0ms (0.9%)

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New60712619
Fresh639
Picked101
Done415
Total61816634
Error
0b
Counts
634 → 16
Alt Table
Click to see full alt table
StatusErrorProgram
34.1b
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
28.4b
1/2
46.0b
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
33.5b
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
33.6b
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))
17.9b
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
29.2b
(/.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))
33.2b
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
34.0b
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
34.0b
(/.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 2) (+.f64 1 (cos.f64 x))) (*.f64 x x))
28.9b
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
33.7b
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
47.4b
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
29.1b
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
17.2b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
34.0b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 369 to 258 computations (30.1% saved)

localize33.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
16.6b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
Compiler

Compiled 33 to 18 computations (45.5% saved)

series9.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))
2.0ms
x
@inf
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
2.0ms
x
@-inf
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
1.0ms
x
@0
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
1.0ms
x
@-inf
(*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x))

rewrite98.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
545×log-prod_binary64
421×exp-prod_binary64
316×pow-prod-down_binary64
263×pow2_binary64
186×pow1/3_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify106.0ms (0.8%)

Algorithm
egg-herbie
Rules
604×associate-/r/_binary64
596×distribute-rgt-out_binary64
555×distribute-lft-out_binary64
507×fma-def_binary64
449×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
041474
1100472
2242470
3741468
42948468
56849468
Stop Event
node limit
Counts
108 → 103
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)))
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)))
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)))
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)))
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)))
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)))
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)))
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)))
(/.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x x) (sin.f64 (*.f64 1/2 x)))) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x))))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/24 (pow.f64 x 4))))
(fma.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 6)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) 1/2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 -1/24 (pow.f64 x 4)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24))))
(fma.f64 1/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/2 (*.f64 x x)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 x) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))

localize15.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 10 computations (47.4% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite75.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
432×pow1_binary64
422×add-sqr-sqrt_binary64
411×*-un-lft-identity_binary64
403×add-log-exp_binary64
403×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11027
211507
Stop Event
node limit
Counts
1 → 14
Calls
Call 1
Inputs
(*.f64 -1/24 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/24 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/24 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/576 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/24) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/24 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))))))))

simplify192.0ms (1.5%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
617×cube-prod_binary64
554×fabs-mul_binary64
523×pow-sqr_binary64
441×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11284
22384
34484
410584
533184
6125084
7212384
8228784
9247184
10267984
11297684
12337184
13385284
14441884
15510284
16593584
17632784
18661984
19689584
20696984
21700384
22794484
Stop Event
node limit
Counts
26 → 16
Calls
Call 1
Inputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
Outputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 x (*.f64 -1/24 x))

localize22.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(/.f64 1 (*.f64 x x))
17.7b
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
Compiler

Compiled 24 to 13 computations (45.8% saved)

series5.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
1.0ms
x
@-inf
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
1.0ms
x
@inf
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
0.0ms
x
@-inf
(/.f64 1 (*.f64 x x))
0.0ms
x
@inf
(/.f64 1 (*.f64 x x))

rewrite120.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
722×pow1_binary64
679×add-log-exp_binary64
677×log1p-expm1-u_binary64
677×expm1-log1p-u_binary64
663×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify334.0ms (2.6%)

Algorithm
egg-herbie
Rules
1118×associate-/r*_binary64
1082×sqr-pow_binary64
560×cube-prod_binary64
559×fabs-mul_binary64
523×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0796
11296
21996
33496
47496
521496
681896
7202596
8219196
9237596
10258396
11288296
12327796
13375896
14432696
15501296
16584596
17623996
18653196
19681196
20688596
21692196
Stop Event
node limit
Counts
81 → 60
Calls
Call 1
Inputs
0
0
0
0
0
0
0
0
0
0
0
0
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (pow.f64 x 2))
Outputs
0
0
0
0
0
0
0
0
0
0
0
0
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(/.f64 (/.f64 1 x) x)

localize47.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/720 (pow.f64 x 4))
0.4b
(*.f64 -1/24 (*.f64 x x))
12.4b
(+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))
Compiler

Compiled 58 to 39 computations (32.8% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite158.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
477×fma-def_binary64
456×log-prod_binary64
344×exp-prod_binary64
299×pow-prod-down_binary64
262×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01216
127114
2313214
Stop Event
node limit
Counts
1 → 81
Calls
Call 1
Inputs
(+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 4) 1/576) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))) (/.f64 (*.f64 1/518400 (pow.f64 x 8)) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8))) (/.f64 1 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))) (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824)) (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824)) (fma.f64 1/518400 (pow.f64 x 8) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8))) (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8)))) (neg.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 0 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) (+.f64 0 (-.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) (*.f64 0 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2)) (-.f64 0 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/518400 (pow.f64 x 8)) (*.f64 (pow.f64 x 4) 1/576)) (-.f64 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))) (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 2)) (cbrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))) (sqrt.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (exp.f64 1/720) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (pow.f64 (exp.f64 -1/24) x) x) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x)))) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (pow.f64 (pow.f64 (exp.f64 -1/24) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 -1/24 x) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/720) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) 1 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/720 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 x 4)) 1 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/720 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) (cbrt.f64 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/518400 (pow.f64 x 8))) (cbrt.f64 (*.f64 1/720 (pow.f64 x 4))) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/24) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) 1/720) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 1/720)) (*.f64 (*.f64 x x) (sqrt.f64 1/720)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 6) -1/13824) (/.f64 1 (*.f64 (pow.f64 x 4) 1/576)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/373248000 (pow.f64 x 12) (*.f64 (pow.f64 x 6) -1/13824)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 1/518400 (pow.f64 x 8))) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 (pow.f64 x 4) 1/576)) (/.f64 1 (neg.f64 (*.f64 -1/24 (*.f64 x x)))) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/518400 (pow.f64 x 8))) (/.f64 1 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/720 (pow.f64 x 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (*.f64 x x)) (*.f64 x x) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) 1) x (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 1/720 (pow.f64 x 4)))))))

simplify198.0ms (1.6%)

Algorithm
egg-herbie
Rules
1057×sqr-pow_binary64
538×fma-def_binary64
506×pow-sqr_binary64
443×cube-prod_binary64
425×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011147
122147
245147
3114147
4355147
51427147
62658147
73120147
83289147
93488147
103761147
114118147
124568147
135099147
145729147
156484147
166794147
177018147
187216147
197270147
207292147
Stop Event
node limit
Counts
93 → 86
Calls
Call 1
Inputs
(*.f64 -1/24 (pow.f64 x 2))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(*.f64 1/720 (pow.f64 x 4))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(*.f64 1/720 (pow.f64 x 4))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
Outputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 1/720 (pow.f64 x 4))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 1/720 (pow.f64 x 4))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24))
(*.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))

localize51.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
0.1b
(/.f64 (-.f64 1 (cos.f64 x)) x)
0.4b
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
2.0b
(-.f64 1 (cos.f64 x))
Compiler

Compiled 34 to 19 computations (44.1% saved)

series10.0ms (0.1%)

Counts
3 → 28
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
2.0ms
x
@inf
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
1.0ms
x
@-inf
(/.f64 (-.f64 1 (cos.f64 x)) x)
1.0ms
x
@0
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
1.0ms
x
@inf
(/.f64 (-.f64 1 (cos.f64 x)) x)

rewrite277.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
489×log-prod_binary64
382×exp-prod_binary64
269×pow-prod-down_binary64
252×pow2_binary64
244×prod-diff_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0936
119833
2274133
Stop Event
node limit
Counts
3 → 199
Calls
Call 1
Inputs
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
(/.f64 (-.f64 1 (cos.f64 x)) x)
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 2) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) 1) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) 1) (/.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) (cbrt.f64 (*.f64 x x))) (/.f64 (/.f64 1 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) (cbrt.f64 (*.f64 x x))) (/.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 (*.f64 x x))) (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) (sqrt.f64 x)) (pow.f64 x -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (sqrt.f64 x)) (/.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (neg.f64 x)) (/.f64 (neg.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) -2) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) (/.f64 x (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (/.f64 x (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (neg.f64 (-.f64 1 (cos.f64 x))) x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) -2) (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) -1/2) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 (cos.f64 x) x))) (sqrt.f64 (/.f64 (cos.f64 x) x)) (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (sqrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 x) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) 1))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) 1 (*.f64 (/.f64 (cos.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) 1))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) 1 (*.f64 (/.f64 (cos.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) x) 1))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) x)) 1 (*.f64 (/.f64 (cos.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 1 x) (cos.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 x)) (cos.f64 x) (*.f64 (/.f64 1 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 1 x) (cos.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 x)) (cos.f64 x) (*.f64 (/.f64 1 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 1 x) (cos.f64 x)))) (fma.f64 (neg.f64 (/.f64 1 x)) (cos.f64 x) (*.f64 (/.f64 1 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (cos.f64 x) x))) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2) (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (cos.f64 x) x))) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2) (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (cos.f64 x) x))) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2) (*.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 x) x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) -2) (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) -2) (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) -2) (*.f64 (/.f64 (cos.f64 x) (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (sqrt.f64 x))) (pow.f64 x -1/2) (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (sqrt.f64 x))) (pow.f64 x -1/2) (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2)))) (fma.f64 (neg.f64 (/.f64 (cos.f64 x) (sqrt.f64 x))) (pow.f64 x -1/2) (*.f64 (/.f64 (cos.f64 x) (sqrt.f64 x)) (pow.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1)))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1)))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1)))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) x) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x)) (/.f64 (sqrt.f64 (cos.f64 x)) 1) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x)) (/.f64 (sqrt.f64 (cos.f64 x)) 1) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x)) (/.f64 (sqrt.f64 (cos.f64 x)) 1) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) x) (/.f64 (sqrt.f64 (cos.f64 x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1 (/.f64 1 x) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (sqrt.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (cos.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) (*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2)) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 (-.f64 1 (cos.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (-.f64 1 (cos.f64 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) 1) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) (cbrt.f64 (*.f64 x x))) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 (*.f64 x x))) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) (sqrt.f64 x)) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 2)) (cbrt.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))) (sqrt.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) (cbrt.f64 (/.f64 1 x)) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 1 x)) (sqrt.f64 (/.f64 1 x)) (neg.f64 (/.f64 (cos.f64 x) x)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (-.f64 1 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) (pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 2) (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (/.f64 (neg.f64 (-.f64 1 (cos.f64 x))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) 1) (/.f64 (cbrt.f64 x) (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (-.f64 1 (cos.f64 x))) (pow.f64 x 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) (-.f64 1 (cos.f64 x))) (*.f64 (cbrt.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) -2) (/.f64 x (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2))) (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -2))) (/.f64 (sqrt.f64 x) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) -1/2) (/.f64 x (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 x x)) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 x (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (neg.f64 (-.f64 1 (cos.f64 x)))) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) -3) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 x 3) (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 2)) (cbrt.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))) (sqrt.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (/.f64 (neg.f64 (-.f64 1 (cos.f64 x))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) 1) -1))))))

simplify84.0ms (0.7%)

Algorithm
egg-herbie
Rules
768×fma-def_binary64
570×associate-*l*_binary64
506×unswap-sqr_binary64
471×distribute-rgt-out_binary64
446×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054352
1137348
2328344
3954342
43807342
56663342
Stop Event
node limit
Counts
227 → 223
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(*.f64 1/2 x)
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (*.f64 1/720 (pow.f64 x 5))))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/40320 (pow.f64 x 7)) (*.f64 1/720 (pow.f64 x 5)))))
2
(+.f64 (*.f64 1/6 (pow.f64 x 2)) 2)
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (*.f64 1/120 (pow.f64 x 4))))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 1/3024 (pow.f64 x 6)) (*.f64 1/120 (pow.f64 x 4)))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(fma.f64 x (*.f64 -1/24 x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 1/2 x)
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 -1/24 (pow.f64 x 3) (*.f64 1/2 x))
(*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))
(*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (*.f64 1/720 (pow.f64 x 5))))
(fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/2 x (*.f64 1/720 (pow.f64 x 5))))
(fma.f64 1/2 x (fma.f64 1/720 (pow.f64 x 5) (*.f64 -1/24 (pow.f64 x 3))))
(fma.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 5)))
(+.f64 (*.f64 -1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/40320 (pow.f64 x 7)) (*.f64 1/720 (pow.f64 x 5)))))
(fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/2 x (fma.f64 -1/40320 (pow.f64 x 7) (*.f64 1/720 (pow.f64 x 5)))))
(fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/2 x (fma.f64 1/720 (pow.f64 x 5) (*.f64 -1/40320 (pow.f64 x 7)))))
(fma.f64 1/2 x (fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/720 (pow.f64 x 5) (*.f64 -1/40320 (pow.f64 x 7)))))
(fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/720 (pow.f64 x 5) (fma.f64 1/2 x (*.f64 -1/40320 (pow.f64 x 7)))))
2
(+.f64 (*.f64 1/6 (pow.f64 x 2)) 2)
(fma.f64 1/6 (*.f64 x x) 2)
(fma.f64 (*.f64 x x) 1/6 2)
(fma.f64 x (*.f64 x 1/6) 2)
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (*.f64 1/120 (pow.f64 x 4))))
(+.f64 (fma.f64 1/6 (*.f64 x x) 2) (*.f64 (pow.f64 x 4) 1/120))
(fma.f64 (*.f64 x x) 1/6 (fma.f64 (pow.f64 x 4) 1/120 2))
(fma.f64 x (*.f64 x 1/6) (fma.f64 (pow.f64 x 4) 1/120 2))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/120 1/6) 2)
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 1/3024 (pow.f64 x 6)) (*.f64 1/120 (pow.f64 x 4)))))
(+.f64 (fma.f64 1/6 (*.f64 x x) 2) (fma.f64 1/3024 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/120)))
(+.f64 (fma.f64 (*.f64 x x) 1/6 2) (fma.f64 (pow.f64 x 4) 1/120 (*.f64 (pow.f64 x 6) 1/3024)))
(fma.f64 x (*.f64 x 1/6) (fma.f64 (pow.f64 x 4) 1/120 (fma.f64 (pow.f64 x 6) 1/3024 2)))
(fma.f64 (pow.f64 x 4) 1/120 (fma.f64 (pow.f64 x 6) 1/3024 (fma.f64 (*.f64 x x) 1/6 2)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))

eval462.0ms (3.6%)

Compiler

Compiled 10092 to 6483 computations (35.8% saved)

prune207.0ms (1.6%)

Pruning

19 alts after pruning (14 fresh and 5 done)

PrunedKeptTotal
New5578565
Fresh4610
Picked011
Done145
Total56219581
Error
0b
Counts
581 → 19
Alt Table
Click to see full alt table
StatusErrorProgram
34.0b
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
33.2b
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
34.1b
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
28.4b
1/2
46.0b
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
33.5b
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
28.9b
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
33.2b
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
29.1b
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
33.4b
(-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x))
33.6b
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))
17.9b
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
33.5b
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
29.1b
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
17.2b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
33.2b
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
46.8b
0
34.0b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
33.5b
(pow.f64 (/.f64 x (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))) -1)
Compiler

Compiled 340 to 239 computations (29.7% saved)

localize23.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
16.7b
(/.f64 (sin.f64 x) (*.f64 x x))
Compiler

Compiled 32 to 14 computations (56.3% saved)

series222.0ms (1.7%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 (sin.f64 x) (*.f64 x x))
1.0ms
x
@-inf
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
1.0ms
x
@inf
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
1.0ms
x
@inf
(/.f64 (sin.f64 x) (*.f64 x x))
1.0ms
x
@-inf
(/.f64 (sin.f64 x) (*.f64 x x))

rewrite95.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
491×log-prod_binary64
401×prod-exp_binary64
370×exp-prod_binary64
318×pow-prod-down_binary64
255×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify319.0ms (2.5%)

Algorithm
egg-herbie
Rules
651×associate-/r/_binary64
492×unswap-sqr_binary64
486×distribute-lft-out_binary64
458×fma-def_binary64
431×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045373
1109371
2268369
3793367
42913367
56482367
67955367
Stop Event
node limit
Counts
136 → 130
Calls
Call 1
Inputs
(/.f64 1 x)
(+.f64 (*.f64 -1/6 x) (/.f64 1 x))
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 -1/6 x) (/.f64 1 x)))
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 -1/5040 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 x) (/.f64 1 x))))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (pow.f64 x 2))
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
Outputs
(/.f64 1 x)
(+.f64 (*.f64 -1/6 x) (/.f64 1 x))
(fma.f64 -1/6 x (/.f64 1 x))
(fma.f64 x -1/6 (/.f64 1 x))
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 -1/6 x) (/.f64 1 x)))
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 -1/6 x (/.f64 1 x)))
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 x -1/6 (/.f64 1 x)))
(fma.f64 x -1/6 (fma.f64 1/120 (pow.f64 x 3) (/.f64 1 x)))
(fma.f64 x (fma.f64 1/120 (*.f64 x x) -1/6) (/.f64 1 x))
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 -1/5040 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 x) (/.f64 1 x))))
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 -1/5040 (pow.f64 x 5) (fma.f64 -1/6 x (/.f64 1 x))))
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 -1/5040 (pow.f64 x 5) (fma.f64 x -1/6 (/.f64 1 x))))
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 x -1/6 (fma.f64 -1/5040 (pow.f64 x 5) (/.f64 1 x))))
(fma.f64 x -1/6 (fma.f64 1/120 (pow.f64 x 3) (fma.f64 -1/5040 (pow.f64 x 5) (/.f64 1 x))))
(fma.f64 x -1/6 (fma.f64 -1/5040 (pow.f64 x 5) (fma.f64 1/120 (pow.f64 x 3) (/.f64 1 x))))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (*.f64 x x))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (*.f64 x x))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (*.f64 x x))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (*.f64 x x))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (*.f64 x x))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (*.f64 x x))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (*.f64 x x))
(/.f64 (sin.f64 x) (pow.f64 x 2))
(/.f64 (sin.f64 x) (*.f64 x x))
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 (*.f64 x x) -1/24))
(fma.f64 (*.f64 x x) -1/24 1/2)
(fma.f64 x (*.f64 x -1/24) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 x (*.f64 x -1/24))))
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 (fma.f64 (*.f64 x x) -1/24 1/2) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))
(+.f64 1/2 (fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (*.f64 (*.f64 x x) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (cos.f64 (*.f64 x 1/2))))

localize31.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (*.f64 -1/24 (*.f64 x x)))
0.4b
(*.f64 -1/24 (*.f64 x x))
1.8b
(-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1)
Compiler

Compiled 40 to 25 computations (37.5% saved)

series4.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1)
1.0ms
x
@0
(-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1)
1.0ms
x
@-inf
(-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1)
1.0ms
x
@inf
(+.f64 1 (*.f64 -1/24 (*.f64 x x)))
1.0ms
x
@0
(+.f64 1 (*.f64 -1/24 (*.f64 x x)))

rewrite160.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
816×pow1_binary64
769×add-log-exp_binary64
768×log1p-expm1-u_binary64
768×expm1-log1p-u_binary64
756×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0823
117815
2239915
Stop Event
node limit
Counts
2 → 83
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1)
(+.f64 1 (*.f64 -1/24 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 -1/24 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 -1/24 (*.f64 x x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/24 (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/24 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 -1/24 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/24 (*.f64 x x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/24 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 -1/24 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) -1/24)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/24 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/24))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 -1/24 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/24 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 1) (-.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/24 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -1/24 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -1/24 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -1/24 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 -1/24 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (-.f64 1 (*.f64 (fma.f64 -1/24 (*.f64 x x) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1) (-.f64 (fma.f64 -1/24 (*.f64 x x) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) (+.f64 (*.f64 -1/24 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 -1/24 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 -1/24 (*.f64 x x) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 -1/24 (*.f64 x x) -1) (fma.f64 -1/24 (*.f64 x x) -1)) (fma.f64 -1/24 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 -1/24 (*.f64 x x) -1) (fma.f64 -1/24 (*.f64 x x) -1))) (-.f64 1 (fma.f64 -1/24 (*.f64 x x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/24 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) -1/24))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/24 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2)) (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) -1)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 -1/24 (*.f64 x x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (*.f64 1/24 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 1/576) (+.f64 1 (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/24 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/24 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)) (cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2)) (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2)) (*.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) (*.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824)) (/.f64 1 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/576)) (/.f64 1 (+.f64 1 (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x)))) (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 1/24 (*.f64 x x))) (-.f64 1 (*.f64 (pow.f64 x 4) 1/576))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824)) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824)) (+.f64 (*.f64 (pow.f64 x 4) 1/576) (+.f64 1 (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/576)) (+.f64 1 (*.f64 1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824))) (neg.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/576))) (neg.f64 (+.f64 1 (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/576) 1) (fma.f64 -1/24 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/13824)) 1) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/576) (*.f64 1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/576)) 1) (+.f64 1 (*.f64 1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/24))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/24 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/24 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 -1/24 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/24 (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/576)) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x 1)))))

simplify192.0ms (1.5%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
560×cube-prod_binary64
558×fabs-mul_binary64
523×pow-sqr_binary64
455×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
08189
116171
227171
352171
4118171
5352171
61287171
72193171
82357171
92541171
102749171
113048171
123439171
133922171
144490171
155176171
166009171
176401171
186695171
196973171
207047171
217083171
Stop Event
node limit
Counts
107 → 87
Calls
Call 1
Inputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
1
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(*.f64 -1/24 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(*.f64 -1/24 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
Outputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
1
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)
(+.f64 1 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1)
(fma.f64 -1/24 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/24 x) 1)

localize43.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
0.1b
(/.f64 (-.f64 1 (cos.f64 x)) x)
2.0b
(-.f64 1 (cos.f64 x))
Compiler

Compiled 23 to 12 computations (47.8% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite173.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
949×pow1_binary64
888×add-log-exp_binary64
888×log1p-expm1-u_binary64
888×expm1-log1p-u_binary64
79×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify186.0ms (1.5%)

Algorithm
egg-herbie
Rules
716×fma-def_binary64
649×div-sub_binary64
566×associate-/r*_binary64
374×associate-/l/_binary64
352×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025148
158146
2130144
3356142
41285142
53563142
66488142
Stop Event
node limit
Counts
52 → 49
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

localize40.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))
0.1b
(/.f64 x (-.f64 1 (cos.f64 x)))
0.4b
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
2.0b
(-.f64 1 (cos.f64 x))
Compiler

Compiled 33 to 18 computations (45.5% saved)

series6.0ms (0%)

Counts
3 → 28
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(/.f64 x (-.f64 1 (cos.f64 x)))
1.0ms
x
@inf
(/.f64 x (-.f64 1 (cos.f64 x)))
1.0ms
x
@0
(/.f64 x (-.f64 1 (cos.f64 x)))
1.0ms
x
@0
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
1.0ms
x
@inf
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))

rewrite112.0ms (0.9%)

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

Useful iterations: 1 (0.0ms)

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

simplify92.0ms (0.7%)

Algorithm
egg-herbie
Rules
729×fma-def_binary64
521×associate-*l*_binary64
506×distribute-rgt-out_binary64
492×unswap-sqr_binary64
441×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
053345
1131339
2310335
3889333
43555333
56455333
Stop Event
node limit
Counts
119 → 116
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 2 x)
(+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 1/6 x) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 1/3024 (pow.f64 x 5)))))
2
(+.f64 (*.f64 1/6 (pow.f64 x 2)) 2)
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (*.f64 1/120 (pow.f64 x 4))))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 1/3024 (pow.f64 x 6)) (*.f64 1/120 (pow.f64 x 4)))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 2 x)
(+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))
(fma.f64 1/6 x (/.f64 2 x))
(fma.f64 x 1/6 (/.f64 2 x))
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 1/6 x (/.f64 2 x)))
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 x 1/6 (/.f64 2 x)))
(fma.f64 x (fma.f64 x (*.f64 x 1/120) 1/6) (/.f64 2 x))
(fma.f64 x (fma.f64 (*.f64 x x) 1/120 1/6) (/.f64 2 x))
(+.f64 (*.f64 1/120 (pow.f64 x 3)) (+.f64 (*.f64 1/6 x) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 1/3024 (pow.f64 x 5)))))
(fma.f64 1/120 (pow.f64 x 3) (+.f64 (fma.f64 1/6 x (/.f64 2 x)) (*.f64 1/3024 (pow.f64 x 5))))
(fma.f64 1/120 (pow.f64 x 3) (fma.f64 x 1/6 (fma.f64 1/3024 (pow.f64 x 5) (/.f64 2 x))))
(fma.f64 x (fma.f64 x (*.f64 x 1/120) 1/6) (fma.f64 1/3024 (pow.f64 x 5) (/.f64 2 x)))
(fma.f64 x (fma.f64 (*.f64 x x) 1/120 1/6) (fma.f64 1/3024 (pow.f64 x 5) (/.f64 2 x)))
2
(+.f64 (*.f64 1/6 (pow.f64 x 2)) 2)
(fma.f64 1/6 (*.f64 x x) 2)
(fma.f64 (*.f64 x x) 1/6 2)
(fma.f64 x (*.f64 x 1/6) 2)
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (*.f64 1/120 (pow.f64 x 4))))
(+.f64 (fma.f64 1/6 (*.f64 x x) 2) (*.f64 (pow.f64 x 4) 1/120))
(fma.f64 (*.f64 x x) 1/6 (fma.f64 (pow.f64 x 4) 1/120 2))
(fma.f64 x (*.f64 x 1/6) (fma.f64 (pow.f64 x 4) 1/120 2))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/120 1/6) 2)
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 1/3024 (pow.f64 x 6)) (*.f64 1/120 (pow.f64 x 4)))))
(+.f64 (fma.f64 1/6 (*.f64 x x) 2) (fma.f64 1/3024 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/120)))
(+.f64 (fma.f64 (*.f64 x x) 1/6 2) (fma.f64 (pow.f64 x 6) 1/3024 (*.f64 (pow.f64 x 4) 1/120)))
(fma.f64 x (*.f64 x 1/6) (fma.f64 (pow.f64 x 4) 1/120 (fma.f64 (pow.f64 x 6) 1/3024 2)))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 (pow.f64 x 2) (-.f64 1 (cos.f64 x)))
(/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x)))
(/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
(*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))

localize35.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.4b
(/.f64 1 (*.f64 x (neg.f64 x)))
2.0b
(-.f64 1 (cos.f64 x))
17.8b
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
Compiler

Compiled 38 to 18 computations (52.6% saved)

series9.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
6.0ms
x
@inf
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
1.0ms
x
@-inf
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
1.0ms
x
@0
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
0.0ms
x
@0
(/.f64 1 (*.f64 x (neg.f64 x)))
0.0ms
x
@inf
(/.f64 1 (*.f64 x (neg.f64 x)))

rewrite73.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
877×pow1_binary64
816×add-log-exp_binary64
816×log1p-expm1-u_binary64
816×expm1-log1p-u_binary64
108×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify251.0ms (2%)

Algorithm
egg-herbie
Rules
797×div-sub_binary64
733×fma-def_binary64
505×associate-/l*_binary64
428×fma-neg_binary64
330×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028248
165246
2150236
3414226
41478226
54443226
67371226
Stop Event
node limit
Counts
80 → 67
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/24 (*.f64 x x)))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/720 -1/24) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 -1/40320 (pow.f64 x 6) (*.f64 1/720 (pow.f64 x 4))))
(fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)))
(fma.f64 x (*.f64 x (fma.f64 (pow.f64 x 4) -1/40320 -1/24)) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x))
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x))
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x))
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x))
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x))
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x))
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x))
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(*.f64 -1 (/.f64 (-.f64 (cos.f64 x) 1) (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 (cos.f64 x) -1) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 -1 (cos.f64 x))) (*.f64 x x))
(/.f64 (fma.f64 -1 (cos.f64 x) 1) (*.f64 x x))
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)

eval332.0ms (2.6%)

Compiler

Compiled 10830 to 6594 computations (39.1% saved)

prune297.0ms (2.3%)

Pruning

18 alts after pruning (11 fresh and 7 done)

PrunedKeptTotal
New6559664
Fresh729
Picked101
Done279
Total66518683
Error
0b
Counts
683 → 18
Alt Table
Click to see full alt table
StatusErrorProgram
33.5b
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x))
33.2b
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
33.5b
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
33.7b
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))
33.2b
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)
34.1b
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x)))
45.8b
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x)
29.1b
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
33.5b
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
11.8b
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
46.0b
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
28.9b
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
33.2b
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x)
29.1b
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
17.2b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
28.4b
1/2
46.8b
0
34.0b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 188 to 134 computations (28.7% saved)

regimes318.0ms (2.5%)

Counts
44 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x)
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x)))
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x)
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x))
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
(-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x))
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
(pow.f64 (/.f64 x (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))) -1)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(/.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 2) (+.f64 1 (cos.f64 x))) (*.f64 x x))
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x))
Outputs
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
Calls

3 calls:

251.0ms
x
29.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
19.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Results
ErrorSegmentsBranch
0.2b3x
0.4b2(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
0.4b2(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 461 to 255 computations (44.7% saved)

bsearch83.0ms (0.6%)

Algorithm
binary-search
Steps
TimeLeftRight
43.0ms
1.2754132945467591e-5
0.0038429952274706726
40.0ms
-753.3516174146289
-0.0020696513194771566
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes138.0ms (1.1%)

Counts
41 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x)
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x)))
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x)
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x))
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
(-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x))
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
(pow.f64 (/.f64 x (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))) -1)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(/.f64 (/.f64 (/.f64 (-.f64 1 (cos.f64 (+.f64 x x))) 2) (+.f64 1 (cos.f64 x))) (*.f64 x x))
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
Outputs
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
Calls

3 calls:

70.0ms
x
23.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
22.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Results
ErrorSegmentsBranch
0.2b3x
0.4b2(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
0.4b2(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 421 to 238 computations (43.5% saved)

bsearch48.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
23.0ms
1.2754132945467591e-5
0.0038429952274706726
25.0ms
-753.3516174146289
-0.0020696513194771566
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes71.0ms (0.6%)

Counts
32 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x)
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x)))
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x)
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x))
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
(-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x))
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
Outputs
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
(*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))
Calls

3 calls:

41.0ms
x
12.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
9.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Results
ErrorSegmentsBranch
0.2b3x
1.2b2(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
1.2b2(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 322 to 185 computations (42.5% saved)

bsearch52.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
26.0ms
0.0038429952274706726
471940232.7722814
26.0ms
-753.3516174146289
-0.0020696513194771566
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes73.0ms (0.6%)

Counts
31 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x)
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x)))
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x)
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x))
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
(-.f64 (pow.f64 x -2) (/.f64 (/.f64 (cos.f64 x) x) x))
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
Outputs
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))
Calls

3 calls:

39.0ms
x
14.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
12.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Results
ErrorSegmentsBranch
0.2b3x
0.5b3(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
0.5b3(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 311 to 179 computations (42.4% saved)

bsearch51.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
26.0ms
0.0038429952274706726
471940232.7722814
25.0ms
-753.3516174146289
-0.0020696513194771566
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes62.0ms (0.5%)

Counts
25 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x)
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))
(*.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (cos.f64 x)))
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(/.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) x)
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x)))))
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(-.f64 (/.f64 (/.f64 1 x) x) (/.f64 (/.f64 (cos.f64 x) x) x))
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
Outputs
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))
Calls

3 calls:

32.0ms
x
12.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
11.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Results
ErrorSegmentsBranch
0.3b3x
0.6b3(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
0.6b3(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 250 to 145 computations (42% saved)

bsearch53.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
26.0ms
0.0038429952274706726
471940232.7722814
26.0ms
-753.3516174146289
-0.0020696513194771566
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes42.0ms (0.3%)

Counts
14 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x)
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))
(fma.f64 -1/24 (*.f64 x x) 1/2)
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
(-.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x x)))
Outputs
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
Calls

3 calls:

21.0ms
x
9.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
8.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Results
ErrorSegmentsBranch
0.3b3x
0.6b3(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
0.6b3(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 132 to 80 computations (39.4% saved)

bsearch50.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
24.0ms
0.0038429952274706726
471940232.7722814
25.0ms
-753.3516174146289
-0.0020696513194771566
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes11.0ms (0.1%)

Counts
11 → 1
Calls
Call 1
Inputs
1/2
0
1/2
1/2
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(/.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) x)
(+.f64 (-.f64 (+.f64 1 (*.f64 -1/24 (*.f64 x x))) 1) 1/2)
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 -1/24 (*.f64 x x))) 1/4) (-.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))
(fma.f64 -1/24 (*.f64 x x) 1/2)
Outputs
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
Calls

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
11.8b1x
Compiler

Compiled 89 to 55 computations (38.2% saved)

regimes16.0ms (0.1%)

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

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
13.2b3x
Compiler

Compiled 34 to 23 computations (32.4% saved)

bsearch52.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
26.0ms
0.0038429952274706726
471940232.7722814
26.0ms
-753.3516174146289
-0.0020696513194771566
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes12.0ms (0.1%)

Accuracy

Total -48.6b remaining (-365.9%)

Threshold costs -48.6b (-365.9%)

Counts
4 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
Outputs
0
1/2
0
Calls

1 calls:

11.0ms
x
Results
ErrorSegmentsBranch
13.3b3x
Compiler

Compiled 7 to 6 computations (14.3% saved)

bsearch80.0ms (0.6%)

Algorithm
binary-search
Steps
TimeLeftRight
54.0ms
5.596090494016065e+71
2.9370042980227652e+88
26.0ms
-8.362066599189694e+88
-2.8226336814427807e+53
Compiler

Compiled 13 to 9 computations (30.8% saved)

simplify38.0ms (0.3%)

Algorithm
egg-herbie
Rules
12×*-commutative_binary64
10×+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067395
189395
2101395
3107395
4111395
5112395
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(if (<=.f64 x -828318863151241/1099511627776) (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(if (<=.f64 x -828318863151241/1099511627776) 0 (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) 0))
(if (<=.f64 x -83620665991896939575396643057828159782453430363731456802980644505786909389427802365755392) 0 (if (<=.f64 x 559609049401606473545637131277738700043853689409149670544721276647243776) 1/2 0))
1/2
Outputs
(if (<=.f64 x -828318863151241/1099511627776) (-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2))) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))))
(if (<=.f64 x -828318863151241/1099511627776) (-.f64 (pow.f64 x -2) (*.f64 (pow.f64 x -2) (cos.f64 x))) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 7528711242467457/590295810358705651712) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (tan.f64 (/.f64 x 2)))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (tan.f64 (/.f64 x 2)) (/.f64 (sin.f64 x) (*.f64 x x)))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (*.f64 (-.f64 1 (cos.f64 x)) (/.f64 (/.f64 1 x) x))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 1 (cos.f64 x)))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (*.f64 (-.f64 1 (cos.f64 x)) (/.f64 (/.f64 1 x) x))))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))
(if (<=.f64 x -828318863151241/1099511627776) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))
(/.f64 1 (*.f64 x (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x)))))
(/.f64 1 (*.f64 x (+.f64 (*.f64 x 1/6) (*.f64 2 (/.f64 1 x)))))
(if (<=.f64 x -828318863151241/1099511627776) 0 (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) 0))
(if (<=.f64 x -828318863151241/1099511627776) 0 (if (<=.f64 x 1107667959963105/288230376151711744) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) 0))
(if (<=.f64 x -83620665991896939575396643057828159782453430363731456802980644505786909389427802365755392) 0 (if (<=.f64 x 559609049401606473545637131277738700043853689409149670544721276647243776) 1/2 0))
1/2
Compiler

Compiled 277 to 195 computations (29.6% saved)

soundness0.0ms (0%)

end446.0ms (3.5%)

Compiler

Compiled 268 to 173 computations (35.4% saved)

Profiling

Loading profile data...