Numeric.Integration.TanhSinh:simpson from integration-0.2.1

Time bar (total: 1.0s)

analyze0.0ms (0%)

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

sample720.0ms (70%)

Memory
-15.1MiB live, 820.7MiB allocated
Samples
471.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 188.0ms
ival-add: 124.0ms (65.8% of total)
ival-mult: 55.0ms (29.2% of total)
ival-true: 6.0ms (3.2% of total)
ival-assert: 3.0ms (1.6% of total)
Bogosity

preprocess24.0ms (2.4%)

Memory
27.8MiB live, 65.9MiB allocated
Algorithm
egg-herbie
Rules
76×distribute-lft-neg-in
70×associate-*r*
54×cancel-sign-sub-inv
48×distribute-lft-in
44×unsub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01233
15125
213325
334025
444425
545225
045
065
1135
2205
3245
0245
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
Outputs
(*.f64 x (+.f64 y y))
Symmetry

(negabs y)

(negabs x)

(sort x y)

explain49.0ms (4.8%)

Memory
-20.8MiB live, 135.7MiB allocated
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
18.0ms512×0valid
Compiler

Compiled 38 to 20 computations (47.4% saved)

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

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Memory
2.0MiB live, 2.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (+.f64 y y))
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify5.0ms (0.4%)

Memory
14.0MiB live, 14.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y y)
cost-diff0
(*.f64 x (+.f64 y y))
Rules
24×lower-*.f32
22×lower-*.f64
10×*-commutative
count-2
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11310
22010
32410
02410
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
x
(+.f64 y y)
y
Outputs
(*.f64 x (+.f64 y y))
x
(+.f64 y y)
y

localize15.0ms (1.4%)

Memory
3.0MiB live, 42.4MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(+.f64 y y)
accuracy100.0%
(*.f64 x (+.f64 y y))
Samples
10.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.2% of total)
ival-add: 1.0ms (30.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.7%)

Memory
-29.9MiB live, 12.2MiB allocated
Counts
2 → 36
Calls
Call 1
Inputs
#<alt (*.f64 x (+.f64 y y))>
#<alt (+.f64 y y)>
Outputs
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 (* x y))>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
Calls

9 calls:

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

rewrite33.0ms (3.2%)

Memory
31.7MiB live, 70.9MiB allocated
Algorithm
batch-egg-rewrite
Rules
56×lower-*.f32
54×lower-*.f64
38×lower-/.f64
38×lower-/.f32
32×lower-+.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1228
01348
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 25
Calls
Call 1
Inputs
(*.f64 x (+.f64 y y))
(+.f64 y y)
Outputs
(+.f64 (*.f64 x y) (*.f64 x y))
(fma.f64 x y (*.f64 x y))
(fma.f64 y x (*.f64 x y))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) #s(literal 3 binary64)) (pow.f64 (*.f64 x y) #s(literal 3 binary64))) (fma.f64 (*.f64 x y) (*.f64 x y) (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 (*.f64 x y) (*.f64 x y)))))
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 (*.f64 x y) (*.f64 x y))) (-.f64 (*.f64 x y) (*.f64 x y)))
(/.f64 (*.f64 x (*.f64 (fma.f64 y y #s(literal 0 binary64)) (+.f64 y y))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (*.f64 x #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 (fma.f64 y y #s(literal 0 binary64)) (+.f64 y y)) x) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (*.f64 #s(literal 0 binary64) x) #s(literal 0 binary64))
(*.f64 x (+.f64 y y))
(*.f64 y (+.f64 x x))
(*.f64 (+.f64 y y) x)
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(+.f64 y y)
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(/.f64 (*.f64 (fma.f64 y y #s(literal 0 binary64)) (+.f64 y y)) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (neg.f64 (*.f64 (fma.f64 y y #s(literal 0 binary64)) (+.f64 y y))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 #s(literal 1 binary64) (+.f64 y y))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 y y #s(literal 0 binary64)) (*.f64 (fma.f64 y y #s(literal 0 binary64)) (+.f64 y y))))
(*.f64 y #s(literal 2 binary64))
(*.f64 (*.f64 (fma.f64 y y #s(literal 0 binary64)) (+.f64 y y)) (/.f64 #s(literal 1 binary64) (fma.f64 y y #s(literal 0 binary64))))
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 2 binary64) y)

simplify37.0ms (3.6%)

Memory
-26.8MiB live, 12.6MiB allocated
Algorithm
egg-herbie
Rules
24×lower-*.f64
24×lower-*.f32
10×*-commutative
associate-*r*
associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06156
111156
216156
016156
Stop Event
iter limit
saturated
Counts
36 → 36
Calls
Call 1
Inputs
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 (* x y))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
Outputs
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 x y))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)

eval5.0ms (0.5%)

Memory
11.8MiB live, 11.8MiB allocated
Compiler

Compiled 436 to 63 computations (85.6% saved)

prune4.0ms (0.3%)

Memory
8.8MiB live, 8.8MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

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

Compiled 14 to 8 computations (42.9% saved)

simplify5.0ms (0.5%)

Memory
12.6MiB live, 12.6MiB allocated
Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

soundness0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Stop Event
done
Compiler

Compiled 7 to 4 computations (42.9% saved)

preprocess124.0ms (12.1%)

Memory
-3.0MiB live, 76.3MiB allocated
Remove

(sort x y)

(negabs x)

(negabs y)

Compiler

Compiled 112 to 64 computations (42.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...