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

Time bar (total: 7.9s)

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 (16.2%)

Memory
-1.4MiB live, 761.6MiB allocated
Samples
883.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 528.0ms
ival-mult: 512.0ms (97% of total)
ival-true: 7.0ms (1.3% of total)
exact: 5.0ms (0.9% of total)
ival-assert: 4.0ms (0.8% of total)
Bogosity

explain154.0ms (1.9%)

Memory
13.6MiB live, 53.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
250-1(-9.690886671846546e-159 -1.3123784189013144e+72)(*.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*o120
*.f64(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)n*u120
Confusion
Predicted +Predicted -
+241
-0231
Precision
1.0
Recall
0.96
Confusion?
Predicted +Predicted MaybePredicted -
+2401
-00231
Precision?
1.0
Recall?
0.96
Freqs
test
numberfreq
0232
124
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
123.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

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

preprocess89.0ms (1.1%)

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

Compiled 7 to 6 computations (14.3% saved)

simplify3.0ms (0%)

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

localize16.0ms (0.2%)

Memory
12.2MiB live, 12.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x #s(literal 3 binary64))
accuracy0.1484375
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
accuracy5.72201675421436
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
Samples
11.0ms256×0valid
Compiler

Compiled 20 to 8 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 5.0ms (100.8% 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
4.7MiB live, 4.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
1.4MiB live, 1.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)

rewrite94.0ms (1.2%)

Memory
7.2MiB live, 52.6MiB 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.5MiB live, 1.5MiB allocated
Compiler

Compiled 58 to 22 computations (62.1% saved)

prune32.0ms (0.4%)

Memory
-30.8MiB live, 7.7MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

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

localize66.0ms (0.8%)

Memory
16.3MiB live, 54.5MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(literal 3 binary64) y)
accuracy0.1953125
(*.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.15234375
(*.f64 (*.f64 x x) #s(literal 3 binary64))
accuracy5.72201675421436
(*.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.14453125
(*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64))
accuracy5.730279422885723
(*.f64 (*.f64 x x) y)
Samples
57.0ms256×0valid
Compiler

Compiled 66 to 15 computations (77.3% saved)

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

simplify38.0ms (0.5%)

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

rewrite188.0ms (2.4%)

Memory
16.5MiB live, 97.7MiB 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.6MiB live, 5.6MiB allocated
Compiler

Compiled 327 to 64 computations (80.4% saved)

prune5.0ms (0.1%)

Memory
10.8MiB live, 10.8MiB allocated
Pruning

7 alts after pruning (2 fresh and 5 done)

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

localize49.0ms (0.6%)

Memory
-2.9MiB live, 36.5MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.07421875
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x)
accuracy3.9462554634623075
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
accuracy61.30689245974327
#s(approx (* (* x 3) x) #s(literal 3 binary64))
accuracy0.0
(*.f64 y x)
accuracy0.22265625
(*.f64 (*.f64 y x) #s(literal 3 binary64))
accuracy45.62762248868687
#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: 11.0ms
ival-mult: 10.0ms (91.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series37.0ms (0.5%)

Memory
-24.4MiB live, 15.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
28.0ms
x
@inf
((* (* (* 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
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
x
@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%)

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

rewrite102.0ms (1.3%)

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

eval2.0ms (0%)

Memory
4.2MiB live, 4.2MiB allocated
Compiler

Compiled 265 to 54 computations (79.6% saved)

prune5.0ms (0.1%)

Memory
10.9MiB live, 10.9MiB allocated
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New21021
Fresh000
Picked022
Done055
Total21728
Accuracy
91.1%
Counts
28 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.0%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.1%
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) x) y)
28.7%
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
91.0%
(*.f64 #s(approx (* (* x 3) x) (*.f64 (*.f64 x x) #s(literal 3 binary64))) y)
4.9%
(*.f64 y #s(literal 3 binary64))
91.0%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 (*.f64 x x) y) #s(literal 3 binary64)))
28.7%
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Compiler

Compiled 134 to 81 computations (39.6% saved)

regimes27.0ms (0.3%)

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

19.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
91.0%1x
91.0%1y
91.0%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
91.0%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes9.0ms (0.1%)

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

Compiled 14 to 15 computations (-7.1% saved)

regimes41.0ms (0.5%)

Memory
-21.6MiB live, 17.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:

35.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
29.1%1x
29.1%1y
29.1%1(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.1%1(*.f64 (*.f64 x #s(literal 3 binary64)) x)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

regimes7.0ms (0.1%)

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

Compiled 14 to 15 computations (-7.1% saved)

regimes45.0ms (0.6%)

Memory
-32.4MiB live, 11.9MiB allocated
Counts
2 → 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)))
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
Calls

4 calls:

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

Compiled 14 to 15 computations (-7.1% saved)

regimes5.0ms (0.1%)

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

Compiled 14 to 15 computations (-7.1% saved)

simplify10.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02260
12860
24260
35860
46260
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)
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
#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)
#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)
(*.f64 (*.f64 #s(literal 3 binary64) y) x)
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 y x) #s(literal 3 binary64)))
(*.f64 y #s(literal 3 binary64))

soundness5.5s (69.3%)

Memory
-1.9MiB live, 226.9MiB allocated
Iterations

Useful iterations: 7 (0.0ms)

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

Compiled 88 to 47 computations (46.6% saved)

preprocess96.0ms (1.2%)

Memory
26.9MiB live, 65.0MiB allocated
Remove

(negabs y)

(abs x)

Compiler

Compiled 200 to 110 computations (45% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...