Details

Time bar (total: 7.8s)

analyze282.0ms (3.6%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%100%0%0%0%0%3
37.5%37.5%62.5%0%0%0%0%4
43.8%43.7%56.2%0%0%0%0%5
46.9%46.9%53.1%0%0%0%0%6
48.4%48.4%51.5%0%0%0%0%7
49.2%49.2%50.8%0%0%0%0%8
49.6%49.6%50.4%0%0%0%0%9
49.8%49.8%50.2%0%0%0%0%10
49.9%49.9%50.1%0%0%0%0%11
50%49.9%50%0%0%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample6.4s (81.7%)

Results
3.6s2114×body2048valid
1.7s3071×body1024valid
699.0ms1523×body512valid
264.0ms1457×body256valid
95.0ms90×body4096valid
2.0msbody8192valid
Bogosity

preprocess51.0ms (0.7%)

Algorithm
egg-herbie
Rules
196×fma-def
118×associate-*r*
90×*-commutative
80×associate-+l-
74×associate-/l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
33611
45811
58511
612611
720611
836811
959811
1081711
1186111
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify26.0ms (0.3%)

Algorithm
egg-herbie
Rules
196×fma-def
118×associate-*r*
90×*-commutative
80×associate-+l-
74×associate-/l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
33611
45811
58511
612611
720611
836811
959811
1081711
1186111
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))

eval0.0ms (0%)

Compiler

Compiled 12 to 9 computations (25% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 5 to 4 computations (20% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 10 to 7 computations (30% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite77.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
1392×add-sqr-sqrt
1366×*-un-lft-identity
1276×add-cube-cbrt
1264×add-cbrt-cube
1250×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify70.0ms (0.9%)

Algorithm
egg-herbie
Rules
854×associate-*r/
720×fma-def
682×*-commutative
650×associate-*r*
574×associate-*l/
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
068804
1147708
2524612
32040612
44521612
56576612
Stop Event
node limit
Counts
32 → 36
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/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/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 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/240 (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/240 (pow.f64 x 5))))
(fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 7)))))
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 17/40320 (pow.f64 x 7)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(+.f64 1 (-.f64 (tan.f64 (*.f64 1/2 x)) 1))
(+.f64 (tan.f64 (*.f64 1/2 x)) 0)
(tan.f64 (*.f64 1/2 x))

eval37.0ms (0.5%)

Compiler

Compiled 350 to 283 computations (19.1% saved)

prune5.0ms (0.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh000
Picked011
Done000
Total34337
Error
0.0b
Counts
37 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
29.8b
(*.f64 1/2 x)
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 19 to 15 computations (21.1% saved)

localize3.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize48.0ms (0.6%)

Local error

Found 1 expressions with local error:

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

Compiled 23 to 17 computations (26.1% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite88.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
1814×add-sqr-sqrt
1796×*-un-lft-identity
1668×add-cube-cbrt
1648×add-cbrt-cube
182×pow1
Iterations

Useful iterations: 0 (0.0ms)

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

simplify50.0ms (0.6%)

Algorithm
egg-herbie
Rules
1216×associate-/r/
956×associate-*r*
902×distribute-rgt-in
892×distribute-lft-in
814×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0106939
1251939
2857939
33771939
Stop Event
node limit
Counts
45 → 49
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/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))
(*.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 1 (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))
(tan.f64 (*.f64 x 1/2))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/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 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/240 (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/240 (pow.f64 x 5))))
(fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/2 x (*.f64 1/240 (pow.f64 x 5))))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 7)))))
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 17/40320 (pow.f64 x 7)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 1 (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2)))
(/.f64 (*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2)) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(tan.f64 (*.f64 1/2 x))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(tan.f64 (*.f64 1/2 x))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(tan.f64 (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))
(tan.f64 (*.f64 1/2 x))
(tan.f64 (*.f64 x 1/2))
(tan.f64 (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))

eval52.0ms (0.7%)

Compiler

Compiled 595 to 491 computations (17.5% saved)

prune6.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New48149
Fresh000
Picked101
Done022
Total49352
Error
0.0b
Counts
52 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
29.8b
(*.f64 1/2 x)
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 18 to 15 computations (16.7% saved)

