Details

Time bar (total: 4.5s)

analyze388.0ms (8.7%)

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
78.1%21.9%0%13
78.1%21.8%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample3.0s (66.4%)

Results
1.5s2075×body2048valid
487.0ms1153×body1024valid
441.0ms1527×body512valid
282.0ms2621×body128valid
158.0ms777×body256valid
75.0ms103×body4096valid

preprocess27.0ms (0.6%)

Algorithm
egg-herbie
Rules
424×fma-def_binary64
293×fma-neg_binary64
86×div-sub_binary64
74×associate-/l*_binary64
63×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47312
512712
619212
731712
862112
9114012
10170012
11182912
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 9 to 6 computations (33.3% saved)

simplify18.0ms (0.4%)

Algorithm
egg-herbie
Rules
424×fma-def_binary64
293×fma-neg_binary64
86×div-sub_binary64
74×associate-/l*_binary64
63×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47312
512712
619212
731712
862112
9114012
10170012
11182912
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))

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
33.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
33.1b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.9b
(-.f64 1 (cos.f64 x))
17.9b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

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

rewrite42.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
818×log1p-expm1-u_binary64
818×expm1-log1p-u_binary64
78×add-sqr-sqrt_binary64
75×*-un-lft-identity_binary64
75×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0718
115218
2213018
Stop Event
node limit
Counts
2 → 66
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 (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 (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 (*.f64 x x) (-.f64 1 (cos.f64 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 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 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 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 (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))))))))

simplify25.0ms (0.6%)

Algorithm
egg-herbie
Rules
555×distribute-lft-out_binary64
517×distribute-rgt-out_binary64
510×fma-def_binary64
425×associate-*l*_binary64
413×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037218
191216
2217214
3652212
42438212
Stop Event
node limit
Counts
82 → 83
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)
(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/24 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) 1/2))
(fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 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))
(/.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 x (*.f64 x (fma.f64 x (*.f64 -1/24 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))))
(*.f64 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x 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/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)))

prune74.0ms (1.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New76783
Fresh000
Picked011
Done000
Total76884
Error
0.0b
Counts
84 → 8
Alt Table
StatusErrorProgram
19.1b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x))
32.4b
(-.f64 (pow.f64 x -2) (*.f64 (cos.f64 x) (pow.f64 x -2)))
33.1b
(*.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (*.f64 x x)))
33.1b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
32.0b
(*.f64 (/.f64 (-.f64 1 (cos.f64 x)) x) (/.f64 1 x))
18.4b
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x))
30.7b
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))
32.1b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) x) (/.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) x))
Compiler

Compiled 1336 to 821 computations (38.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))
0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
0.4b
(+.f64 1 (cos.f64 x))
17.6b
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x))

series7.0ms (0.2%)

Counts
4 → 44
Calls

12 calls:

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

rewrite63.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
482×prod-diff_binary64
212×log1p-udef_binary64
132×add-sqr-sqrt_binary64
127×*-un-lft-identity_binary64
127×pow1_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify33.0ms (0.7%)

