Details

Time bar (total: 6.1s)

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.2s (69.1%)

Results
3.1s4439×body2048valid
832.0ms2096×body1024valid
230.0ms998×body512valid
72.0ms723×body256valid
Bogosity

preprocess14.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11111
21511
32211
42911
53911
65011
76211
86511
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)

simplify15.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11111
21511
32211
42911
53911
65011
76211
86511
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
Accurracy
54.4%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
54.4%
(-.f64 1 (cos.f64 x))
Compiler

Compiled 5 to 4 computations (20% saved)

localize4.0ms (0.1%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
95.5%
(-.f64 1 (cos.f64 x))
Compiler

Compiled 9 to 5 computations (44.4% saved)

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

rewrite114.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
1386×pow1
1278×add-exp-log
1278×log1p-expm1-u
1278×expm1-log1p-u
1252×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114011
2169111
Stop Event
node limit
Counts
1 → 28
Calls
Call 1
Inputs
(-.f64 1 (cos.f64 x))
Outputs
(+.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 (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 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (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 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))
(pow.f64 (-.f64 1 (cos.f64 x)) 1)
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)
(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))))
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))

simplify53.0ms (0.9%)

Algorithm
egg-herbie
Rules
1070×associate-/l*
998×div-sub
824×distribute-lft-in
782×distribute-rgt-in
724×associate-/r*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
093800
1231740
2679670
33306670
Stop Event
node limit
Counts
32 → 44
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 (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 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (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 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))
(pow.f64 (-.f64 1 (cos.f64 x)) 1)
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)
(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))))
(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)))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x)))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6))))
(fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/2 (*.f64 x x) (*.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/720 (pow.f64 x 6) (fma.f64 -1/24 (pow.f64 x 4) (*.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 (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 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.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 (+.f64 1 (cos.f64 x))))
(/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 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 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.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 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 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 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.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 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 1) (+.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 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.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 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 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 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 (+.f64 1 (cos.f64 x)) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (+.f64 (cos.f64 x) (pow.f64 (cos.f64 x) 2))))
(/.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 (*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) 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)))
(pow.f64 (-.f64 1 (cos.f64 x)) 1)
(-.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))
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)
(-.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))))
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x))))
(-.f64 1 (cos.f64 x))

eval9.0ms (0.1%)

Compiler

Compiled 491 to 309 computations (37.1% saved)

prune32.0ms (0.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New41344
Fresh000
Picked011
Done000
Total41445
Accurracy
100.0%
Counts
45 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
54.4%
(-.f64 1 (cos.f64 x))
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
99.6%
(*.f64 1/2 (*.f64 x x))
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize4.0ms (0.1%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.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))

rewrite92.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
1058×pow1
1024×add-sqr-sqrt
976×add-exp-log
976×log1p-expm1-u
976×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112213
2138313
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 1/2 (*.f64 x x))
Outputs
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(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))))

simplify58.0ms (0.9%)

Algorithm
egg-herbie
Rules
2120×log-prod
1106×distribute-rgt-in
1092×distribute-lft-in
768×associate-*r*
688×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038299
190299
2319299
32131299
47005299
Stop Event
node limit
Counts
23 → 13
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 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(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 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)
(*.f64 1/2 (*.f64 x x))
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1)
(*.f64 1/2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(*.f64 1/2 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(*.f64 1/2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(*.f64 1/2 (*.f64 x x))
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(*.f64 1/2 (*.f64 x x))
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))
(*.f64 1/2 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))
(*.f64 1/2 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))

localize8.0ms (0.1%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
Compiler

Compiled 19 to 12 computations (36.8% saved)

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

rewrite74.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
1766×pow1
1626×add-exp-log
1626×log1p-expm1-u
1626×expm1-log1p-u
1590×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
118721
2221321
Stop Event
node limit
Counts
1 → 15
Calls
Call 1
Inputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
Outputs
(-.f64 (+.f64 1 (*.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 (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)
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 2)
(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))))
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3))
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)))
(cbrt.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) (pow.f64 (sin.f64 x) 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)))))
(log1p.f64 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))

simplify59.0ms (1%)

Algorithm
egg-herbie
Rules
1178×log-prod
1122×fma-def
760×distribute-rgt-out
676×distribute-rgt-in
662×distribute-lft-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
071935
1160857
2437779
32079779
45873779
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 (+.f64 1 (*.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 (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)
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 2)
(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))))
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3))
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)))
(cbrt.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) (pow.f64 (sin.f64 x) 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)))))
(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))))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8)))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/720 (pow.f64 x 6)))))
(/.f64 (*.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 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x)))
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(-.f64 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 1)
(+.f64 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 x)))
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))))
(/.f64 (*.f64 (sin.f64 (*.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 x) (cos.f64 (*.f64 1/2 x))) (sin.f64 (*.f64 1/2 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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)))
(+.f64 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))
(cbrt.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) (pow.f64 (sin.f64 x) 3)))
(+.f64 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.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 (+.f64 1 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))) -1)
(+.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) 0)
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x)))

