Details

Time bar (total: 9.0s)

analyze91.0ms (1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
Compiler

Compiled 10 to 7 computations (30% saved)

sample3.4s (37.9%)

Results
1.9s2052×body2048valid
525.0ms1108×body1024valid
492.0ms3442×body256valid
422.0ms1544×body512valid
79.0ms110×body4096valid

preprocess71.0ms (0.8%)

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)

simplify44.0ms (0.5%)

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

eval1.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
32.5b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
32.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 9 to 6 computations (33.3% saved)

localize16.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.9b
(-.f64 1 (cos.f64 x))
15.4b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 20 to 9 computations (55% saved)

series5.0ms (0.1%)

Counts
2 → 16
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
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
@0
(-.f64 1 (cos.f64 x))
0.0ms
x
@-inf
(-.f64 1 (cos.f64 x))

rewrite119.0ms (1.3%)

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 exp.f64 (log.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 +.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 exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))))

simplify112.0ms (1.2%)

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

eval61.0ms (0.7%)

Compiler

Compiled 1062 to 636 computations (40.1% saved)

prune134.0ms (1.5%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New631679
Fresh000
Picked011
Done000
Total631780
Error
0.0b
Counts
80 → 17
Alt Table
Click to see full alt table
StatusErrorProgram
31.9b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) x) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) x))
31.0b
(fma.f64 -1/24 (*.f64 x x) 1/2)
30.1b
1/2
32.5b
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
16.0b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
31.7b
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
32.5b
(/.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3)) (*.f64 x x))
17.3b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x))
32.3b
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
32.5b
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
32.6b
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
46.6b
(/.f64 (*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) (*.f64 x x))
30.9b
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
32.5b
(/.f64 (pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) (*.f64 x x))
32.0b
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
31.8b
(pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 2)
32.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 381 to 272 computations (28.6% saved)

localize32.0ms (0.4%)

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.3b
(+.f64 1 (cos.f64 x))
15.3b
(/.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)

series6.0ms (0.1%)

Counts
4 → 44
Calls

12 calls:

TimeVariablePointExpression
2.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)))

rewrite116.0ms (1.3%)

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 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 log1p.f64 (expm1.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))))
((#(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 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 log1p.f64 (expm1.f64 (+.f64 1 (cos.f64 x))))))) (#(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 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 log1p.f64 (expm1.f64 (pow.f64 (sin.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 -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 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))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))))))

simplify63.0ms (0.7%)

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

localize37.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(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)

rewrite52.0ms (0.6%)

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 exp.f64 (log.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)))))))

simplify160.0ms (1.8%)

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)

localize17.0ms (0.2%)

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.1b
(fma.f64 -1/24 (*.f64 x x) 1/2)
38.8b
(/.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
@0
(*.f64 x (*.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)))

rewrite79.0ms (0.9%)

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 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 log1p.f64 (expm1.f64 (/.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 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 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 log1p.f64 (expm1.f64 (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(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 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 log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(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 (2.1%)

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

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
0.1b
(*.f64 1/720 (pow.f64 x 4))
0.2b
(*.f64 -1/24 (pow.f64 x 2))
12.0b
(+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4)))
Compiler

Compiled 47 to 38 computations (19.1% saved)

series6.0ms (0.1%)

Counts
4 → 9
Calls

12 calls:

TimeVariablePointExpression
2.0ms
x
@0
(*.f64 1/720 (pow.f64 x 4))
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))

rewrite80.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
540×log-prod_binary64
422×fma-def_binary64
343×pow-prod-down_binary64
333×pow2_binary64
230×expm1-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01345
129245
2350243
Stop Event
node limit
Counts
4 → 164
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))
(+.f64 1/2 (+.f64 (*.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 6) -1/13824 (*.f64 (pow.f64 x 12) 1/373248000)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 (pow.f64 x 8) 1/518400)) (*.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 (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 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 (pow.f64 x 8) 1/518400)) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))) (fma.f64 (pow.f64 x 6) -1/13824 (*.f64 (pow.f64 x 12) 1/373248000))))))) (#(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 6) -1/13824 (*.f64 (pow.f64 x 12) 1/373248000)) (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 (pow.f64 x 8) 1/518400)) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 6) -1/13824 (*.f64 (pow.f64 x 12) 1/373248000)) (fma.f64 (pow.f64 x 8) 1/518400 (-.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 (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 6) -1/13824 (*.f64 (pow.f64 x 12) 1/373248000))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 (pow.f64 x 8) 1/518400)) (*.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 (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 (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 (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 (/.f64 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 (pow.f64 x 8) 1/518400)) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4))) (fma.f64 (pow.f64 x 6) -1/13824 (*.f64 (pow.f64 x 12) 1/373248000))) -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 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 (pow.f64 x 4)) 1/720)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (pow.f64 (exp.f64 x) 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 (pow.f64 (exp.f64 x) x) -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) 1/720) (+.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 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 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 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 (pow.f64 (exp.f64 x) x) -1/24)) 2)) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) -1/24))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) 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 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 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 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 log1p.f64 (expm1.f64 (*.f64 -1/24 (*.f64 x x))))))))
((#(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 (pow.f64 x 4)) 1/720)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) 1/720))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) 1/720))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) 1/720))))))) (#(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 sqrt.f64 (*.f64 (pow.f64 x 8) 1/518400))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) 1/720))))) (#(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 exp.f64 (fma.f64 4 (log.f64 x) (log.f64 1/720)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 4 (log.f64 x) (log.f64 1/720)) 1))))) (#(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 -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1/4 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) (/.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) (-.f64 1/2 (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/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) (pow.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) 2) (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) (/.f64 1 (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2)) (/.f64 1 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4) (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) (+.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) (-.f64 1/4 (*.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2)) (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))) (neg.f64 (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))) (neg.f64 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 3) (*.f64 (pow.f64 x 12) 1/373248000)) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 2) (-.f64 (*.f64 (pow.f64 x 8) 1/518400) (*.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) 1/4) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 2) (*.f64 (pow.f64 x 8) 1/518400)) (-.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4) (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 4)) 1/720) (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/720) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) 1 (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/720 (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 x 4)) 1 (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/720 (pow.f64 x 4)) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4)))))) (#(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) 1/2)))) (#(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)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) 1/720) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(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)) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(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))) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(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)) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(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))) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(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)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(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)) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 6) -1/13824 (*.f64 (pow.f64 x 12) 1/373248000)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 4) 1/576 (*.f64 (pow.f64 x 8) 1/518400)) (*.f64 (*.f64 (*.f64 -1/24 (*.f64 x x)) 1/720) (pow.f64 x 4)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.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)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.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)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (*.f64 x x)) (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (fma.f64 -1/24 (*.f64 x x) 1/2))))))

simplify183.0ms (2%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01374
12572
24972
311772
437772
5140572
6262972
7309172
8326072
9345972
10373272
11408972
12454072
13506972
14569572
15644872
16675872
17698272
18717872
19723472
20725872
Stop Event
node limit
Counts
173 → 172
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))
1/2
(+.f64 1/2 (*.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)))
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))
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(fma.f64 -1/24 (*.f64 x x) 1/2)
(*.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 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24))
(*.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 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24))

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(exp.f64 (-.f64 1 (cos.f64 x)))
0.9b
(-.f64 1 (cos.f64 x))
1.0b
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))
15.4b
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
Compiler

