Numeric.SpecFunctions:logGammaCorrection from math-functions-0.1.5.2

Time bar (total: 2.4s)

start0.0ms (0%)

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

sample771.0ms (32.5%)

Memory
17.1MiB live, 1 103.9MiB allocated; 185ms collecting garbage
Samples
506.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 286.0ms
ival-mult: 141.0ms (49.3% of total)
ival-sub: 127.0ms (44.4% of total)
exact: 8.0ms (2.8% of total)
ival-true: 5.0ms (1.7% of total)
ival-assert: 3.0ms (1% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain136.0ms (5.7%)

Memory
29.9MiB live, 172.7MiB allocated; 80ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
00-0-#s(literal 2 binary64)
00-0-#s(literal 1 binary64)
00-0-(*.f64 (*.f64 x x) #s(literal 2 binary64))
00-0-(*.f64 x x)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
23.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 7.0ms (64.8% of total)
ival-sub: 3.0ms (27.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess205.0ms (8.6%)

Memory
-9.9MiB live, 215.4MiB allocated; 74ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
12922
28322
323722
475721
5387821
067
097
1197
2567
32027
46607
540367
085356
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Outputs
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))
Symmetry

(abs x)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.9MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify188.0ms (7.9%)

Memory
-1.5MiB live, 144.0MiB allocated; 39ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(literal 2 binary64))
cost-diff1
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
11918
25618
320218
466018
5403618
0853517
Stop Event
iter limit
node limit
iter limit
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
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x x)
x
#s(literal 2 binary64)
#s(literal 1 binary64)

localize22.0ms (0.9%)

Memory
-3.9MiB live, 40.4MiB allocated; 11ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
accuracy0.0
(*.f64 x x)
accuracy0.00390625
(*.f64 (*.f64 x x) #s(literal 2 binary64))
Samples
17.0ms256×0valid
Compiler

Compiled 20 to 8 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (56.4% of total)
ival-sub: 1.0ms (18.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
6.6MiB live, 6.7MiB allocated; 0ms collecting garbage
Counts
3 → 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)
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 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))
1.0ms
x
@-inf
((- (* (* x x) 2) 1) (* (* x x) 2) (* x x))
1.0ms
x
@0
((- (* (* x x) 2) 1) (* (* x x) 2) (* x x))

simplify175.0ms (7.4%)

Memory
10.6MiB live, 202.6MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01974
13474
210674
334474
4129974
5703674
0807969
Stop Event
iter limit
node limit
Counts
6 → 6
Calls
Call 1
Inputs
#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 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(hole binary64 -1))
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (- (* (* x x) 2) 1) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)))
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x))

rewrite151.0ms (6.3%)