Algorithm
egg-herbie
Rules
920×times-frac_binary64
571×distribute-lft-out_binary64
303×fma-def_binary64
199×*-commutative_binary64
195×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
068576
1158572
2393520
31258520
42444520
Stop Event
node limit
Counts
198 → 191
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))
(fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 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 (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 (*.f64 -1/40320 (pow.f64 x 6)) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)))
(+.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 (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 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 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 (tan.f64 (/.f64 x 2)) 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 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 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 (tan.f64 (/.f64 x 2)) 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 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 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 (tan.f64 (/.f64 x 2)) 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 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 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 (tan.f64 (/.f64 x 2)) 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 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 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 (tan.f64 (/.f64 x 2)) 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 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 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 (tan.f64 (/.f64 x 2)) 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 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 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 (tan.f64 (/.f64 x 2)) 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 (pow.f64 (sin.f64 x) 2) (*.f64 x (*.f64 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 (tan.f64 (/.f64 x 2)) 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 2 (fma.f64 (*.f64 x x) -1/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 (*.f64 x 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 2 (fma.f64 x (*.f64 x -1/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)))
(+.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 x x (fma.f64 (pow.f64 x 6) 2/45 (*.f64 -1/315 (pow.f64 x 8)))))
(fma.f64 (pow.f64 x 4) -1/3 (fma.f64 x x (fma.f64 -1/315 (pow.f64 x 8) (*.f64 (pow.f64 x 6) 2/45))))
(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)))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(fma.f64 x (*.f64 1/2 x) (*.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))))
(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))))
(*.f64 (*.f64 x x) (fma.f64 1/720 (pow.f64 x 4) (fma.f64 -1/24 (*.f64 x x) 1/2)))
(fma.f64 1/720 (pow.f64 x 6) (fma.f64 x (*.f64 1/2 x) (*.f64 -1/24 (pow.f64 x 4))))
(+.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)))))
(/.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)))

prune187.0ms (4.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1856191
Fresh426
Picked101
Done011
Total1909199
Error
0b
Counts
199 → 9
Alt Table
StatusErrorProgram
0.2b
(*.f64 (sin.f64 x) (/.f64 (/.f64 (tan.f64 (/.f64 x 2)) x) x))
18.4b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
26.2b
(/.f64 (*.f64 (sqrt.f64 (pow.f64 (sin.f64 x) 4)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x))
19.1b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x))
32.5b
(pow.f64 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)) -1)
30.7b
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/720) -1/24) (fma.f64 -1/40320 (pow.f64 x 6) 1/2))
18.6b
(*.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) (pow.f64 x -2)))
18.2b
(/.f64 (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) (*.f64 x x))
33.1b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 3577 to 2058 computations (42.5% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series10.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite52.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
532×log-prod_binary64
186×log-div_binary64
182×expm1-udef_binary64
182×log1p-udef_binary64
151×log-pow_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify36.0ms (0.8%)

Algorithm
egg-herbie
Rules
736×fma-def_binary64
551×associate-*l*_binary64
492×unswap-sqr_binary64
396×associate-*r*_binary64
343×times-frac_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060653
1148647
2350641
3989637
43661637
Stop Event
node limit
Counts
143 → 133
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)))
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/240 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (+.f64 (*.f64 17/40320 (pow.f64 x 6)) (*.f64 1/240 (pow.f64 x 4)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 1/2 x)
(+.f64 (*.f64 1/24 x) (*.f64 1/2 (/.f64 1 x)))
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/240 (pow.f64 x 3))))
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 17/40320 (pow.f64 x 5)) (*.f64 1/240 (pow.f64 x 3)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 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)
(fma.f64 x (*.f64 -1/24 x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/24 (*.f64 x x) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (*.f64 1/720 (pow.f64 x 4)))
(fma.f64 x (*.f64 -1/24 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) 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/40320 (pow.f64 x 6) (fma.f64 1/720 (pow.f64 x 4) 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 (*.f64 1/2 x)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.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 (*.f64 1/2 x)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.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 (*.f64 1/2 x)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.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 (*.f64 1/2 x)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.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 (*.f64 1/2 x)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.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 (*.f64 1/2 x)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.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 (*.f64 1/2 x)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.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 (*.f64 1/2 x)) x) (/.f64 (/.f64 (sin.f64 x) x) (cos.f64 (*.f64 1/2 x))))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x)))))
1/2
(+.f64 1/2 (*.f64 1/24 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 (*.f64 x x) 1/24))
(fma.f64 (*.f64 x x) 1/24 1/2)
(fma.f64 x (*.f64 x 1/24) 1/2)
(+.f64 1/2 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (*.f64 1/240 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 1/24 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/240)))
(+.f64 (fma.f64 (*.f64 x x) 1/24 1/2) (*.f64 (pow.f64 x 4) 1/240))
(fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) 1/240 1/2))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/240 1/24) 1/2)
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/240) 1/24) 1/2)
(+.f64 1/2 (+.f64 (*.f64 1/24 (pow.f64 x 2)) (+.f64 (*.f64 17/40320 (pow.f64 x 6)) (*.f64 1/240 (pow.f64 x 4)))))
(+.f64 1/2 (fma.f64 1/24 (*.f64 x x) (fma.f64 17/40320 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 1/240))))
(+.f64 1/2 (fma.f64 (*.f64 x x) 1/24 (fma.f64 (pow.f64 x 4) 1/240 (*.f64 (pow.f64 x 6) 17/40320))))
(+.f64 1/2 (fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 6) 17/40320 (*.f64 (pow.f64 x 4) 1/240))))
(fma.f64 (pow.f64 x 4) 1/240 (fma.f64 (pow.f64 x 6) 17/40320 (fma.f64 (*.f64 x x) 1/24 1/2)))
(fma.f64 x (*.f64 x 1/24) (fma.f64 (pow.f64 x 4) 1/240 (fma.f64 (pow.f64 x 6) 17/40320 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) x)
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) x)
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) x)
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) x)
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) x)
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) x)
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) x)
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) x)
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x (cos.f64 (*.f64 1/2 x))))
(/.f64 1/2 x)
(+.f64 (*.f64 1/24 x) (*.f64 1/2 (/.f64 1 x)))
(fma.f64 1/24 x (/.f64 1/2 x))
(fma.f64 x 1/24 (/.f64 1/2 x))
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/240 (pow.f64 x 3))))
(+.f64 (fma.f64 1/24 x (/.f64 1/2 x)) (*.f64 1/240 (pow.f64 x 3)))
(fma.f64 x 1/24 (fma.f64 1/240 (pow.f64 x 3) (/.f64 1/2 x)))
(+.f64 (*.f64 1/24 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 17/40320 (pow.f64 x 5)) (*.f64 1/240 (pow.f64 x 3)))))
(+.f64 (fma.f64 1/24 x (/.f64 1/2 x)) (fma.f64 17/40320 (pow.f64 x 5) (*.f64 1/240 (pow.f64 x 3))))
(+.f64 (fma.f64 x 1/24 (fma.f64 1/240 (pow.f64 x 3) (/.f64 1/2 x))) (*.f64 17/40320 (pow.f64 x 5)))
(fma.f64 x 1/24 (fma.f64 1/240 (pow.f64 x 3) (fma.f64 17/40320 (pow.f64 x 5) (/.f64 1/2 x))))
(fma.f64 x (fma.f64 (*.f64 x x) 1/240 1/24) (fma.f64 17/40320 (pow.f64 x 5) (/.f64 1/2 x)))
(fma.f64 x (fma.f64 x (*.f64 x 1/240) 1/24) (fma.f64 17/40320 (pow.f64 x 5) (/.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (*.f64 x x) (cos.f64 (*.f64 1/2 x))))
(/.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 x x)) (cos.f64 (*.f64 1/2 x)))

