Numeric.SpecFunctions:logGammaCorrection from math-functions-0.1.5.2

Time bar (total: 2.4s)

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)

sample805.0ms (33.8%)

Memory
23.6MiB live, 1 058.4MiB allocated; 397ms collecting garbage
Samples
533.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 183.0ms
ival-mult: 122.0ms (66.5% of total)
ival-sub: 43.0ms (23.4% of total)
exact: 8.0ms (4.4% of total)
ival-true: 5.0ms (2.7% of total)
ival-assert: 3.0ms (1.6% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

explain83.0ms (3.5%)

Memory
-11.5MiB live, 184.3MiB allocated; 13ms 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
40.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 28.0ms
ival-mult: 24.0ms (86.8% of total)
ival-sub: 2.0ms (7.2% of total)
exact: 1.0ms (3.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess163.0ms (6.9%)

Memory
-8.4MiB live, 192.2MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
12315
27315
321215
471014
5348814
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.5MiB live, 0.5MiB 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)

simplify138.0ms (5.8%)

Memory
4.4MiB live, 139.0MiB allocated; 40ms 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)

localize20.0ms (0.8%)

Memory
-15.4MiB live, 27.9MiB 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.01171875
(*.f64 (*.f64 x x) #s(literal 2 binary64))
Samples
11.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 (59.8% of total)
ival-sub: 1.0ms (19.9% 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
3.8MiB live, 3.8MiB allocated; 0ms collecting garbage
Counts
3 → 5
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
-1
(- (* 2 (pow x 2)) 1)
(* 2 (pow x 2))
(pow x 2)
(* (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))

simplify140.0ms (5.9%)

Memory
17.8MiB live, 162.1MiB allocated; 44ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01027
11727
24927
317727
489927
5715927
0815926
Stop Event
iter limit
node limit
Counts
5 → 5
Calls
Call 1
Inputs
-1
(- (* 2 (pow x 2)) 1)
(* 2 (pow x 2))
(pow x 2)
(* (pow x 2) (- 2 (/ 1 (pow x 2))))
Outputs
-1
#s(literal -1 binary64)
(- (* 2 (pow x 2)) 1)
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 2 (/ 1 (pow x 2))))
(*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)

rewrite46.0ms (1.9%)

Memory
26.5MiB live, 70.9MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
0915
13415
023414
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 60
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 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 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 #s(literal 8 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (+.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.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 (fma.f64 #s(literal 8 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))))
(fma.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 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) 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 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)) #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))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 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 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 3 binary64)) (+.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)))))
(-.f64 (*.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))
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)))
(*.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))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.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))
(+.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 (*.f64 x x) (*.f64 x x))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval28.0ms (1.2%)

Memory
-33.8MiB live, 11.8MiB allocated; 9ms collecting garbage
Compiler

Compiled 693 to 168 computations (75.8% saved)

prune3.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh000
Picked101
Done000
Total64266
Accuracy
100.0%
Counts
66 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
54.7%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 15 to 13 computations (13.3% saved)

simplify160.0ms (6.7%)

Memory
16.8MiB live, 153.4MiB allocated; 37ms collecting garbage
Localize:

Found 3 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
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01022
01322
12422
27022
326721
484621
5382721
0817121
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)
(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)
(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)

localize22.0ms (0.9%)

Memory
-6.6MiB live, 37.8MiB allocated; 8ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
accuracy0.0
(*.f64 x x)
accuracy29.010338090795635
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Samples
16.0ms256×0valid
Compiler

Compiled 23 to 10 computations (56.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-sub: 5.0ms (50.7% of total)
ival-mult: 3.0ms (30.4% of total)
ival-add: 1.0ms (10.1% 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)

series1.0ms (0.1%)

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

3 calls:

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

simplify151.0ms (6.3%)

Memory
7.8MiB live, 207.3MiB allocated; 40ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01027
11727
24927
317727
489927
5715227
0815226
Stop Event
iter limit
node limit
Counts
5 → 5
Calls
Call 1
Inputs
-1
(- (* 2 (pow x 2)) 1)
(pow x 2)
(* 2 (pow x 2))
(* (pow x 2) (- 2 (/ 1 (pow x 2))))
Outputs
-1
#s(literal -1 binary64)
(- (* 2 (pow x 2)) 1)
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (- 2 (/ 1 (pow x 2))))
(*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)

rewrite79.0ms (3.3%)

