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

Time bar (total: 3.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

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 9 to 8 computations (11.1% saved)

sample759.0ms (22.4%)

Memory
-0.6MiB live, 837.7MiB allocated
Samples
524.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 207.0ms
ival-mult: 192.0ms (92.9% of total)
ival-true: 6.0ms (2.9% of total)
exact: 5.0ms (2.4% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain91.0ms (2.7%)

Memory
-1.7MiB live, 35.9MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
10-0-(*.f64 (*.f64 x #s(literal 3 binary64)) y)
00-0-y
00-0-#s(literal 3 binary64)
00-0-(*.f64 x #s(literal 3 binary64))
00-0-(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
*.f64(*.f64 (*.f64 x #s(literal 3 binary64)) y)n*o10
Confusion
Predicted +Predicted -
+10
-0255
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+100
-00255
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0255
11
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
62.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 50.0ms
ival-mult: 49.0ms (98.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess40.0ms (1.2%)

Memory
6.4MiB live, 6.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01641
15935
218835
360835
495635
5131535
6134835
7135435
8135435
9135635
067
097
1167
2317
3487
4487
0487
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
Outputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
(*.f64 (*.f64 y (*.f64 #s(literal 3 binary64) x)) y)
Symmetry

(abs y)

(negabs x)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify3.0ms (0.1%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 3 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
cost-diff0
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
11618
23118
34818
44818
04818
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
y
Outputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
(*.f64 (*.f64 y (*.f64 #s(literal 3 binary64) x)) y)
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 y (*.f64 #s(literal 3 binary64) x))
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) x)
x
#s(literal 3 binary64)
y

localize15.0ms (0.4%)

Memory
6.7MiB live, 6.7MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x #s(literal 3 binary64))
accuracy0.14453125
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
accuracy0.43308632039220296
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
Samples
10.0ms256×0valid
Compiler

Compiled 20 to 8 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 4.0ms (83.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series39.0ms (1.2%)

Memory
-35.4MiB live, 4.0MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 x #s(literal 3 binary64))
Outputs
(* 3 (* x (pow y 2)))
(* 3 (* x y))
(* 3 x)
Calls

6 calls:

TimeVariablePointExpression
32.0ms
y
@inf
((* (* (* x 3) y) y) (* (* x 3) y) (* x 3))
2.0ms
x
@0
((* (* (* x 3) y) y) (* (* x 3) y) (* x 3))
2.0ms
y
@0
((* (* (* x 3) y) y) (* (* x 3) y) (* x 3))
1.0ms
x
@inf
((* (* (* x 3) y) y) (* (* x 3) y) (* x 3))
1.0ms
x
@-inf
((* (* (* x 3) y) y) (* (* x 3) y) (* x 3))

simplify3.0ms (0.1%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11815
23315
34415
04415
Stop Event
iter limit
saturated
Counts
3 → 3
Calls
Call 1
Inputs
(* 3 (* x (pow y 2)))
(* 3 (* x y))
(* 3 x)
Outputs
(* 3 (* x (pow y 2)))
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
(* 3 (* x y))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(* 3 x)
(*.f64 #s(literal 3 binary64) x)

rewrite74.0ms (2.2%)

Memory
20.0MiB live, 20.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
099
1169
2339
3579
4739
51459
64339
722579
822839
924069
1036289
085819
Stop Event
iter limit
node limit
iter limit
Counts
3 → 12
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 x #s(literal 3 binary64))
Outputs
(*.f64 x #s(literal 3 binary64))
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 #s(literal 3 binary64) x)
(*.f64 y (*.f64 x #s(literal 3 binary64)))
(*.f64 x #s(literal 3 binary64))
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 #s(literal 3 binary64) x)
(*.f64 y (*.f64 x #s(literal 3 binary64)))
(*.f64 x #s(literal 3 binary64))
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 #s(literal 3 binary64) x)
(*.f64 y (*.f64 x #s(literal 3 binary64)))

eval1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Compiler

Compiled 55 to 22 computations (60% saved)

prune2.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New347
Fresh000
Picked011
Done000
Total358
Accuracy
99.9%
Counts
8 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
29.1%
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
99.6%
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
5.0%
(*.f64 x #s(literal 3 binary64))
87.6%
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
Compiler

Compiled 43 to 36 computations (16.3% saved)

simplify4.0ms (0.1%)

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

Found 11 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 3 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
cost-diff0
(*.f64 y x)
cost-diff0
(*.f64 (*.f64 y x) #s(literal 3 binary64))
cost-diff0
#s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
cost-diff0
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
cost-diff0
(*.f64 x #s(literal 3 binary64))
cost-diff0
(*.f64 y y)
cost-diff0
(*.f64 (*.f64 y y) x)
cost-diff0
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
cost-diff0
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01684
02384
13784
25484
35684
05684
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
(*.f64 (*.f64 y y) x)
(*.f64 y y)
y
x
#s(literal 3 binary64)
(*.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
#s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 y x)
y
x
#s(literal 3 binary64)
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
y
Outputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
(*.f64 (*.f64 y y) x)
(*.f64 y y)
y
x
#s(literal 3 binary64)
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) x)
x
#s(literal 3 binary64)
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y #s(literal 3 binary64)) x)) y)
#s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
#s(approx (* (* x 3) y) (*.f64 (*.f64 y #s(literal 3 binary64)) x))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 (*.f64 y #s(literal 3 binary64)) x)
(*.f64 y x)
y
x
#s(literal 3 binary64)
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
(*.f64 (*.f64 y #s(literal 3 binary64)) x)
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) x)
x
#s(literal 3 binary64)
y

localize29.0ms (0.9%)

Memory
13.5MiB live, 13.5MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x #s(literal 3 binary64))
accuracy0.43308632039220296
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
accuracy0.0
(*.f64 y x)
accuracy0.0
#s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
accuracy0.14453125
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
accuracy0.28125
(*.f64 (*.f64 y x) #s(literal 3 binary64))
accuracy0.0
(*.f64 x #s(literal 3 binary64))
accuracy0.0
(*.f64 y y)
accuracy0.0
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
accuracy0.16015625
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
accuracy7.874122778371161
(*.f64 (*.f64 y y) x)
Samples
21.0ms256×0valid
Compiler

Compiled 66 to 13 computations (80.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 11.0ms (96.4% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series117.0ms (3.5%)

Memory
-34.1MiB live, 5.0MiB allocated
Counts
10 → 6
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
(*.f64 (*.f64 y y) x)
(*.f64 y y)
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
#s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 y x)
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
Outputs
(* 3 (* x (pow y 2)))
(* x (pow y 2))
(* 3 x)
(* 3 (* x y))
(* x y)
(pow y 2)
Calls

6 calls:

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

simplify3.0ms (0.1%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
11826
23326
34426
04426
Stop Event
iter limit
saturated
Counts
6 → 6
Calls
Call 1
Inputs
(* 3 (* x (pow y 2)))
(* x (pow y 2))
(* 3 x)
(* 3 (* x y))
(* x y)
(pow y 2)
Outputs
(* 3 (* x (pow y 2)))
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
(* x (pow y 2))
(*.f64 (*.f64 y y) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 (* x y))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(* x y)
(*.f64 y x)
(pow y 2)
(*.f64 y y)

rewrite69.0ms (2%)

Memory
16.0MiB live, 16.0MiB allocated
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01670
02386
13986
26386
38286
415886
546340
6228136
7230836
8243136
9365436
0865036
Stop Event
iter limit
node limit
iter limit
Counts
10 → 33
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
(*.f64 (*.f64 y y) x)
(*.f64 y y)
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
#s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 y x)
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
Outputs
(*.f64 #s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x)) y)
(*.f64 y #s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x)))
#s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x))
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 y (*.f64 #s(literal 3 binary64) x))
(*.f64 x y)
(*.f64 y x)
x
y
#s(literal 1 binary64)
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 y (*.f64 #s(literal 3 binary64) x))
(*.f64 #s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x)) y)
(*.f64 y #s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x)))
#s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x))
(*.f64 #s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x)) y)
(*.f64 y #s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x)))
#s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x))
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 y (*.f64 #s(literal 3 binary64) x))
(*.f64 x y)
(*.f64 y x)
x
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 y (*.f64 #s(literal 3 binary64) x))

eval2.0ms (0.1%)

Memory
1.6MiB live, 1.6MiB allocated
Compiler

Compiled 249 to 49 computations (80.3% saved)

prune3.0ms (0.1%)

Memory
2.9MiB live, 2.9MiB allocated
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New18119
Fresh000
Picked044
Done011
Total18624
Accuracy
99.9%
Counts
24 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
29.1%
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
99.6%
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
5.0%
(*.f64 x #s(literal 3 binary64))
87.6%
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
29.1%
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Compiler

Compiled 56 to 46 computations (17.9% saved)

simplify3.0ms (0.1%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y x)
cost-diff0
(*.f64 (*.f64 y x) #s(literal 3 binary64))
cost-diff0
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0924
01124
12124
23924
34724
04724
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 y x)
y
x
#s(literal 3 binary64)
Outputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
#s(approx (* (* (* x 3) y) y) (*.f64 y (*.f64 #s(literal 3 binary64) x)))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 y (*.f64 #s(literal 3 binary64) x))
(*.f64 y x)
y
x
#s(literal 3 binary64)

localize18.0ms (0.5%)

Memory
8.2MiB live, 8.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y x)
accuracy0.28125
(*.f64 (*.f64 y x) #s(literal 3 binary64))
accuracy45.400893428064954
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Samples
13.0ms256×0valid
Compiler

Compiled 20 to 10 computations (50% saved)

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

series4.0ms (0.1%)

Memory
3.2MiB live, 3.2MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 y x)
Outputs
(* 3 (* x (pow y 2)))
(* 3 (* x y))
(* x y)
Calls

6 calls:

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

simplify3.0ms (0.1%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
11715
23315
34615
04615
Stop Event
iter limit
saturated
Counts
3 → 3
Calls
Call 1
Inputs
(* 3 (* x (pow y 2)))
(* 3 (* x y))
(* x y)
Outputs
(* 3 (* x (pow y 2)))
(*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64))
(* 3 (* x y))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(* x y)
(*.f64 y x)

rewrite121.0ms (3.6%)

Memory
-26.9MiB live, 16.6MiB allocated
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0921
01121
12121
24121
35521
47121
514321
643913
7223711
8226311
9238611
10361011
0859111
Stop Event
iter limit
node limit
iter limit
Counts
3 → 8
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 y x)
Outputs
#s(approx (* (* (* x 3) y) y) (*.f64 #s(literal 3 binary64) x))
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 y (*.f64 #s(literal 3 binary64) x))
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))
(*.f64 y x)
(*.f64 x y)
x

eval1.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Compiler

Compiled 147 to 32 computations (78.2% saved)

prune4.0ms (0.1%)

Memory
3.1MiB live, 3.1MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New11011
Fresh000
Picked011
Done055
Total11617
Accuracy
99.9%
Counts
17 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
29.1%
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
99.6%
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
5.0%
(*.f64 x #s(literal 3 binary64))
87.6%
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
29.1%
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Compiler

Compiled 112 to 65 computations (42% saved)

regimes11.0ms (0.3%)

Memory
7.8MiB live, 7.8MiB allocated
Counts
6 → 1
Calls
Call 1
Inputs
(*.f64 x #s(literal 3 binary64))
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
Outputs
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
Calls

4 calls:

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

Compiled 12 to 14 computations (-16.7% saved)

regimes8.0ms (0.3%)

Memory
7.1MiB live, 7.1MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
(*.f64 x #s(literal 3 binary64))
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
Outputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
Calls

4 calls:

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

Compiled 12 to 14 computations (-16.7% saved)

regimes7.0ms (0.2%)

Memory
6.7MiB live, 6.7MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 x #s(literal 3 binary64))
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
Outputs
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Calls

4 calls:

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

Compiled 12 to 14 computations (-16.7% saved)

regimes43.0ms (1.3%)

Memory
-33.4MiB live, 6.0MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 x #s(literal 3 binary64))
Outputs
(*.f64 x #s(literal 3 binary64))
Calls

4 calls:

39.0ms
(*.f64 x #s(literal 3 binary64))
1.0ms
y
1.0ms
x
1.0ms
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
Results
AccuracySegmentsBranch
5.0%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) y) y)
5.0%1x
5.0%1y
5.0%1(*.f64 x #s(literal 3 binary64))
Compiler

Compiled 12 to 14 computations (-16.7% saved)

simplify10.0ms (0.3%)

Memory
5.2MiB live, 5.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01644
12344
23844
35544
45544
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 x #s(literal 3 binary64))
Outputs
(*.f64 #s(approx (* (* x 3) y) (*.f64 (*.f64 y x) #s(literal 3 binary64))) y)
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 (*.f64 y y) x) #s(literal 3 binary64)))
#s(approx (* (* (* x 3) y) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 x #s(literal 3 binary64))

soundness1.8s (54.2%)

Memory
-6.6MiB live, 32.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11815
23315
34415
04415
01670
02386
13986
26386
38286
415886
546340
6228136
7230836
8243136
9365436
0865036
0615
099
1169
2339
3579
4739
51459
64339
722579
822839
924069
1036289
085819
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
saturated
Compiler

Compiled 80 to 46 computations (42.5% saved)

preprocess60.0ms (1.8%)

Memory
2.7MiB live, 40.7MiB allocated
Remove

(negabs x)

(abs y)

Compiler

Compiled 168 to 98 computations (41.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...