Compiled 33 to 18 computations (45.5% saved)

series3.0ms (0%)

Counts
3 → 28
Calls

9 calls:

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

rewrite97.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
909×pow1_binary64
848×add-log-exp_binary64
848×log1p-expm1-u_binary64
848×expm1-log1p-u_binary64
829×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
117326
2226226
Stop Event
node limit
Counts
3 → 90
Calls
Call 1
Inputs
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))
(exp.f64 (-.f64 1 (cos.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))))) (#(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 exp.f64 (log.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 +.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 0 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) 1)))) (#(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 (+.f64 1 (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))) (/.f64 (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 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 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 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 exp.f64 (log1p.f64 (neg.f64 (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 +.f64 1 (expm1.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (-.f64 1 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (E.f64) (exp.f64 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (pow.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 2) (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (exp.f64 (cos.f64 x)) (E.f64)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (E.f64) (exp.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (E.f64)) (neg.f64 (exp.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 1 (cos.f64 x)))) (sqrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.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 sqrt.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (-.f64 1 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (-.f64 1 (cos.f64 x)))))))))

simplify55.0ms (0.6%)

Algorithm
egg-herbie
Rules
772×distribute-rgt-out_binary64
692×fma-def_binary64
691×distribute-lft-out_binary64
472×associate-*l*_binary64
450×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045318
1113314
2275310
3805306
43067306
56851306
Stop Event
node limit
Counts
118 → 114
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)))))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/12 (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 (*.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 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) 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 1/720 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 -1/24 (*.f64 x x) 1/2)))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (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/40320 (pow.f64 x 8) (*.f64 -1/24 (pow.f64 x 4)))))
(fma.f64 1/720 (pow.f64 x 6) (*.f64 (*.f64 x x) (fma.f64 -1/40320 (pow.f64 x 6) (fma.f64 -1/24 (*.f64 x x) 1/2))))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2)))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
(-.f64 1 (cos.f64 x))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12)))
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) 1/12 1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/12))))
(+.f64 1 (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 1/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 1/12 1)))

eval254.0ms (2.8%)

Compiler

Compiled 12661 to 7606 computations (39.9% saved)

prune120.0ms (1.3%)

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New73813751
Fresh9211
Picked101
Done415
Total75216768
Error
0b
Counts
768 → 16
Alt Table
Click to see full alt table
StatusErrorProgram
32.6b
(/.f64 (-.f64 (+.f64 1 (-.f64 1 (cos.f64 x))) 1) (*.f64 x x))
30.1b
1/2
32.5b
(-.f64 (pow.f64 x -2) (/.f64 (cos.f64 x) (*.f64 x x)))
32.5b
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
32.3b
(*.f64 (pow.f64 x -2) (-.f64 1 (cos.f64 x)))
30.9b
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
31.0b
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
32.0b
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
32.5b
(pow.f64 (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) (*.f64 x x)) -1)
32.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
16.2b
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
46.6b
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
32.6b
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 x))))
31.7b
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
15.8b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
47.8b
(/.f64 (log.f64 1) (*.f64 x x))
Compiler

Compiled 335 to 240 computations (28.4% saved)

localize17.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 33 to 18 computations (45.5% saved)

series6.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite69.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 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 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 +.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 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))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 x))))))))

simplify62.0ms (0.7%)

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

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
0.2b
(*.f64 -1/24 (*.f64 x x))
Compiler

