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

Time bar (total: 5.7s)

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)

sample684.0ms (11.9%)

Memory
19.0MiB live, 953.1MiB allocated
Samples
464.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 213.0ms
ival-mult: 199.0ms (93.2% of total)
ival-true: 6.0ms (2.8% of total)
exact: 4.0ms (1.9% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

preprocess38.0ms (0.7%)

Memory
25.6MiB live, 64.3MiB allocated
Algorithm
egg-herbie
Rules
562×unsub-neg
218×associate-*r*
214×distribute-lft-in
188×distribute-lft-neg-in
136×associate-*l*
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 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
Symmetry

(abs x)

(negabs y)

explain63.0ms (1.1%)

Memory
7.7MiB live, 164.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
240-1(5.187147128315438e-161 7.516592061920818e+291)(*.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*u110
Confusion
Predicted +Predicted -
+231
-0232
Precision
1.0
Recall
0.9583333333333334
Confusion?
Predicted +Predicted MaybePredicted -
+2301
-00232
Precision?
1.0
Recall?
0.9583333333333334
Freqs
test
numberfreq
0233
123
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
26.0ms512×0valid
Compiler

Compiled 58 to 28 computations (51.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 9.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)

eval0.0ms (0%)

Memory
0.5MiB live, 0.4MiB allocated
Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0%)

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

Compiled 9 to 6 computations (33.3% saved)

simplify7.0ms (0.1%)

Memory
-24.8MiB live, 13.2MiB 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)
Rules
62×lower-*.f32
56×lower-*.f64
32×associate-*r*
24×associate-*l*
14×*-commutative
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 (*.f64 x #s(literal 3 binary64)) (*.f64 x y))
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
(*.f64 x (*.f64 x #s(literal 3 binary64)))
(*.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
y

localize26.0ms (0.4%)

Memory
-5.6MiB live, 32.4MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x #s(literal 3 binary64))
accuracy99.8%
(*.f64 (*.f64 x #s(literal 3 binary64)) x)
accuracy91.6%
(*.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: 4.0ms (83.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
8.2MiB live, 8.2MiB allocated
Counts
3 → 48
Calls
Call 1
Inputs
#<alt (*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)>
#<alt (*.f64 (*.f64 x #s(literal 3 binary64)) x)>
#<alt (*.f64 x #s(literal 3 binary64))>
Outputs
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
Calls

12 calls:

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

simplify6.0ms (0.1%)

Memory
10.0MiB live, 10.0MiB allocated
Algorithm
egg-herbie
Rules
62×lower-*.f64
62×lower-*.f32
32×associate-*r*
18×associate-*l*
14×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09264
115264
227264
347264
448264
048264
Stop Event
iter limit
saturated
Counts
48 → 48
Calls
Call 1
Inputs
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
Outputs
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)

rewrite150.0ms (2.6%)

Memory
-20.8MiB live, 153.1MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 096×lower-pow.f64
2 096×lower-pow.f32
1 412×prod-exp
1 264×lower-*.f32
1 262×lower-*.f64
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0615
0917
11517
22917
34717
45817
57417
614617
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 1 binary64) (*.f64 y #s(literal 3 binary64)))
(*.f64 (*.f64 y #s(literal 3 binary64)) #s(literal 1 binary64))
(*.f64 y #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) y)
#s(literal 3 binary64)
#s(literal 3 binary64)

eval5.0ms (0.1%)

Memory
12.4MiB live, 12.4MiB allocated
Compiler

Compiled 362 to 18 computations (95% saved)

prune3.0ms (0.1%)

Memory
7.7MiB live, 7.7MiB allocated
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New50454
Fresh000
Picked011
Done000
Total50555
Accuracy
99.9%
Counts
55 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.5%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.9%
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
91.5%
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
5.4%
(*.f64 y #s(literal 3 binary64))
99.7%
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
Compiler

Compiled 39 to 27 computations (30.8% saved)

simplify34.0ms (0.6%)

Memory
-28.8MiB live, 15.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 3 binary64) x)
cost-diff0
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 #s(literal 3 binary64) (*.f64 x x))
cost-diff0
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x)))
cost-diff0
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
cost-diff0
(*.f64 y #s(literal 3 binary64))
cost-diff0
(*.f64 x y)
cost-diff0
(*.f64 x (*.f64 x y))
cost-diff0
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
cost-diff0
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
Rules
66×lower-*.f32
48×lower-*.f64
20×*-commutative
18×associate-*r*
18×lift-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01784
02684
14284
25284
05284
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
#s(literal 3 binary64)
(*.f64 x (*.f64 x y))
x
(*.f64 x y)
y
(*.f64 y #s(literal 3 binary64))
y
#s(literal 3 binary64)
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x)))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
#s(literal 3 binary64)
(*.f64 x x)
x
y
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 #s(literal 3 binary64) x)
#s(literal 3 binary64)
x
y
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 y (*.f64 x x))))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(*.f64 #s(literal 3 binary64) (*.f64 y (*.f64 x x)))
#s(literal 3 binary64)
(*.f64 x (*.f64 x y))
(*.f64 y (*.f64 x x))
x
(*.f64 x y)
y
(*.f64 y #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) y)
y
#s(literal 3 binary64)
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
(*.f64 y #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))))
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x)))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
#s(literal 3 binary64)
(*.f64 x x)
x
y
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 x (*.f64 #s(literal 3 binary64) y))
(*.f64 #s(literal 3 binary64) x)
(*.f64 x #s(literal 3 binary64))
#s(literal 3 binary64)
x
y

localize66.0ms (1.2%)

Memory
15.7MiB live, 90.6MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 #s(literal 3 binary64) x)
accuracy99.8%
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
accuracy100.0%
(*.f64 x x)
accuracy100.0%
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x)))
accuracy99.8%
(*.f64 #s(literal 3 binary64) (*.f64 x x))
accuracy91.6%
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
accuracy100.0%
(*.f64 y #s(literal 3 binary64))
accuracy100.0%
(*.f64 x y)
accuracy100.0%
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
accuracy99.8%
(*.f64 x (*.f64 x y))
accuracy99.7%
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
Samples
28.0ms256×0valid
Compiler

Compiled 66 to 16 computations (75.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-mult: 17.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)

series6.0ms (0.1%)

Memory
15.5MiB live, 15.5MiB allocated
Counts
11 → 204
Calls
Call 1
Inputs
#<alt #s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))>
#<alt (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))>
#<alt (*.f64 x (*.f64 x y))>
#<alt (*.f64 x y)>
#<alt (*.f64 y #s(literal 3 binary64))>
#<alt (*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)>
#<alt #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x)))>
#<alt (*.f64 #s(literal 3 binary64) (*.f64 x x))>
#<alt (*.f64 x x)>
#<alt (*.f64 (*.f64 #s(literal 3 binary64) x) y)>
#<alt (*.f64 #s(literal 3 binary64) x)>
Outputs
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* (pow x 2) y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 y)>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (* 3 (pow x 2))>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (pow x 2)>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
#<alt (* 3 x)>
Calls

51 calls:

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

simplify12.0ms (0.2%)

Memory
-14.3MiB live, 23.0MiB allocated
Algorithm
egg-herbie
Rules
62×lower-*.f64
62×lower-*.f32
18×associate-*r*
14×*-commutative
14×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0121044
1221044
2321044
3361044
0361044
Stop Event
iter limit
saturated
Counts
204 → 204
Calls
Call 1
Inputs
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* (pow x 2) y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 y)
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(* 3 (pow x 2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
(* 3 x)
Outputs
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* (pow x 2) y)
(*.f64 x (*.f64 x y))
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 y)
(*.f64 #s(literal 3 binary64) y)
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(* 3 (pow x 2))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)
(* 3 x)
(*.f64 #s(literal 3 binary64) x)

rewrite119.0ms (2.1%)

Memory
11.1MiB live, 204.4MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 096×lower-pow.f64
2 096×lower-pow.f32
1 412×prod-exp
1 276×lower-*.f32
1 268×lower-*.f64
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01773
02683
14483
26183
37783
414983
544633
6224629
7227529
8240429
9362729
0858229
Stop Event
iter limit
node limit
iter limit
Counts
11 → 30
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(*.f64 x (*.f64 x y))
(*.f64 x y)
(*.f64 y #s(literal 3 binary64))
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
#s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x)))
(*.f64 #s(literal 3 binary64) (*.f64 x x))
(*.f64 x x)
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 #s(literal 3 binary64) x)
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) y))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 3 binary64) y))
(*.f64 (*.f64 #s(literal 3 binary64) y) #s(literal 1 binary64))
(*.f64 #s(literal 3 binary64) y)
(*.f64 y #s(literal 3 binary64))
y
(*.f64 #s(literal 1 binary64) y)
(*.f64 y #s(literal 1 binary64))
y
(*.f64 #s(literal 1 binary64) y)
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 3 binary64) y))
(*.f64 (*.f64 #s(literal 3 binary64) y) #s(literal 1 binary64))
(*.f64 #s(literal 3 binary64) y)
(*.f64 y #s(literal 3 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) y))
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) y)
(*.f64 y #s(approx (* (* x 3) x) #s(literal 3 binary64)))
(*.f64 (*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) y) #s(literal 1 binary64))
#s(approx (* (* x 3) x) #s(literal 3 binary64))
(*.f64 #s(literal 1 binary64) #s(approx (* (* x 3) x) #s(literal 3 binary64)))
(*.f64 #s(approx (* (* x 3) x) #s(literal 3 binary64)) #s(literal 1 binary64))
#s(literal 3 binary64)
#s(literal 1 binary64)
x
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 3 binary64) y))
(*.f64 (*.f64 #s(literal 3 binary64) y) #s(literal 1 binary64))
(*.f64 #s(literal 3 binary64) y)
(*.f64 y #s(literal 3 binary64))
#s(literal 3 binary64)

eval22.0ms (0.4%)

Memory
-10.4MiB live, 64.9MiB allocated
Compiler

Compiled 1 438 to 29 computations (98% saved)

prune7.0ms (0.1%)

Memory
21.7MiB live, 21.7MiB allocated
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New2331234
Fresh000
Picked044
Done011
Total2336239
Accuracy
99.9%
Counts
239 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.5%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.9%
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
91.5%
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
5.4%
(*.f64 y #s(literal 3 binary64))
99.7%
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
29.9%
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
Compiler

Compiled 46 to 32 computations (30.4% saved)

simplify7.0ms (0.1%)

Memory
-22.4MiB live, 15.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(*.f64 #s(literal 3 binary64) (*.f64 x y))
cost-diff0
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
Rules
62×lower-*.f32
58×lower-*.f64
30×associate-*r*
18×associate-*l*
12×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0924
01124
12024
23524
34524
44524
04524
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
#s(literal 3 binary64)
(*.f64 x y)
x
y
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
#s(approx (* (* (* x 3) x) y) (*.f64 (*.f64 x #s(literal 3 binary64)) y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(*.f64 (*.f64 x #s(literal 3 binary64)) y)
#s(literal 3 binary64)
(*.f64 x y)
x
y

localize143.0ms (2.5%)

Memory
-81.1MiB live, 41.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x y)
accuracy99.6%
(*.f64 #s(literal 3 binary64) (*.f64 x y))
accuracy29.9%
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
Samples
14.0ms256×0valid
Compiler

Compiled 20 to 10 computations (50% saved)

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

series1.0ms (0%)

Memory
1.3MiB live, 1.3MiB allocated
Counts
3 → 72
Calls
Call 1
Inputs
#<alt #s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))>
#<alt (*.f64 #s(literal 3 binary64) (*.f64 x y))>
#<alt (*.f64 x y)>
Outputs
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* (pow x 2) y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* 3 (* x y))>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
Calls

18 calls:

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

simplify7.0ms (0.1%)

Memory
7.7MiB live, 7.7MiB allocated
Algorithm
egg-herbie
Rules
62×lower-*.f64
62×lower-*.f32
20×associate-*r*
20×associate-*l*
18×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09360
118360
233360
342360
042360
Stop Event
iter limit
saturated
Counts
72 → 72
Calls
Call 1
Inputs
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* (pow x 2) y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* 3 (* x y))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
Outputs
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* (pow x 2) y))
(*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y)))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* 3 (* x y))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)

rewrite113.0ms (2%)

Memory
-3.1MiB live, 193.9MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 096×lower-pow.f64
2 096×lower-pow.f32
1 412×prod-exp
1 264×lower-*.f32
1 260×lower-*.f64
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
0921
01123
12023
23523
34723
45423
57023
614223
744113
8227611
9230211
10242511
11363111
0855211
Stop Event
iter limit
node limit
iter limit
Counts
3 → 8
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
(*.f64 #s(literal 3 binary64) (*.f64 x y))
(*.f64 x y)
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) y))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 3 binary64) y))
(*.f64 #s(literal 3 binary64) y)
(*.f64 (*.f64 #s(literal 3 binary64) y) #s(literal 1 binary64))
(*.f64 y #s(literal 3 binary64))
y
(*.f64 #s(literal 1 binary64) y)
(*.f64 y #s(literal 1 binary64))

eval7.0ms (0.1%)

Memory
20.5MiB live, 20.5MiB allocated
Compiler

Compiled 442 to 16 computations (96.4% saved)

prune4.0ms (0.1%)

Memory
10.5MiB live, 10.5MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New80080
Fresh000
Picked011
Done055
Total80686
Accuracy
99.9%
Counts
86 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.5%
(*.f64 (*.f64 (*.f64 x #s(literal 3 binary64)) x) y)
29.9%
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
91.5%
(*.f64 #s(approx (* (* x 3) x) (*.f64 #s(literal 3 binary64) (*.f64 x x))) y)
5.4%
(*.f64 y #s(literal 3 binary64))
99.7%
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
29.9%
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
Compiler

Compiled 82 to 48 computations (41.5% saved)

regimes12.0ms (0.2%)

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

4 calls:

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

Compiled 22 to 15 computations (31.8% saved)

regimes11.0ms (0.2%)

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

4 calls:

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

Compiled 22 to 15 computations (31.8% saved)

regimes13.0ms (0.2%)

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

4 calls:

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

Compiled 22 to 15 computations (31.8% saved)

regimes8.0ms (0.1%)

Memory
-10.3MiB live, 24.0MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

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

Compiled 22 to 15 computations (31.8% saved)

simplify7.0ms (0.1%)

Memory
26.7MiB live, 26.7MiB allocated
Algorithm
egg-herbie
Rules
14×*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01536
12236
Stop Event
saturated
Calls
Call 1
Inputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
(*.f64 y #s(literal 3 binary64))
Outputs
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x (*.f64 x y))))
(*.f64 (*.f64 #s(literal 3 binary64) x) y)
(*.f64 y (*.f64 x #s(literal 3 binary64)))
#s(approx (* (* (* x 3) x) y) (*.f64 #s(literal 3 binary64) (*.f64 x y)))
(*.f64 y #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) y)

soundness4.1s (70.8%)

Memory
-9.6MiB live, 215.6MiB allocated
Rules
2 096×lower-pow.f64
2 096×lower-pow.f32
2 096×lower-pow.f64
2 096×lower-pow.f32
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
09264
115264
227264
347264
448264
048264
0615
0917
11517
22917
34717
45817
57417
614617
74445
822555
922815
1024045
1136205
085845
01773
02683
14483
26183
37783
414983
544633
6224629
7227529
8240429
9362729
0858229
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
saturated
Compiler

Compiled 40 to 22 computations (45% saved)

preprocess85.0ms (1.5%)

Memory
4.6MiB live, 206.5MiB allocated
Remove

(negabs y)

(abs x)

Compiler

Compiled 188 to 116 computations (38.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...