Details

Time bar (total: 5.2s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%49.6%50.4%0%0%0%0
100%49.6%0%50.4%0%0%0%1
Compiler

Compiled 12 to 9 computations (25% saved)

sample4.0s (77.8%)

Results
3.0s4383×body2048valid
690.0ms2110×body1024valid
247.0ms1013×body512valid
79.0ms750×body256valid
Bogosity

preprocess6.0ms (0.1%)

Algorithm
egg-herbie
Rules
12×fma-def
12×+-commutative
10×associate-+l-
sub-neg
associate--r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11111
21511
32211
42911
53911
65511
76511
86811
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 1 (cos.f64 x))
Outputs
(-.f64 1 (cos.f64 x))
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify16.0ms (0.3%)

Algorithm
egg-herbie
Rules
12×fma-def
12×+-commutative
10×associate-+l-
sub-neg
associate--r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11111
21511
32211
42911
53911
65511
76511
86811
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 1 (cos.f64 x))
Outputs
(-.f64 1 (cos.f64 x))

eval0.0ms (0%)

Compiler

Compiled 5 to 4 computations (20% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 5 to 4 computations (20% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
3.1b
(-.f64 1 (cos.f64 x))
Compiler

Compiled 9 to 5 computations (44.4% saved)

series0.0ms (0%)

Counts
1 → 4
Calls

3 calls:

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

rewrite52.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
1402×add-sqr-sqrt
1386×*-un-lft-identity
1288×add-cube-cbrt
1276×add-cbrt-cube
1266×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify53.0ms (1%)

Algorithm
egg-herbie
Rules
932×associate-/l*
906×associate-*r*
896×times-frac
852×distribute-lft-in
792×*-commutative
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
095817
1232757
2782687
33180687
Stop Event
node limit
Counts
33 → 43
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(+.f64 1 (neg.f64 (cos.f64 x)))
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))
(+.f64 (neg.f64 (cos.f64 x)) 1)
(*.f64 1 (-.f64 1 (cos.f64 x)))
(*.f64 (-.f64 1 (cos.f64 x)) 1)
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))))
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))
(/.f64 1 (/.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 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)))))
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))))
(pow.f64 (-.f64 1 (cos.f64 x)) 1)
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1))
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))
Outputs
(*.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 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))))
(+.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)))))
(+.f64 1 (neg.f64 (cos.f64 x)))
(-.f64 1 (cos.f64 x))
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))
(-.f64 1 (cos.f64 x))
(+.f64 (neg.f64 (cos.f64 x)) 1)
(-.f64 1 (cos.f64 x))
(*.f64 1 (-.f64 1 (cos.f64 x)))
(-.f64 1 (cos.f64 x))
(*.f64 (-.f64 1 (cos.f64 x)) 1)
(-.f64 1 (cos.f64 x))
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))
(-.f64 1 (cos.f64 x))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))))
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 1 (/.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x)))))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.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)))))
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))))
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1))
(pow.f64 (-.f64 1 (cos.f64 x)) 1)
(-.f64 1 (cos.f64 x))
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)
(-.f64 1 (cos.f64 x))
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)
(-.f64 1 (cos.f64 x))
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)
(-.f64 1 (cos.f64 x))
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))
(-.f64 1 (cos.f64 x))
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))
(-.f64 1 (cos.f64 x))
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1))
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))

eval8.0ms (0.2%)

Compiler

Compiled 469 to 279 computations (40.5% saved)