Compiled 19 to 10 computations (47.4% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite52.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
731×pow1_binary64
688×add-log-exp_binary64
688×log1p-expm1-u_binary64
688×expm1-log1p-u_binary64
676×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
115515
2186815
Stop Event
node limit
Counts
2 → 44
Calls
Call 1
Inputs
(*.f64 -1/24 (*.f64 x x))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
Outputs
((#(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 (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 -1/13824 (pow.f64 (*.f64 x x) 3)) 1/3)))) (#(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 (*.f64 -1/13824 (pow.f64 (*.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 exp.f64 (log.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 -.f64 (+.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/576 (pow.f64 x 4)) (fma.f64 -1/24 (*.f64 x x) -1/2)) (/.f64 1/4 (fma.f64 -1/24 (*.f64 x x) -1/2)))))) (#(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 1/8 (*.f64 -1/13824 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 (*.f64 1/576 (pow.f64 x 4)) (-.f64 1/4 (*.f64 (*.f64 x x) -1/48)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/576 (pow.f64 x 4)) -1/4) (/.f64 1 (fma.f64 -1/24 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 1/576 (pow.f64 x 4)) (-.f64 1/4 (*.f64 (*.f64 x x) -1/48))) (+.f64 1/8 (*.f64 -1/13824 (pow.f64 (*.f64 x x) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/24 (*.f64 x x) -1/2) (+.f64 (*.f64 1/576 (pow.f64 x 4)) -1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (*.f64 -1/13824 (pow.f64 (*.f64 x x) 3))) (+.f64 (*.f64 1/576 (pow.f64 x 4)) (-.f64 1/4 (*.f64 (*.f64 x x) -1/48))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (*.f64 -1/13824 (pow.f64 (*.f64 x x) 3))) (+.f64 1/4 (-.f64 (*.f64 1/576 (pow.f64 x 4)) (*.f64 (*.f64 x x) -1/48))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/576 (pow.f64 x 4)) -1/4) (fma.f64 -1/24 (*.f64 x x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/8 (*.f64 -1/13824 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 (*.f64 1/576 (pow.f64 x 4)) (-.f64 1/4 (*.f64 (*.f64 x x) -1/48)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 1/576 (pow.f64 x 4)) -1/4)) (neg.f64 (fma.f64 -1/24 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (*.f64 1/576 (pow.f64 x 4))) (-.f64 1/2 (*.f64 -1/24 (*.f64 x x))))))) (#(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 exp.f64 (log.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 fma.f64 -1/24 (*.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/576 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/24 (*.f64 x x))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x 1/2)))))

simplify182.0ms (2%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
08189
115171
227171
351171
4117171
5349171
61273171
72169171
82333171
92517171
102725171
113024171
123417171
133898171
144464171
155146171
165983171
176377171
186665171
196941171
207013171
217049171
227990171
Stop Event
node limit
Counts
68 → 48
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/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
(*.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/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(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 (*.f64 -1/24 (*.f64 x x)) 1/2)
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(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 (*.f64 -1/24 (*.f64 x x)) 1/2)
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(fma.f64 -1/24 (*.f64 x x) 1/2)
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(fma.f64 -1/24 (*.f64 x x) 1/2)

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

Compiled 28 to 16 computations (42.9% saved)

series7.0ms (0.1%)

Counts
2 → 16
Calls

6 calls:

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

rewrite122.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
451×log-prod_binary64
347×exp-prod_binary64
305×prod-diff_binary64
278×pow-prod-down_binary64
226×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0821
117921
2256721
Stop Event
node limit
Counts
2 → 211
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) x)
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
Outputs
((#(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 (/.f64 1 x) (neg.f64 (/.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 (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 (/.f64 1 x) 1 (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 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (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 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 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 x -1/2) (pow.f64 x -1/2) (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 (neg.f64 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 x) -2) (/.f64 1 (cbrt.f64 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 (/.f64 1 x) 1 (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 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (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 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 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 x -1/2) (pow.f64 x -1/2) (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 (neg.f64 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 x) -2) (/.f64 1 (cbrt.f64 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 (/.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 (/.f64 1 x) 1 (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 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (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 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 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 x -1/2) (pow.f64 x -1/2) (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 (neg.f64 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 x) -2) (/.f64 1 (cbrt.f64 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 (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 (/.f64 1 x) 1 (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 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (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 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 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 x -1/2) (pow.f64 x -1/2) (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 (neg.f64 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 x) -2) (/.f64 1 (cbrt.f64 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 (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 (/.f64 1 x) 1 (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 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (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 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 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 x -1/2) (pow.f64 x -1/2) (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 (neg.f64 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 x) -2) (/.f64 1 (cbrt.f64 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 (/.f64 1 x) 1 (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 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (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 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 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 x -1/2) (pow.f64 x -1/2) (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 (neg.f64 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 x) -2) (/.f64 1 (cbrt.f64 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 (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 (/.f64 1 x) 1 (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 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (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 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 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 x -1/2) (pow.f64 x -1/2) (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 (neg.f64 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 x) -2) (/.f64 1 (cbrt.f64 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 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (/.f64 1 x) 1 (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1 (/.f64 1 (neg.f64 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 1 (cbrt.f64 x)) (neg.f64 (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)))))))) (#(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)) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (/.f64 1 x) 1 (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1 (/.f64 1 (neg.f64 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 1 (cbrt.f64 x)) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x))) (/.f64 (sqrt.f64 (cos.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (*.f64 (/.f64 (sqrt.f64 (cos.f64 x)) (cbrt.f64 x)) (/.f64 (sqrt.f64 (cos.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 (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 (/.f64 1 x) 1 (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 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (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 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 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 x -1/2) (pow.f64 x -1/2) (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 -1 (/.f64 1 (neg.f64 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 x) -2) (/.f64 1 (cbrt.f64 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 (/.f64 1 x) (-.f64 1 (cos.f64 x)))))) (#(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))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 2) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(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)) 1))))) (#(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 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (*.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1))))) (#(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 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (neg.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 (/.f64 (pow.f64 (cbrt.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 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (pow.f64 (cbrt.f64 x) 2)) (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))) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.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 *.f64 (*.f64 (-.f64 1 (cos.f64 x)) (cbrt.f64 (pow.f64 x -2))) (/.f64 1 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -1/2)) (pow.f64 x -1/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 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 (*.f64 (pow.f64 x -3) (pow.f64 (-.f64 1 (cos.f64 x)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (-.f64 1 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x -1/2) (sqrt.f64 (-.f64 1 (cos.f64 x)))) 2)))) (#(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 log.f64 (/.f64 (+.f64 1 (expm1.f64 (/.f64 1 x))) (exp.f64 (/.f64 (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 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 exp.f64 (-.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 (neg.f64 (cos.f64 x))) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) (*.f64 (log.f64 x) 1)))))) (#(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 fma.f64 1 (/.f64 1 x) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 x) 1 (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 (pow.f64 x -2)) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (/.f64 1 (cbrt.f64 x)) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (/.f64 1 (neg.f64 x)) (neg.f64 (/.f64 (cos.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 1 (cbrt.f64 x)) (neg.f64 (/.f64 (cos.f64 x) x)))))))
((#(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 (pow.f64 x -2)) (-.f64 1 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))))) (#(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 (exp.f64 (log1p.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.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 x (/.f64 (-.f64 1 (cos.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 (-.f64 1 (cos.f64 x)) (/.f64 (*.f64 x x) 1))))) (#(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 1 x) (/.f64 x (-.f64 1 (cos.f64 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 (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 -1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 x) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (neg.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (*.f64 (neg.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 (neg.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) 1) (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 x)) -1) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) -1) (pow.f64 (neg.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (neg.f64 (-.f64 1 (cos.f64 x)))) (pow.f64 (neg.f64 x) 2))))) (#(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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (/.f64 (-.f64 1 (cos.f64 x)) x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) -1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (neg.f64 (-.f64 1 (cos.f64 x)))) (neg.f64 x))))) (#(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 (E.f64) (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6) 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 (pow.f64 (/.f64 (-.f64 1 (cos.f64 x)) 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))) x) -1)))) (#(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 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)))) (#(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 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x -2)) (-.f64 1 (cos.f64 x))))))) (#(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 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6))))) (#(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)) (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 exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (/.f64 (-.f64 1 (cos.f64 x)) x)) 1) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) -1) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (neg.f64 (log.f64 x)) 1) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(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 fma.f64 1 (pow.f64 x -2) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 x) (/.f64 1 x) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (/.f64 1 (cbrt.f64 x)) 4) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -3/2) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -3/2) (pow.f64 x -1/2) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1 (cbrt.f64 x)) 4) (cbrt.f64 (pow.f64 x -2)) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1 (cbrt.f64 x)) 5) (/.f64 1 (cbrt.f64 x)) (neg.f64 (/.f64 (/.f64 (cos.f64 x) x) x)))))))

simplify79.0ms (0.9%)

Algorithm
egg-herbie
Rules
506×unswap-sqr_binary64
492×fma-def_binary64
476×distribute-lft-out_binary64
422×associate-/l/_binary64
397×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
041206
1107204
2254202
3701200
42591200
55045200
67631200
Stop Event
node limit
Counts
227 → 226
Calls
Call 1
Inputs
(*.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)))))
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
(*.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 x (fma.f64 x (*.f64 x -1/24) 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/24 (pow.f64 x 3) (fma.f64 1/720 (pow.f64 x 5) (*.f64 1/2 x)))
(fma.f64 x (fma.f64 x (*.f64 x -1/24) 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/24 (pow.f64 x 3) (fma.f64 1/720 (pow.f64 x 5) (fma.f64 -1/40320 (pow.f64 x 7) (*.f64 1/2 x))))
(fma.f64 1/2 x (fma.f64 1/720 (pow.f64 x 5) (fma.f64 -1/24 (pow.f64 x 3) (*.f64 -1/40320 (pow.f64 x 7)))))
(fma.f64 -1/40320 (pow.f64 x 7) (fma.f64 -1/24 (pow.f64 x 3) (fma.f64 1/720 (pow.f64 x 5) (*.f64 1/2 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)
(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))))
(fma.f64 x (*.f64 x -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(fma.f64 (*.f64 x x) (fma.f64 1/720 (*.f64 x x) -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 x (*.f64 x -1/24) 1/2) (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/40320 (pow.f64 x 6))))
(fma.f64 (*.f64 x x) (fma.f64 1/720 (*.f64 x x) -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (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))

localize38.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
0.1b
(*.f64 1/720 (pow.f64 x 4))
0.2b
(*.f64 -1/24 (*.f64 x x))
12.0b
(+.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)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite97.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
608×fma-def_binary64
549×log-prod_binary64
330×pow2_binary64
271×fma-neg_binary64
228×expm1-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01435
132431
2390929
Stop Event
node limit
Counts
2 → 149
Calls
Call 1
Inputs
(+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))
(+.f64 1/2 (+.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 (pow.f64 x 4) 3) (*.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 (pow.f64 x 4) 3) (*.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 (pow.f64 x 4) 3) (*.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 (pow.f64 x 4) 3) (*.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 (pow.f64 x 4) 3) (*.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)) (fma.f64 1/720 (pow.f64 x 4) (neg.f64 (*.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 (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 (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 (/.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 (pow.f64 x 4) 3) (*.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 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 x) 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 (pow.f64 (exp.f64 x) 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 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 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 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 (cbrt.f64 (pow.f64 x 4)) (*.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 (cbrt.f64 (pow.f64 x 8)) (*.f64 (cbrt.f64 (pow.f64 x 4)) 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 (pow.f64 x 4) 3) (*.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 (cbrt.f64 (pow.f64 x 8))) (cbrt.f64 (pow.f64 x 4)) (*.f64 -1/24 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (cbrt.f64 (pow.f64 x 4))) (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)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1/4 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))) (/.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) (-.f64 1/2 (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/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (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/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))) 2) (cbrt.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))) (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) (/.f64 1 (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2)) (/.f64 1 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4) (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3)) (+.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) (-.f64 1/4 (*.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2)) (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))) (neg.f64 (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))) (neg.f64 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 3) (*.f64 1/373248000 (pow.f64 (pow.f64 x 4) 3))) (+.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 2) (-.f64 (*.f64 1/518400 (pow.f64 x 8)) (*.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2) 1/4) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 2) (*.f64 1/518400 (pow.f64 x 8))) (-.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (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/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) (-.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2) 1/4) (+.f64 1/8 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1/2 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x)))) (-.f64 1/4 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/720) (pow.f64 x 4)) (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4)))) (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 -1/24 x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/24 (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) 1/720) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (*.f64 x x)) 1 (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1/720 (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (pow.f64 x 4)) 1 (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/24 (*.f64 x x)) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/720 (pow.f64 x 4)) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/720 (pow.f64 x 4) (*.f64 -1/24 (*.f64 x x))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.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 1/518400 (pow.f64 x 8))) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(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))) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(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) 1/2)))) (#(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)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/24) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 8)) (*.f64 (cbrt.f64 (pow.f64 x 4)) 1/720) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(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)) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(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))) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(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)) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(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)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/24)) (*.f64 x (sqrt.f64 -1/24)) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(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)) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/373248000 (pow.f64 (pow.f64 x 4) 3) (*.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)))) 1/2)))) (#(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)))) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(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)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 x) x (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) 1 (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.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)) (*.f64 1/720 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/2)) (sqrt.f64 (fma.f64 -1/24 (*.f64 x x) 1/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) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/720 (cbrt.f64 (pow.f64 x 8))) (cbrt.f64 (pow.f64 x 4)) (fma.f64 -1/24 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/24 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) 1) x (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/24 x) (sqrt.f64 x)) (sqrt.f64 x) (fma.f64 1/720 (pow.f64 x 4) 1/2))))))

simplify200.0ms (2.2%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
014302
128300
258288
3146288
4428288
51534288
62906288
73386288
83561288
93760288
104033288
114390288
124842288
135373288
146003288
156756288
167062288
177284288
187484288
197538288
207562288
Stop Event
node limit
Counts
173 → 159
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)))
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 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 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 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 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 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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 x)))
(*.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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 x)))
(*.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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 x)))
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(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 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) 1/2)
(+.f64 (*.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))
(fma.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)) 1/2)
(fma.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))) 1/2)
(fma.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.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 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) 1/2)
(+.f64 (*.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))
(fma.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)) 1/2)
(fma.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))) 1/2)
(fma.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 x)) 1/2)
(*.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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 x)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) 1/2)
(+.f64 (*.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))
(fma.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)) 1/2)
(fma.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))) 1/2)
(fma.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.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 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) 1/2)
(+.f64 (*.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))
(fma.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)) 1/2)
(fma.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))) 1/2)
(fma.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 x)) 1/2)
(*.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 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))))
(*.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 x)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) 1/2)
(+.f64 (*.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))
(fma.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)) 1/2)
(fma.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))) 1/2)
(fma.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.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 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))) 1/2)
(+.f64 (*.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))
(fma.f64 x (*.f64 x (fma.f64 (*.f64 x x) 1/720 -1/24)) 1/2)
(fma.f64 x (fma.f64 -1/24 x (*.f64 1/720 (pow.f64 x 3))) 1/2)
(fma.f64 x (fma.f64 1/720 (pow.f64 x 3) (*.f64 -1/24 x)) 1/2)