localize15.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(tan.f64 (*.f64 x 1/2))
0.2b
(/.f64 1 (tan.f64 (*.f64 x 1/2)))
0.2b
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
Compiler

Compiled 26 to 21 computations (19.2% saved)

series3.0ms (0%)

Counts
3 → 36
Calls

9 calls:

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

rewrite63.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
1740×add-sqr-sqrt
1712×*-un-lft-identity
1592×add-cube-cbrt
1578×add-cbrt-cube
200×pow1
Iterations

Useful iterations: 1 (0.0ms)

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

simplify112.0ms (1.4%)

Algorithm
egg-herbie
Rules
1004×associate-*r/
932×associate-+r+
884×associate-/r*
686×associate-+l+
630×associate-/l*
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01532547
13432459
213842459
361592459
Stop Event
node limit
Counts
125 → 94
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/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 2 x)
(+.f64 (*.f64 -1/6 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/360 (pow.f64 x 3)) (+.f64 (*.f64 -1/6 x) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 -1/360 (pow.f64 x 3)) (+.f64 (*.f64 -1/6 x) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 -1/15120 (pow.f64 x 5)))))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(*.f64 1/2 x)
(+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 -1 (neg.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)) -1) (pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(/.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
(/.f64 1 (/.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 -1 (neg.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(/.f64 (tan.f64 (*.f64 x 1/2)) 1)
(/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2))
(/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) -1)
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2))) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))
(tan.f64 (*.f64 x 1/2))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))))) 1)
(*.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(*.f64 -1 (/.f64 1 (neg.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2))
(*.f64 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 1 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(*.f64 (pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) -1) (pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) -1) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) -1))
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(pow.f64 (tan.f64 (*.f64 x 1/2)) -1)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) 2)
(pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3)
(pow.f64 (pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 3) 1/3)
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2))
(log.f64 (exp.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))))))
(cbrt.f64 (pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 3))
(expm1.f64 (log1p.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(exp.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) 1))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) -1))
(log1p.f64 (expm1.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(-.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 -1 (neg.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)) -1) (pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(/.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
(/.f64 1 (/.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 -1 (neg.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(/.f64 (tan.f64 (*.f64 x 1/2)) 1)
(/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2))
(/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) -1)
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2))) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2) -1/2)
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/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 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/240 (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/240 (pow.f64 x 5))))
(fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 7)))))
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 17/40320 (pow.f64 x 7)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 2 x)
(+.f64 (*.f64 -1/6 x) (*.f64 2 (/.f64 1 x)))
(fma.f64 -1/6 x (/.f64 2 x))
(fma.f64 x -1/6 (/.f64 2 x))
(+.f64 (*.f64 -1/360 (pow.f64 x 3)) (+.f64 (*.f64 -1/6 x) (*.f64 2 (/.f64 1 x))))
(fma.f64 -1/360 (pow.f64 x 3) (fma.f64 -1/6 x (/.f64 2 x)))
(fma.f64 (pow.f64 x 3) -1/360 (fma.f64 x -1/6 (/.f64 2 x)))
(fma.f64 x -1/6 (fma.f64 (pow.f64 x 3) -1/360 (/.f64 2 x)))
(+.f64 (*.f64 -1/360 (pow.f64 x 3)) (+.f64 (*.f64 -1/6 x) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 -1/15120 (pow.f64 x 5)))))
(fma.f64 -1/360 (pow.f64 x 3) (+.f64 (fma.f64 -1/6 x (/.f64 2 x)) (*.f64 (pow.f64 x 5) -1/15120)))
(fma.f64 (pow.f64 x 3) -1/360 (fma.f64 x -1/6 (fma.f64 (pow.f64 x 5) -1/15120 (/.f64 2 x))))
(fma.f64 x -1/6 (fma.f64 (pow.f64 x 3) -1/360 (fma.f64 (pow.f64 x 5) -1/15120 (/.f64 2 x))))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(*.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 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/240 (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/240 (pow.f64 x 5))))
(fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 7)))))
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 17/40320 (pow.f64 x 7)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 -1 (neg.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)) -1) (pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2))) (/.f64 1 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 1/2 x))))))
(/.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2)))
(/.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(/.f64 1 (/.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1))
(tan.f64 (*.f64 1/2 x))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 -1 (neg.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(tan.f64 (*.f64 1/2 x))
(/.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2))
(/.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (tan.f64 (*.f64 1/2 x)) -1/2))
(/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(tan.f64 (*.f64 1/2 x))
(/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) -1)
(tan.f64 (*.f64 1/2 x))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2))) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2))) (/.f64 1 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 1/2 x))))))
(/.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2)))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(tan.f64 (*.f64 1/2 x))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(tan.f64 (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))
(tan.f64 (*.f64 1/2 x))
(tan.f64 (*.f64 x 1/2))
(tan.f64 (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))))) 1)
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(*.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(*.f64 -1 (/.f64 1 (neg.f64 (tan.f64 (*.f64 x 1/2)))))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2)) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))))
(/.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2)) (cbrt.f64 (tan.f64 (*.f64 1/2 x))))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2)) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))))
(/.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2)) (cbrt.f64 (tan.f64 (*.f64 1/2 x))))
(*.f64 (/.f64 1 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) -1) (pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) -1))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) -1) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) -1))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(pow.f64 (tan.f64 (*.f64 x 1/2)) -1)
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) 2)
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3)
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(pow.f64 (pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 3) 1/3)
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(log.f64 (exp.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))))))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(cbrt.f64 (pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 3))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(expm1.f64 (log1p.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(exp.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) 1))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) -1))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(log1p.f64 (expm1.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(/.f64 1 (tan.f64 (*.f64 1/2 x)))
(-.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 -1 (neg.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)) -1) (pow.f64 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2))) (/.f64 1 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 1/2 x))))))
(/.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2)))
(/.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(/.f64 1 (/.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1))
(tan.f64 (*.f64 1/2 x))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 -1 (neg.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))))
(tan.f64 (*.f64 1/2 x))
(/.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(/.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2))
(/.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (tan.f64 (*.f64 1/2 x)) -1/2))
(/.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(tan.f64 (*.f64 1/2 x))
(/.f64 (neg.f64 (tan.f64 (*.f64 x 1/2))) -1)
(tan.f64 (*.f64 1/2 x))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2))) (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2))) (/.f64 1 (/.f64 1 (cbrt.f64 (tan.f64 (*.f64 1/2 x))))))
(/.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2)))
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2) -1/2)
(pow.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2) -1/2)
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(tan.f64 (*.f64 1/2 x))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(tan.f64 (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))
(tan.f64 (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))

