Numeric.SpecFunctions:logGammaCorrection from math-functions-0.1.5.2

Time bar (total: 1.4s)

analyze0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

sample879.0ms (60.7%)

Results
640.0ms6184×body256valid
227.0ms2072×body256infinite
Bogosity

preprocess28.0ms (1.9%)

Algorithm
egg-herbie
Rules
200×fma-def
38×associate-*r*
34×distribute-lft-neg-in
24×associate-*l*
22×distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01330
13330
27030
314830
423430
532430
634930
735430
835730
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 (*.f64 x x) 2) 1)
(-.f64 (*.f64 (*.f64 (neg.f64 x) (neg.f64 x)) 2) 1)
Outputs
(-.f64 (*.f64 (*.f64 x x) 2) 1)
(fma.f64 (*.f64 x x) 2 -1)
(fma.f64 x (*.f64 x 2) -1)
(-.f64 (*.f64 (*.f64 (neg.f64 x) (neg.f64 x)) 2) 1)
(fma.f64 (*.f64 x x) 2 -1)
(fma.f64 x (*.f64 x 2) -1)
Symmetry

(abs x)

Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative
fma-def
1-exp
fma-neg
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11915
22515
32615
Stop Event
saturated
Counts
1 → 3
Calls
Call 1
Inputs
(-.f64 (*.f64 (*.f64 x x) 2) 1)
Outputs
(-.f64 (*.f64 (*.f64 x x) 2) 1)
(fma.f64 (*.f64 x x) 2 -1)
(fma.f64 x (*.f64 x 2) -1)

eval1.0ms (0%)

Compiler

Compiled 20 to 13 computations (35% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New123
Fresh011
Picked000
Done000
Total134
Accurracy
100.0%
Counts
4 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize37.0ms (2.6%)

Local Accuracy

Found 2 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.f64 (*.f64 x x) 2)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
Compiler

Compiled 32 to 19 computations (40.6% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite60.0ms (4.1%)

Algorithm
batch-egg-rewrite
Rules
1492×pow1
1384×add-exp-log
1380×log1p-expm1-u
1380×expm1-log1p-u
1362×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0828
116928
2201328
Stop Event
node limit
Counts
2 → 46
Calls
Call 1
Inputs
(-.f64 (*.f64 (*.f64 x x) 2) 1)
(*.f64 (*.f64 x x) 2)
Outputs
(+.f64 (*.f64 x (*.f64 x 2)) -1)
(+.f64 -1 (*.f64 x (*.f64 x 2)))
(*.f64 1 (fma.f64 x (*.f64 x 2) -1))
(*.f64 (fma.f64 x (*.f64 x 2) -1) 1)
(*.f64 (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)) (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2)))
(*.f64 (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2)) (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)))
(*.f64 (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)) (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)))
(*.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (/.f64 1 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1))))
(*.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (/.f64 1 (fma.f64 x (*.f64 x 2) 1)))
(*.f64 (+.f64 (*.f64 x (sqrt.f64 2)) 1) (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(/.f64 1 (/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1)) (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1)))
(/.f64 1 (/.f64 (fma.f64 x (*.f64 x 2) 1) (+.f64 (*.f64 4 (pow.f64 x 4)) -1)))
(/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1)))
(/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (+.f64 (*.f64 4 (pow.f64 x 4)) (-.f64 1 (*.f64 (*.f64 x (*.f64 x 2)) -1))))
(/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (fma.f64 x (*.f64 x 2) 1))
(/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (-.f64 (*.f64 x (*.f64 x 2)) -1))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1)) (neg.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1))))
(/.f64 (neg.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1)) (neg.f64 (fma.f64 x (*.f64 x 2) 1)))
(pow.f64 (fma.f64 x (*.f64 x 2) -1) 1)
(pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)) 3)
(pow.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)) 2)
(sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2))
(log.f64 (exp.f64 (fma.f64 x (*.f64 x 2) -1)))
(cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 3))
(expm1.f64 (log.f64 (*.f64 x (*.f64 x 2))))
(exp.f64 (log.f64 (fma.f64 x (*.f64 x 2) -1)))
(log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x 2) -1)))
(fma.f64 x (*.f64 x 2) -1)
(fma.f64 (*.f64 x x) 2 -1)
(fma.f64 2 (*.f64 x x) -1)
(fma.f64 1 (*.f64 x (*.f64 x 2)) -1)
(fma.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 (*.f64 x (*.f64 x 2))) -1)
(fma.f64 (*.f64 x (sqrt.f64 2)) (*.f64 x (sqrt.f64 2)) -1)
(+.f64 1 (fma.f64 x (*.f64 x 2) -1))
(-.f64 (fma.f64 x (*.f64 x 2) 1) 1)
(pow.f64 (*.f64 x (*.f64 x 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 2))))
(exp.f64 (log.f64 (*.f64 x (*.f64 x 2))))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 2))))