Memory
-47.3MiB live, 138.4MiB allocated; 113ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
0915
110515
0125614
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
3 → 119
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)
Outputs
(*.f64 (fma.f64 (sqrt.f64 #s(literal 2 binary64)) x #s(literal 1 binary64)) (-.f64 (hypot.f64 x x) #s(literal 1 binary64)))
(*.f64 (neg.f64 (sinh.f64 (acosh.f64 (hypot.f64 x x)))) (neg.f64 (sinh.f64 (acosh.f64 (hypot.f64 x x)))))
(*.f64 (sinh.f64 (acosh.f64 (hypot.f64 x x))) (sinh.f64 (acosh.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))) #s(literal 2 binary64)) (cbrt.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))))
(*.f64 (cbrt.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))) (pow.f64 (cbrt.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))) #s(literal 2 binary64)))
(pow.f64 (sinh.f64 (acosh.f64 (hypot.f64 x x))) #s(literal 2 binary64))
(pow.f64 (pow.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) #s(literal 3 binary64)) #s(literal 1/3 binary64))
(pow.f64 (cbrt.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))) #s(literal 3 binary64))
(pow.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) #s(literal 1 binary64))
(/.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64))) (neg.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64) #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64))))
(fma.f64 (*.f64 #s(literal 2 binary64) (cbrt.f64 (pow.f64 x #s(literal 4 binary64)))) (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (*.f64 x x) (cbrt.f64 #s(literal 4 binary64))) (cbrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (hypot.f64 x x) #s(literal 1 binary64)) (*.f64 (hypot.f64 x x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (hypot.f64 x x)) (neg.f64 (hypot.f64 x x)) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64))
(fma.f64 (hypot.f64 x x) (*.f64 (hypot.f64 x x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (hypot.f64 x x) (hypot.f64 x x) #s(literal -1 binary64))
(fma.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)) #s(literal -1 binary64))
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64))
(fma.f64 (cbrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64))) (*.f64 (cbrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (cbrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64))) (cbrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) #s(literal -1 binary64))
(fma.f64 (cbrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64))) #s(literal -1 binary64))
(fma.f64 (cbrt.f64 (pow.f64 x #s(literal 4 binary64))) (*.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) (*.f64 (cbrt.f64 x) (*.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64))
(fma.f64 (cbrt.f64 #s(literal 4 binary64)) (*.f64 (cbrt.f64 #s(literal 2 binary64)) (*.f64 x x)) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64) #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 (*.f64 x x) #s(literal 2 binary64) #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 #s(literal 2 binary64) x) #s(literal -1 binary64))
(expm1.f64 (+.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal 2 binary64))) #s(literal 0 binary64)))
(expm1.f64 (*.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal 2 binary64))) #s(literal 1 binary64)))
(expm1.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal 2 binary64))))
(cbrt.f64 (pow.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) #s(literal 3 binary64)))
(sqrt.f64 (pow.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) #s(literal 2 binary64)))
(-.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64)) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64))))
(-.f64 (/.f64 (*.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64)) (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)))))
(-.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(exp.f64 (*.f64 (log.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))) #s(literal 1 binary64)))
(exp.f64 (log.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))))
(+.f64 (cosh.f64 (log.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)))) (sinh.f64 (log.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)))))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64))
(log.f64 (exp.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))))
(*.f64 (*.f64 #s(literal 2 binary64) (cbrt.f64 (pow.f64 x #s(literal 4 binary64)))) (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 x x) (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 x x) (cbrt.f64 #s(literal 4 binary64))) (cbrt.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 (hypot.f64 x x) #s(literal 1 binary64)) (*.f64 (hypot.f64 x x) #s(literal 1 binary64)))
(*.f64 (neg.f64 (hypot.f64 x x)) (neg.f64 (hypot.f64 x x)))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.f64 (hypot.f64 x x) (*.f64 (hypot.f64 x x) #s(literal 1 binary64)))
(*.f64 (hypot.f64 x x) (hypot.f64 x x))
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 #s(literal 2 binary64) x)))
(*.f64 (cbrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64))) (*.f64 (cbrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) #s(literal 1 binary64)))
(*.f64 (cbrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64))) (cbrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) (cbrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64))))
(*.f64 (cbrt.f64 (pow.f64 x #s(literal 4 binary64))) (*.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) #s(literal 2 binary64)))
(*.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) (*.f64 (cbrt.f64 x) (*.f64 #s(literal 2 binary64) x)))
(*.f64 (cbrt.f64 #s(literal 4 binary64)) (*.f64 (cbrt.f64 #s(literal 2 binary64)) (*.f64 x x)))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(*.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)))
(*.f64 x (*.f64 #s(literal 2 binary64) x))
(pow.f64 (hypot.f64 x x) #s(literal 2 binary64))
(pow.f64 (*.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64)) #s(literal 1/3 binary64))
(pow.f64 (cbrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) #s(literal 3 binary64))
(pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))
(fma.f64 (*.f64 x (pow.f64 (cbrt.f64 x) #s(literal 2 binary64))) (cbrt.f64 x) (*.f64 x x))
(fma.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x) (*.f64 x x))
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x #s(literal 4 binary64))) (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) (*.f64 x x))
(fma.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) (*.f64 (cbrt.f64 x) x) (*.f64 x x))
(fma.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) (cbrt.f64 (pow.f64 x #s(literal 4 binary64))) (*.f64 x x))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x)))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 x x (*.f64 x x))
(cbrt.f64 (*.f64 (*.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64)) #s(literal 1 binary64)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64)))
(sqrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 4 binary64)))
(exp.f64 (+.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal 2 binary64))) #s(literal 0 binary64)))
(exp.f64 (*.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal 2 binary64))) #s(literal 1 binary64)))
(exp.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal 2 binary64))))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal 1 binary64)))
(+.f64 (cosh.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal 2 binary64)))) (sinh.f64 (fma.f64 #s(literal 2 binary64) (log.f64 x) (log.f64 #s(literal 2 binary64)))))
(+.f64 (*.f64 x x) (*.f64 x x))
(log.f64 (pow.f64 (E.f64) (*.f64 #s(literal 2 binary64) (*.f64 x x))))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) #s(literal 2 binary64)))
(*.f64 (*.f64 x (pow.f64 (cbrt.f64 x) #s(literal 2 binary64))) (cbrt.f64 x))
(*.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x))
(*.f64 (cbrt.f64 (pow.f64 x #s(literal 4 binary64))) (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)))
(*.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) (*.f64 (cbrt.f64 x) x))
(*.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) (cbrt.f64 (pow.f64 x #s(literal 4 binary64))))
(*.f64 x x)
(pow.f64 (pow.f64 x (sqrt.f64 #s(literal 2 binary64))) (sqrt.f64 #s(literal 2 binary64)))
(pow.f64 (pow.f64 x (cbrt.f64 #s(literal 4 binary64))) (cbrt.f64 #s(literal 2 binary64)))
(pow.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/3 binary64))
(pow.f64 (pow.f64 (cbrt.f64 x) #s(literal 2 binary64)) #s(literal 3 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)))
(sqrt.f64 (pow.f64 x #s(literal 4 binary64)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (*.f64 #s(literal 2 binary64) (log.f64 x)) #s(literal 1 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(exp.f64 (*.f64 #s(literal 2 binary64) (log.f64 x)))
(+.f64 (cosh.f64 (*.f64 #s(literal 2 binary64) (log.f64 x))) (sinh.f64 (*.f64 #s(literal 2 binary64) (log.f64 x))))
(log.f64 (pow.f64 (exp.f64 x) x))

eval20.0ms (0.8%)

Memory
-18.0MiB live, 34.4MiB allocated; 13ms collecting garbage
Compiler

Compiled 1 389 to 314 computations (77.4% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1223125
Fresh000
Picked101
Done000
Total1233126
Accuracy
100.0%
Counts
126 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
46.8%
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
53.6%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 28 to 23 computations (17.9% saved)

simplify159.0ms (6.7%)

Memory
3.1MiB live, 142.2MiB allocated; 28ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(literal 2 binary64))
cost-diff0
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
cost-diff0
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01245
01545
12645
27245
327243
484743
5383343
0818043
Stop Event
iter limit
node limit
iter limit
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 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
#s(literal -1 binary64)
Outputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
#s(literal -1 binary64)

localize34.0ms (1.4%)

Memory
-8.6MiB live, 34.4MiB allocated; 11ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 x x)
accuracy0.00390625
(*.f64 (*.f64 x x) #s(literal 2 binary64))
accuracy34.07168180447763
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
accuracy29.665937498072328
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Samples
14.0ms256×0valid
Compiler

Compiled 40 to 10 computations (75% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (57.7% of total)
ival-sub: 1.0ms (14.4% of total)
ival-add: 1.0ms (14.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

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

simplify190.0ms (8%)

Memory
25.7MiB live, 212.7MiB allocated; 40ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024130
143130
2128130
3437130
41522130
57500130
08487120
Stop Event
iter limit
node limit
Counts
10 → 10
Calls
Call 1
Inputs
#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 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) 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) 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(hole binary64 -1))
#s(approx (+ (* (* x x) 2) -1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (+ (* (* x x) 2) -1) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)))
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (+ (* (* x x) 2) -1) #s(hole binary64 -1))
#s(approx (+ (* (* x x) 2) -1) #s(literal -1 binary64))
#s(approx (+ (* (* x x) 2) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1)))
#s(approx (+ (* (* x x) 2) -1) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (+ (* (* x x) 2) -1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
#s(approx (+ (* (* x x) 2) -1) (*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x))
#s(approx (+ (* (* x x) 2) -1) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (+ (* (* x x) 2) -1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (+ (* (* x x) 2) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2))))))
#s(approx (+ (* (* x x) 2) -1) (*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x))

rewrite28.0ms (1.2%)

Memory
-26.6MiB live, 66.4MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01236
01536
017236
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 48
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
Outputs
(*.f64 (sqrt.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))) (sqrt.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))))
(*.f64 (*.f64 (cbrt.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))) (cbrt.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)))) (cbrt.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))))
(pow.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(literal 1 binary64))
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
(cbrt.f64 (*.f64 (*.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))))
(exp.f64 (log.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))))
(log.f64 (exp.f64 #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))))
(*.f64 (sqrt.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) (sqrt.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))))
(*.f64 (*.f64 (cbrt.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) (cbrt.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))))) (cbrt.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))))
(pow.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1 binary64))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(cbrt.f64 (*.f64 (*.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))))
(exp.f64 (log.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))))
(log.f64 (exp.f64 #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))))
(*.f64 (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))))
(*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) (cbrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))) (cbrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 x x))
(*.f64 x (*.f64 x #s(literal 2 binary64)))
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
(cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (*.f64 (*.f64 x x) #s(literal 2 binary64))))
(exp.f64 (log.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))))
(log.f64 (exp.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 (*.f64 x x)))
(*.f64 (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (*.f64 x x))) (cbrt.f64 (*.f64 x x)))
(*.f64 x x)
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(cbrt.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x)))
(exp.f64 (log.f64 (*.f64 x x)))
(log.f64 (exp.f64 (*.f64 x x)))
(*.f64 (sqrt.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))))
(*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))) (cbrt.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)))) (cbrt.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))))
(pow.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal -1 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal -1 binary64)))))
(fma.f64 (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal -1 binary64))
(fma.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) (cbrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)))) (cbrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal -1 binary64))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64))
(fma.f64 x (*.f64 x #s(literal 2 binary64)) #s(literal -1 binary64))
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))))
(exp.f64 (log.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal -1 binary64))
(+.f64 #s(literal -1 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(log.f64 (exp.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))))

eval9.0ms (0.4%)

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

Compiled 1 021 to 156 computations (84.7% saved)

prune28.0ms (1.2%)

Memory
-39.5MiB live, 13.5MiB allocated; 9ms collecting garbage
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New65065
Fresh000
Picked033
Done000
Total65368
Accuracy
100.0%
Counts
68 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
46.8%
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
53.6%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 63 to 38 computations (39.7% saved)

regimes9.0ms (0.4%)

Memory
34.1MiB live, 34.1MiB allocated; 0ms 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) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
Outputs
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
Calls