localize10.0ms (0.2%)

Local Accuracy

Found 2 expressions with local accuracy:

NewAccuracyProgram
100.0%
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
99.9%
(*.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
(*.f64 -1/24 (pow.f64 x 4))

rewrite66.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
1828×pow1
1694×add-exp-log
1694×log1p-expm1-u
1694×expm1-log1p-u
1656×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01140
122540
2239640
Stop Event
node limit
Counts
2 → 32
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
(-.f64 (+.f64 1 (*.f64 -1/24 (pow.f64 x 4))) 1)
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1)
(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)
(pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2)
(sqrt.f64 (*.f64 (pow.f64 x 8) 1/576))
(log.f64 (pow.f64 (exp.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))))
(log1p.f64 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4))))
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 (*.f64 1/2 x) x))
(+.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 (*.f64 (*.f64 1/2 x) x) 1) (*.f64 -1/24 (pow.f64 x 4)))
(-.f64 (+.f64 1 (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 (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 (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 (+.f64 (pow.f64 (*.f64 (*.f64 1/2 x) x) 3) (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 (*.f64 1/2 x) x)) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4))))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 (*.f64 1/2 x) x)) (*.f64 (pow.f64 x 8) 1/576)) (-.f64 (*.f64 (*.f64 1/2 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 (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)
(pow.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2)
(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)))))
(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)))))
(log1p.f64 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))

simplify64.0ms (1%)

Algorithm
egg-herbie
Rules
902×fma-neg
890×fma-def
758×cancel-sign-sub-inv
742×log-prod
736×unswap-sqr
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0861152
12191106
210021086
342771078
Stop Event
node limit
Counts
44 → 47
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 (+.f64 1 (*.f64 -1/24 (pow.f64 x 4))) 1)
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1)
(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)
(pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2)
(sqrt.f64 (*.f64 (pow.f64 x 8) 1/576))
(log.f64 (pow.f64 (exp.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))))
(log1p.f64 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4))))
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 (*.f64 1/2 x) x))
(+.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 (*.f64 (*.f64 1/2 x) x) 1) (*.f64 -1/24 (pow.f64 x 4)))
(-.f64 (+.f64 1 (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 (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 (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 (+.f64 (pow.f64 (*.f64 (*.f64 1/2 x) x) 3) (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 (*.f64 1/2 x) x)) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4))))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 (*.f64 1/2 x) x)) (*.f64 (pow.f64 x 8) 1/576)) (-.f64 (*.f64 (*.f64 1/2 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 (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)
(pow.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2)
(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)))))
(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)))))
(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 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 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 -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 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 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 -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 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 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 1 (*.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 (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))
(pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2)
(*.f64 -1/24 (pow.f64 x 4))
(sqrt.f64 (*.f64 (pow.f64 x 8) 1/576))
(*.f64 -1/24 (pow.f64 x 4))
(log.f64 (pow.f64 (exp.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))
(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 (*.f64 1/2 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 1/2 (*.f64 x x)))
(+.f64 (*.f64 (*.f64 1/2 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 1/2 (*.f64 x x)))
(+.f64 (*.f64 (*.f64 (*.f64 1/2 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 1/2 (*.f64 x x)))
(-.f64 (+.f64 1 (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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 1/2 x) x) 3) (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 (*.f64 1/2 x) x)) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4))))))
(/.f64 (+.f64 (*.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3)) (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) (fma.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x)) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))
(/.f64 (fma.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3) (pow.f64 (*.f64 x (*.f64 1/2 x)) 3)) (+.f64 (*.f64 (pow.f64 x 4) 1/4) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) -1/48)))))
(/.f64 (fma.f64 -1/13824 (pow.f64 (*.f64 x x) 6) (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) (fma.f64 (pow.f64 x 8) 1/576 (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (*.f64 x x) 1/48) 1/4))))
(/.f64 (*.f64 (pow.f64 x 6) (+.f64 (*.f64 -1/13824 (pow.f64 x 6)) 1/8)) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/48 -1/4))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 (*.f64 1/2 x) x)) (*.f64 (pow.f64 x 8) 1/576)) (-.f64 (*.f64 (*.f64 1/2 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 (*.f64 (pow.f64 x 4) 1/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 8) -1/576 (*.f64 (pow.f64 x 4) 1/4)) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 1/2 (*.f64 x x))))
(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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x 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 1/2 (*.f64 x x)))

