Diagrams.Segment:$catParam from diagrams-lib-1.3.0.3, A

Time bar (total: 2.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB 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 9 to 8 computations (11.1% saved)

sample566.0ms (26.5%)

Memory
-0.8MiB live, 607.8MiB allocated; 85ms collecting garbage
Samples
376.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 171.0ms
ival-mult!: 169.0ms (98.6% of total)
adjust: 2.0ms (1.2% of total)
Bogosity

preprocess152.0ms (7.1%)

Memory
-8.2MiB live, 37.7MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01744
14942
214442
332442
453842
580942
6115042
7261142
8551142
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
86.7%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
Symmetry

(abs x)

(negabs y)

Compiler

Compiled 14 to 12 computations (14.3% saved)

series204.0ms (9.5%)

Memory
-0.5MiB live, 108.3MiB allocated; 221ms collecting garbage
Counts
6 → 5
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
y
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y)))
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* x 3) (*.f64 #s(literal 3 binary64) x))
#s(approx x x)
#s(approx y y)
Calls

6 calls:

TimeVariablePoint
1.0ms
x
inf
1.0ms
y
inf
1.0ms
x
0
1.0ms
x
-inf
1.0ms
y
0

rewrite185.0ms (8.7%)

Memory
10.6MiB live, 207.2MiB allocated; 54ms collecting garbage
Counts
6 → 10
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
y
Outputs
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
(*.f64 y (*.f64 (*.f64 x #s(literal 3 binary64)) x))
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x (*.f64 x #s(literal 3 binary64)))
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) x)
x
#s(literal 3 binary64)
y

eval1.0ms (0%)

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

Compiled 87 to 34 computations (60.9% saved)

prune1.0ms (0.1%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New639
Fresh000
Picked011
Done000
Total6410
Accuracy
99.9%
Counts
10 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
86.7%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
86.7%
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64)))) y)
86.7%
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y)))
Compiler

Compiled 42 to 35 computations (16.7% saved)

series161.0ms (7.6%)

Memory
7.5MiB live, 147.4MiB allocated; 11ms collecting garbage
Counts
14 → 8
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y)))
(*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y))
#s(literal 3 binary64)
(*.f64 (pow.f64 x #s(literal 2 binary64)) y)
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
y
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64)))) y)
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64)))
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
(*.f64 x #s(literal 3 binary64))
(*.f64 x y)
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y)))
#s(approx (* (pow x 2) y) (*.f64 (pow.f64 x #s(literal 2 binary64)) y))
#s(approx (pow x 2) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* x 3) (*.f64 #s(literal 3 binary64) x))
#s(approx (* x y) (*.f64 x y))
#s(approx y y)
Calls

6 calls:

TimeVariablePoint
38.0ms
y
-inf
4.0ms
x
inf
2.0ms
x
-inf
1.0ms
x
0
1.0ms
y
inf

rewrite172.0ms (8%)