4 calls:

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

regimes26.0ms (1.1%)

Memory
-21.0MiB live, 23.1MiB allocated; 5ms 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) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Outputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Calls

4 calls:

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

Compiled 16 to 13 computations (18.8% saved)

regimes4.0ms (0.2%)

Memory
18.9MiB live, 18.9MiB allocated; 0ms 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:

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

Compiled 16 to 13 computations (18.8% saved)

bsearch14.0ms (0.6%)

Memory
-10.8MiB live, 34.7MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
12.0ms
0.6242984392147577
403.24994067973626
Samples
5.0ms128×0valid
Compiler

Compiled 186 to 170 computations (8.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (76.1% of total)
ival-sub: 1.0ms (38% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify50.0ms (2.1%)

Memory
19.6MiB live, 65.3MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01541
15541
210041
329141
4125041
5506641
Stop Event
node limit
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(if (<=.f64 x #s(literal 3152519739159347/4503599627370496 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))))
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Outputs
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(if (<=.f64 x #s(literal 3152519739159347/4503599627370496 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))))
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))

derivations111.0ms (4.7%)

Memory
-24.0MiB live, 82.7MiB allocated; 20ms collecting garbage
Stop Event
done
Compiler

Compiled 41 to 16 computations (61% saved)

preprocess35.0ms (1.5%)

Memory
-13.7MiB live, 31.8MiB allocated; 5ms collecting garbage
Remove

(abs x)

Compiler

Compiled 108 to 54 computations (50% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...