simplify70.0ms (4.9%)

Algorithm
egg-herbie
Rules
1006×distribute-lft-neg-in
988×log-prod
850×fma-def
692×unswap-sqr
548×div-sub
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01011364
12241304
29011284
346041254
Stop Event
node limit
Counts
70 → 57
Calls
Call 1
Inputs
-1
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(*.f64 2 (pow.f64 x 2))
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(*.f64 2 (pow.f64 x 2))
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 x (*.f64 x 2)) -1)
(+.f64 -1 (*.f64 x (*.f64 x 2)))
(*.f64 1 (fma.f64 x (*.f64 x 2) -1))
(*.f64 (fma.f64 x (*.f64 x 2) -1) 1)
(*.f64 (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)) (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2)))
(*.f64 (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2)) (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)))
(*.f64 (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)) (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)))
(*.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (/.f64 1 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1))))
(*.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (/.f64 1 (fma.f64 x (*.f64 x 2) 1)))
(*.f64 (+.f64 (*.f64 x (sqrt.f64 2)) 1) (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(/.f64 1 (/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1)) (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1)))
(/.f64 1 (/.f64 (fma.f64 x (*.f64 x 2) 1) (+.f64 (*.f64 4 (pow.f64 x 4)) -1)))
(/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1)))
(/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (+.f64 (*.f64 4 (pow.f64 x 4)) (-.f64 1 (*.f64 (*.f64 x (*.f64 x 2)) -1))))
(/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (fma.f64 x (*.f64 x 2) 1))
(/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (-.f64 (*.f64 x (*.f64 x 2)) -1))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1)) (neg.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1))))
(/.f64 (neg.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1)) (neg.f64 (fma.f64 x (*.f64 x 2) 1)))
(pow.f64 (fma.f64 x (*.f64 x 2) -1) 1)
(pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)) 3)
(pow.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)) 2)
(sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2))
(log.f64 (exp.f64 (fma.f64 x (*.f64 x 2) -1)))
(cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 3))
(expm1.f64 (log.f64 (*.f64 x (*.f64 x 2))))
(exp.f64 (log.f64 (fma.f64 x (*.f64 x 2) -1)))
(log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x 2) -1)))
(fma.f64 x (*.f64 x 2) -1)
(fma.f64 (*.f64 x x) 2 -1)
(fma.f64 2 (*.f64 x x) -1)
(fma.f64 1 (*.f64 x (*.f64 x 2)) -1)
(fma.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 (*.f64 x (*.f64 x 2))) -1)
(fma.f64 (*.f64 x (sqrt.f64 2)) (*.f64 x (sqrt.f64 2)) -1)
(+.f64 1 (fma.f64 x (*.f64 x 2) -1))
(-.f64 (fma.f64 x (*.f64 x 2) 1) 1)
(pow.f64 (*.f64 x (*.f64 x 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 2))))
(exp.f64 (log.f64 (*.f64 x (*.f64 x 2))))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 2))))
Outputs
-1
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(-.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) -1)
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(+.f64 (*.f64 x (*.f64 x 2)) -1)
(fma.f64 2 (*.f64 x x) -1)
(+.f64 -1 (*.f64 x (*.f64 x 2)))
(fma.f64 2 (*.f64 x x) -1)
(*.f64 1 (fma.f64 x (*.f64 x 2) -1))
(fma.f64 2 (*.f64 x x) -1)
(*.f64 (fma.f64 x (*.f64 x 2) -1) 1)
(fma.f64 2 (*.f64 x x) -1)
(*.f64 (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)) (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2)))
(fma.f64 2 (*.f64 x x) -1)
(*.f64 (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2)) (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)))
(fma.f64 2 (*.f64 x x) -1)
(*.f64 (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)) (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)))
(fma.f64 2 (*.f64 x x) -1)
(*.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (/.f64 1 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1))))
(*.f64 (+.f64 -1 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) (/.f64 1 (fma.f64 4 (pow.f64 x 4) (fma.f64 x (*.f64 2 x) 1))))
(/.f64 (+.f64 -1 (*.f64 8 (pow.f64 (*.f64 x x) 3))) (fma.f64 4 (pow.f64 x 4) (fma.f64 2 (*.f64 x x) 1)))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 x x) 3) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 8 (pow.f64 x 6) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(*.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (/.f64 1 (fma.f64 x (*.f64 x 2) 1)))
(*.f64 (fma.f64 4 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x (*.f64 2 x) 1)))
(/.f64 (fma.f64 4 (pow.f64 x 4) -1) (fma.f64 2 (*.f64 x x) 1))
(/.f64 (fma.f64 (pow.f64 x 4) -4 1) (fma.f64 x (*.f64 x -2) -1))
(*.f64 (+.f64 (*.f64 x (sqrt.f64 2)) 1) (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(fma.f64 2 (*.f64 x x) -1)
(/.f64 1 (/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1)) (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1)))
(*.f64 (+.f64 -1 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) (/.f64 1 (fma.f64 4 (pow.f64 x 4) (fma.f64 x (*.f64 2 x) 1))))
(/.f64 (+.f64 -1 (*.f64 8 (pow.f64 (*.f64 x x) 3))) (fma.f64 4 (pow.f64 x 4) (fma.f64 2 (*.f64 x x) 1)))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 x x) 3) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 8 (pow.f64 x 6) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 1 (/.f64 (fma.f64 x (*.f64 x 2) 1) (+.f64 (*.f64 4 (pow.f64 x 4)) -1)))
(*.f64 (fma.f64 4 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x (*.f64 2 x) 1)))
(/.f64 (fma.f64 4 (pow.f64 x 4) -1) (fma.f64 2 (*.f64 x x) 1))
(/.f64 (fma.f64 (pow.f64 x 4) -4 1) (fma.f64 x (*.f64 x -2) -1))
(/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1)))
(*.f64 (+.f64 -1 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) (/.f64 1 (fma.f64 4 (pow.f64 x 4) (fma.f64 x (*.f64 2 x) 1))))
(/.f64 (+.f64 -1 (*.f64 8 (pow.f64 (*.f64 x x) 3))) (fma.f64 4 (pow.f64 x 4) (fma.f64 2 (*.f64 x x) 1)))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 x x) 3) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 8 (pow.f64 x 6) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1) (+.f64 (*.f64 4 (pow.f64 x 4)) (-.f64 1 (*.f64 (*.f64 x (*.f64 x 2)) -1))))
(*.f64 (+.f64 -1 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) (/.f64 1 (fma.f64 4 (pow.f64 x 4) (fma.f64 x (*.f64 2 x) 1))))
(/.f64 (+.f64 -1 (*.f64 8 (pow.f64 (*.f64 x x) 3))) (fma.f64 4 (pow.f64 x 4) (fma.f64 2 (*.f64 x x) 1)))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 x x) 3) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 8 (pow.f64 x 6) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (fma.f64 x (*.f64 x 2) 1))
(*.f64 (fma.f64 4 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x (*.f64 2 x) 1)))
(/.f64 (fma.f64 4 (pow.f64 x 4) -1) (fma.f64 2 (*.f64 x x) 1))
(/.f64 (fma.f64 (pow.f64 x 4) -4 1) (fma.f64 x (*.f64 x -2) -1))
(/.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1) (-.f64 (*.f64 x (*.f64 x 2)) -1))
(*.f64 (fma.f64 4 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x (*.f64 2 x) 1)))
(/.f64 (fma.f64 4 (pow.f64 x 4) -1) (fma.f64 2 (*.f64 x x) 1))
(/.f64 (fma.f64 (pow.f64 x 4) -4 1) (fma.f64 x (*.f64 x -2) -1))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) -1)) (neg.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) (fma.f64 x (*.f64 x 2) 1))))
(*.f64 (+.f64 -1 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) (/.f64 1 (fma.f64 4 (pow.f64 x 4) (fma.f64 x (*.f64 2 x) 1))))
(/.f64 (+.f64 -1 (*.f64 8 (pow.f64 (*.f64 x x) 3))) (fma.f64 4 (pow.f64 x 4) (fma.f64 2 (*.f64 x x) 1)))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 x x) 3) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 8 (pow.f64 x 6) -1) (fma.f64 2 (*.f64 x x) (fma.f64 4 (pow.f64 x 4) 1)))
(/.f64 (neg.f64 (+.f64 (*.f64 4 (pow.f64 x 4)) -1)) (neg.f64 (fma.f64 x (*.f64 x 2) 1)))
(*.f64 (fma.f64 4 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x (*.f64 2 x) 1)))
(/.f64 (fma.f64 4 (pow.f64 x 4) -1) (fma.f64 2 (*.f64 x x) 1))
(/.f64 (fma.f64 (pow.f64 x 4) -4 1) (fma.f64 x (*.f64 x -2) -1))
(pow.f64 (fma.f64 x (*.f64 x 2) -1) 1)
(fma.f64 2 (*.f64 x x) -1)
(pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 2) -1)) 3)
(fma.f64 2 (*.f64 x x) -1)
(pow.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 3) 1/3)
(fma.f64 2 (*.f64 x x) -1)
(pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x 2) -1)) 2)
(fma.f64 2 (*.f64 x x) -1)
(sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 2))
(fma.f64 2 (*.f64 x x) -1)
(log.f64 (exp.f64 (fma.f64 x (*.f64 x 2) -1)))
(fma.f64 2 (*.f64 x x) -1)
(cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 2) -1) 3))
(fma.f64 2 (*.f64 x x) -1)
(expm1.f64 (log.f64 (*.f64 x (*.f64 x 2))))
(fma.f64 2 (*.f64 x x) -1)
(exp.f64 (log.f64 (fma.f64 x (*.f64 x 2) -1)))
(fma.f64 2 (*.f64 x x) -1)
(log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x 2) -1)))
(fma.f64 2 (*.f64 x x) -1)
(fma.f64 x (*.f64 x 2) -1)
(fma.f64 2 (*.f64 x x) -1)
(fma.f64 (*.f64 x x) 2 -1)
(fma.f64 2 (*.f64 x x) -1)
(fma.f64 2 (*.f64 x x) -1)
(fma.f64 1 (*.f64 x (*.f64 x 2)) -1)
(fma.f64 2 (*.f64 x x) -1)
(fma.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4))) (cbrt.f64 (*.f64 x (*.f64 x 2))) -1)
(fma.f64 2 (*.f64 x x) -1)
(fma.f64 (*.f64 x (sqrt.f64 2)) (*.f64 x (sqrt.f64 2)) -1)
(fma.f64 2 (*.f64 x x) -1)
(+.f64 1 (fma.f64 x (*.f64 x 2) -1))
(*.f64 2 (*.f64 x x))
(-.f64 (fma.f64 x (*.f64 x 2) 1) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (*.f64 x 2)) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2))) 3)
(*.f64 2 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3) 1/3)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(*.f64 2 (*.f64 x x))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(*.f64 2 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 2)) 3))
(*.f64 2 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 2))))
(*.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 x (*.f64 x 2))))
(*.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 2))))
(*.f64 2 (*.f64 x x))

