Numeric.SpecFunctions:logGammaCorrection from math-functions-0.1.5.2

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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)

sample470.0ms (40.3%)

Memory
49.9MiB live, 569.5MiB allocated; 88ms collecting garbage
Samples
282.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 126.0ms
ival-mult!: 99.0ms (78.8% of total)
ival-sub!: 25.0ms (19.9% of total)
adjust: 2.0ms (1.6% of total)
Bogosity

preprocess85.0ms (7.3%)

Memory
-45.4MiB live, 53.1MiB allocated; 50ms 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 14 to 12 computations (14.3% saved)

series3.0ms (0.2%)

Memory
5.3MiB live, 5.3MiB allocated; 0ms collecting garbage
Counts
6 → 6
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 (* (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)

rewrite74.0ms (6.4%)

Memory
18.3MiB live, 111.0MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02282
02580
19680
052975
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
12 → 87
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 (* (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 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x))

eval7.0ms (0.6%)

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

Compiled 931 to 209 computations (77.6% saved)

prune7.0ms (0.6%)

Memory
-37.9MiB live, 6.9MiB allocated; 7ms collecting garbage
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283
Accuracy
100.0%
Counts
83 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
48.4%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 15 to 12 computations (20% saved)

series2.0ms (0.2%)

Memory
5.7MiB live, 5.7MiB allocated; 0ms collecting garbage
Counts
5 → 6
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
x
(+.f64 x x)
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 #s(hole binary64 x))
#s(approx (+ x x) #s(hole binary64 (* 2 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
@0
((- (* (* x x) 2) 1) -1 (+ (* x (+ x x)) -1) x (+ x x))
1.0ms
x
@-inf
((- (* (* x x) 2) 1) -1 (+ (* x (+ x x)) -1) x (+ x x))
1.0ms
x
@inf
((- (* (* x x) 2) 1) -1 (+ (* x (+ x x)) -1) x (+ x x))

rewrite99.0ms (8.5%)

Memory
22.5MiB live, 115.2MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02386
02684
112129
094929
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
11 → 11
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
x
(+.f64 x x)
#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 #s(hole binary64 x))
#s(approx (+ x x) #s(hole binary64 (* 2 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
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(literal 1 binary64)
x
#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)
#s(approx (+ 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))

eval1.0ms (0.1%)

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

Compiled 56 to 21 computations (62.5% saved)

prune1.0ms (0.1%)

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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New437
Fresh000
Picked022
Done000
Total459
Accuracy
100.0%
Counts
9 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
51.1%
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
31.7%
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 #s(literal 1 binary64) x) x))
3.1%
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
48.4%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 45 to 36 computations (20% saved)

series2.0ms (0.2%)

Memory
6.9MiB live, 6.9MiB allocated; 0ms collecting garbage
Counts
10 → 7
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 #s(literal 1 binary64) x) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
#s(approx (+ 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 (* (* 1 x) x) #s(hole binary64 (pow x 2)))
#s(approx (* 1 x) #s(hole binary64 x))
#s(approx (+ x x) #s(hole binary64 (* 2 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) 2 (- (* (* x x) 2) 1) (* (* 1 x) x) (* 1 x) 1 x (+ (* x (+ x x)) -1) (+ x x) -1)
1.0ms
x
@inf
((- (* (* x x) 2) 1) 2 (- (* (* x x) 2) 1) (* (* 1 x) x) (* 1 x) 1 x (+ (* x (+ x x)) -1) (+ x x) -1)
0.0ms
x
@0
((- (* (* x x) 2) 1) 2 (- (* (* x x) 2) 1) (* (* 1 x) x) (* 1 x) 1 x (+ (* x (+ x x)) -1) (+ x x) -1)

rewrite57.0ms (4.9%)

Memory
-19.8MiB live, 72.9MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
030124
034106
113042
0103542
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
17 → 36
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 #s(literal 1 binary64) x) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
#s(approx (+ 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 (* (* 1 x) x) #s(hole binary64 (pow x 2)))
#s(approx (* 1 x) #s(hole binary64 x))
#s(approx (+ x x) #s(hole binary64 (* 2 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
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (* (* x x) 2) 1) x)
x
#s(literal 1 binary64)
x
#s(literal 1 binary64)
x
#s(literal 1 binary64)
x
#s(literal 1 binary64)
(/.f64 (-.f64 x (*.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64)))) (-.f64 #s(literal -1 binary64) (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64))) (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64))) (neg.f64 (fma.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64)) (-.f64 x (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))))))
(/.f64 (fma.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64)) (-.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64)))
(/.f64 (fma.f64 (*.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64))) (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64)) (+.f64 x (-.f64 (*.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64))) (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64)))))
(/.f64 (fma.f64 (*.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64))) (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64)) (fma.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64)) (-.f64 x (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64)))))
(fma.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) x #s(literal -1 binary64))
(fma.f64 #s(approx (+ x x) #s(literal 2 binary64)) x #s(literal -1 binary64))
(fma.f64 x (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64))
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
(-.f64 (/.f64 (*.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64))) (-.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64))) (/.f64 x (-.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64))))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 #s(approx (+ x x) #s(literal 2 binary64))) x))
(-.f64 #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) #s(approx (+ x x) #s(literal 2 binary64))))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64))) (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x)) (fma.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64)) (-.f64 x (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))))) (/.f64 #s(literal -1 binary64) (fma.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(approx (+ x x) #s(literal 2 binary64)) (-.f64 x (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))))))
(+.f64 (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x) #s(literal -1 binary64))
(+.f64 #s(literal -1 binary64) (*.f64 #s(approx (+ x x) #s(literal 2 binary64)) x))
#s(approx (+ x 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) x)
#s(approx (- (* (* x x) 2) 1) x)
#s(approx (- (* (* x x) 2) 1) x)
#s(approx (+ x x) #s(literal 2 binary64))
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
#s(approx (- (* (* x x) 2) 1) x)

eval2.0ms (0.2%)

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

Compiled 409 to 52 computations (87.3% saved)

prune2.0ms (0.2%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New17118
Fresh000
Picked033
Done022
Total17623
Accuracy
100.0%
Counts
23 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
51.1%
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
31.7%
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 #s(literal 1 binary64) x) x))
4.7%
#s(approx (- (* (* x x) 2) 1) x)
3.1%
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
48.4%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 54 to 43 computations (20.4% saved)

series1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated; 0ms collecting garbage
Counts
2 → 5
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) x)
x
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 #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
0.0ms
x
@inf
((- (* (* x x) 2) 1) x)
0.0ms
x
@-inf
((- (* (* x x) 2) 1) x)
0.0ms
x
@0
((- (* (* x x) 2) 1) x)

rewrite78.0ms (6.7%)

Memory
-0.7MiB live, 94.0MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01969
01967
18667
051961
Stop Event
iter-limit
iter-limit
iter-limit
unsound
saturated
Counts
7 → 7
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) x)
x
#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 #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
#s(approx (- (* (* x x) 2) 1) x)
x
#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)
#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))