eval62.0ms (1%)

Compiler

Compiled 1235 to 851 computations (31.1% saved)

prune11.0ms (0.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New90393
Fresh000
Picked101
Done123
Total92597
Accurracy
100.0%
Counts
97 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
54.4%
(-.f64 1 (cos.f64 x))
100.0%
(+.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4)))
99.9%
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
99.6%
(*.f64 x (*.f64 1/2 x))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize5.0ms (0.1%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

localize10.0ms (0.2%)

Local Accuracy

Found 2 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))
99.4%
(*.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
@-inf
(*.f64 x -1/24)
0.0ms
x
@0
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))
0.0ms
x
@0
(*.f64 x -1/24)

rewrite71.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
1838×pow1
1698×add-exp-log
1698×log1p-expm1-u
1698×expm1-log1p-u
1662×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
120334
2233534
Stop Event
node limit
Counts
2 → 26
Calls
Call 1
Inputs
(*.f64 x -1/24)
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))
Outputs
(-.f64 (+.f64 1 (*.f64 x -1/24)) 1)
(pow.f64 (*.f64 x -1/24) 1)
(pow.f64 (cbrt.f64 (*.f64 x -1/24)) 3)
(pow.f64 (pow.f64 (*.f64 x -1/24) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2)
(sqrt.f64 (pow.f64 (*.f64 x -1/24) 2))
(log.f64 (pow.f64 (exp.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)))
(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 (+.f64 1 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))) 1)
(pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 1)
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))) 3)
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -1/24) 1/2))) 2)
(sqrt.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 2))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -1/24) 1/2)))
(cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 3))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)))
(cbrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3) (pow.f64 (*.f64 x x) 3)))
(expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))))
(exp.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))))
(log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))))

simplify68.0ms (1.1%)