eval17.0ms (1.2%)

Compiler

Compiled 677 to 518 computations (23.5% saved)

prune11.0ms (0.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New55257
Fresh000
Picked022
Done000
Total55459
Accurracy
100.0%
Counts
59 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
53.7%
(*.f64 2 (*.f64 x x))
46.9%
-1
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
53.7%
(*.f64 2 (*.f64 x x))
46.9%
-1
Compiler

Compiled 46 to 34 computations (26.1% saved)

localize19.0ms (1.3%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.f64 2 (*.f64 x x))
Compiler

Compiled 12 to 6 computations (50% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite47.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
1042×pow1
1004×add-sqr-sqrt
956×add-exp-log
956×log1p-expm1-u
956×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112113
2136213
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 2 (*.f64 x x))
Outputs
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))

simplify56.0ms (3.9%)

Algorithm
egg-herbie
Rules
2150×log-prod
1058×distribute-lft-in
1054×distribute-rgt-in
808×associate-*r*
692×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036299
189299
2318299
32143299
47034299
Stop Event
node limit
Counts
23 → 13
Calls
Call 1
Inputs
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
Outputs
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(*.f64 2 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(*.f64 2 (*.f64 x x))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(*.f64 2 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(*.f64 2 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))

eval3.0ms (0.2%)

Compiler

Compiled 92 to 60 computations (34.8% saved)

prune5.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New13013
Fresh011
Picked011
Done022
Total13417
Accurracy
100.0%
Counts
17 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
53.7%
(*.f64 2 (*.f64 x x))
46.9%
-1
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
53.7%
(*.f64 2 (*.f64 x x))
46.9%
-1
Compiler

Compiled 46 to 34 computations (26.1% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune5.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Accurracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
53.7%
(*.f64 2 (*.f64 x x))
46.9%
-1
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
53.7%
(*.f64 2 (*.f64 x x))
46.9%
-1
Compiler

Compiled 46 to 34 computations (26.1% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Accurracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (*.f64 x 2) -1)
100.0%
(-.f64 (*.f64 (*.f64 x x) 2) 1)
53.7%
(*.f64 2 (*.f64 x x))
46.9%
-1
Compiler

Compiled 43 to 30 computations (30.2% saved)

regimes15.0ms (1%)

Counts
4 → 1
Calls
Call 1
Inputs
-1
(*.f64 2 (*.f64 x x))
(-.f64 (*.f64 (*.f64 x x) 2) 1)
(fma.f64 x (*.f64 x 2) -1)
Outputs
(fma.f64 x (*.f64 x 2) -1)
Calls

4 calls:

4.0ms
x
4.0ms
(*.f64 x x)
3.0ms
(*.f64 (*.f64 x x) 2)
2.0ms
(-.f64 (*.f64 (*.f64 x x) 2) 1)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (*.f64 (*.f64 x x) 2) 1)
100.0%1(*.f64 (*.f64 x x) 2)
100.0%1(*.f64 x x)
Compiler

Compiled 40 to 26 computations (35% saved)

regimes13.0ms (0.9%)

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

4 calls:

4.0ms
x
3.0ms
(*.f64 (*.f64 x x) 2)
3.0ms
(*.f64 x x)
2.0ms
(-.f64 (*.f64 (*.f64 x x) 2) 1)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (*.f64 (*.f64 x x) 2) 1)
100.0%1(*.f64 (*.f64 x x) 2)
100.0%1(*.f64 x x)
Compiler