Memory
-1.3MiB live, 95.2MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01018
01318
14817
033617
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 46
Calls
Call 1
Inputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(*.f64 x x)
Outputs
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #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 (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -2 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 (+.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal 1 binary64)))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)))))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (+.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))))
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))))
(fma.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 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) x) x #s(literal -1 binary64))
(fma.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal -1 binary64) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #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 (*.f64 x x) #s(literal 2 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 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))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.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)) (+.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)))))
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 2 binary64)))
(-.f64 #s(literal -1 binary64) (*.f64 #s(literal -2 binary64) (*.f64 x x)))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (/.f64 #s(literal -1 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -2 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)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval8.0ms (0.3%)

Memory
-21.8MiB live, 22.8MiB allocated; 3ms collecting garbage
Compiler

Compiled 602 to 128 computations (78.7% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New49150
Fresh000
Picked022
Done000
Total49352
Accuracy
100.0%
Counts
52 → 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.6%
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
54.7%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 28 to 23 computations (17.9% saved)

simplify143.0ms (6%)

Memory
0.6MiB live, 190.4MiB allocated; 25ms 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-diff0
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
01123
12123
25823
320423
466623
5404523
0854822
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#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)
Outputs
#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)

localize15.0ms (0.6%)

Memory
19.6MiB live, 19.6MiB allocated; 0ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.01171875
(*.f64 (*.f64 x x) #s(literal 2 binary64))
accuracy34.15061659203144
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Samples
10.0ms256×0valid
Compiler

Compiled 19 to 8 computations (57.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (60.5% of total)
ival-sub: 1.0ms (20.2% 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
3.5MiB live, 3.5MiB allocated; 0ms collecting garbage
Counts
3 → 5
Calls
Call 1
Inputs
#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)
Outputs
-1
(- (* 2 (pow x 2)) 1)
(* 2 (pow x 2))
(pow x 2)
(* (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))
0.0ms
x
@0
((- (* (* x x) 2) 1) (* (* x x) 2) (* x x))

simplify132.0ms (5.5%)

Memory
-15.3MiB live, 130.7MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01027
11727
24927
317727
489927
5715227
0815226
Stop Event
iter limit
node limit
Counts
5 → 5
Calls
Call 1
Inputs
-1
(- (* 2 (pow x 2)) 1)
(* 2 (pow x 2))
(pow x 2)
(* (pow x 2) (- 2 (/ 1 (pow x 2))))
Outputs
-1
#s(literal -1 binary64)
(- (* 2 (pow x 2)) 1)
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 2 (/ 1 (pow x 2))))
(*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)

rewrite36.0ms (1.5%)

Memory
-6.2MiB live, 40.1MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
01121
13621
023620
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 41
Calls
Call 1
Inputs
#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)
Outputs
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 2 binary64) x) x)
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)))
(*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.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 #s(literal 2 binary64) x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.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 #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 (*.f64 x x) (*.f64 x x))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval5.0ms (0.2%)

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

Compiled 712 to 133 computations (81.3% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New46046
Fresh000
Picked011
Done022
Total46349
Accuracy
100.0%
Counts
49 → 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.6%
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
54.7%
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64))
Compiler

Compiled 63 to 38 computations (39.7% saved)

regimes9.0ms (0.4%)

Memory
-28.0MiB live, 17.9MiB allocated; 3ms 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:

2.0ms
x
2.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
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)

regimes5.0ms (0.2%)

Memory
11.3MiB live, 11.3MiB 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) (*.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:

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

Compiled 16 to 13 computations (18.8% saved)

regimes4.0ms (0.2%)

Memory
9.9MiB live, 9.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 (*.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
54.7%1(*.f64 x x)
54.7%1(*.f64 (*.f64 x x) #s(literal 2 binary64))
54.7%1(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64))
54.7%1x
Compiler

Compiled 16 to 13 computations (18.8% saved)

bsearch14.0ms (0.6%)

Memory
21.4MiB live, 21.4MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
12.0ms
2.3186427852705794e-10
117.53530214980604
Samples
6.0ms160×0valid
Compiler

Compiled 230 to 210 computations (8.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (63.9% of total)
ival-sub: 1.0ms (32% 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)

simplify63.0ms (2.7%)

Memory
-29.9MiB live, 71.7MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01541
12541
26241
321741
4109341
5445741
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 799388933858263/1125899906842624 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 799388933858263/1125899906842624 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))

derivations57.0ms (2.4%)

Memory
29.0MiB live, 73.9MiB allocated; 9ms collecting garbage
Stop Event
done
Compiler

Compiled 41 to 16 computations (61% saved)

preprocess46.0ms (1.9%)

Memory
-10.9MiB live, 33.8MiB allocated; 10ms 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...