prune8.0ms (0.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh000
Picked011
Done000
Total40444
Error
0b
Counts
44 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
30.8b
(-.f64 1 (cos.f64 x))
0.0b
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
0.3b
(*.f64 1/2 (*.f64 x x))
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 5 computations (54.5% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite56.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
1076×add-sqr-sqrt
1058×*-un-lft-identity
1006×pow1
986×add-cube-cbrt
978×add-cbrt-cube
Iterations

Useful iterations: 0 (0.0ms)

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

simplify38.0ms (0.7%)

Algorithm
egg-herbie
Rules
1470×distribute-rgt-in
1446×distribute-lft-in
1164×log-prod
746×associate-*r*
698×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038299
192299
2346299
31898299
Stop Event
node limit
Counts
23 → 14
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1)
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))
Outputs
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 12 computations (36.8% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite52.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
1792×add-sqr-sqrt
1766×*-un-lft-identity
1644×add-cube-cbrt
1624×add-cbrt-cube
182×pow1
Iterations

Useful iterations: 0 (0.0ms)

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

simplify58.0ms (1.1%)

Algorithm
egg-herbie
Rules
1088×fma-def
952×distribute-lft-in
894×distribute-rgt-in
874×*-commutative
738×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069779
1152779
2419779
32320779
46397779
Stop Event
node limit
Counts
27 → 33
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(-.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) 1)
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (cos.f64 (*.f64 x 1/2)))
(pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 1)
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 2)
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 3)
(pow.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3) 1/3)
(sqrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 2))
(log.f64 (pow.f64 (exp.f64 (sin.f64 x)) (tan.f64 (*.f64 x 1/2))))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))))
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3))
(expm1.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))
(exp.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))
(exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 1))
(log1p.f64 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))
Outputs
(*.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)))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x)))
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 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 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2) (*.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)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/720 (pow.f64 x 6)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24) (*.f64 1/720 (pow.f64 x 6))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(-.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) 1)
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 1)
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 2)
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 3)
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(pow.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3) 1/3)
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(sqrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(log.f64 (pow.f64 (exp.f64 (sin.f64 x)) (tan.f64 (*.f64 x 1/2))))
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))))
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3))
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(expm1.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(exp.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 1))
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(log1p.f64 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 26 to 17 computations (34.6% saved)

series1.0ms (0%)

Counts
2 → 12
Calls

6 calls:

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

rewrite74.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
1860×add-sqr-sqrt
1828×*-un-lft-identity
1712×add-cube-cbrt
1700×add-cbrt-cube
202×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify55.0ms (1.1%)

Algorithm
egg-herbie
Rules
1176×associate-/l*
764×associate-/r*
642×unswap-sqr
534×fma-def
522×+-commutative
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0931204
12291178
211131164
343791164
Stop Event
node limit
Counts
48 → 51
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(-.f64 (exp.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4)))) 1)
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1)
(pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2)
(pow.f64 (cbrt.f64 (*.f64 -1/24 (pow.f64 x 4))) 3)
(pow.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3) 1/3)
(sqrt.f64 (*.f64 (pow.f64 x 8) 1/576))
(log.f64 (pow.f64 (exp.f64 -1/24) (pow.f64 x 4)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4)))))
(cbrt.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3))
(expm1.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4))))
(exp.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4))))
(exp.f64 (*.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4))) 1))
(log1p.f64 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4))))
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) 1) (*.f64 -1/24 (pow.f64 x 4)))
(-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) 1)
(*.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1)
(*.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))
(*.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))
(*.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2) (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))
(/.f64 (-.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (*.f64 (pow.f64 x 8) 1/576)) (-.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))))
(/.f64 (+.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))))))
(pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1)
(pow.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2)
(pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 3)
(pow.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3) 1/3)
(sqrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 2))
(log.f64 (exp.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))))
(cbrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3))
(expm1.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))
(exp.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))
(exp.f64 (*.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 1))
(log1p.f64 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))
Outputs
(*.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 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 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 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 -1/24 (pow.f64 x 4) (*.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 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 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 -1/24 (pow.f64 x 4) (*.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 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 (exp.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4)))) 1)
(*.f64 -1/24 (pow.f64 x 4))
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1)
(*.f64 -1/24 (pow.f64 x 4))
(pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2)
(*.f64 -1/24 (pow.f64 x 4))
(pow.f64 (cbrt.f64 (*.f64 -1/24 (pow.f64 x 4))) 3)
(*.f64 -1/24 (pow.f64 x 4))
(pow.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3) 1/3)
(*.f64 -1/24 (pow.f64 x 4))
(sqrt.f64 (*.f64 (pow.f64 x 8) 1/576))
(log.f64 (pow.f64 (exp.f64 -1/24) (pow.f64 x 4)))
(*.f64 -1/24 (pow.f64 x 4))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4)))))
(*.f64 -1/24 (pow.f64 x 4))
(cbrt.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3))
(*.f64 -1/24 (pow.f64 x 4))
(expm1.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4))))
(*.f64 -1/24 (pow.f64 x 4))
(exp.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4))))
(*.f64 -1/24 (pow.f64 x 4))
(exp.f64 (*.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4))) 1))
(*.f64 -1/24 (pow.f64 x 4))
(log1p.f64 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4))))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))
(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 1/2 (*.f64 x x)) (*.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 (*.f64 1/2 (*.f64 x x)) 1) (*.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 (exp.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) 1)
(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 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1)
(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 1 (fma.f64 1/2 (*.f64 x x) (*.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 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.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 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2))
(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 (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2) (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.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 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (*.f64 (pow.f64 x 8) 1/576)) (-.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))))
(/.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 (pow.f64 x 8) 1/576)) (+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/24 (pow.f64 x 4))))
(/.f64 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (pow.f64 x 8) -1/576)) (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24)))
(/.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) -1/576)) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 1/2 (*.f64 x x))))
(/.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) -1/576)) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 x (*.f64 1/2 x))))
(/.f64 (+.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))))))
(/.f64 (+.f64 (*.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3)) (*.f64 1/8 (pow.f64 (*.f64 x x) 3))) (-.f64 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 (pow.f64 x 8) 1/576)) (*.f64 1/2 (*.f64 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))))
(/.f64 (fma.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3) (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (pow.f64 x 8) 1/576 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 x x) 3) -1/24)))))
(/.f64 (fma.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3) (*.f64 1/8 (pow.f64 x 6))) (fma.f64 (pow.f64 x 8) 1/576 (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (*.f64 x x) 1/48) 1/4))))
(/.f64 (fma.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3) (*.f64 1/8 (pow.f64 x 6))) (fma.f64 (pow.f64 x 8) 1/576 (*.f64 (pow.f64 x 4) (+.f64 1/4 (*.f64 (*.f64 x x) 1/48)))))
(pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1)
(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)))
(pow.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2)
(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)))
(pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 3)
(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)))
(pow.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3) 1/3)
(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)))
(sqrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 2))
(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)))
(log.f64 (exp.f64 (fma.f64 1/2 (*.f64 x x) (*.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)))
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.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)))
(cbrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3))
(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)))
(expm1.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.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)))
(exp.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.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)))
(exp.f64 (*.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 1))
(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)))
(log1p.f64 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.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)))