eval30.0ms (0.4%)

Compiler

Compiled 1080 to 915 computations (15.3% saved)

prune12.0ms (0.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New92294
Fresh000
Picked101
Done022
Total93497
Error
0b
Counts
97 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
29.9b
(pow.f64 (/.f64 2 x) -1)
0.1b
(/.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
29.8b
(*.f64 1/2 x)
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 24 to 20 computations (16.7% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

Compiled 25 to 20 computations (20% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite75.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
1648×add-sqr-sqrt
1626×*-un-lft-identity
1512×add-cube-cbrt
1498×add-cbrt-cube
174×pow1
Iterations

Useful iterations: 0 (0.0ms)

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

simplify53.0ms (0.7%)

Algorithm
egg-herbie
Rules
1006×associate-*r*
956×distribute-lft-in
900×distribute-rgt-in
836×*-commutative
788×associate-*l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
085667
1192667
2665661
33284661
Stop Event
node limit
Counts
37 → 43
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/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 -1 (neg.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)) -1) (pow.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))) -1))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(tan.f64 (*.f64 x 1/2))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/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 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/240 (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/240 (pow.f64 x 5))))
(fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/2 x)))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 17/40320 (pow.f64 x 7)) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 7)))))
(fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 17/40320 (pow.f64 x 7)))))
(fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/2 x (fma.f64 1/24 (pow.f64 x 3) (*.f64 17/40320 (pow.f64 x 7)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(-.f64 (exp.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2)))) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 -1 (neg.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -1/2) -1))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) -2)) -1) (pow.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))) -1))
(*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2))) (/.f64 1 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 1/2 x))))))
(/.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2))) (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 1/2 x)))))
(/.f64 1 (*.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 1/2 x)))) (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) -2))))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(tan.f64 (*.f64 1/2 x))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(tan.f64 (*.f64 1/2 x))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(log.f64 (+.f64 1 (expm1.f64 (tan.f64 (*.f64 x 1/2)))))
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(tan.f64 (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (log.f64 (tan.f64 (*.f64 x 1/2))) 1))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(tan.f64 (*.f64 1/2 x))
(tan.f64 (*.f64 x 1/2))
(tan.f64 (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 12 to 9 computations (25% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite55.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
1316×add-sqr-sqrt
1288×*-un-lft-identity
1208×add-cube-cbrt
1198×add-cbrt-cube
1186×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

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

simplify40.0ms (0.5%)

Algorithm
egg-herbie
Rules
1592×associate-/r*
1126×associate-/l/
870×unswap-sqr
634×associate-/r/
616×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067352
1140352
2370352
31664352
Stop Event
node limit
Counts
40 → 31
Calls
Call 1
Inputs
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(-.f64 (+.f64 1 (*.f64 x 1/2)) 1)
(*.f64 x 1/2)
(*.f64 (*.f64 x 1/2) 1)
(*.f64 1 (*.f64 x 1/2))
(*.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)))
(*.f64 (cbrt.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (/.f64 2 x) -2)))
(*.f64 (cbrt.f64 (pow.f64 (/.f64 2 x) -2)) (cbrt.f64 (*.f64 x 1/2)))
(*.f64 -1/2 (neg.f64 x))
(*.f64 1/2 x)
(*.f64 1/2 (pow.f64 (/.f64 1 x) -1))
(*.f64 (pow.f64 (sqrt.f64 (/.f64 2 x)) -1) (pow.f64 (sqrt.f64 (/.f64 2 x)) -1))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) -1) (pow.f64 (cbrt.f64 (/.f64 2 x)) -1))
(/.f64 x 2)
(/.f64 -1 (neg.f64 (/.f64 2 x)))
(/.f64 1 (/.f64 2 x))
(/.f64 1 (/.f64 (/.f64 2 x) 1))
(/.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (/.f64 2 x)))
(/.f64 (sqrt.f64 x) (/.f64 2 (sqrt.f64 x)))
(/.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 2 (cbrt.f64 x)))
(/.f64 (neg.f64 x) -2)
(/.f64 1/2 (/.f64 1 x))
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2)) (cbrt.f64 (/.f64 2 x)))
(sqrt.f64 (pow.f64 (/.f64 2 x) -2))
(log.f64 (exp.f64 (*.f64 x 1/2)))
(cbrt.f64 (pow.f64 (*.f64 x 1/2) 3))
(expm1.f64 (log1p.f64 (*.f64 x 1/2)))
(exp.f64 (log.f64 (*.f64 x 1/2)))
(log1p.f64 (expm1.f64 (*.f64 x 1/2)))
Outputs
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 x)
(-.f64 (+.f64 1 (*.f64 x 1/2)) 1)
(*.f64 1/2 x)
(*.f64 x 1/2)
(*.f64 1/2 x)
(*.f64 (*.f64 x 1/2) 1)
(*.f64 1/2 x)
(*.f64 1 (*.f64 x 1/2))
(*.f64 1/2 x)
(*.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (*.f64 x 1/2)))
(*.f64 1/2 x)
(*.f64 (cbrt.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (/.f64 2 x) -2)))
(*.f64 (cbrt.f64 (*.f64 1/2 x)) (cbrt.f64 (pow.f64 (/.f64 2 x) -2)))
(*.f64 (cbrt.f64 (*.f64 1/2 x)) (cbrt.f64 (*.f64 1/4 (*.f64 x x))))
(*.f64 (cbrt.f64 (pow.f64 (/.f64 2 x) -2)) (cbrt.f64 (*.f64 x 1/2)))
(*.f64 (cbrt.f64 (*.f64 1/2 x)) (cbrt.f64 (pow.f64 (/.f64 2 x) -2)))
(*.f64 (cbrt.f64 (*.f64 1/2 x)) (cbrt.f64 (*.f64 1/4 (*.f64 x x))))
(*.f64 -1/2 (neg.f64 x))
(*.f64 1/2 x)
(*.f64 1/2 x)
(*.f64 1/2 (pow.f64 (/.f64 1 x) -1))
(*.f64 1/2 x)
(*.f64 (pow.f64 (sqrt.f64 (/.f64 2 x)) -1) (pow.f64 (sqrt.f64 (/.f64 2 x)) -1))
(*.f64 1/2 x)
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) -1) (pow.f64 (cbrt.f64 (/.f64 2 x)) -1))
(*.f64 1/2 x)
(/.f64 x 2)
(*.f64 1/2 x)
(/.f64 -1 (neg.f64 (/.f64 2 x)))
(*.f64 1/2 x)
(/.f64 1 (/.f64 2 x))
(*.f64 1/2 x)
(/.f64 1 (/.f64 (/.f64 2 x) 1))
(*.f64 1/2 x)
(/.f64 (sqrt.f64 (*.f64 x 1/2)) (sqrt.f64 (/.f64 2 x)))
(/.f64 (sqrt.f64 (*.f64 1/2 x)) (sqrt.f64 (/.f64 2 x)))
(/.f64 (sqrt.f64 x) (/.f64 2 (sqrt.f64 x)))
(*.f64 1/2 x)
(/.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 2 (cbrt.f64 x)))
(*.f64 1/2 x)
(/.f64 (neg.f64 x) -2)
(*.f64 1/2 x)
(/.f64 1/2 (/.f64 1 x))
(*.f64 1/2 x)
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2)) (cbrt.f64 (/.f64 2 x)))
(*.f64 1/2 x)
(sqrt.f64 (pow.f64 (/.f64 2 x) -2))
(*.f64 1/2 x)
(log.f64 (exp.f64 (*.f64 x 1/2)))
(*.f64 1/2 x)
(cbrt.f64 (pow.f64 (*.f64 x 1/2) 3))
(*.f64 1/2 x)
(expm1.f64 (log1p.f64 (*.f64 x 1/2)))
(*.f64 1/2 x)
(exp.f64 (log.f64 (*.f64 x 1/2)))
(*.f64 1/2 x)
(log1p.f64 (expm1.f64 (*.f64 x 1/2)))
(*.f64 1/2 x)

