Numeric.Integration.TanhSinh:simpson from integration-0.2.1

Time bar (total: 909.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample498.0ms (54.8%)

Memory
11.5MiB live, 766.4MiB allocated; 157ms collecting garbage
Samples
250.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 65.0ms
ival-mult!: 43.0ms (65.8% of total)
ival-add!: 21.0ms (32.1% of total)
adjust: 1.0ms (1.5% of total)
Bogosity

explain37.0ms (4.1%)

Memory
20.9MiB live, 68.2MiB allocated; 5ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 x (+.f64 y y))
00-0-(+.f64 y y)
00-0-y
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
14.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult!: 3.0ms (75.4% of total)
ival-add!: 1.0ms (25.1% of total)
adjust: 0.0ms (0% of total)

preprocess97.0ms (10.7%)

Memory
-40.3MiB live, 58.9MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01332
14130
210130
318130
433830
547230
6124130
7321730
8770730
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (+.f64 y y))
Symmetry

(negabs x)

(negabs y)

(sort x y)

Compiler

Compiled 10 to 8 computations (20% saved)

series6.0ms (0.6%)

Memory
8.6MiB live, 8.6MiB allocated; 0ms collecting garbage
Counts
4 → 4
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
x
(+.f64 y y)
y
Outputs
#s(approx (* x (+ y y)) #s(hole binary64 (* 2 (* x y))))
#s(approx x #s(hole binary64 x))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
#s(approx y #s(hole binary64 y))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((* x (+ y y)) x (+ y y) y)
1.0ms
x
@-inf
((* x (+ y y)) x (+ y y) y)
1.0ms
y
@inf
((* x (+ y y)) x (+ y y) y)
1.0ms
x
@inf
((* x (+ y y)) x (+ y y) y)
1.0ms
y
@0
((* x (+ y y)) x (+ y y) y)

rewrite40.0ms (4.3%)

Memory
0.9MiB live, 48.5MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01434
01634
13722
017022
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
8 → 29
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
x
(+.f64 y y)
y
#s(approx (* x (+ y y)) #s(hole binary64 (* 2 (* x y))))
#s(approx x #s(hole binary64 x))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
#s(approx y #s(hole binary64 y))
Outputs
(*.f64 (+.f64 x x) y)
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 y x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 y (+.f64 x x))
(*.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 0 binary64) x) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 (fma.f64 y y #s(literal 0 binary64)) #s(literal 2 binary64)) x) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (*.f64 x #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 x (*.f64 (fma.f64 y y #s(literal 0 binary64)) #s(literal 2 binary64))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 y x) (*.f64 y x)) (*.f64 (*.f64 y x) (*.f64 y x))) (-.f64 (*.f64 y x) (*.f64 y x)))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (*.f64 y x) (-.f64 (*.f64 (*.f64 y x) (*.f64 y x)) (*.f64 (*.f64 y x) (*.f64 y x)))))
(fma.f64 #s(literal 1 binary64) (*.f64 y x) (*.f64 #s(literal 1 binary64) (*.f64 y x)))
(fma.f64 (*.f64 y x) #s(literal 1 binary64) (*.f64 (*.f64 y x) #s(literal 1 binary64)))
(fma.f64 y x (*.f64 y x))
(fma.f64 x y (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 y) x))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 y x)) (*.f64 #s(literal 1 binary64) (*.f64 y x)))
(+.f64 (*.f64 (*.f64 y x) #s(literal 1 binary64)) (*.f64 (*.f64 y x) #s(literal 1 binary64)))
(+.f64 (*.f64 y x) (*.f64 y x))
(+.f64 x x)
x
#s(literal 2 binary64)
y
#s(approx (* x (+ y y)) (+.f64 x x))
#s(approx x x)
#s(approx (+ y y) #s(literal 2 binary64))
#s(approx y y)

eval2.0ms (0.2%)

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

Compiled 236 to 60 computations (74.6% saved)

prune1.0ms (0.2%)

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh000
Picked011
Done000
Total26228
Accuracy
100.0%
Counts
28 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
6.1%
(+.f64 x x)
100.0%
(*.f64 x (+.f64 y y))
Compiler

Compiled 8 to 7 computations (12.5% saved)

series1.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((+ x x) x)
0.0ms
x
@inf
((+ x x) x)
0.0ms
x
@0
((+ x x) x)
0.0ms
y
@0
((+ x x) x)
0.0ms
y
@inf
((+ x x) x)

rewrite27.0ms (2.9%)

Memory
-13.8MiB live, 30.7MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0714
0714
1208
01148
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
4 → 4
Calls
Call 1
Inputs
(+.f64 x x)
x
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
Outputs
#s(literal 2 binary64)
x
#s(approx (+ x x) #s(literal 2 binary64))
#s(approx x x)

eval0.0ms (0%)

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

Compiled 16 to 8 computations (50% saved)

prune1.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New314
Fresh000
Picked011
Done011
Total336
Accuracy
100.0%
Counts
6 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
6.1%
(+.f64 x x)
100.0%
(*.f64 x (+.f64 y y))
5.1%
#s(approx (+ x x) #s(literal 2 binary64))
Compiler

Compiled 13 to 12 computations (7.7% saved)

series1.0ms (0.1%)

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

6 calls:

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

rewrite28.0ms (3%)

Memory
-5.9MiB live, 38.5MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0613
0611
1197
01137
Stop Event
iter-limit
iter-limit
iter-limit
unsound
saturated
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (+ x x) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
Outputs
#s(approx (+ x x) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (+ x x) #s(literal 2 binary64))

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Accuracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
6.1%
(+.f64 x x)
100.0%
(*.f64 x (+.f64 y y))
5.1%
#s(approx (+ x x) #s(literal 2 binary64))
Compiler

Compiled 26 to 20 computations (23.1% saved)

regimes7.0ms (0.7%)

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

4 calls:

2.0ms
x
2.0ms
y
2.0ms
(+.f64 y y)
1.0ms
(*.f64 x (+.f64 y y))
Results
AccuracySegmentsBranch
100.0%1(+.f64 y y)
100.0%1(*.f64 x (+.f64 y y))
100.0%1x
100.0%1y
Compiler

Compiled 10 to 11 computations (-10% saved)

regimes5.0ms (0.6%)

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

4 calls:

1.0ms
x
1.0ms
y
1.0ms
(+.f64 y y)
1.0ms
(*.f64 x (+.f64 y y))
Results
AccuracySegmentsBranch
6.1%1(+.f64 y y)
6.1%1(*.f64 x (+.f64 y y))
6.1%1x
6.1%1y
Compiler

Compiled 10 to 11 computations (-10% saved)

regimes45.0ms (5%)

Memory
-35.5MiB live, 18.0MiB allocated; 6ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

42.0ms
x
1.0ms
(+.f64 y y)
1.0ms
y
1.0ms
(*.f64 x (+.f64 y y))
Results
AccuracySegmentsBranch
5.1%1x
5.1%1(*.f64 x (+.f64 y y))
5.1%1(+.f64 y y)
5.1%1y
Compiler

Compiled 10 to 11 computations (-10% saved)

derivations3.0ms (0.3%)

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

Compiled 13 to 8 computations (38.5% saved)

preprocess109.0ms (12%)

Memory
19.1MiB live, 152.5MiB allocated; 22ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 146 to 128 computations (12.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...