Numeric.Integration.TanhSinh:simpson from integration-0.2.1

Time bar (total: 2.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%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)

sample962.0ms (45.7%)

Memory
20.1MiB live, 910.1MiB allocated; 199ms collecting garbage
Samples
681.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 133.0ms
ival-mult: 71.0ms (53.3% of total)
ival-add: 58.0ms (43.5% of total)
ival-assert: 3.0ms (2.3% of total)
adjust: 2.0ms (1.5% of total)
Bogosity

explain109.0ms (5.2%)

Memory
29.1MiB live, 73.1MiB allocated; 14ms 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
87.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 74.0ms
ival-add: 69.0ms (93.3% of total)
ival-mult: 5.0ms (6.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess370.0ms (17.6%)

Memory
15.9MiB live, 210.9MiB allocated; 36ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01332
14130
210130
318130
433830
547230
6124130
7321730
8770730
045
065
1135
2295
3575
41245
52405
69415
741905
085415
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
Outputs
(*.f64 x (+.f64 y y))
(*.f64 (*.f64 #s(literal 2 binary64) y) x)
Symmetry

(negabs x)

(negabs y)

(sort x y)

Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune20.0ms (1%)

Memory
-56.8MiB live, 0.9MiB allocated; 5ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (+.f64 y y))
Compiler

Compiled 5 to 4 computations (20% saved)

simplify322.0ms (15.3%)

Memory
10.3MiB live, 257.5MiB allocated; 27ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y y)
cost-diff0
(*.f64 x (+.f64 y y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11310
22910
35710
412410
524010
694110
7419010
0854110
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
x
(+.f64 y y)
y
Outputs
(*.f64 x (+.f64 y y))
(*.f64 (*.f64 #s(literal 2 binary64) y) x)
x
(+.f64 y y)
(*.f64 #s(literal 2 binary64) y)
y

localize17.0ms (0.8%)

Memory
-13.4MiB live, 31.9MiB allocated; 4ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y y)
accuracy0.0
(*.f64 x (+.f64 y y))
Samples
9.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

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

series5.0ms (0.2%)

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

6 calls:

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

simplify219.0ms (10.4%)

Memory
-15.0MiB live, 133.3MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
12218
24518
310218
423618
581518
6472618
0814418
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (* x (+ y y)) #s(hole binary64 (* 2 (* x y))))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
Outputs
#s(approx (* x (+ y y)) #s(hole binary64 (* 2 (* x y))))
#s(approx (* x (+ y y)) (*.f64 (*.f64 y x) #s(literal 2 binary64)))
#s(approx (+ y y) #s(hole binary64 (* 2 y)))
#s(approx (+ y y) (*.f64 #s(literal 2 binary64) y))

rewrite36.0ms (1.7%)

Memory
7.8MiB live, 48.5MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1228
01378
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 24
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
(+.f64 y y)
Outputs
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 #s(literal 2 binary64) (*.f64 y x))
(*.f64 (*.f64 #s(literal 2 binary64) y) x)
(*.f64 y (+.f64 x x))
(*.f64 x (*.f64 #s(literal 2 binary64) y))
(/.f64 (*.f64 #s(literal 0 binary64) x) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 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 #s(literal 2 binary64) (pow.f64 y #s(literal 3 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 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 y x) (*.f64 y x))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64)))
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))))
(+.f64 y y)

eval2.0ms (0.1%)

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

Compiled 249 to 67 computations (73.1% saved)

prune1.0ms (0.1%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh000
Picked011
Done000
Total26127
Accuracy
100.0%
Counts
27 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (+.f64 y y))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify8.0ms (0.4%)

Memory
22.8MiB live, 22.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
Outputs
(*.f64 x (+.f64 y y))

derivations0.0ms (0%)

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

Compiled 5 to 4 computations (20% saved)

preprocess32.0ms (1.5%)

Memory
11.3MiB live, 56.3MiB allocated; 7ms collecting garbage
Remove

(sort x y)

(negabs y)

(negabs x)

Compiler

Compiled 80 to 64 computations (20% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...