localize14.0ms (0.2%)

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.3b
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
0.9b
(-.f64 1 (cos.f64 x))
Compiler

Compiled 34 to 19 computations (44.1% saved)

series4.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite66.0ms (0.7%)

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
0927
119824
2274124
Stop Event
node limit
Counts
2 → 115
Calls
Call 1
Inputs
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
(/.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 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 log1p.f64 (expm1.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.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 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))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (/.f64 x (-.f64 1 (cos.f64 x))))))))))

simplify65.0ms (0.7%)

Algorithm
egg-herbie
Rules
770×div-sub_binary64
640×distribute-lft-out_binary64
561×associate-/r*_binary64
397×fma-def_binary64
374×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
038294
188290
2204286
3580284
42165284
54313284
67523284
Stop Event
node limit
Counts
139 → 131
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))
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))))
(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)))
(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 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))
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 (*.f64 x x) (fma.f64 x (*.f64 x 1/120) 1/6) (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 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 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 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 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 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 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 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 x (-.f64 1 (cos.f64 x))))

eval381.0ms (4.2%)

Compiler

Compiled 19278 to 11193 computations (41.9% saved)

prune126.0ms (1.4%)

Pruning

16 alts after pruning (11 fresh and 5 done)

PrunedKeptTotal
New9069915
Fresh8210
Picked101
Done055
Total91516931
Error
0b
Counts
931 → 16
Alt Table
Click to see full alt table
StatusErrorProgram
31.7b
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
31.8b
(*.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) (/.f64 1 x))
30.9b
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
31.0b
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
45.9b
(*.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) (/.f64 1 x))
31.7b
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
32.1b
(pow.f64 (/.f64 x (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))) -1)
47.8b
(/.f64 (log.f64 1) (*.f64 x x))
32.1b
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x))
30.1b
1/2
32.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
31.7b
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
46.6b
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
30.2b
(*.f64 (*.f64 1/2 x) (/.f64 1 x))
15.8b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
32.0b
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
Compiler

