Data.Random.Dice:roll from dice-0.1

Time bar (total: 3.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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 7 to 6 computations (14.3% saved)

sample938.0ms (28.1%)

Memory
18.2MiB live, 817.0MiB allocated; 212ms collecting garbage
Samples
411.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 208.0ms
ival-mult: 124.0ms (59.7% of total)
ival-sub: 68.0ms (32.7% of total)
ival-true: 6.0ms (2.9% of total)
exact: 5.0ms (2.4% of total)
ival-assert: 3.0ms (1.4% of total)
adjust: 2.0ms (1% of total)
Bogosity

explain69.0ms (2.1%)

Memory
19.7MiB live, 63.2MiB allocated; 15ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 1 binary64)
00-0-(*.f64 x x)
00-0-(-.f64 (*.f64 x x) #s(literal 1 binary64))
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 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
ival-mult: 26.0ms (86.7% of total)
ival-sub: 3.0ms (10% 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)

preprocess345.0ms (10.3%)

Memory
-39.2MiB live, 259.2MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
12011
25911
313111
446210
5263810
6708910
045
065
1155
2425
31145
43765
523125
678645
080024
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
Outputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(fma.f64 x x #s(literal -1 binary64))
Symmetry

(abs x)

Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 4 computations (20% saved)

simplify185.0ms (5.5%)

Memory
6.3MiB live, 161.2MiB allocated; 18ms collecting garbage
Localize:

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11510
24210
311410
437610
5231210
6786410
080029
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
x
#s(literal 1 binary64)
Outputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(fma.f64 x x #s(literal -1 binary64))
(*.f64 x x)
x
#s(literal 1 binary64)

localize20.0ms (0.6%)

Memory
-20.0MiB live, 25.3MiB allocated; 5ms collecting garbage
Localize:

Found 2 expressions of interest:

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

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-mult: 10.0ms (86.9% of total)
ival-sub: 1.0ms (8.7% 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%)

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

3 calls:

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

simplify185.0ms (5.5%)

Memory
25.7MiB live, 199.6MiB allocated; 68ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
11420
23320
38920
434720
5369920
0887518
Stop Event
iter limit
node limit
Counts
4 → 4
Calls
Call 1
Inputs
-1
(- (pow x 2) 1)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Outputs
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(*.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (*.f64 x x)) x x) x)

rewrite103.0ms (3.1%)

Memory
-9.3MiB live, 35.7MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1318
02337
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 50
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
Outputs
(*.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) (-.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (+.f64 (fabs.f64 x) #s(literal 1 binary64)) (-.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal -1 binary64))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 x (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 x x #s(literal -1 binary64))
(expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))))
(-.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64)))))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(+.f64 (*.f64 x x) #s(literal -1 binary64))
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 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 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x (*.f64 x #s(literal 1 binary64)))
(*.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
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Compiler

Compiled 458 to 121 computations (73.6% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

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

Compiled 11 to 9 computations (18.2% saved)

simplify191.0ms (5.7%)

Memory
13.2MiB live, 161.9MiB allocated; 27ms collecting garbage
Localize:

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
0813
11813
24913
312813
438913
5230213
6788113
0801113
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (- (* x x) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
(fma.f64 x x #s(literal -1 binary64))
x
#s(literal -1 binary64)
Outputs
#s(approx (- (* x x) 1) #s(literal -1 binary64))
#s(literal -1 binary64)
(fma.f64 x x #s(literal -1 binary64))
x
#s(literal -1 binary64)

localize35.0ms (1.1%)

Memory
-34.7MiB live, 59.3MiB allocated; 3ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 x x #s(literal -1 binary64))
accuracy31.40072274066925
#s(approx (- (* x x) 1) #s(literal -1 binary64))
Samples
28.0ms256×0valid
Compiler

Compiled 15 to 8 computations (46.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 23.0ms
ival-mult: 20.0ms (87% of total)
ival-sub: 1.0ms (4.3% of total)
ival-add: 1.0ms (4.3% 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%)

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

3 calls:

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

simplify228.0ms (6.8%)

Memory
19.5MiB live, 400.7MiB allocated; 67ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
11420
23320
38920
434720
5369920
0887418
Stop Event
iter limit
node limit
Counts
4 → 4
Calls
Call 1
Inputs
-1
(- (pow x 2) 1)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Outputs
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(*.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (*.f64 x x)) x x) x)

rewrite63.0ms (1.9%)

Memory
2.3MiB live, 101.0MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
0810
14310
033510
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 45
Calls
Call 1
Inputs
#s(approx (- (* x x) 1) #s(literal -1 binary64))
(fma.f64 x x #s(literal -1 binary64))
Outputs
#s(approx (- (* x x) 1) #s(literal -1 binary64))
(*.f64 (+.f64 (neg.f64 x) #s(literal -1 binary64)) (-.f64 (neg.f64 x) #s(literal -1 binary64)))
(*.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) (-.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (+.f64 (fabs.f64 x) #s(literal -1 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))
(*.f64 (+.f64 (fabs.f64 x) #s(literal 1 binary64)) (-.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal -1 binary64) (*.f64 x x)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) (*.f64 (neg.f64 x) #s(literal -1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (fabs.f64 x) #s(literal -1 binary64)) (*.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 x #s(literal -1 binary64)) (*.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1 binary64))
(fma.f64 (*.f64 #s(literal -1 binary64) (*.f64 x x)) #s(literal -1 binary64) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal -1 binary64))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 x (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 x x #s(literal -1 binary64))
(expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))))
(-.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64)))))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x))
(-.f64 #s(literal -1 binary64) (*.f64 x (neg.f64 x)))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 #s(literal -1 binary64) (*.f64 x x))
(+.f64 (*.f64 x x) #s(literal -1 binary64))

eval5.0ms (0.1%)

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

Compiled 465 to 112 computations (75.9% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New47148
Fresh000
Picked022
Done000
Total47350
Accuracy
100.0%
Counts
50 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x #s(literal -1 binary64))
50.3%
#s(approx (- (* x x) 1) (*.f64 x x))
50.9%
#s(approx (- (* x x) 1) #s(literal -1 binary64))
Compiler

Compiled 20 to 15 computations (25% saved)

simplify130.0ms (3.9%)

Memory
-35.3MiB live, 104.1MiB allocated; 15ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (- (* x x) 1) (*.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
0713
11613
24313
311513
437713
5231613
6787613
0800612
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (- (* x x) 1) (*.f64 x x))
(*.f64 x x)
x
Outputs
#s(approx (- (* x x) 1) (*.f64 x x))
(*.f64 x x)
x

localize26.0ms (0.8%)

Memory
2.9MiB live, 48.2MiB allocated; 4ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy31.808520666821146
#s(approx (- (* x x) 1) (*.f64 x x))
Samples
8.0ms256×0valid
Compiler

Compiled 11 to 6 computations (45.5% saved)

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

series1.0ms (0%)

Memory
3.3MiB live, 3.2MiB allocated; 0ms collecting garbage
Counts
2 → 4
Calls
Call 1
Inputs
#s(approx (- (* x x) 1) (*.f64 x x))
(*.f64 x x)
Outputs
-1
(- (pow x 2) 1)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Calls

3 calls:

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

simplify157.0ms (4.7%)

Memory
38.9MiB live, 228.2MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
11420
23320
38920
434720
5369920
0887418
Stop Event
iter limit
node limit
Counts
4 → 4
Calls
Call 1
Inputs
-1
(- (pow x 2) 1)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Outputs
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(*.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (*.f64 x x)) x x) x)

rewrite50.0ms (1.5%)

Memory
-28.3MiB live, 62.3MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0612
0712
13212
023411
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 23
Calls
Call 1
Inputs
#s(approx (- (* x x) 1) (*.f64 x x))
(*.f64 x x)
Outputs
#s(approx (- (* x x) 1) (*.f64 x x))
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 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 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x (*.f64 x #s(literal 1 binary64)))
(*.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)))

eval3.0ms (0.1%)

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

Compiled 312 to 73 computations (76.6% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New27027
Fresh000
Picked011
Done022
Total27330
Accuracy
100.0%
Counts
30 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x #s(literal -1 binary64))
50.3%
#s(approx (- (* x x) 1) (*.f64 x x))
50.9%
#s(approx (- (* x x) 1) #s(literal -1 binary64))
Compiler

Compiled 45 to 26 computations (42.2% saved)

regimes5.0ms (0.1%)

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

3 calls:

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

Compiled 9 to 7 computations (22.2% saved)

regimes4.0ms (0.1%)

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

3 calls:

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

Compiled 9 to 7 computations (22.2% saved)

regimes3.0ms (0.1%)

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

3 calls:

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

Compiled 9 to 7 computations (22.2% saved)

bsearch153.0ms (4.6%)

Memory
-14.5MiB live, 49.9MiB allocated; 81ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
151.0ms
0.12886321219464955
28473.366371047636
Samples
146.0ms144×0valid
Compiler

Compiled 152 to 134 computations (11.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 109.0ms
ival-mult: 108.0ms (98.8% of total)
ival-sub: 1.0ms (0.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)

simplify53.0ms (1.6%)

Memory
-2.8MiB live, 44.6MiB allocated; 20ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
12031
24731
312631
449731
5266931
Stop Event
node limit
Calls
Call 1
Inputs
(fma.f64 x x #s(literal -1 binary64))
(if (<=.f64 x #s(literal 1 binary64)) #s(approx (- (* x x) 1) #s(literal -1 binary64)) #s(approx (- (* x x) 1) (*.f64 x x)))
#s(approx (- (* x x) 1) #s(literal -1 binary64))
Outputs
(fma.f64 x x #s(literal -1 binary64))
(if (<=.f64 x #s(literal 1 binary64)) #s(approx (- (* x x) 1) #s(literal -1 binary64)) #s(approx (- (* x x) 1) (*.f64 x x)))
#s(approx (- (* x x) 1) #s(literal -1 binary64))

derivations323.0ms (9.7%)

Memory
-6.6MiB live, 264.9MiB allocated; 71ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1318
02337
0920
11420
23320
38920
434720
5369920
0887418
0920
11420
23320
38920
434720
5369920
0887518
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
iter limit
iter limit
unsound
iter limit
Compiler

Compiled 31 to 12 computations (61.3% saved)

preprocess55.0ms (1.6%)

Memory
-21.0MiB live, 85.5MiB allocated; 21ms collecting garbage
Remove

(abs x)

Compiler

Compiled 80 to 38 computations (52.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...