eval29.0ms (0.6%)

Compiler

Compiled 1294 to 892 computations (31.1% saved)

prune52.0ms (1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New95398
Fresh000
Picked101
Done123
Total975102
Error
0b
Counts
102 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
30.8b
(-.f64 1 (cos.f64 x))
0.0b
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4)))
0.0b
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))
0.0b
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
0.3b
(*.f64 x (*.f64 1/2 x))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize4.0ms (0.1%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 26 to 15 computations (42.3% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite70.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
1866×add-sqr-sqrt
1838×*-un-lft-identity
1716×add-cube-cbrt
1694×add-cbrt-cube
192×pow1
Iterations

Useful iterations: 0 (0.0ms)

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

simplify72.0ms (1.4%)

Algorithm
egg-herbie
Rules
1454×fma-def
1212×associate-+r+
1174×associate-+l+
632×log-prod
600×unswap-sqr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083862
1200862
2745862
32872862
Stop Event
node limit
Counts
52 → 38
Calls
Call 1
Inputs
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x -1/24))) 1)
(pow.f64 (*.f64 x -1/24) 1)
(pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2)
(pow.f64 (cbrt.f64 (*.f64 x -1/24)) 3)
(pow.f64 (pow.f64 (*.f64 x -1/24) 3) 1/3)
(sqrt.f64 (*.f64 (*.f64 x x) 1/576))
(log.f64 (pow.f64 (exp.f64 x) -1/24))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x -1/24))))
(cbrt.f64 (pow.f64 (*.f64 x -1/24) 3))
(expm1.f64 (log1p.f64 (*.f64 x -1/24)))
(exp.f64 (log.f64 (*.f64 x -1/24)))
(exp.f64 (*.f64 (log.f64 (*.f64 x -1/24)) 1))
(log1p.f64 (expm1.f64 (*.f64 x -1/24)))
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2))
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) 1)
(pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 1)
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -1/24) 1/2))) 2)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3) 1/3)
(sqrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 2) (pow.f64 x 4)))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -1/24) 1/2)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))
(exp.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 1))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))
Outputs
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 -1/24 x)
(*.f64 1/2 (pow.f64 x 2))
(*.f64 x (*.f64 x 1/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 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(+.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 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(+.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 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(+.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 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(+.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 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(*.f64 -1/24 (pow.f64 x 4))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(+.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 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(+.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 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x -1/24))) 1)
(*.f64 -1/24 x)
(pow.f64 (*.f64 x -1/24) 1)
(*.f64 -1/24 x)
(pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2)
(*.f64 -1/24 x)
(pow.f64 (cbrt.f64 (*.f64 x -1/24)) 3)
(*.f64 -1/24 x)
(pow.f64 (pow.f64 (*.f64 x -1/24) 3) 1/3)
(*.f64 -1/24 x)
(sqrt.f64 (*.f64 (*.f64 x x) 1/576))
(*.f64 -1/24 x)
(log.f64 (pow.f64 (exp.f64 x) -1/24))
(*.f64 -1/24 x)
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x -1/24))))
(*.f64 -1/24 x)
(cbrt.f64 (pow.f64 (*.f64 x -1/24) 3))
(*.f64 -1/24 x)
(expm1.f64 (log1p.f64 (*.f64 x -1/24)))
(*.f64 -1/24 x)
(exp.f64 (log.f64 (*.f64 x -1/24)))
(*.f64 -1/24 x)
(exp.f64 (*.f64 (log.f64 (*.f64 x -1/24)) 1))
(*.f64 -1/24 x)
(log1p.f64 (expm1.f64 (*.f64 x -1/24)))
(*.f64 -1/24 x)
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) 1)
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 1)
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -1/24) 1/2))) 2)
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 3)
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(pow.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3) 1/3)
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(sqrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 2) (pow.f64 x 4)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -1/24) 1/2)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(exp.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 1))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2)))
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2)))
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2))

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 32 to 20 computations (37.5% saved)

