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

Time bar (total: 5.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample467.0ms (8.7%)

Memory
186.4MiB live, 186.4MiB allocated
Samples
283.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 148.0ms
ival-mult: 135.0ms (91% of total)
ival-true: 6.0ms (4% of total)
exact: 4.0ms (2.7% of total)
ival-assert: 3.0ms (2% of total)
Bogosity

explain66.0ms (1.2%)

Memory
37.3MiB live, 37.3MiB 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
21.0ms512×0valid
Compiler

Compiled 83 to 40 computations (51.8% saved)

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

preprocess37.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01641
15635
218735
355035
498335
5139235
6140635
7140635
8140935
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.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
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
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)) 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

localize14.0ms (0.3%)

Memory
6.7MiB live, 6.7MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.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
10.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

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

series5.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB 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
@0
((* (* (* x 3) x) y) (* (* x 3) x) (* x 3))
1.0ms
y
@inf
((* (* (* x 3) x) y) (* (* x 3) x) (* x 3))

simplify3.0ms (0%)

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

rewrite67.0ms (1.3%)

Memory
19.5MiB live, 19.5MiB 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
0.7MiB live, 0.7MiB allocated
Compiler

Compiled 58 to 22 computations (62.1% saved)

prune2.0ms (0%)

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

simplify4.0ms (0.1%)

Memory
0.8MiB live, 0.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

localize30.0ms (0.6%)

Memory
15.0MiB live, 15.0MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 #s(literal 3 binary64) y)
accuracy0.38454527837002267
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
accuracy0
(*.f64 x x)
accuracy0
#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
(*.f64 y #s(literal 3 binary64))
accuracy0
(*.f64 x x)
accuracy0
#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
22.0ms256×0valid
Compiler

Compiled 150 to 32 computations (78.7% saved)

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

series7.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB 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
2.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%)

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

rewrite61.0ms (1.1%)

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

eval2.0ms (0%)

Memory
2.2MiB live, 2.2MiB allocated
Compiler

Compiled 327 to 64 computations (80.4% saved)

prune4.0ms (0.1%)

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

localize23.0ms (0.4%)

Memory
10.8MiB live, 10.8MiB 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
(*.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
17.0ms256×0valid
Compiler

Compiled 98 to 25 computations (74.5% saved)

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

series9.0ms (0.2%)

Memory
6.3MiB live, 6.3MiB 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
2.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))
1.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
@0
((* (* (* 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))

simplify3.0ms (0.1%)

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

rewrite61.0ms (1.1%)

Memory
15.2MiB live, 15.2MiB 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
1.7MiB live, 1.7MiB allocated
Compiler

Compiled 265 to 54 computations (79.6% saved)

prune5.0ms (0.1%)

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

regimes11.0ms (0.2%)

Memory
7.6MiB live, 7.6MiB 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:

3.0ms
y
3.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
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)

regimes8.0ms (0.1%)

Memory
6.7MiB live, 6.7MiB 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:

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
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
6.3MiB live, 6.3MiB 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
2.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)

regimes5.0ms (0.1%)

Memory
5.5MiB live, 5.5MiB 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
x
1.0ms
y
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)

simplify19.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01742
12442
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.4s (82%)

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

preprocess34.0ms (0.6%)

Memory
22.7MiB live, 22.7MiB 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...