Compiled 34 to 22 computations (35.3% saved)

regimes17.0ms (1.2%)

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

2 calls:

9.0ms
(*.f64 x x)
7.0ms
x
Results
AccuracySegmentsBranch
98.9%2x
98.9%2(*.f64 x x)
Compiler

Compiled 13 to 8 computations (38.5% saved)

regimes3.0ms (0.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
-1
Outputs
-1
Calls

1 calls:

3.0ms
x
Results
AccuracySegmentsBranch
46.9%1x
Compiler

Compiled 4 to 3 computations (25% saved)

bsearch10.0ms (0.7%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
10.0ms
0.4982283488306095
53.083097748472504
Results
9.0ms112×body256valid
Compiler

Compiled 68 to 58 computations (14.7% saved)

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Rules
*-commutative
sub-neg
*-rgt-identity
mul-1-neg
1-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01964
12664
22964
33464
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 x (*.f64 x 2) -1)
(-.f64 (*.f64 (*.f64 x x) 2) 1)
(if (<=.f64 (*.f64 x x) 1/2) -1 (*.f64 2 (*.f64 x x)))
-1
Outputs
(fma.f64 x (*.f64 x 2) -1)
(-.f64 (*.f64 (*.f64 x x) 2) 1)
(-.f64 (*.f64 2 (*.f64 x x)) 1)
(+.f64 (*.f64 2 (*.f64 x x)) -1)
(if (<=.f64 (*.f64 x x) 1/2) -1 (*.f64 2 (*.f64 x x)))
-1
Compiler

Compiled 30 to 21 computations (30% saved)

soundness98.0ms (6.8%)

Rules
1006×distribute-lft-neg-in
988×log-prod
850×fma-def
692×unswap-sqr
548×div-sub
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11915
22515
32615
01011364
12241304
29011284
346041254
Stop Event
node limit
saturated
Compiler

Compiled 39 to 28 computations (28.2% saved)

end0.0ms (0%)

preprocess38.0ms (2.6%)

Remove

(abs x)

Compiler

Compiled 84 to 56 computations (33.3% saved)

Profiling

Loading profile data...