Compiled 280 to 195 computations (30.4% saved)

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 1/2 x) (/.f64 1 x))
Compiler

Compiled 17 to 12 computations (29.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite41.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
563×pow1_binary64
526×add-log-exp_binary64
526×log1p-expm1-u_binary64
526×expm1-log1p-u_binary64
514×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
077
11441
217341
Stop Event
node limit
Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 x) (/.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x . 1/2)))))

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112
Stop Event
saturated
Counts
13 → 1
Calls
Call 1
Inputs
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
Outputs
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2

localize13.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/2 (*.f64 x x))
0.2b
(*.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) (/.f64 1 x))
28.7b
(/.f64 (*.f64 1/2 (*.f64 x x)) x)
Compiler

Compiled 33 to 17 computations (48.5% saved)

series3.0ms (0%)

Counts
3 → 36
Calls

9 calls:

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

rewrite64.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
922×pow1_binary64
862×add-log-exp_binary64
861×log1p-expm1-u_binary64
861×expm1-log1p-u_binary64
92×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify179.0ms (2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
07144
114144
222144
341144
4104144
5325144
61257144
72139144
82303144
92487144
102695144
112992144
123387144
133866144
144432144
155118144
165953144
176345144
186637144
196917144
206989144
217023144
227964144
Stop Event
node limit
Counts
153 → 120
Calls
Call 1
Inputs
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
Outputs
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
15.0b
(/.f64 (log.f64 1) (*.f64 x x))
Compiler

Compiled 14 to 8 computations (42.9% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite38.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
324×pow1_binary64
315×add-sqr-sqrt_binary64
307×*-un-lft-identity_binary64
303×add-log-exp_binary64
301×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
071
11151
29651
Stop Event
node limit
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (log.f64 1) (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x . 0)))))

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112
Stop Event
saturated
Counts
13 → 1
Calls
Call 1
Inputs
0
0
0
0
0
0
0
0
0
0
0
0
Outputs
0
0
0
0
0
0
0
0
0
0
0
0

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x)
0.1b
(/.f64 x (-.f64 1 (cos.f64 x)))
0.3b
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x))
0.9b
(-.f64 1 (cos.f64 x))
Compiler