eval1.0ms (0%)

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

Compiled 57 to 22 computations (61.4% saved)

prune2.0ms (0.2%)

Memory
6.0MiB live, 5.9MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New314
Fresh000
Picked011
Done145
Total4610
Accuracy
100.0%
Counts
10 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x (+.f64 x x) #s(literal -1 binary64))
51.1%
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
52.5%
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
4.7%
#s(approx (- (* (* x x) 2) 1) x)
3.1%
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
48.4%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 128 to 67 computations (47.7% saved)

regimes16.0ms (1.3%)

Memory
-17.3MiB live, 28.8MiB allocated; 8ms collecting garbage
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
#s(approx (- (* (* x x) 2) 1) x)
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 #s(literal 1 binary64) 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:

7.0ms
(*.f64 (*.f64 x x) #s(literal 2 binary64))
3.0ms
x
2.0ms
(*.f64 x x)
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 16 to 13 computations (18.8% saved)

regimes9.0ms (0.8%)

Memory
23.3MiB live, 23.3MiB allocated; 0ms collecting garbage
Counts
6 → 2
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
#s(approx (- (* (* x x) 2) 1) x)
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) (*.f64 x (+.f64 x x)))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 #s(literal 1 binary64) 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:

2.0ms
x
2.0ms
(*.f64 x 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
99.1%2(*.f64 x x)
99.1%2(*.f64 (*.f64 x x) #s(literal 2 binary64))
99.1%2(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
99.1%2x
Compiler

Compiled 16 to 13 computations (18.8% saved)

regimes12.0ms (1%)

Memory
-26.4MiB live, 19.4MiB allocated; 6ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(literal 2 binary64))
#s(approx (- (* (* x x) 2) 1) x)
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
Outputs
(fma.f64 x #s(approx (+ x x) #s(literal 2 binary64)) #s(literal -1 binary64))
Calls

4 calls:

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

Compiled 16 to 13 computations (18.8% saved)

regimes6.0ms (0.5%)

Memory
19.5MiB live, 19.5MiB 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(literal 2 binary64))
#s(approx (- (* (* x x) 2) 1) x)
Outputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) x)
Calls

4 calls:

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

Compiled 16 to 13 computations (18.8% saved)

regimes5.0ms (0.4%)

Memory
14.4MiB live, 14.4MiB 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(literal 2 binary64))
Outputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #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
50.3%2x
50.3%2(*.f64 x x)
50.3%2(*.f64 (*.f64 x x) #s(literal 2 binary64))
50.3%2(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Compiler

Compiled 16 to 13 computations (18.8% saved)

regimes10.0ms (0.9%)

Memory
-42.8MiB live, 13.1MiB allocated; 6ms 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:

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

Compiled 16 to 13 computations (18.8% saved)

bsearch10.0ms (0.8%)

Memory
16.7MiB live, 16.7MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
9.0ms
1.4816144486072554e-5
4.047920404007436
Samples
4.0ms144×0valid
Compiler

Compiled 208 to 181 computations (13% saved)

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

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-0.9999999995609637
31.77131919435945
Compiler

Compiled 10 to 10 computations (0% saved)

bsearch13.0ms (1.1%)

Memory
22.8MiB live, 22.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
12.0ms
-0.9999999995609637
31.77131919435945
Samples
4.0ms256×0valid
Compiler

Compiled 298 to 298 computations (0% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
adjust: 0.0ms (0% of total)

derivations31.0ms (2.6%)

Memory
-18.5MiB live, 27.7MiB allocated; 8ms collecting garbage
Stop Event
fuel
Compiler

Compiled 105 to 31 computations (70.5% saved)

preprocess160.0ms (13.7%)

Memory
-7.0MiB live, 152.7MiB allocated; 116ms collecting garbage
Remove

(abs x)

Compiler

Compiled 322 to 169 computations (47.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...