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

Time bar (total: 5.5s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample573.0ms (10.4%)

Memory
23.0MiB live, 1 087.4MiB allocated
Samples
354.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 171.0ms
ival-mult: 156.0ms (91% of total)
ival-true: 7.0ms (4.1% of total)
exact: 5.0ms (2.9% of total)
ival-assert: 3.0ms (1.8% of total)
Bogosity

explain58.0ms (1.1%)

Memory
5.9MiB live, 127.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
310-2(-1.0598756934426108e-161 5.362521744502675e+169)(*.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*u200
*.f64(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)n*o90
Confusion
Predicted +Predicted -
+292
-0225
Precision
1.0
Recall
0.9354838709677419
Confusion?
Predicted +Predicted MaybePredicted -
+2902
-00225
Precision?
1.0
Recall?
0.9354838709677419
Freqs
test
numberfreq
0227
129
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
24.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

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

preprocess38.0ms (0.7%)

Memory
-9.6MiB live, 68.8MiB 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
1.0MiB live, 1.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.2%
(*.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.7MiB live, 5.7MiB 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

localize17.0ms (0.3%)

Memory
-4.7MiB live, 34.0MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x #s(literal 3 binary64))
accuracy0.1328125
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
accuracy6.860452553186857
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
Samples
13.0ms256×0valid
Compiler

Compiled 20 to 8 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 6.0ms (90.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
12.0MiB live, 12.0MiB 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))

simplify3.0ms (0.1%)

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

rewrite85.0ms (1.5%)

Memory
-28.6MiB live, 109.0MiB 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.2MiB live, 2.2MiB allocated
Compiler

Compiled 58 to 22 computations (62.1% saved)

prune2.0ms (0%)

Memory
4.5MiB live, 4.5MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New448
Fresh000
Picked011
Done000
Total459
Accuracy
89.7%
Counts
9 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.2%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.1%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
89.1%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.8%
(*.f64 y #s(literal 3 binary64))
89.4%
#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
-32.6MiB live, 6.5MiB 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

localize41.0ms (0.8%)

Memory
2.5MiB live, 82.8MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(literal 3 binary64) y)
accuracy0.20703125
(*.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.17578125
(*.f64 (*.f64 x x) #s(literal 3 binary64))
accuracy6.860452553186857
(*.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.1796875
(*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64))
accuracy6.67380816452292
(*.f64 (*.f64 x x) y)
Samples
32.0ms256×0valid
Compiler

Compiled 66 to 15 computations (77.3% saved)

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

series8.0ms (0.1%)

Memory
18.2MiB live, 18.2MiB 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
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
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.7MiB live, 5.7MiB 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))

rewrite66.0ms (1.2%)

Memory
4.0MiB live, 81.5MiB 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
6.4MiB live, 6.4MiB allocated
Compiler

Compiled 327 to 64 computations (80.4% saved)

prune13.0ms (0.2%)

Memory
-19.8MiB live, 21.9MiB allocated
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New25227
Fresh000
Picked044
Done011
Total25732
Accuracy
89.7%
Counts
32 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.2%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.5%
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
29.1%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
89.1%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.8%
(*.f64 y #s(literal 3 binary64))
89.4%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
29.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
9.4MiB live, 9.4MiB 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

localize26.0ms (0.5%)

Memory
-21.3MiB live, 57.0MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0859375
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
accuracy4.120086430651075
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
accuracy61.2870050821088
#s(approx (* (* x 3) x) #s(literal 3 binary64))
accuracy0.0
(*.f64 y x)
accuracy0.28125
(*.f64 (*.f64 y x) #s(literal 3 binary64))
accuracy45.37704432760707
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Samples
19.0ms256×0valid
Compiler

Compiled 44 to 12 computations (72.7% saved)

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

series11.0ms (0.2%)

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

simplify4.0ms (0.1%)

Memory
6.6MiB live, 6.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))

rewrite71.0ms (1.3%)

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

eval4.0ms (0.1%)

Memory
-30.4MiB live, 8.7MiB allocated
Compiler

Compiled 265 to 54 computations (79.6% saved)

prune5.0ms (0.1%)

Memory
20.7MiB live, 20.7MiB allocated
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New21021
Fresh000
Picked022
Done055
Total21728
Accuracy
89.7%
Counts
28 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.2%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.5%
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
29.1%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
89.1%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.8%
(*.f64 y #s(literal 3 binary64))
89.4%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
29.1%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Compiler

Compiled 134 to 81 computations (39.6% saved)

regimes12.0ms (0.2%)

Memory
-9.0MiB live, 30.4MiB 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
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
3.0ms
y
3.0ms
x
2.0ms
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Results
AccuracySegmentsBranch
89.4%1x
89.4%1y
89.4%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
89.4%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes8.0ms (0.1%)

Memory
22.0MiB live, 22.0MiB 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
29.5%1x
29.5%1y
29.5%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.5%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes8.0ms (0.1%)

Memory
-19.9MiB live, 19.6MiB 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
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
2.0ms
y
2.0ms
x
1.0ms
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Results
AccuracySegmentsBranch
29.1%1y
29.1%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
29.1%1x
29.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
13.8MiB live, 13.8MiB 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%1y
4.8%1x
4.8%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
4.8%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

simplify18.0ms (0.3%)

Memory
-14.7MiB live, 27.6MiB 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.4s (79.3%)

Memory
-2.4MiB live, 194.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)

preprocess41.0ms (0.7%)

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