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

Time bar (total: 5.8s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample721.0ms (12.5%)

Memory
4.3MiB live, 1 077.2MiB allocated
Samples
473.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 247.0ms
ival-mult: 234.0ms (94.7% of total)
ival-true: 6.0ms (2.4% of total)
exact: 5.0ms (2% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain61.0ms (1.1%)

Memory
-1.3MiB live, 115.4MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
390-0-(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
00-0-(*.f64 (*.f64 x #s(literal 3 binary64)) x)
00-0-y
00-0-#s(literal 3 binary64)
00-0-(*.f64 x #s(literal 3 binary64))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
*.f64(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)n*o240
*.f64(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)n*u150
Confusion
Predicted +Predicted -
+390
-0217
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+3900
-00217
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0217
139
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
24.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

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

preprocess39.0ms (0.7%)

Memory
17.5MiB live, 60.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01641
15635
218735
355235
4101535
5142935
6143935
7143935
8144235
067
097
1157
2297
3457
4497
0497
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
Outputs
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
(*.f64 y (*.f64 (*.f64 #s(literal 3 binary64) x) x))
Symmetry

(abs x)

(negabs y)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

simplify3.0ms (0.1%)

Memory
5.4MiB live, 5.4MiB 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)) x)
cost-diff0
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
11518
22918
34518
44918
04918
Stop Event
iter limit
saturated
iter limit
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 (*.f64 x #s(literal 3 binary64)) x) y)
(*.f64 y (*.f64 (*.f64 #s(literal 3 binary64) x) x))
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 (*.f64 #s(literal 3 binary64) x) x)
(*.f64 x #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) x)
x
#s(literal 3 binary64)
y

localize18.0ms (0.3%)

Memory
-4.7MiB live, 33.9MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x #s(literal 3 binary64))
accuracy0.1171875
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
accuracy9.143329266203072
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
Samples
14.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

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

series6.0ms (0.1%)

Memory
13.6MiB live, 13.6MiB allocated
Counts
3 → 3
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))
Outputs
(* 3 (* (pow x 2) y))
(* 3 (pow x 2))
(* 3 x)
Calls

6 calls:

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

simplify6.0ms (0.1%)

Memory
-32.3MiB live, 6.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
11515
22715
34715
44815
04815
Stop Event
iter limit
saturated
Counts
3 → 3
Calls
Call 1
Inputs
(* 3 (* (pow x 2) y))
(* 3 (pow x 2))
(* 3 x)
Outputs
(* 3 (* (pow x 2) y))
(*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 x)
(*.f64 #s(literal 3 binary64) x)

rewrite82.0ms (1.4%)

Memory
35.0MiB live, 115.4MiB allocated
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0615
0913
11513
22913
34713
45813
57413
614613
74445
822555
922815
1024045
1136205
085845
Stop Event
iter limit
node limit
iter limit
Counts
3 → 6
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))
Outputs
(*.f64 #s(literal 3 binary64) y)
(*.f64 y #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
(*.f64 x (*.f64 #s(literal 3 binary64) y))
#s(literal 3 binary64)
#s(literal 3 binary64)

eval1.0ms (0%)

Memory
2.8MiB live, 2.8MiB allocated
Compiler

Compiled 58 to 22 computations (62.1% saved)

prune4.0ms (0.1%)

Memory
-32.7MiB live, 6.4MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New448
Fresh000
Picked011
Done000
Total459
Accuracy
85.8%
Counts
9 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
85.6%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
28.1%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
85.6%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.8%
(*.f64 y #s(literal 3 binary64))
85.7%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
Compiler

Compiled 43 to 36 computations (16.3% saved)

simplify5.0ms (0.1%)

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

Found 11 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01684
02484
14184
25584
05584
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#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 x x) y)
(*.f64 x x)
x
y
#s(literal 3 binary64)
(*.f64 y #s(literal 3 binary64))
y
#s(literal 3 binary64)
(*.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)
x
#s(literal 3 binary64)
y
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
(*.f64 #s(literal 3 binary64) y)
#s(literal 3 binary64)
y
x
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 x x) y)
(*.f64 x x)
x
y
#s(literal 3 binary64)
(*.f64 y #s(literal 3 binary64))
y
#s(literal 3 binary64)
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 #s(literal 3 binary64) x) x)) y)
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
#s(approx (* (* x 3) x) (*.f64 (*.f64 #s(literal 3 binary64) x) x))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) x) x)
(*.f64 x x)
x
#s(literal 3 binary64)
y
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
(*.f64 (*.f64 y #s(literal 3 binary64)) x)
(*.f64 #s(literal 3 binary64) y)
(*.f64 y #s(literal 3 binary64))
#s(literal 3 binary64)
y
x

localize38.0ms (0.7%)

Memory
-22.6MiB live, 104.0MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(literal 3 binary64) y)
accuracy0.38454527837002267
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
accuracy0.0
(*.f64 x x)
accuracy0.0
#s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64)))
accuracy0.14453125
(*.f64 (*.f64 x x) #s(literal 3 binary64))
accuracy9.143329266203072
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
accuracy0.0
(*.f64 y #s(literal 3 binary64))
accuracy0.0
(*.f64 x x)
accuracy0.0
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
accuracy0.1171875
(*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64))
accuracy9.143365237474468
(*.f64 (*.f64 x x) y)
Samples
26.0ms256×0valid
Compiler

Compiled 150 to 32 computations (78.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-mult: 14.0ms (92% of total)
ival-assert: 1.0ms (6.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series11.0ms (0.2%)

Memory
28.0MiB live, 28.0MiB allocated
Counts
10 → 6
Calls
Call 1
Inputs
#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 x x) y)
(*.f64 x x)
(*.f64 y #s(literal 3 binary64))
(*.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 #s(literal 3 binary64) y) x)
(*.f64 #s(literal 3 binary64) y)
Outputs
(* 3 (* (pow x 2) y))
(* (pow x 2) y)
(pow x 2)
(* 3 (pow x 2))
(* 3 (* x y))
(* 3 y)
Calls

6 calls:

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

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01128
12128
23428
33828
03828
Stop Event
iter limit
saturated
Counts
6 → 6
Calls
Call 1
Inputs
(* 3 (* (pow x 2) y))
(* (pow x 2) y)
(pow x 2)
(* 3 (pow x 2))
(* 3 (* x y))
(* 3 y)
Outputs
(* 3 (* (pow x 2) y))
(*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64))
(* (pow x 2) y)
(*.f64 (*.f64 x x) y)
(pow x 2)
(*.f64 x x)
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))
(* 3 (* x y))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(* 3 y)
(*.f64 y #s(literal 3 binary64))

rewrite70.0ms (1.2%)

Memory
-1.5MiB live, 75.1MiB allocated
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01670
02480
14380
26480
38080
415280
544932
6227530
7230530
8243430
9362530
0855330
Stop Event
iter limit
node limit
iter limit
Counts
10 → 30
Calls
Call 1
Inputs
#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 x x) y)
(*.f64 x x)
(*.f64 y #s(literal 3 binary64))
(*.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 #s(literal 3 binary64) y) x)
(*.f64 #s(literal 3 binary64) y)
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 y #s(literal 3 binary64)))
(*.f64 y #s(literal 3 binary64))
(*.f64 (*.f64 y #s(literal 3 binary64)) x)
(*.f64 #s(literal 3 binary64) y)
(*.f64 x (*.f64 y #s(literal 3 binary64)))
(*.f64 y x)
(*.f64 x y)
y
x
#s(literal 1 binary64)
(*.f64 y #s(literal 3 binary64))
(*.f64 (*.f64 y #s(literal 3 binary64)) x)
(*.f64 #s(literal 3 binary64) y)
(*.f64 x (*.f64 y #s(literal 3 binary64)))
(*.f64 (*.f64 y #s(approx (* (* x 3) x) #s(literal 3 binary64))) x)
(*.f64 y #s(approx (* (* x 3) x) #s(literal 3 binary64)))
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) y)
(*.f64 x (*.f64 y #s(approx (* (* x 3) x) #s(literal 3 binary64))))
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
(*.f64 x #s(approx (* (* x 3) x) #s(literal 3 binary64)))
#s(approx (* (* x 3) x) #s(literal 3 binary64))
#s(literal 3 binary64)
(*.f64 y #s(literal 3 binary64))
(*.f64 (*.f64 y #s(literal 3 binary64)) x)
(*.f64 #s(literal 3 binary64) y)
(*.f64 x (*.f64 y #s(literal 3 binary64)))
(*.f64 y #s(literal 3 binary64))
(*.f64 (*.f64 y #s(literal 3 binary64)) x)
(*.f64 #s(literal 3 binary64) y)
(*.f64 x (*.f64 y #s(literal 3 binary64)))

eval3.0ms (0%)

Memory
5.9MiB live, 5.9MiB allocated
Compiler

Compiled 327 to 64 computations (80.4% saved)

prune8.0ms (0.1%)

Memory
-27.3MiB live, 10.6MiB allocated
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New25227
Fresh000
Picked044
Done011
Total25732
Accuracy
85.8%
Counts
32 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
85.6%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
28.5%
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
28.1%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
85.6%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.8%
(*.f64 y #s(literal 3 binary64))
85.7%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
28.1%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Compiler

Compiled 67 to 55 computations (17.9% saved)

simplify4.0ms (0.1%)

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

Found 6 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01254
01654
12954
25054
36254
46254
06254
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) 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 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
#s(approx (* (* x 3) x) #s(literal 3 binary64))
#s(literal 3 binary64)
x
y
Outputs
#s(approx (* (* (* x 3) x) 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 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
#s(approx (* (* x 3) x) #s(literal 3 binary64))
#s(literal 3 binary64)
x
y

localize35.0ms (0.6%)

Memory
12.9MiB live, 54.7MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0625
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
accuracy6.156321657479617
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
accuracy61.293634529962304
#s(approx (* (* x 3) x) #s(literal 3 binary64))
accuracy0.0
(*.f64 y x)
accuracy0.3203125
(*.f64 (*.f64 y x) #s(literal 3 binary64))
accuracy46.008269509457065
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Samples
29.0ms256×0valid
Compiler

Compiled 98 to 25 computations (74.5% saved)

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

series14.0ms (0.2%)

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

6 calls:

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

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01432
12932
26032
37932
07932
Stop Event
iter limit
saturated
Counts
6 → 6
Calls
Call 1
Inputs
(* 3 (* (pow x 2) y))
(* 3 (* x y))
(* x y)
(* 3 (* (pow x 3) y))
(* 3 (pow x 3))
(* 3 (pow x 2))
Outputs
(* 3 (* (pow x 2) y))
(*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64))
(* 3 (* x y))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(* x y)
(*.f64 y x)
(* 3 (* (pow x 3) y))
(*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) y) #s(literal 3 binary64))
(* 3 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64))
(* 3 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 3 binary64))

rewrite72.0ms (1.3%)

Memory
10.1MiB live, 85.0MiB allocated
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
01248
01646
12946
25046
36446
47146
58746
616746
749626
8246222
9249022
10261322
11382422
0876422
Stop Event
iter limit
node limit
iter limit
Counts
6 → 18
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 (*.f64 y x) #s(literal 3 binary64))
(*.f64 y x)
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
#s(approx (* (* x 3) x) #s(literal 3 binary64))
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) y))
(*.f64 #s(literal 3 binary64) y)
(*.f64 y #s(literal 3 binary64))
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
(*.f64 x (*.f64 #s(literal 3 binary64) y))
(*.f64 y x)
(*.f64 x y)
y
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) y)
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) y) x)
(*.f64 y #s(approx (* (* x 3) x) #s(literal 3 binary64)))
(*.f64 x (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) y))
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
(*.f64 x #s(approx (* (* x 3) x) #s(literal 3 binary64)))
#s(approx (* (* x 3) x) #s(literal 3 binary64))
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
(*.f64 x #s(approx (* (* x 3) x) #s(literal 3 binary64)))
#s(approx (* (* x 3) x) #s(literal 3 binary64))

eval2.0ms (0%)

Memory
4.6MiB live, 4.6MiB allocated
Compiler

Compiled 265 to 54 computations (79.6% saved)

prune5.0ms (0.1%)

Memory
11.5MiB live, 11.5MiB allocated
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New21021
Fresh000
Picked022
Done055
Total21728
Accuracy
85.8%
Counts
28 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
85.6%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
28.5%
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
28.1%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
85.6%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.8%
(*.f64 y #s(literal 3 binary64))
85.7%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
28.1%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Compiler

Compiled 134 to 81 computations (39.6% saved)

regimes22.0ms (0.4%)

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

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

regimes10.0ms (0.2%)

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

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

regimes7.0ms (0.1%)

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

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

regimes4.0ms (0.1%)

Memory
12.0MiB live, 12.0MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

simplify12.0ms (0.2%)

Memory
-17.8MiB live, 20.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01742
12342
23742
35242
45642
Stop Event
saturated
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 y #s(literal 3 binary64))
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 y #s(literal 3 binary64))

soundness4.5s (77.1%)

Memory
6.8MiB live, 201.0MiB allocated
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0615
0913
11513
22913
34713
45813
57413
614613
74445
822555
922815
1024045
1136205
085845
01670
02480
14380
26480
38080
415280
544932
6227530
7230530
8243430
9362530
0855330
0915
11515
22715
34715
44815
04815
Stop Event
done
iter limit
saturated
iter limit
node limit
iter limit
iter limit
node limit
iter limit
Compiler

Compiled 63 to 36 computations (42.9% saved)

preprocess53.0ms (0.9%)

Memory
9.2MiB live, 91.9MiB allocated
Remove

(negabs y)

(abs x)

Compiler

Compiled 172 to 104 computations (39.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...