eval17.0ms (0.3%)

Compiler

Compiled 805 to 536 computations (33.4% saved)

prune9.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New64165
Fresh000
Picked101
Done224
Total67370
Error
0b
Counts
70 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
0.0b
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
0.3b
(*.f64 x (*.f64 1/2 x))
Compiler

Compiled 30 to 19 computations (36.7% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

Compiled 44 to 22 computations (50% saved)

series1.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite59.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
1518×add-sqr-sqrt
1496×*-un-lft-identity
1396×add-cube-cbrt
1372×add-cbrt-cube
1358×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

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

simplify62.0ms (1.2%)

Algorithm
egg-herbie
Rules
992×associate-+r+
962×distribute-lft-in
956×fma-def
954×distribute-rgt-in
938×associate-+l+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065624
1160624
2634624
31842624
47789624
Stop Event
node limit
Counts
48 → 27
Calls
Call 1
Inputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)
(pow.f64 (*.f64 x (*.f64 x -1/24)) 1)
(pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) 1/3)
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/576))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) -1/24) x))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -1/24))))
(exp.f64 (log.f64 (*.f64 x (*.f64 x -1/24))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x -1/24))) 1))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -1/24))))
(-.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/24)) 1)
(pow.f64 (*.f64 (pow.f64 x 4) -1/24) 1)
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2)
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) -1/24)) 3)
(pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3) 1/3)
(sqrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 2))
(log.f64 (exp.f64 (*.f64 (pow.f64 x 4) -1/24)))
(cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3))
(expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 4) -1/24)))
(exp.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24)))
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24)) 1))
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24)))
Outputs
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 2))
(*.f64 -1/24 (*.f64 x x))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(*.f64 -1/24 (pow.f64 x 4))
(-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)
(*.f64 -1/24 (*.f64 x x))
(pow.f64 (*.f64 x (*.f64 x -1/24)) 1)
(*.f64 -1/24 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)
(*.f64 -1/24 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 3)
(*.f64 -1/24 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) 1/3)
(*.f64 -1/24 (*.f64 x x))
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/576))
(*.f64 -1/24 (*.f64 x x))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) -1/24) x))
(*.f64 -1/24 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3))
(*.f64 -1/24 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -1/24))))
(*.f64 -1/24 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 x (*.f64 x -1/24))))
(*.f64 -1/24 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x -1/24))) 1))
(*.f64 -1/24 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -1/24))))
(*.f64 -1/24 (*.f64 x x))
(-.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/24)) 1)
(*.f64 -1/24 (pow.f64 x 4))
(pow.f64 (*.f64 (pow.f64 x 4) -1/24) 1)
(*.f64 -1/24 (pow.f64 x 4))
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2)
(*.f64 -1/24 (pow.f64 x 4))
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) -1/24)) 3)
(*.f64 -1/24 (pow.f64 x 4))
(pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3) 1/3)
(*.f64 -1/24 (pow.f64 x 4))
(sqrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 2))
(*.f64 -1/24 (pow.f64 x 4))
(log.f64 (exp.f64 (*.f64 (pow.f64 x 4) -1/24)))
(*.f64 -1/24 (pow.f64 x 4))
(cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3))
(*.f64 -1/24 (pow.f64 x 4))
(expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 4) -1/24)))
(*.f64 -1/24 (pow.f64 x 4))
(exp.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24)))
(*.f64 -1/24 (pow.f64 x 4))
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24)) 1))
(*.f64 -1/24 (pow.f64 x 4))
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24)))
(*.f64 -1/24 (pow.f64 x 4))