Compiled 33 to 18 computations (45.5% saved)

series3.0ms (0%)

Counts
3 → 28
Calls

9 calls:

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

rewrite60.0ms (0.7%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0836
117733
2245733
Stop Event
node limit
Counts
3 → 88
Calls
Call 1
Inputs
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x))
(/.f64 x (-.f64 1 (cos.f64 x)))
(*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) 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 (-.f64 1 (cos.f64 x)) x) (pow.f64 x -1))))) (#(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 (pow.f64 x -1) (/.f64 (-.f64 1 (cos.f64 x)) 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 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 exp.f64 (log.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 -.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 exp.f64 (log.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 -.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 exp.f64 (log.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)))))))))

simplify58.0ms (0.6%)

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
116 → 113
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))))

localize13.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

Compiled 28 to 16 computations (42.9% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite58.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
484×log-prod_binary64
372×exp-prod_binary64
275×pow-prod-down_binary64
236×pow2_binary64
211×prod-diff_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0815
118312
2270812
Stop Event
node limit
Counts
1 → 79
Calls
Call 1
Inputs
(/.f64 (/.f64 1 x) (/.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 (pow.f64 x -2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x -2) 1) (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(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 1 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))) (#(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 (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 x -2) (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))) (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 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -2)) (*.f64 (/.f64 1 (cbrt.f64 x)) (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 x) (sqrt.f64 (-.f64 1 (cos.f64 x)))) (*.f64 (/.f64 1 x) (sqrt.f64 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (*.f64 (pow.f64 x -1/2) (/.f64 (-.f64 1 (cos.f64 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 x) (/.f64 1 (/.f64 (neg.f64 x) (-.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 (cbrt.f64 (pow.f64 x -2)) 1) (/.f64 (/.f64 1 (cbrt.f64 x)) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) 1) (/.f64 (pow.f64 x -1/2) (/.f64 x (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) x) (/.f64 (/.f64 1 (cbrt.f64 x)) (/.f64 1 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3/2) (/.f64 (pow.f64 x -1/2) (/.f64 1 (-.f64 1 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) -2) (/.f64 (/.f64 1 x) (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 2)) (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x -1/2) (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 2)) (/.f64 (pow.f64 x -1/2) (cbrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 x (-.f64 1 (cos.f64 x))) -1/2) (/.f64 (/.f64 1 x) (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))) (/.f64 (/.f64 1 (cbrt.f64 x)) (sqrt.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) 1) (-.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) (neg.f64 x)) (neg.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 x -2) (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 (pow.f64 x -2) (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 1 (cos.f64 x)) (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (*.f64 x 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)) (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 (/.f64 1 x) (sqrt.f64 (-.f64 1 (cos.f64 x)))) 2)))) (#(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 (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 x x) (-.f64 1 (cos.f64 x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 2)) (cbrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2))))) (sqrt.f64 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 1 x) (/.f64 (neg.f64 x) (-.f64 1 (cos.f64 x)))))))) (#(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 (-.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 x -3) (pow.f64 (/.f64 (-.f64 1 (cos.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 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 exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (-.f64 1 (cos.f64 x)) (pow.f64 x -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (/.f64 1 x) (sqrt.f64 (-.f64 1 (cos.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (*.f64 x 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)) (pow.f64 x -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) -1) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (neg.f64 (log.f64 x)) 1) (log.f64 (/.f64 x (-.f64 1 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (neg.f64 (log.f64 x)) (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) -1) (*.f64 (log.f64 (/.f64 x (-.f64 1 (cos.f64 x)))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (neg.f64 (log.f64 x)) 1) (*.f64 (log.f64 (/.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)) x)) (*.f64 (log.f64 x) 1)))))) (#(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 fma.f64 1 (pow.f64 x -2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 x) (/.f64 1 x) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -2) 1 (*.f64 (pow.f64 x -2) (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (/.f64 1 (cbrt.f64 x)) 4) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -3/2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1 (cbrt.f64 x)) 4) (cbrt.f64 (pow.f64 x -2)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) 1) (/.f64 (/.f64 1 (cbrt.f64 x)) x) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 x -1/2) 1) (pow.f64 x -3/2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -3/2) (pow.f64 x -1/2) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) -2) (/.f64 (/.f64 1 x) (cbrt.f64 x)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 (cbrt.f64 x)) (cbrt.f64 x)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 x -1/2) (pow.f64 (cbrt.f64 x) 2)) (pow.f64 x -5/6) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 x -2)) (sqrt.f64 x)) (/.f64 (/.f64 1 (cbrt.f64 x)) (sqrt.f64 x)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1 (cbrt.f64 x)) 5) (/.f64 1 (cbrt.f64 x)) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 x -2)))))))

simplify49.0ms (0.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
91 → 88
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))

eval126.0ms (1.4%)

Compiler

Compiled 6056 to 3942 computations (34.9% saved)

prune67.0ms (0.7%)

Pruning

18 alts after pruning (10 fresh and 8 done)

PrunedKeptTotal
New4306436
Fresh246
Picked011
Done279
Total43418452
Error
0b
Counts
452 → 18
Alt Table
Click to see full alt table
StatusErrorProgram
30.1b
1/2
31.7b
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
31.8b
(*.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) (/.f64 1 x))
46.0b
(*.f64 (*.f64 (/.f64 1/2 x) (*.f64 x x)) (/.f64 1 x))
31.7b
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
30.9b
(+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4))))
31.0b
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
31.7b
(/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)
47.3b
0
15.8b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
14.0b
(/.f64 1 (*.f64 (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) x))
32.1b
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x))
32.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
14.0b
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))
32.0b
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
46.6b
(/.f64 (*.f64 x (*.f64 x (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2))) (*.f64 x x))
30.2b
(*.f64 (*.f64 1/2 x) (/.f64 1 x))
32.1b
(pow.f64 (/.f64 x (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x))) -1)
Compiler