prune147.0ms (3.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1312133
Fresh437
Picked011
Done011
Total1357142
Error
0b
Counts
142 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 (sin.f64 x) (/.f64 (/.f64 (tan.f64 (/.f64 x 2)) x) x))
18.4b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
26.2b
(/.f64 (*.f64 (sqrt.f64 (pow.f64 (sin.f64 x) 4)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x))
19.1b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x))
0.1b
(/.f64 (*.f64 (/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) x) (sin.f64 x)) (neg.f64 x))
0.7b
(/.f64 (sin.f64 x) (*.f64 x (/.f64 x (tan.f64 (*.f64 x 1/2)))))
33.1b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 2334 to 1470 computations (37% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 (/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) x) (sin.f64 x)) (neg.f64 x))
0.1b
(/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) x)
0.2b
(*.f64 (/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) x) (sin.f64 x))

series5.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite51.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
214×prod-diff_binary64
180×expm1-udef_binary64
180×log1p-udef_binary64
147×log-pow_binary64
123×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify48.0ms (1.1%)

Algorithm
egg-herbie
Rules
758×fma-def_binary64
606×associate-*l*_binary64
439×associate-*r*_binary64
417×fma-neg_binary64
171×associate-/l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
062704
1163700
2434696
31293694
44847694
Stop Event
node limit
Counts
150 → 141
Calls
Call 1
Inputs
(*.f64 -1/2 x)
(+.f64 (*.f64 -1/2 x) (*.f64 1/24 (pow.f64 x 3)))
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 -1/720 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/40320 (pow.f64 x 7)) (+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 -1/720 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3)))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
-1/2
(-.f64 (*.f64 -1/24 (pow.f64 x 2)) 1/2)
(-.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 -1/240 (pow.f64 x 4))) 1/2)
(-.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -17/40320 (pow.f64 x 6)) (*.f64 -1/240 (pow.f64 x 4)))) 1/2)
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
1/2
(+.f64 1/2 (*.f64 -1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 1/720 (pow.f64 x 4))))
(+.f64 1/2 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -1/40320 (pow.f64 x 6)) (*.f64 1/720 (pow.f64 x 4)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) (pow.f64 x 2)))
Outputs
(*.f64 -1/2 x)
(+.f64 (*.f64 -1/2 x) (*.f64 1/24 (pow.f64 x 3)))
(fma.f64 -1/2 x (*.f64 1/24 (pow.f64 x 3)))
(fma.f64 1/24 (pow.f64 x 3) (*.f64 -1/2 x))
(*.f64 x (fma.f64 x (*.f64 x 1/24) -1/2))
(+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 -1/720 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 -1/2 x (fma.f64 -1/720 (pow.f64 x 5) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 -1/2 x (fma.f64 1/24 (pow.f64 x 3) (*.f64 -1/720 (pow.f64 x 5))))
(+.f64 (*.f64 1/40320 (pow.f64 x 7)) (+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 -1/720 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/40320 (pow.f64 x 7) (fma.f64 -1/2 x (fma.f64 -1/720 (pow.f64 x 5) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/40320 (pow.f64 x 7) (fma.f64 -1/2 x (fma.f64 1/24 (pow.f64 x 3) (*.f64 -1/720 (pow.f64 x 5)))))
(fma.f64 -1/2 x (fma.f64 1/40320 (pow.f64 x 7) (fma.f64 1/24 (pow.f64 x 3) (*.f64 -1/720 (pow.f64 x 5)))))
(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))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x)))
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 x) x)))
(*.f64 (sin.f64 x) (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x)))
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 x) x)))
(*.f64 (sin.f64 x) (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x)))
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 x) x)))
(*.f64 (sin.f64 x) (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x)))
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 x) x)))
(*.f64 (sin.f64 x) (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x)))
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 x) x)))
(*.f64 (sin.f64 x) (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x)))
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 x) x)))
(*.f64 (sin.f64 x) (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x)))
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 x) x)))
(*.f64 (sin.f64 x) (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(*.f64 -1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 x) (/.f64 (*.f64 x (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x)))
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2))) (neg.f64 (/.f64 (sin.f64 x) x)))
(*.f64 (sin.f64 x) (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
-1/2
(-.f64 (*.f64 -1/24 (pow.f64 x 2)) 1/2)
(fma.f64 -1/24 (*.f64 x x) -1/2)
(fma.f64 x (*.f64 x -1/24) -1/2)
(-.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (*.f64 -1/240 (pow.f64 x 4))) 1/2)
(+.f64 (fma.f64 -1/24 (*.f64 x x) (*.f64 -1/240 (pow.f64 x 4))) -1/2)
(fma.f64 -1/24 (*.f64 x x) (fma.f64 -1/240 (pow.f64 x 4) -1/2))
(fma.f64 x (*.f64 x -1/24) (fma.f64 -1/240 (pow.f64 x 4) -1/2))
(-.f64 (+.f64 (*.f64 -1/24 (pow.f64 x 2)) (+.f64 (*.f64 -17/40320 (pow.f64 x 6)) (*.f64 -1/240 (pow.f64 x 4)))) 1/2)
(+.f64 (fma.f64 -1/24 (*.f64 x x) (fma.f64 -17/40320 (pow.f64 x 6) (*.f64 -1/240 (pow.f64 x 4)))) -1/2)
(+.f64 (fma.f64 -1/240 (pow.f64 x 4) (*.f64 -17/40320 (pow.f64 x 6))) (fma.f64 -1/24 (*.f64 x x) -1/2))
(fma.f64 x (*.f64 x -1/24) (fma.f64 -1/240 (pow.f64 x 4) (fma.f64 -17/40320 (pow.f64 x 6) -1/2)))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))
(*.f64 -1 (/.f64 (sin.f64 (*.f64 1/2 x)) (*.f64 (cos.f64 (*.f64 1/2 x)) x)))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x (cos.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 x (cos.f64 (*.f64 x 1/2))))
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 (pow.f64 x 4) 1/720)))
(+.f64 1/2 (fma.f64 (pow.f64 x 4) 1/720 (*.f64 x (*.f64 x -1/24))))
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/720 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 (pow.f64 x 4) 1/720))))
(+.f64 (fma.f64 -1/24 (*.f64 x x) 1/2) (fma.f64 (pow.f64 x 4) 1/720 (*.f64 (pow.f64 x 6) -1/40320)))
(+.f64 1/2 (fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 6) -1/40320 (*.f64 (pow.f64 x 4) 1/720))))
(fma.f64 x (*.f64 x -1/24) (fma.f64 (pow.f64 x 4) 1/720 (fma.f64 (pow.f64 x 6) -1/40320 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 x 1/2))) (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)))
(/.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x) (cos.f64 (*.f64 x 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 x 1/2))) (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)))
(/.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x) (cos.f64 (*.f64 x 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 x 1/2))) (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)))
(/.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x) (cos.f64 (*.f64 x 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 x 1/2))) (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)))
(/.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x) (cos.f64 (*.f64 x 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 x 1/2))) (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)))
(/.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x) (cos.f64 (*.f64 x 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 x 1/2))) (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)))
(/.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x) (cos.f64 (*.f64 x 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 x 1/2))) (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)))
(/.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x) (cos.f64 (*.f64 x 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 x 1/2))) (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 x x)))
(/.f64 (*.f64 (/.f64 (sin.f64 x) (*.f64 x x)) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (sin.f64 x) (/.f64 (/.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) x) (cos.f64 (*.f64 x 1/2))) x))

