Numeric.SpecFunctions:logGammaCorrection from math-functions-0.1.5.2

Time bar (total: 1.1s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
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 8 computations (11.1% saved)

sample627.0ms (55.8%)

Memory
14.1MiB live, 837.8MiB allocated; 247ms collecting garbage
Samples
451.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 287.0ms
ival-mult!: 203.0ms (70.7% of total)
ival-sub!: 82.0ms (28.6% of total)
adjust: 1.0ms (0.3% of total)
Bogosity

preprocess58.0ms (5.1%)

Memory
-23.2MiB live, 36.3MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01122
13222
29422
329721
4167221
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Symmetry

(abs x)

Compiler

Compiled 12 to 12 computations (0% saved)

series3.0ms (0.3%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Counts
6 → 7
Calls
Call 1
Inputs
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
#s(literal 1 binary64)
Outputs
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((- (* (* x x) 2) 1) (* (* x x) 2) (* x x) x 2 1)
1.0ms
x
@-inf
((- (* (* x x) 2) 1) (* (* x x) 2) (* x x) x 2 1)
1.0ms
x
@0
((- (* (* x x) 2) 1) (* (* x x) 2) (* x x) x 2 1)

rewrite70.0ms (6.2%)

Memory
15.9MiB live, 108.1MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02395
02693
19893
054187
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
13 → 88
Calls
Call 1
Inputs
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
Outputs
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 4 binary64) #s(literal -1 binary64))) (neg.f64 (fma.f64 x (+.f64 x x) #s(literal 1 binary64))))
(/.f64 (neg.f64 (expm1.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x x))) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 4 binary64) (fma.f64 x (+.f64 x x) #s(literal 1 binary64)))))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 4 binary64) #s(literal -1 binary64)) (fma.f64 x (+.f64 x x) #s(literal 1 binary64)))
(/.f64 (expm1.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x x))) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 4 binary64) (fma.f64 x (+.f64 x x) #s(literal 1 binary64))))
(fma.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (+.f64 (fabs.f64 x) (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (+.f64 (neg.f64 x) (neg.f64 x)) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 (*.f64 x (+.f64 x x)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 x (+.f64 x x)) #s(literal -1 binary64))
(fma.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))
(fma.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
(fma.f64 x (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))
(fma.f64 x x (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 4 binary64)) (fma.f64 x (+.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x (+.f64 x x) #s(literal 1 binary64))))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 4 binary64)) (*.f64 x (+.f64 x x))) (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 4 binary64) (fma.f64 x (+.f64 x x) #s(literal 1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 4 binary64) (fma.f64 x (+.f64 x x) #s(literal 1 binary64)))))
(-.f64 (*.f64 x (+.f64 x x)) #s(literal 1 binary64))
(+.f64 (*.f64 x (+.f64 x x)) #s(literal -1 binary64))
(+.f64 (*.f64 x x) (-.f64 (*.f64 x x) #s(literal 1 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)))
(*.f64 (fabs.f64 x) (+.f64 (fabs.f64 x) (fabs.f64 x)))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (neg.f64 x) (+.f64 (neg.f64 x) (neg.f64 x)))
(*.f64 (*.f64 x (+.f64 x x)) #s(literal 1 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x (+.f64 x x)))
(*.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)))
(*.f64 x (+.f64 x x))
(*.f64 x (*.f64 #s(literal 2 binary64) x))
(/.f64 (*.f64 (*.f64 x (+.f64 x x)) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x)))))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x)))
(fma.f64 x x (*.f64 x x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x)))
(+.f64 (*.f64 x x) (*.f64 x x))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
x
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) (fma.f64 x (+.f64 x x) #s(literal -1 binary64)))
#s(approx (* (* x x) 2) (*.f64 x (+.f64 x x)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x))

eval8.0ms (0.7%)

Memory
17.2MiB live, 17.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 470 to 210 computations (55.3% saved)

prune3.0ms (0.3%)

Memory
5.4MiB live, 5.4MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New80383
Fresh000
Picked101
Done000
Total81384
Accuracy
100.0%
Counts
84 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
51.2%
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
49.9%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 21 to 21 computations (0% saved)

series11.0ms (1%)

Memory
-39.9MiB live, 6.8MiB allocated; 2ms collecting garbage
Counts
7 → 11
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
(*.f64 x (+.f64 x x))
x
(+.f64 x x)
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
Outputs
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx x #s(hole binary64 x))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (+ (* x (+ x x)) -1) #s(hole binary64 -1))
#s(approx (+ (* x (+ x x)) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
#s(approx (+ (* x (+ x x)) -1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (+ (* x (+ x x)) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
Calls

3 calls:

TimeVariablePointExpression
8.0ms
x
@inf
((- (* (* x x) 2) 1) -1 (- (* (* x x) 2) 1) (* x (+ x x)) x (+ x x) (+ (* x (+ x x)) -1))
2.0ms
x
@-inf
((- (* (* x x) 2) 1) -1 (- (* (* x x) 2) 1) (* x (+ x x)) x (+ x x) (+ (* x (+ x x)) -1))
1.0ms
x
@0
((- (* (* x x) 2) 1) -1 (- (* (* x x) 2) 1) (* x (+ x x)) x (+ x x) (+ (* x (+ x x)) -1))

rewrite103.0ms (9.2%)

Memory
25.3MiB live, 121.9MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
032167
036169
113352
098052
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
18 → 18
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
(*.f64 x (+.f64 x x))
x
(+.f64 x x)
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx x #s(hole binary64 x))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (+ (* x (+ x x)) -1) #s(hole binary64 -1))
#s(approx (+ (* x (+ x x)) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
#s(approx (+ (* x (+ x x)) -1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (+ (* x (+ x x)) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
Outputs
#s(approx (+ (* x (+ x x)) -1) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (+ (* x (+ x x)) -1) #s(literal 2 binary64))
#s(literal 2 binary64)
x
#s(literal 2 binary64)
#s(literal 1 binary64)
#s(approx (+ (* x (+ x x)) -1) #s(literal -1 binary64))
#s(approx (+ (* x (+ x x)) -1) #s(literal 1 binary64))
#s(approx (* x (+ x x)) #s(literal 2 binary64))
#s(approx x x)
#s(approx (* x (+ x x)) #s(literal 2 binary64))
#s(approx (+ (* x (+ x x)) -1) #s(literal -1 binary64))
#s(approx (+ (* x (+ x x)) -1) #s(literal 1 binary64))
#s(approx (+ (* x (+ x x)) -1) #s(literal 2 binary64))
#s(approx (+ (* x (+ x x)) -1) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
#s(approx (+ (* x (+ x x)) -1) #s(literal 2 binary64))
#s(approx (+ (* x (+ x x)) -1) (*.f64 (*.f64 x x) #s(literal 1 binary64)))

eval1.0ms (0.1%)

Memory
2.9MiB live, 2.9MiB allocated; 0ms collecting garbage
Compiler

Compiled 44 to 27 computations (38.6% saved)

prune1.0ms (0.1%)

Memory
3.9MiB live, 3.9MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New819
Fresh000
Picked033
Done000
Total8412
Accuracy
100.0%
Counts
12 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
51.2%
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
3.0%
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
49.9%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 32 to 32 computations (0% saved)

series2.0ms (0.1%)

Memory
4.0MiB live, 4.0MiB allocated; 0ms collecting garbage
Counts
3 → 5
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
#s(approx (* x (+ x x)) #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (* (* x x) 2) 1) (* x (+ x x)) 2)
1.0ms
x
@inf
((- (* (* x x) 2) 1) (* x (+ x x)) 2)
0.0ms
x
@0
((- (* (* x x) 2) 1) (* x (+ x x)) 2)

rewrite79.0ms (7%)

Memory
-8.6MiB live, 81.0MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02290
02284
110028
080728
Stop Event
iter-limit
iter-limit
iter-limit
unsound
saturated
Counts
8 → 8
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
#s(approx (* x (+ x x)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
Outputs
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
#s(approx (* x (+ x x)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(literal 1 binary64))
#s(approx (* x (+ x x)) #s(literal 2 binary64))
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 #s(literal 1 binary64) x) x))

eval0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Compiler

Compiled 19 to 13 computations (31.6% saved)

prune2.0ms (0.2%)

Memory
4.2MiB live, 4.2MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New303
Fresh000
Picked011
Done033
Total347
Accuracy
100.0%
Counts
7 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
51.2%
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
3.0%
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
49.9%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 58 to 53 computations (8.6% saved)

regimes23.0ms (2.1%)

Memory
-54.3MiB live, 19.9MiB allocated; 18ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Outputs
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
Calls

4 calls:

17.0ms
(*.f64 x x)
2.0ms
x
2.0ms
(*.f64 (*.f64 x x) #s(literal 2 binary64))
2.0ms
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
100.0%1(*.f64 x x)
100.0%1(*.f64 (*.f64 x x) #s(literal 2 binary64))
100.0%1(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
100.0%1x
Compiler

Compiled 13 to 13 computations (0% saved)

regimes14.0ms (1.3%)

Memory
31.8MiB live, 31.8MiB allocated; 0ms collecting garbage
Counts
3 → 2
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
Outputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
Calls

4 calls:

10.0ms
x
1.0ms
(*.f64 (*.f64 x x) #s(literal 2 binary64))
1.0ms
(*.f64 x x)
1.0ms
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
99.3%2(*.f64 x x)
99.3%2(*.f64 (*.f64 x x) #s(literal 2 binary64))
99.3%2(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
99.3%2x
Compiler

Compiled 13 to 13 computations (0% saved)

regimes5.0ms (0.4%)

Memory
13.2MiB live, 13.2MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
Outputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(approx (* x (+ x x)) #s(literal 2 binary64)))
Calls

4 calls:

1.0ms
x
1.0ms
(*.f64 (*.f64 x x) #s(literal 2 binary64))
1.0ms
(*.f64 x x)
1.0ms
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
51.7%2(*.f64 x x)
51.7%2(*.f64 (*.f64 x x) #s(literal 2 binary64))
51.7%2(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
51.7%2x
Compiler

Compiled 13 to 13 computations (0% saved)

regimes7.0ms (0.6%)

Memory
-35.3MiB live, 11.8MiB allocated; 2ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Outputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Calls

4 calls:

4.0ms
x
1.0ms
(*.f64 (*.f64 x x) #s(literal 2 binary64))
1.0ms
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
49.9%1(*.f64 x x)
49.9%1(*.f64 (*.f64 x x) #s(literal 2 binary64))
49.9%1(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
49.9%1x
Compiler

Compiled 13 to 13 computations (0% saved)

bsearch10.0ms (0.9%)

Memory
17.9MiB live, 17.9MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
9.0ms
5.467606560636069e-6
61.65538645741389
Samples
4.0ms144×0valid
Compiler

Compiled 163 to 181 computations (-11% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-mult!: 1.0ms (62.4% of total)
ival-sub!: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)

bsearch1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
1.0ms
5.467606560636069e-6
61.65538645741389
Compiler

Compiled 181 to 199 computations (-9.9% saved)

derivations10.0ms (0.9%)

Memory
12.4MiB live, 12.4MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 27 to 21 computations (22.2% saved)

preprocess85.0ms (7.6%)

Memory
-37.2MiB live, 55.3MiB allocated; 6ms collecting garbage
Remove

(abs x)

Compiler

Compiled 129 to 111 computations (14% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...