Compiled 192 to 138 computations (28.1% saved)

regimes101.0ms (1.1%)

Counts
45 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
1/2
(*.f64 (*.f64 1/2 x) (/.f64 1 x))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(*.f64 (*.f64 (/.f64 1/2 x) (*.f64 x x)) (/.f64 1 x))
(*.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) x))
(/.f64 (/.f64 1 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 (log.f64 1) (*.f64 x x))
(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 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x))
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(*.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) (/.f64 1 x))
(/.f64 (-.f64 (+.f64 1 (-.f64 1 (cos.f64 x))) 1) (*.f64 x x))
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 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 (cos.f64 x) (*.f64 x x)))
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
(/.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)
(pow.f64 (*.f64 (/.f64 1 (-.f64 1 (cos.f64 x))) (*.f64 x x)) -1)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(/.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 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3)) (*.f64 x x))
(/.f64 (pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) (*.f64 x x))
(/.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))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) x) (/.f64 (cbrt.f64 (-.f64 1 (cos.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 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
Calls

3 calls:

63.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.6b2(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
0.6b2(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 461 to 262 computations (43.2% saved)

bsearch53.0ms (0.6%)

Algorithm
binary-search
Steps
TimeLeftRight
26.0ms
0.0010468391165329894
140416172515.18494
26.0ms
-3.869469486314109
-4.978150428676861e-27
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes69.0ms (0.8%)

Counts
26 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
1/2
(*.f64 (*.f64 1/2 x) (/.f64 1 x))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(*.f64 (*.f64 (/.f64 1/2 x) (*.f64 x x)) (/.f64 1 x))
(*.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) x))
(/.f64 (/.f64 1 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 (log.f64 1) (*.f64 x x))
(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 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.f64 x))) x))
(/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
(*.f64 (-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) x)) (/.f64 1 x))
(/.f64 (-.f64 (+.f64 1 (-.f64 1 (cos.f64 x))) 1) (*.f64 x x))
(*.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (/.f64 1 (*.f64 x (neg.f64 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 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))
Calls

3 calls:

37.0ms
x
14.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
11.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 243 to 146 computations (39.9% saved)

bsearch251.0ms (2.8%)

Algorithm
binary-search
Steps
TimeLeftRight
121.0ms
0.0010468391165329894
140416172515.18494
129.0ms
-3.869469486314109
-4.978150428676861e-27
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes121.0ms (1.3%)

Counts
18 → 3
Calls
Call 1
Inputs
1/2
0
1/2
1/2
1/2
(*.f64 (*.f64 1/2 x) (/.f64 1 x))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(*.f64 (*.f64 (/.f64 1/2 x) (*.f64 x x)) (/.f64 1 x))
(*.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) x))
(/.f64 (/.f64 1 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 (log.f64 1) (*.f64 x x))
(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 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
(/.f64 1 (*.f64 (/.f64 x (-.f64 1 (cos.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:

43.0ms
x
43.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
30.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 151 to 94 computations (37.7% saved)

bsearch54.0ms (0.6%)

Algorithm
binary-search
Steps
TimeLeftRight
28.0ms
0.0010468391165329894
140416172515.18494
26.0ms
-3.869469486314109
-4.978150428676861e-27
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes19.0ms (0.2%)

Counts
14 → 1
Calls
Call 1
Inputs
1/2
0
1/2
1/2
1/2
(*.f64 (*.f64 1/2 x) (/.f64 1 x))
(+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2)
(*.f64 (*.f64 (/.f64 1/2 x) (*.f64 x x)) (/.f64 1 x))
(*.f64 (/.f64 (*.f64 1/2 (*.f64 x x)) x) (/.f64 1 x))
(/.f64 1 (*.f64 (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) x))
(/.f64 (/.f64 1 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 (log.f64 1) (*.f64 x x))
(fma.f64 -1/24 (*.f64 x x) 1/2)
Outputs
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))
Calls

1 calls:

9.0ms
x
Results
ErrorSegmentsBranch
14.0b1x
Compiler

Compiled 97 to 62 computations (36.1% saved)

regimes11.0ms (0.1%)

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

1 calls:

6.0ms
x
Results
ErrorSegmentsBranch
14.0b1x
Compiler

Compiled 57 to 39 computations (31.6% saved)

regimes49.0ms (0.5%)

Accuracy

Total -47.2b remaining (-305%)

Threshold costs -47.2b (-305%)

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

1 calls:

18.0ms
x
Results
ErrorSegmentsBranch
15.5b3x
Compiler

Compiled 44 to 29 computations (34.1% saved)

bsearch79.0ms (0.9%)

Algorithm
binary-search
Steps
TimeLeftRight
28.0ms
4.0590004179723275e+65
3.5100722805590854e+80
51.0ms
-6.898211937387391e+87
-5.423441424396388e+76
Compiler

Compiled 13 to 9 computations (30.8% saved)

simplify15.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
+-lft-identity_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048207
162207
266207
368207
469207
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 19310773269032264/18446744073709551616) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 19310773269032264/18446744073709551616) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 19310773269032264/18446744073709551616) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))
(/.f64 1 (*.f64 (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) x))
(if (<=.f64 x -6898211937387391024068576362217829074963364924308099053463082873168649055932063919636480) 0 (if (<=.f64 x 405900041797232745705488369796122776778352874566610295290974961664) 1/2 0))
1/2
Outputs
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 19310773269032264/18446744073709551616) (+.f64 1/2 (+.f64 (+.f64 0 (*.f64 -1/24 (*.f64 x x))) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 2413846658629033/2305843009213693952) (+.f64 1/2 (+.f64 (*.f64 -1/24 (*.f64 x x)) (*.f64 1/720 (pow.f64 x 4)))) (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 19310773269032264/18446744073709551616) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 2413846658629033/2305843009213693952) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 1 x) (/.f64 x (-.f64 1 (cos.f64 x))))))
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 19310773269032264/18446744073709551616) (+.f64 (*.f64 -1/24 (*.f64 x x)) 1/2) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))
(if (<=.f64 x -8713270668342863/2251799813685248) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x) (if (<=.f64 x 2413846658629033/2305843009213693952) (+.f64 1/2 (*.f64 -1/24 (*.f64 x x))) (/.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) x)))
(/.f64 (/.f64 1 x) (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))))
(/.f64 (/.f64 1 x) (+.f64 (*.f64 x 1/6) (*.f64 (/.f64 1 x) 2)))
(/.f64 1 (*.f64 (+.f64 (*.f64 1/6 x) (*.f64 2 (/.f64 1 x))) x))
(/.f64 1 (*.f64 x (+.f64 (*.f64 x 1/6) (*.f64 (/.f64 1 x) 2))))
(if (<=.f64 x -6898211937387391024068576362217829074963364924308099053463082873168649055932063919636480) 0 (if (<=.f64 x 405900041797232745705488369796122776778352874566610295290974961664) 1/2 0))
1/2
Compiler

Compiled 148 to 106 computations (28.4% saved)

soundness0.0ms (0%)

end76.0ms (0.8%)

Compiler

Compiled 142 to 96 computations (32.4% saved)

Profiling

Loading profile data...