prune107.0ms (2.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1410141
Fresh044
Picked011
Done022
Total1417148
Error
0b
Counts
148 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 (sin.f64 x) (/.f64 (/.f64 (tan.f64 (/.f64 x 2)) x) x))
18.4b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
26.2b
(/.f64 (*.f64 (sqrt.f64 (pow.f64 (sin.f64 x) 4)) (/.f64 1 (+.f64 1 (cos.f64 x)))) (*.f64 x x))
19.1b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) (*.f64 x x))
0.1b
(/.f64 (*.f64 (/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) x) (sin.f64 x)) (neg.f64 x))
0.7b
(/.f64 (sin.f64 x) (*.f64 x (/.f64 x (tan.f64 (*.f64 x 1/2)))))
33.1b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 2410 to 1471 computations (39% saved)

regimes66.0ms (1.5%)

Accuracy

Total -31.3b remaining (-23103.4%)

Threshold costs -31.3b (-23103.4%)

Counts
60 → 1
Compiler

Compiled 748 to 449 computations (40% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
12121
23121
34621
45321
55821
66021
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (*.f64 (/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) x) (sin.f64 x)) (neg.f64 x))
Outputs
(/.f64 (*.f64 (/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) x) (sin.f64 x)) (neg.f64 x))

end76.0ms (1.7%)

Stop Event
fuel
Compiler

Compiled 116 to 68 computations (41.4% saved)

Profiling

Loading profile data...