eval44.0ms (0.6%)

Compiler

Compiled 1261 to 1056 computations (16.3% saved)

prune16.0ms (0.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1192121
Fresh000
Picked101
Done033
Total1205125
Error
0b
Counts
125 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
29.9b
(/.f64 1 (/.f64 2 x))
0.1b
(/.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
29.8b
(/.f64 1 (+.f64 (*.f64 -1/6 x) (*.f64 2 (/.f64 1 x))))
29.8b
(*.f64 1/2 x)
0.0b
(tan.f64 (/.f64 x 2))
Compiler

Compiled 36 to 30 computations (16.7% saved)

regimes12.0ms (0.2%)

Counts
9 → 1
Calls
Call 1
Inputs
(*.f64 1/2 x)
(/.f64 1 (/.f64 2 x))
(/.f64 1 (+.f64 (*.f64 -1/6 x) (*.f64 2 (/.f64 1 x))))
(tan.f64 (/.f64 x 2))
(pow.f64 (/.f64 2 x) -1)
(/.f64 1 (/.f64 1 (tan.f64 (*.f64 x 1/2))))
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
Outputs
(tan.f64 (/.f64 x 2))
Calls

2 calls:

5.0ms
x
4.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 71 to 56 computations (21.1% saved)

regimes5.0ms (0.1%)

Accuracy

Total -0.6b remaining (-2.1%)

Threshold costs -0.6b (-2.1%)

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

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
29.8b1x
Compiler

Compiled 22 to 17 computations (22.7% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0918
11018
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(tan.f64 (/.f64 x 2))
(*.f64 1/2 x)
Outputs
(tan.f64 (/.f64 x 2))
(*.f64 1/2 x)
(*.f64 x 1/2)
Compiler

Compiled 9 to 7 computations (22.2% saved)

soundness41.0ms (0.5%)

Algorithm
egg-herbie
Rules
196×fma-def
118×associate-*r*
90×*-commutative
80×associate-+l-
74×associate-/l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
33611
45811
58511
612611
720611
836811
959811
1081711
1186111
Stop Event
saturated
Compiler

Compiled 12 to 9 computations (25% saved)

end21.0ms (0.3%)

Compiler

Compiled 8 to 6 computations (25% saved)

Profiling

Loading profile data...