eval16.0ms (0.3%)

Compiler

Compiled 902 to 520 computations (42.4% saved)

prune7.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh000
Picked011
Done022
Total55358
Error
0b
Counts
58 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
0.0b
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
0.3b
(*.f64 x (*.f64 1/2 x))
Compiler

Compiled 30 to 19 computations (36.7% saved)

regimes40.0ms (0.8%)

Counts
8 → 1
Calls
Call 1
Inputs
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
(-.f64 1 (cos.f64 x))
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
Outputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
Calls

3 calls:

34.0ms
x
2.0ms
(cos.f64 x)
2.0ms
(-.f64 1 (cos.f64 x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(-.f64 1 (cos.f64 x))
0.0b1(cos.f64 x)
Compiler

Compiled 78 to 47 computations (39.7% saved)

regimes10.0ms (0.2%)

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

3 calls:

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

Compiled 61 to 36 computations (41% saved)

regimes6.0ms (0.1%)

Accuracy

Total -0.0b remaining (-3.5%)

Threshold costs -0.0b (-3.5%)

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

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
0.3b1x
Compiler

Compiled 13 to 8 computations (38.5% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
14×*-commutative
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01990
12790
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (*.f64 x x))
Outputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 (*.f64 x x) 1/2))
(*.f64 x (*.f64 1/2 x))
(*.f64 x (*.f64 x 1/2))
(*.f64 1/2 (*.f64 x x))
(*.f64 (*.f64 x x) 1/2)
Compiler

Compiled 36 to 23 computations (36.1% saved)

soundness99.0ms (1.9%)

Algorithm
egg-herbie
Rules
932×associate-/l*
906×associate-*r*
896×times-frac
852×distribute-lft-in
792×*-commutative
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
095817
1232757
2782687
33180687
Stop Event
node limit
Compiler

Compiled 52 to 25 computations (51.9% saved)

end46.0ms (0.9%)

Compiler

Compiled 33 to 19 computations (42.4% saved)

Profiling

Loading profile data...