Memory
-22.8MiB live, 118.0MiB allocated; 38ms collecting garbage
Counts
14 → 26
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y)))
(*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y))
#s(literal 3 binary64)
(*.f64 (pow.f64 x #s(literal 2 binary64)) y)
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
y
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64)))) y)
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64)))
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
(*.f64 x #s(literal 3 binary64))
(*.f64 x y)
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
(*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) (*.f64 x x)) y)
(*.f64 #s(literal 3 binary64) (*.f64 (*.f64 x x) y))
#s(literal 3 binary64)
(*.f64 (*.f64 x x) y)
(*.f64 y (*.f64 x x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
y
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x)))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 y x))
(*.f64 (*.f64 y x) (*.f64 x #s(literal 3 binary64)))
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
(*.f64 y (*.f64 (*.f64 x #s(literal 3 binary64)) x))
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) x)
(*.f64 y x)
(*.f64 x y)

eval3.0ms (0.1%)

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

Compiled 407 to 85 computations (79.1% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New29231
Fresh000
Picked213
Done011
Total31435
Accuracy
99.9%
Counts
35 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
86.7%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
86.7%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
99.6%
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
Compiler

Compiled 34 to 28 computations (17.6% saved)

series129.0ms (6%)

Memory
5.1MiB live, 50.0MiB allocated; 8ms collecting garbage
Counts
10 → 7
Calls
Call 1
Inputs
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
x
(*.f64 #s(literal 3 binary64) (*.f64 y x))
#s(literal 3 binary64)
(*.f64 y x)
y
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(*.f64 x x)
Outputs
#s(approx (* x (* 3 (* y x))) (*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y)))
#s(approx x x)
#s(approx (* 3 (* y x)) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
#s(approx (* y x) (*.f64 x y))
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx y y)
Calls

6 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
x
0
1.0ms
y
-inf
1.0ms
y
inf

rewrite179.0ms (8.4%)

Memory
-27.5MiB live, 65.7MiB allocated; 50ms collecting garbage
Counts
10 → 23
Calls
Call 1
Inputs
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
x
(*.f64 #s(literal 3 binary64) (*.f64 y x))
#s(literal 3 binary64)
(*.f64 y x)
y
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(*.f64 x x)
Outputs
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 y x))
(*.f64 (*.f64 (*.f64 x x) #s(literal 3 binary64)) y)
(*.f64 (*.f64 #s(literal 3 binary64) (*.f64 y x)) x)
(*.f64 y (*.f64 (*.f64 x x) #s(literal 3 binary64)))
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
x
(*.f64 #s(literal 3 binary64) (*.f64 y x))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
#s(literal 3 binary64)
(*.f64 y x)
(*.f64 x y)
y
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x (*.f64 x #s(literal 3 binary64)))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(*.f64 x x)
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(pow.f64 x #s(literal 2 binary64))

eval4.0ms (0.2%)

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

Compiled 252 to 80 computations (68.3% saved)

prune4.0ms (0.2%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New21122
Fresh000
Picked022
Done022
Total21526
Accuracy
100.0%
Counts
26 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
86.7%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
86.7%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
99.3%
(*.f64 x (*.f64 (*.f64 #s(literal 3 binary64) y) x))
99.6%
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
Compiler

Compiled 41 to 34 computations (17.1% saved)

series137.0ms (6.4%)

Memory
16.4MiB live, 61.7MiB allocated; 13ms collecting garbage
Counts
6 → 5
Calls
Call 1
Inputs
(*.f64 x (*.f64 (*.f64 #s(literal 3 binary64) y) x))
x
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
(*.f64 #s(literal 3 binary64) y)
#s(literal 3 binary64)
y
Outputs
#s(approx (* x (* (* 3 y) x)) (*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y)))
#s(approx x x)
#s(approx (* (* 3 y) x) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
#s(approx (* 3 y) (*.f64 #s(literal 3 binary64) y))
#s(approx y y)
Calls

6 calls:

TimeVariablePoint
2.0ms
y
inf
2.0ms
x
inf
2.0ms
x
-inf
1.0ms
y
0
1.0ms
x
0

rewrite182.0ms (8.5%)

Memory
-14.7MiB live, 83.3MiB allocated; 74ms collecting garbage
Counts
6 → 10
Calls
Call 1
Inputs
(*.f64 x (*.f64 (*.f64 #s(literal 3 binary64) y) x))
x
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
(*.f64 #s(literal 3 binary64) y)
#s(literal 3 binary64)
y
Outputs
(*.f64 (*.f64 (*.f64 y #s(literal 3 binary64)) x) x)
(*.f64 x (*.f64 (*.f64 y #s(literal 3 binary64)) x))
x
(*.f64 (*.f64 y #s(literal 3 binary64)) x)
(*.f64 x (*.f64 y #s(literal 3 binary64)))
(*.f64 #s(literal 3 binary64) (*.f64 y x))
(*.f64 y #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) y)
#s(literal 3 binary64)
y

eval2.0ms (0.1%)

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

Compiled 94 to 33 computations (64.9% saved)

prune2.0ms (0.1%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New10010
Fresh000
Picked011
Done044
Total10515
Accuracy
100.0%
Counts
15 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
86.7%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
86.7%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
99.3%
(*.f64 x (*.f64 (*.f64 #s(literal 3 binary64) y) x))
99.6%
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
Compiler

Compiled 41 to 34 computations (17.1% saved)

regimes22.0ms (1%)

Memory
-10.6MiB live, 34.8MiB allocated; 7ms collecting garbage
Accuracy

Total -8.4b remaining (-2186.4%)

Threshold costs -8.4b (-2186.4%)

Counts
3 → 1
7 → 1
Calls
Call 1
Inputs
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
(*.f64 x (*.f64 (*.f64 #s(literal 3 binary64) y) x))
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
Outputs
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
Call 2
Inputs
(*.f64 x (*.f64 #s(literal 3 binary64) (*.f64 y x)))
(*.f64 x (*.f64 (*.f64 #s(literal 3 binary64) y) x))
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 (pow.f64 x #s(literal 2 binary64)) y)))
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (pow.f64 x #s(literal 2 binary64)))) y)
Outputs
(*.f64 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
Calls

8 calls:

6.0ms
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
2.0ms
y
2.0ms
x
2.0ms
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
2.0ms
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
Results
AccuracySegmentsBranch
99.6%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
99.6%1x
99.6%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
99.6%1y
99.8%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
99.8%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
99.8%1x
99.8%1y
Compiler

Compiled 97 to 60 computations (38.1% saved)

derivations0.0ms (0%)

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

Compiled 14 to 9 computations (35.7% saved)

preprocess27.0ms (1.3%)

Memory
-1.6MiB live, 43.5MiB allocated; 7ms collecting garbage
Remove

(negabs y)

(abs x)

Compiler

Compiled 77 to 63 computations (18.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...