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)

sample1.1s (52.5%)

Memory
7.6MiB live, 805.3MiB allocated; 168ms collecting garbage
Samples
778.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 361.0ms
ival-mult: 248.0ms (68.7% of total)
ival-add: 101.0ms (28% of total)
ival-true: 6.0ms (1.7% of total)
ival-assert: 3.0ms (0.8% of total)
adjust: 2.0ms (0.6% of total)
Bogosity

explain64.0ms (3.1%)

Memory
-6.7MiB live, 83.4MiB allocated; 17ms 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
19.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (55.9% of total)
ival-add: 3.0ms (41.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess359.0ms (17.4%)

Memory
-16.9MiB live, 282.2MiB allocated; 47ms 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.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify223.0ms (10.8%)

Memory
18.5MiB live, 251.9MiB allocated; 21ms 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

localize13.0ms (0.6%)

Memory
31.0MiB live, 31.0MiB allocated; 0ms 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 (60.1% of total)
ival-add: 1.0ms (30% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series41.0ms (2%)

Memory
-32.6MiB live, 12.7MiB allocated; 6ms 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
38.0ms
x
@inf
((* x (+ y y)) (+ y y))
1.0ms
y
@inf
((* x (+ y y)) (+ y y))
1.0ms
y
@0
((* x (+ y y)) (+ y y))
1.0ms
y
@-inf
((* x (+ y y)) (+ y y))
1.0ms
x
@0
((* x (+ y y)) (+ y y))

simplify185.0ms (9%)

Memory
-2.5MiB live, 189.8MiB allocated; 39ms 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))

rewrite45.0ms (2.2%)

Memory
-0.6MiB live, 54.6MiB allocated; 15ms 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
6.0MiB live, 6.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 249 to 67 computations (73.1% saved)

prune1.0ms (0.1%)

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

simplify12.0ms (0.6%)

Memory
-23.5MiB live, 23.5MiB allocated; 5ms 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.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 5 to 4 computations (20% saved)

preprocess33.0ms (1.6%)

Memory
20.6MiB live, 66.0MiB allocated; 9ms 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...