Algorithm
egg-herbie
Rules
1878×fma-def
1502×log-prod
816×associate-+r+
744×associate-+l+
720×unswap-sqr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078848
1199848
2755848
33107848
47009848
Stop Event
node limit
Counts
50 → 36
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 (+.f64 1 (*.f64 x -1/24)) 1)
(pow.f64 (*.f64 x -1/24) 1)
(pow.f64 (cbrt.f64 (*.f64 x -1/24)) 3)
(pow.f64 (pow.f64 (*.f64 x -1/24) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2)
(sqrt.f64 (pow.f64 (*.f64 x -1/24) 2))
(log.f64 (pow.f64 (exp.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)))
(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 (+.f64 1 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))) 1)
(pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 1)
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))) 3)
(pow.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -1/24) 1/2))) 2)
(sqrt.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 2))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -1/24) 1/2)))
(cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) 3))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)))
(cbrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3) (pow.f64 (*.f64 x x) 3)))
(expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))))
(exp.f64 (log.f64 (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2))))
(log1p.f64 (expm1.f64 (*.f64 (*.f64 x 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 (*.f64 1/2 x) x)
(*.f64 x (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(-.f64 (+.f64 1 (*.f64 x -1/24)) 1)
(*.f64 -1/24 x)
(pow.f64 (*.f64 x -1/24) 1)
(*.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)
(pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2)
(*.f64 -1/24 x)
(sqrt.f64 (pow.f64 (*.f64 x -1/24) 2))
(*.f64 -1/24 x)
(log.f64 (pow.f64 (exp.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)
(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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(-.f64 (+.f64 1 (*.f64 (*.f64 x 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(pow.f64 (*.f64 (*.f64 x 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(pow.f64 (pow.f64 (*.f64 (*.f64 x 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(sqrt.f64 (pow.f64 (*.f64 (*.f64 x x) (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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(cbrt.f64 (pow.f64 (*.f64 (*.f64 x 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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(cbrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3) (pow.f64 (*.f64 x x) 3)))
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(expm1.f64 (log1p.f64 (*.f64 (*.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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(exp.f64 (log.f64 (*.f64 (*.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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(log1p.f64 (expm1.f64 (*.f64 (*.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 (*.f64 x x) (fma.f64 x (*.f64 -1/24 x) 1/2))
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (fma.f64 -1/24 (pow.f64 x 3) (*.f64 x 1/2)))

localize21.0ms (0.3%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
99.9%
(*.f64 -1/24 (pow.f64 x 4))
Compiler

Compiled 32 to 23 computations (28.1% saved)

eval13.0ms (0.2%)

Compiler

Compiled 569 to 373 computations (34.4% saved)

prune6.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New46147
Fresh000
Picked101
Done224
Total49352
Accurracy
100.0%
Counts
52 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
99.6%
(*.f64 x (*.f64 1/2 x))
Compiler

Compiled 30 to 19 computations (36.7% saved)

localize14.0ms (0.2%)

Local Accuracy

Found 4 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.f64 1/2 (*.f64 x x))
99.9%
(*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x))
99.9%
(*.f64 x (*.f64 x -1/24))
99.4%
(*.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))

rewrite58.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
1496×pow1
1382×add-exp-log
1382×log1p-expm1-u
1382×expm1-log1p-u
1352×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0838
116526
2198926
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 x (*.f64 x -1/24))
(*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x))
Outputs
(-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)
(pow.f64 (*.f64 x (*.f64 x -1/24)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)
(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))))
(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 (cbrt.f64 (*.f64 (pow.f64 x 4) -1/24)) 3)
(pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3) 1/3)
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2)
(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)))
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24)))

simplify61.0ms (1%)

Algorithm
egg-herbie
Rules
1488×log-prod
1016×fma-def
852×distribute-rgt-in
810×distribute-lft-in
706×unswap-sqr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061598
1150598
2588598
31997598
47068598
Stop Event
node limit
Counts
46 → 25
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 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)
(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))))
(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 (cbrt.f64 (*.f64 (pow.f64 x 4) -1/24)) 3)
(pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3) 1/3)
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2)
(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)))
(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 (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))
(pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)
(*.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))
(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 (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))
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2)
(*.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))
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24)))
(*.f64 -1/24 (pow.f64 x 4))

eval12.0ms (0.2%)

Compiler

Compiled 815 to 470 computations (42.3% saved)

prune7.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New50050
Fresh000
Picked011
Done022
Total50353
Accurracy
100.0%
Counts
53 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
100.0%
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
99.6%
(*.f64 x (*.f64 1/2 x))
Compiler

Compiled 30 to 19 computations (36.7% saved)

regimes12.0ms (0.2%)

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 (*.f64 1/2 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:

7.0ms
x
2.0ms
(cos.f64 x)
2.0ms
(-.f64 1 (cos.f64 x))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 1 (cos.f64 x))
100.0%1(cos.f64 x)
Compiler

Compiled 78 to 48 computations (38.5% 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 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4)))
Outputs
(+.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4)))
Calls

3 calls:

5.0ms
x
2.0ms
(cos.f64 x)
2.0ms
(-.f64 1 (cos.f64 x))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 1 (cos.f64 x))
100.0%1(cos.f64 x)
Compiler

Compiled 61 to 37 computations (39.3% saved)

regimes12.0ms (0.2%)

Counts
5 → 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))
Outputs
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
Calls

3 calls:

5.0ms
(-.f64 1 (cos.f64 x))
4.0ms
x
2.0ms
(cos.f64 x)
Results
AccuracySegmentsBranch
99.9%1x
99.9%1(-.f64 1 (cos.f64 x))
99.9%1(cos.f64 x)
Compiler

Compiled 50 to 29 computations (42% saved)

regimes4.0ms (0.1%)

Accuracy

Total -0.0b remaining (-4.4%)

Threshold costs -0b (-4.4%)

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:

3.0ms
x
Results
AccuracySegmentsBranch
99.6%1x
Compiler

Compiled 13 to 8 computations (38.5% saved)

simplify6.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
024121
133121
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
(+.f64 (*.f64 (*.f64 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4)))
(+.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 1/2 x) x) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 x (*.f64 x 1/2)) (*.f64 -1/24 (pow.f64 x 4)))
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))
(*.f64 x (*.f64 1/2 x))
(*.f64 x (*.f64 x 1/2))
(*.f64 1/2 (*.f64 x x))
Compiler

Compiled 48 to 32 computations (33.3% saved)

soundness692.0ms (11.3%)

Rules
1838×pow1
1828×pow1
1698×add-exp-log
1698×log1p-expm1-u
1698×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114011
2169111
093800
1231740
2679670
33306670
093800
1231740
2679670
33306670
093800
1231740
2679670
33306670
0861152
12191106
210021086
342771078
071935
1160857
2437779
32079779
45873779
01034
120334
2233534
01140
122540
2239640
Stop Event
node limit
node limit
node limit
node limit
node limit
node limit
node limit
node limit
Compiler

Compiled 378 to 246 computations (34.9% saved)

end49.0ms (0.8%)

Compiler

Compiled 44 to 27 computations (38.6% saved)

Profiling

Loading profile data...