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

Time bar (total: 6.7s)

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)

sample1.3s (19.4%)

Memory
10.4MiB live, 595.6MiB allocated
Samples
940.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 317.0ms
ival-mult: 303.0ms (95.6% of total)
ival-true: 6.0ms (1.9% of total)
exact: 5.0ms (1.6% of total)
ival-assert: 3.0ms (0.9% of total)
Bogosity

explain167.0ms (2.5%)

Memory
-26.5MiB live, 72.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
460-3(-5.671541346308091e-162 -3.7711513125776033e+49)(*.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*o270
*.f64(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)n*u160
Confusion
Predicted +Predicted -
+433
-0210
Precision
1.0
Recall
0.9347826086956522
Confusion?
Predicted +Predicted MaybePredicted -
+4303
-00210
Precision?
1.0
Recall?
0.9347826086956522
Freqs
test
numberfreq
0213
143
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
61.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: 10.0ms (95.4% 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.6%)

Memory
16.0MiB live, 16.0MiB 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.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

simplify4.0ms (0.1%)

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

localize61.0ms (0.9%)

Memory
-13.5MiB live, 23.8MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x #s(literal 3 binary64))
accuracy0.15234375
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
accuracy10.359990692278195
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
Samples
11.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: 4.0ms (82% 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
8.2MiB live, 8.2MiB 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
5.1MiB live, 5.1MiB 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)

rewrite94.0ms (1.4%)

Memory
-5.8MiB live, 72.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
1.4MiB live, 1.4MiB allocated
Compiler

Compiled 58 to 22 computations (62.1% saved)

prune2.0ms (0%)

Memory
3.0MiB live, 3.0MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New448
Fresh000
Picked011
Done000
Total459
Accuracy
83.9%
Counts
9 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.7%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
28.5%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
83.8%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.9%
(*.f64 y #s(literal 3 binary64))
83.8%
#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
7.7MiB live, 7.7MiB 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

localize45.0ms (0.7%)

Memory
-15.7MiB live, 29.1MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 #s(literal 3 binary64) y)
accuracy0.4365526034087137
(*.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.140625
(*.f64 (*.f64 x x) #s(literal 3 binary64))
accuracy10.359990692278195
(*.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.14453125
(*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64))
accuracy10.334467931606303
(*.f64 (*.f64 x x) y)
Samples
36.0ms256×0valid
Compiler

Compiled 150 to 32 computations (78.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-mult: 18.0ms (97.9% 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
7.2MiB live, 7.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
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
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
1.6MiB live, 1.6MiB 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))

rewrite111.0ms (1.7%)

Memory
4.6MiB live, 42.4MiB 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
3.1MiB live, 3.1MiB allocated
Compiler

Compiled 327 to 64 computations (80.4% saved)

prune5.0ms (0.1%)

Memory
5.5MiB live, 5.5MiB allocated
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New25227
Fresh000
Picked044
Done011
Total25732
Accuracy
83.9%
Counts
32 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.7%
(*.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.5%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
83.8%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.9%
(*.f64 y #s(literal 3 binary64))
83.8%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
28.5%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Compiler

Compiled 67 to 55 computations (17.9% saved)

simplify5.0ms (0.1%)

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

localize54.0ms (0.8%)

Memory
-18.3MiB live, 20.0MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.1015625
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
accuracy4.772651358800728
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
accuracy61.336401360171386
#s(approx (* (* x 3) x) #s(literal 3 binary64))
accuracy0
(*.f64 y x)
accuracy0.25
(*.f64 (*.f64 y x) #s(literal 3 binary64))
accuracy45.742484629273704
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Samples
48.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% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series10.0ms (0.2%)

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

simplify4.0ms (0.1%)

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

rewrite118.0ms (1.7%)

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

Compiled 265 to 54 computations (79.6% saved)

prune5.0ms (0.1%)

Memory
6.7MiB live, 6.7MiB allocated
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New21021
Fresh000
Picked022
Done055
Total21728
Accuracy
83.9%
Counts
28 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.7%
(*.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.5%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
83.8%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.9%
(*.f64 y #s(literal 3 binary64))
83.8%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
28.5%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Compiler

Compiled 134 to 81 computations (39.6% saved)

regimes46.0ms (0.7%)

Memory
-25.4MiB live, 16.1MiB 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
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
Calls

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

regimes10.0ms (0.1%)

Memory
10.4MiB live, 10.4MiB allocated
Counts
5 → 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)))
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
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
83.8%1x
83.8%1y
83.8%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
83.8%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes8.0ms (0.1%)

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

Compiled 14 to 15 computations (-7.1% saved)

regimes7.0ms (0.1%)

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

Compiled 14 to 15 computations (-7.1% saved)

regimes30.0ms (0.4%)

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

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

Compiled 14 to 15 computations (-7.1% saved)

simplify28.0ms (0.4%)

Memory
2.0MiB live, 41.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02055
12955
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
#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
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
(*.f64 y #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))))
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y (*.f64 x x)) #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 (65.7%)

Memory
4.8MiB live, 196.3MiB 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 83 to 45 computations (45.8% saved)

preprocess126.0ms (1.9%)

Memory
-3.5MiB live, 76.4MiB allocated
Remove

(negabs y)

(abs x)

Compiler

Compiled 294 to 186 computations (36.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...