Linear.Matrix:fromQuaternion from linear-1.19.1.3, B

Time bar (total: 3.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
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 11 to 9 computations (18.2% saved)

sample886.0ms (24%)

Memory
66.1MiB live, 1 321.1MiB allocated; 272ms collecting garbage
Samples
601.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 343.0ms
ival-mult: 266.0ms (77.6% of total)
ival-add: 61.0ms (17.8% of total)
ival-true: 5.0ms (1.5% of total)
exact: 5.0ms (1.5% of total)
adjust: 3.0ms (0.9% of total)
ival-assert: 3.0ms (0.9% of total)
Bogosity

explain110.0ms (3%)

Memory
12.7MiB live, 144.4MiB allocated; 28ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
90-0-(+.f64 (*.f64 x x) (*.f64 x y))
00-0-#s(literal 2 binary64)
00-0-y
00-0-(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
00-0-(*.f64 x x)
00-0-(*.f64 x y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
+.f64(+.f64 (*.f64 x x) (*.f64 x y))nan-rescue90
(*.f64 x x)overflow56
(*.f64 x y)overflow28
Confusion
Predicted +Predicted -
+90
-0247
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+900
-00247
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0247
19
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
38.0ms512×0valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-mult: 21.0ms (86.8% of total)
ival-add: 2.0ms (8.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess234.0ms (6.3%)

Memory
-27.2MiB live, 179.5MiB allocated; 220ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01939
18335
234035
3130135
4591335
079
0117
1317
21277
35297
420207
553317
080217
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 (*.f64 x #s(literal 2 binary64)) (+.f64 y x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.5%
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify104.0ms (2.8%)

Memory
10.3MiB live, 162.0MiB allocated; 20ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
cost-diff2
(+.f64 (*.f64 x x) (*.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0725
01121
13121
212721
352921
4202021
5533121
0802121
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
#s(literal 2 binary64)
(+.f64 (*.f64 x x) (*.f64 x y))
(*.f64 x x)
x
(*.f64 x y)
y
Outputs
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 (*.f64 x #s(literal 2 binary64)) (+.f64 y x))
#s(literal 2 binary64)
(+.f64 (*.f64 x x) (*.f64 x y))
(*.f64 (+.f64 y x) x)
(*.f64 x x)
x
(*.f64 x y)
(*.f64 y x)
y

localize58.0ms (1.6%)

Memory
-1.8MiB live, 42.9MiB allocated; 12ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x y)
accuracy0.0
(*.f64 x x)
accuracy0.0078125
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
accuracy1.9062458716604116
(+.f64 (*.f64 x x) (*.f64 x y))
Samples
13.0ms256×0valid
Compiler

Compiled 27 to 9 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 5.0ms (79.4% of total)
ival-add: 1.0ms (15.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
12.8MiB live, 12.8MiB allocated; 0ms collecting garbage
Counts
4 → 14
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 x y))
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 x x)
(*.f64 x y)
Outputs
(* x y)
(* x (+ x y))
(* 2 (* x y))
(* x (+ (* 2 x) (* 2 y)))
(pow x 2)
(* (pow x 2) (+ 1 (/ y x)))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(+ (* x y) (pow x 2))
(+ (* 2 (* x y)) (* 2 (pow x 2)))
(* y (+ x (/ (pow x 2) y)))
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y)))))
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y))
1.0ms
y
@inf
((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y))
1.0ms
x
@0
((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y))
1.0ms
x
@-inf
((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y))
1.0ms
y
@-inf
((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y))

simplify322.0ms (8.7%)

Memory
4.9MiB live, 371.6MiB allocated; 51ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04084
115384
256284
3189084
4723284
0840482
Stop Event
iter limit
node limit
Counts
14 → 14
Calls
Call 1
Inputs
(* x y)
(* x (+ x y))
(* 2 (* x y))
(* x (+ (* 2 x) (* 2 y)))
(pow x 2)
(* (pow x 2) (+ 1 (/ y x)))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(+ (* x y) (pow x 2))
(+ (* 2 (* x y)) (* 2 (pow x 2)))
(* y (+ x (/ (pow x 2) y)))
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y)))))
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
Outputs
(* x y)
(*.f64 y x)
(* x (+ x y))
(*.f64 (+.f64 y x) x)
(* 2 (* x y))
(*.f64 #s(literal 2 binary64) (*.f64 y x))
(* x (+ (* 2 x) (* 2 y)))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ y x)))
(*.f64 (fma.f64 (/.f64 y x) x x) x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(*.f64 (*.f64 (fma.f64 (/.f64 y x) x x) x) #s(literal 2 binary64))
(+ (* x y) (pow x 2))
(*.f64 (+.f64 y x) x)
(+ (* 2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* y (+ x (/ (pow x 2) y)))
(*.f64 (+.f64 y x) x)
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y)))))
(*.f64 (+.f64 y x) x)
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))

rewrite73.0ms (2%)

Memory
-40.7MiB live, 130.8MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0722
01118
14518
040718
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 119
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 x y))
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 x x)
(*.f64 x y)
Outputs
(*.f64 (+.f64 y x) x)
(*.f64 (neg.f64 x) (-.f64 (neg.f64 x) y))
(*.f64 x (+.f64 y x))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 y x) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) y)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (*.f64 x (-.f64 x y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (*.f64 x (-.f64 x y)))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 (*.f64 x x) y) x))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 (neg.f64 (neg.f64 x)) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 y x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 x)) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 x)) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y x))
(fma.f64 y x (*.f64 x x))
(fma.f64 x y (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 x)) y))
(fma.f64 x x (*.f64 y x))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x (-.f64 x y))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 x (-.f64 x y))))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 y x) (*.f64 x (neg.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) x))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) y))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (*.f64 y x) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) y))
(+.f64 (*.f64 x x) (*.f64 y x))
(*.f64 (*.f64 #s(literal 2 binary64) x) (+.f64 y x))
(*.f64 (+.f64 y x) (+.f64 x x))
(*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) x))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(*.f64 x (*.f64 (+.f64 y x) #s(literal 2 binary64)))
(*.f64 x (+.f64 (+.f64 y x) (+.f64 y x)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) #s(literal 2 binary64)) (*.f64 x (-.f64 x y)))
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) #s(literal 2 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (*.f64 x (-.f64 x y)))
(/.f64 (*.f64 #s(literal 2 binary64) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 x x))) (*.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) (*.f64 #s(literal 2 binary64) (*.f64 y x)))) (-.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 x x)) (-.f64 (*.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) (*.f64 #s(literal 2 binary64) (*.f64 y x))) (*.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 y x))))))
(/.f64 (-.f64 (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))) (-.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (+.f64 y x) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (+.f64 y x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x) (-.f64 (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)))))
(/.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (*.f64 x (-.f64 x y)))
(/.f64 (+.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (*.f64 x (-.f64 x y)) (*.f64 (*.f64 x (-.f64 x y)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y))))
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x (-.f64 x y)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))))) (*.f64 (*.f64 x (-.f64 x y)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (fma.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 x (-.f64 x y)) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 x (-.f64 x y))))
(/.f64 (fma.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(fma.f64 (*.f64 #s(literal 2 binary64) y) x (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(fma.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(fma.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x) (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(fma.f64 (*.f64 #s(literal 2 binary64) x) y (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x) (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x)))
(fma.f64 (+.f64 y x) x (*.f64 (+.f64 y x) x))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(fma.f64 (neg.f64 x) (-.f64 (neg.f64 x) y) (*.f64 (+.f64 y x) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 #s(literal 2 binary64) (*.f64 y x) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(fma.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64) (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64)))
(fma.f64 (*.f64 y x) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(fma.f64 y (*.f64 x #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(fma.f64 y x (fma.f64 x x (*.f64 (+.f64 y x) x)))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(fma.f64 x (*.f64 y #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(fma.f64 x (*.f64 x #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(fma.f64 x (+.f64 y x) (*.f64 (+.f64 y x) x))
(fma.f64 x y (fma.f64 x x (*.f64 (+.f64 y x) x)))
(fma.f64 x x (fma.f64 y x (*.f64 (+.f64 y x) x)))
(-.f64 (fma.f64 (+.f64 y x) x (*.f64 x x)) (*.f64 (neg.f64 x) y))
(-.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))
(-.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(-.f64 (*.f64 (+.f64 y x) x) (*.f64 (neg.f64 x) (+.f64 y x)))
(-.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 x) y) (*.f64 (+.f64 y x) x)))
(+.f64 (fma.f64 (+.f64 y x) x (*.f64 y x)) (*.f64 x x))
(+.f64 (fma.f64 (+.f64 y x) x (*.f64 x x)) (*.f64 y x))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x)) (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x)))
(+.f64 (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64)) (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 y x)))
(+.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))
(+.f64 (*.f64 y x) (fma.f64 x x (*.f64 (+.f64 y x) x)))
(+.f64 (*.f64 x x) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 y x)
(*.f64 x y)

eval38.0ms (1%)

Memory
-17.7MiB live, 28.6MiB allocated; 3ms collecting garbage
Compiler

Compiled 1 975 to 321 computations (83.7% saved)

prune2.0ms (0.1%)

Memory
8.1MiB live, 8.1MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1243127
Fresh000
Picked101
Done000
Total1253128
Accuracy
100.0%
Counts
128 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) (+.f64 x x))
55.8%
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
62.4%
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Compiler

Compiled 35 to 25 computations (28.6% saved)

simplify170.0ms (4.6%)

Memory
19.9MiB live, 160.6MiB allocated; 21ms collecting garbage
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x x)
cost-diff0
(+.f64 y x)
cost-diff0
(*.f64 (+.f64 y x) (+.f64 x x))
cost-diff0
(*.f64 y x)
cost-diff0
#s(approx (+ (* x x) (* x y)) (*.f64 y x))
cost-diff0
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(literal 2 binary64))
cost-diff0
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01670
02364
15364
216164
358364
4176964
5521764
0804564
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
#s(literal 2 binary64)
#s(approx (+ (* x x) (* x y)) (*.f64 y x))
(*.f64 y x)
y
x
(*.f64 (+.f64 y x) (+.f64 x x))
(+.f64 y x)
y
x
(+.f64 x x)
Outputs
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
(*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (+ (* x x) (* x y)) (*.f64 y x))
(*.f64 y x)
y
x
(*.f64 (+.f64 y x) (+.f64 x x))
(*.f64 (*.f64 (+.f64 y x) #s(literal 2 binary64)) x)
(+.f64 y x)
y
x
(+.f64 x x)
(*.f64 x #s(literal 2 binary64))

localize61.0ms (1.6%)

Memory
-14.3MiB live, 85.1MiB allocated; 24ms collecting garbage
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y x)
accuracy0.0
(+.f64 x x)
accuracy0.0
(*.f64 (+.f64 y x) (+.f64 x x))
accuracy0.0
(*.f64 y x)
accuracy0.0078125
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
accuracy28.272452739148406
#s(approx (+ (* x x) (* x y)) (*.f64 y x))
accuracy0.0
(*.f64 x x)
accuracy0.01171875
(*.f64 (*.f64 x x) #s(literal 2 binary64))
accuracy24.070222585622233
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Samples
27.0ms256×0valid
Compiler

Compiled 58 to 14 computations (75.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-mult: 10.0ms (71.4% of total)
ival-add: 3.0ms (21.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
18.7MiB live, 18.7MiB allocated; 0ms collecting garbage
Counts
9 → 22
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
#s(approx (+ (* x x) (* x y)) (*.f64 y x))
(*.f64 y x)
(*.f64 (+.f64 y x) (+.f64 x x))
(+.f64 y x)
(+.f64 x x)
Outputs
(* 2 (* x y))
(* x (+ (* 2 x) (* 2 y)))
(* 2 (pow x 2))
(pow x 2)
(* x y)
(* x (+ x y))
y
(+ x y)
(* 2 x)
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(* (pow x 2) (+ 1 (/ y x)))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+ (* 2 (* x y)) (* 2 (pow x 2)))
(+ (* x y) (pow x 2))
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(* y (+ x (/ (pow x 2) y)))
(* y (+ 1 (/ x y)))
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x))
1.0ms
x
@inf
((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x))
1.0ms
x
@0
((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x))
1.0ms
y
@-inf
((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x))
1.0ms
y
@inf
((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x))

simplify149.0ms (4%)

Memory
-20.2MiB live, 110.7MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05296
119496
264496
3214096
4642896
0807096
Stop Event
iter limit
node limit
Counts
22 → 20
Calls
Call 1
Inputs
(* 2 (* x y))
(* x (+ (* 2 x) (* 2 y)))
(* 2 (pow x 2))
(pow x 2)
(* x y)
(* x (+ x y))
y
(+ x y)
(* 2 x)
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(* (pow x 2) (+ 1 (/ y x)))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+ (* 2 (* x y)) (* 2 (pow x 2)))
(+ (* x y) (pow x 2))
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(* y (+ x (/ (pow x 2) y)))
(* y (+ 1 (/ x y)))
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Outputs
(* 2 (* x y))
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(* x (+ (* 2 x) (* 2 y)))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* x y)
(*.f64 y x)
(* x (+ x y))
(*.f64 (+.f64 y x) x)
y
(+ x y)
(+.f64 y x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* (pow x 2) (+ 1 (/ y x)))
(*.f64 (+.f64 y x) x)
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(+ (* 2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(+ (* x y) (pow x 2))
(*.f64 (+.f64 y x) x)
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* y (+ x (/ (pow x 2) y)))
(*.f64 (+.f64 y x) x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y)))))
(*.f64 (+.f64 y x) x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)

rewrite71.0ms (1.9%)

Memory
21.6MiB live, 79.7MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01663
02359
18443
070541
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
9 → 113
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(*.f64 x x)
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
#s(approx (+ (* x x) (* x y)) (*.f64 y x))
(*.f64 y x)
(*.f64 (+.f64 y x) (+.f64 x x))
(+.f64 y x)
(+.f64 x x)
Outputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
(/.f64 (-.f64 (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))) (-.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 3 binary64)) (pow.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 3 binary64))) (fma.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x)) (-.f64 (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x))))))
(fma.f64 #s(literal 1 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)) (*.f64 #s(literal 1 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))))
(fma.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 1 binary64) (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (*.f64 #s(literal 1 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))))
(+.f64 (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 1 binary64)) (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 1 binary64)))
(+.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
#s(approx (+ (* x x) (* x y)) (*.f64 y x))
(*.f64 y x)
(*.f64 x y)
(*.f64 (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) x)
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(*.f64 x (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)))
(*.f64 x (+.f64 (+.f64 y x) (+.f64 y x)))
(*.f64 #s(literal 2 binary64) (+.f64 y x))
(*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) x))
(/.f64 (*.f64 #s(literal 0 binary64) (+.f64 y x)) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 y x)) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 2 binary64)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) #s(literal 2 binary64)) (*.f64 x (-.f64 x y)))
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) #s(literal 2 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(literal 2 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (*.f64 #s(literal 2 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (*.f64 x (-.f64 x y)))
(/.f64 (*.f64 #s(literal 2 binary64) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 y #s(literal 2 binary64)))) (-.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64))))
(/.f64 (+.f64 #s(literal 8 binary64) (pow.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 4 binary64) (-.f64 (*.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 y #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64))))))
(/.f64 (-.f64 (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))) (-.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (+.f64 y x) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (+.f64 y x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x) (-.f64 (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)))))
(/.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (*.f64 x (-.f64 x y)))
(/.f64 (+.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 #s(literal 0 binary64) (-.f64 y x)))
(/.f64 (*.f64 #s(literal 0 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (-.f64 y x)))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 0 binary64)) (*.f64 (-.f64 y x) #s(literal 0 binary64)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (-.f64 y x) (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)) #s(literal 0 binary64)))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)) (fma.f64 x x #s(literal 0 binary64))))
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (*.f64 x (-.f64 x y)) (*.f64 (*.f64 x (-.f64 x y)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y))))
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x (-.f64 x y)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))))) (*.f64 (*.f64 x (-.f64 x y)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (fma.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 x (-.f64 x y)) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 x (-.f64 x y))))
(/.f64 (fma.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x) (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x)))
(fma.f64 (*.f64 y #s(literal 2 binary64)) x #s(literal 2 binary64))
(fma.f64 (neg.f64 x) (-.f64 (neg.f64 x) y) (*.f64 (+.f64 y x) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 (+.f64 y x) x (*.f64 (+.f64 y x) x))
(fma.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64) (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64)))
(fma.f64 (*.f64 y x) #s(literal 2 binary64) #s(literal 2 binary64))
(fma.f64 y x (fma.f64 x x (*.f64 (+.f64 y x) x)))
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
(fma.f64 x (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64))
(fma.f64 x (+.f64 y x) (*.f64 (+.f64 y x) x))
(fma.f64 x y (fma.f64 x x (*.f64 (+.f64 y x) x)))
(fma.f64 x x (fma.f64 y x (*.f64 (+.f64 y x) x)))
(fma.f64 #s(literal 2 binary64) (*.f64 y x) #s(literal 2 binary64))
(fma.f64 #s(literal 2 binary64) y #s(literal 2 binary64))
(-.f64 (fma.f64 (+.f64 y x) x (*.f64 x x)) (*.f64 (neg.f64 x) y))
(-.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 x) y) (*.f64 (+.f64 y x) x)))
(-.f64 (*.f64 (+.f64 y x) x) (*.f64 (neg.f64 (+.f64 y x)) x))
(-.f64 (*.f64 (+.f64 y x) x) (*.f64 (neg.f64 x) (+.f64 y x)))
(-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))
(-.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(+.f64 (fma.f64 (+.f64 y x) x (*.f64 x x)) (*.f64 y x))
(+.f64 (fma.f64 (+.f64 y x) x (*.f64 y x)) (*.f64 x x))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x)) (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x)))
(+.f64 (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64)) (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64)))
(+.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64))
(+.f64 (*.f64 x x) (fma.f64 y x (*.f64 (+.f64 y x) x)))
(+.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))
(+.f64 (*.f64 y x) (fma.f64 x x (*.f64 (+.f64 y x) x)))
(+.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 y y) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)
#s(literal 2 binary64)

eval16.0ms (0.4%)

Memory
-11.7MiB live, 32.2MiB allocated; 7ms collecting garbage
Compiler

Compiled 2 137 to 308 computations (85.6% saved)

prune5.0ms (0.1%)

Memory
13.7MiB live, 13.7MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1163119
Fresh000
Picked033
Done000
Total1166122
Accuracy
100.0%
Counts
122 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
4.0%
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
100.0%
(*.f64 (+.f64 y x) (+.f64 x x))
4.7%
(*.f64 (+.f64 y x) #s(literal 2 binary64))
55.8%
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
62.4%
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
4.1%
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
Compiler

Compiled 55 to 43 computations (21.8% saved)

simplify150.0ms (4.1%)

Memory
0.7MiB live, 149.6MiB allocated; 34ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
cost-diff0
(+.f64 y x)
cost-diff0
(*.f64 (+.f64 y x) #s(literal 2 binary64))
cost-diff0
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01129
01527
14127
215827
362027
4223127
5523827
0825427
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(+.f64 y x)
y
x
#s(literal 2 binary64)
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
y
#s(literal 2 binary64)
Outputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(+.f64 y x)
y
x
#s(literal 2 binary64)
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
y
#s(literal 2 binary64)

localize34.0ms (0.9%)

Memory
6.5MiB live, 97.4MiB allocated; 8ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
accuracy0.0
(+.f64 y x)
accuracy0.0
(*.f64 (+.f64 y x) #s(literal 2 binary64))
accuracy61.347578845974674
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
Samples
27.0ms256×0valid
Compiler

Compiled 30 to 13 computations (56.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-mult: 13.0ms (77.4% of total)
ival-add: 3.0ms (17.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
-33.0MiB live, 13.5MiB allocated; 2ms collecting garbage
Counts
4 → 24
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(+.f64 y x)
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
Outputs
(* 2 (* x y))
(* x (+ (* 2 x) (* 2 y)))
(* 2 y)
(+ (* 2 x) (* 2 y))
y
(+ x y)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(* 2 x)
(* x (+ 2 (* 2 (/ y x))))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (- (* -2 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+ (* 2 (* x y)) (* 2 (pow x 2)))
2
(+ 2 (* 2 y))
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(* y (+ 2 (* 2 (/ x y))))
(* y (+ 1 (/ x y)))
(* y (+ 2 (* 2 (/ 1 y))))
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
(* -1 (* y (- (* -2 (/ x y)) 2)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
y
@-inf
((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2))
1.0ms
x
@-inf
((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2))
1.0ms
y
@inf
((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2))
1.0ms
x
@inf
((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2))
0.0ms
x
@0
((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2))

simplify170.0ms (4.6%)

Memory
7.2MiB live, 252.9MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059104
1209104
2734104
32773104
47079104
08710102
Stop Event
iter limit
node limit
Counts
24 → 22
Calls
Call 1
Inputs
(* 2 (* x y))
(* x (+ (* 2 x) (* 2 y)))
(* 2 y)
(+ (* 2 x) (* 2 y))
y
(+ x y)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(* 2 x)
(* x (+ 2 (* 2 (/ y x))))
x
(* x (+ 1 (/ y x)))
(* -1 (* x (- (* -2 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+ (* 2 (* x y)) (* 2 (pow x 2)))
2
(+ 2 (* 2 y))
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(* y (+ 2 (* 2 (/ x y))))
(* y (+ 1 (/ x y)))
(* y (+ 2 (* 2 (/ 1 y))))
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
(* -1 (* y (- (* -2 (/ x y)) 2)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Outputs
(* 2 (* x y))
(*.f64 (*.f64 y x) #s(literal 2 binary64))
(* x (+ (* 2 x) (* 2 y)))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 x) (* 2 y))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
y
(+ x y)
(+.f64 y x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* 2 (/ y x))))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 (* 2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* -1 (* x (- (* -2 (/ y x)) 2)))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(+ (* 2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
2
#s(literal 2 binary64)
(+ 2 (* 2 y))
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* y (+ 2 (* 2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 2 (* 2 (/ 1 y))))
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y)))))
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64))
(* -1 (* y (- (* -2 (/ x y)) 2)))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)

rewrite51.0ms (1.4%)

Memory
21.5MiB live, 67.9MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01123
01521
18021
067221
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
4 → 54
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(+.f64 y x)
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
Outputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (+.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 2 binary64)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 2 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(literal 2 binary64) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(fma.f64 #s(literal 1 binary64) (+.f64 y x) (*.f64 #s(literal 1 binary64) (+.f64 y x)))
(fma.f64 (+.f64 y x) #s(literal 1 binary64) (*.f64 (+.f64 y x) #s(literal 1 binary64)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x #s(literal 2 binary64)))
(fma.f64 y #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))
(fma.f64 x #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64)))
(fma.f64 #s(literal 2 binary64) y (*.f64 x #s(literal 2 binary64)))
(fma.f64 #s(literal 2 binary64) y (*.f64 #s(literal 2 binary64) x))
(fma.f64 #s(literal 2 binary64) x (*.f64 y #s(literal 2 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) (+.f64 y x)) (*.f64 #s(literal 1 binary64) (+.f64 y x)))
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 y #s(literal 2 binary64)))
(+.f64 (*.f64 (+.f64 y x) #s(literal 1 binary64)) (*.f64 (+.f64 y x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 y #s(literal 2 binary64)))
(+.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x #s(literal 2 binary64)))
(+.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) x))
(+.f64 (+.f64 y x) (+.f64 y x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 y y) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)
(*.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) y))
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 #s(literal 4 binary64) (*.f64 y y))) (-.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64))))
(/.f64 (neg.f64 (fma.f64 (*.f64 y #s(literal 4 binary64)) y #s(literal -4 binary64))) (neg.f64 (-.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64))))
(/.f64 (neg.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64))) (neg.f64 (fma.f64 (*.f64 y #s(literal 4 binary64)) y (-.f64 #s(literal 4 binary64) (*.f64 y #s(literal 4 binary64))))))
(/.f64 (fma.f64 (*.f64 y #s(literal 4 binary64)) y #s(literal -4 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64)))
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64)) (+.f64 #s(literal 4 binary64) (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 y y)) (*.f64 y #s(literal 4 binary64)))))
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64)) (fma.f64 (*.f64 y #s(literal 4 binary64)) y (-.f64 #s(literal 4 binary64) (*.f64 y #s(literal 4 binary64)))))
(fma.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y)))
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
(fma.f64 #s(literal 2 binary64) y #s(literal 2 binary64))
(-.f64 (/.f64 (*.f64 #s(literal 4 binary64) (*.f64 y y)) (-.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 4 binary64) (-.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64))))
(-.f64 #s(literal 2 binary64) (*.f64 (neg.f64 y) #s(literal 2 binary64)))
(-.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) y))
(+.f64 (fma.f64 y #s(literal 2 binary64) #s(literal 1 binary64)) #s(literal 1 binary64))
(+.f64 (*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y)))
(+.f64 (*.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)) (*.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)))
(+.f64 (/.f64 (*.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (*.f64 y #s(literal 4 binary64)) y (-.f64 #s(literal 4 binary64) (*.f64 y #s(literal 4 binary64))))) (/.f64 #s(literal 8 binary64) (fma.f64 (*.f64 y #s(literal 4 binary64)) y (-.f64 #s(literal 4 binary64) (*.f64 y #s(literal 4 binary64))))))
(+.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 y #s(literal 2 binary64))))
(+.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64))
(+.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64)))

eval6.0ms (0.2%)

Memory
12.7MiB live, 12.7MiB allocated; 0ms collecting garbage
Compiler

Compiled 686 to 153 computations (77.7% saved)

prune11.0ms (0.3%)

Memory
-36.3MiB live, 9.2MiB allocated; 4ms collecting garbage
Pruning

8 alts after pruning (2 fresh and 6 done)

PrunedKeptTotal
New61263
Fresh000
Picked033
Done033
Total61869
Accuracy
100.0%
Counts
69 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
4.0%
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
100.0%
(*.f64 (+.f64 y x) (+.f64 x x))
4.7%
(*.f64 (+.f64 y x) #s(literal 2 binary64))
55.8%
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
3.9%
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
4.8%
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
62.4%
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
4.1%
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
Compiler

Compiled 73 to 59 computations (19.2% saved)

simplify213.0ms (5.8%)

Memory
34.1MiB live, 169.1MiB allocated; 34ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y #s(literal 2 binary64))
cost-diff0
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
cost-diff0
(*.f64 x #s(literal 2 binary64))
cost-diff0
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0928
01128
11728
23728
310728
431128
5120828
6573528
0802728
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
y
#s(literal 2 binary64)
Outputs
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
#s(approx (* (+ y x) 2) (*.f64 #s(literal 2 binary64) x))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
x
#s(literal 2 binary64)
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
#s(approx (* (+ y x) 2) (*.f64 #s(literal 2 binary64) y))
(*.f64 y #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) y)
y
#s(literal 2 binary64)

localize49.0ms (1.3%)

Memory
-15.3MiB live, 29.1MiB allocated; 6ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y #s(literal 2 binary64))
accuracy33.183919031944576
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
accuracy0.0
(*.f64 x #s(literal 2 binary64))
accuracy29.171284818564303
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
Samples
44.0ms256×0valid
Compiler

Compiled 22 to 9 computations (59.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 4.0ms (64.6% of total)
ival-add: 1.0ms (16.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
6.5MiB live, 6.5MiB allocated; 0ms collecting garbage
Counts
4 → 7
Calls
Call 1
Inputs
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
Outputs
(* 2 y)
(+ (* 2 x) (* 2 y))
(* 2 x)
(* x (+ 2 (* 2 (/ y x))))
(* -1 (* x (- (* -2 (/ y x)) 2)))
(* y (+ 2 (* 2 (/ x y))))
(* -1 (* y (- (* -2 (/ x y)) 2)))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2))
0.0ms
x
@inf
((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2))
0.0ms
y
@inf
((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2))
0.0ms
y
@-inf
((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2))
0.0ms
x
@0
((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2))

simplify225.0ms (6.1%)

Memory
-5.6MiB live, 196.1MiB allocated; 30ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02431
17331
223431
379331
4223431
5595731
0827731
Stop Event
iter limit
node limit
Counts
7 → 7
Calls
Call 1
Inputs
(* 2 y)
(+ (* 2 x) (* 2 y))
(* 2 x)
(* x (+ 2 (* 2 (/ y x))))
(* -1 (* x (- (* -2 (/ y x)) 2)))
(* y (+ 2 (* 2 (/ x y))))
(* -1 (* y (- (* -2 (/ x y)) 2)))
Outputs
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(+ (* 2 x) (* 2 y))
(*.f64 (+.f64 x y) #s(literal 2 binary64))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 (* 2 (/ y x))))
(*.f64 (+.f64 x y) #s(literal 2 binary64))
(* -1 (* x (- (* -2 (/ y x)) 2)))
(*.f64 (+.f64 x y) #s(literal 2 binary64))
(* y (+ 2 (* 2 (/ x y))))
(*.f64 (+.f64 x y) #s(literal 2 binary64))
(* -1 (* y (- (* -2 (/ x y)) 2)))
(*.f64 (+.f64 x y) #s(literal 2 binary64))

rewrite50.0ms (1.4%)

Memory
18.3MiB live, 62.1MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0924
01124
13024
016924
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 16
Calls
Call 1
Inputs
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
Outputs
#s(approx (* (+ y x) 2) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 x x)
#s(approx (* (+ y x) 2) (*.f64 #s(literal 2 binary64) y))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) y))
(fma.f64 y #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(+.f64 y y)

eval2.0ms (0%)

Memory
7.6MiB live, 7.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 196 to 45 computations (77% saved)

prune10.0ms (0.3%)

Memory
-39.6MiB live, 14.4MiB allocated; 7ms collecting garbage
Pruning

8 alts after pruning (2 fresh and 6 done)

PrunedKeptTotal
New16218
Fresh000
Picked202
Done066
Total18826
Accuracy
100.0%
Counts
26 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
4.0%
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
100.0%
(*.f64 (+.f64 y x) (+.f64 x x))
4.7%
(*.f64 (+.f64 y x) #s(literal 2 binary64))
55.8%
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
3.9%
#s(approx (* (+ y x) 2) (+.f64 y y))
4.8%
#s(approx (* (+ y x) 2) (+.f64 x x))
62.4%
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
4.1%
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
Compiler

Compiled 173 to 89 computations (48.6% saved)

regimes16.0ms (0.4%)

Memory
9.6MiB live, 56.2MiB allocated; 3ms collecting garbage
Counts
11 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
#s(approx (* (+ y x) 2) (+.f64 x x))
#s(approx (* (+ y x) 2) (+.f64 y y))
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
(*.f64 (+.f64 y x) (+.f64 x x))
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 (+.f64 y x) (+.f64 x x))
Calls

4 calls:

5.0ms
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
4.0ms
x
4.0ms
y
3.0ms
(+.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
100.0%1(+.f64 (*.f64 x x) (*.f64 x y))
100.0%1(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
100.0%1x
100.0%1y
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes14.0ms (0.4%)

Memory
-9.6MiB live, 36.6MiB allocated; 2ms collecting garbage
Counts
9 → 3
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
#s(approx (* (+ y x) 2) (+.f64 x x))
#s(approx (* (+ y x) 2) (+.f64 y y))
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
Outputs
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))
Calls

4 calls:

4.0ms
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
3.0ms
(+.f64 (*.f64 x x) (*.f64 x y))
3.0ms
y
3.0ms
x
Results
AccuracySegmentsBranch
81.6%4(+.f64 (*.f64 x x) (*.f64 x y))
81.6%4(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
81.2%3x
85.5%3y
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes12.0ms (0.3%)

Memory
31.6MiB live, 31.6MiB allocated; 0ms collecting garbage
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
#s(approx (* (+ y x) 2) (+.f64 x x))
#s(approx (* (+ y x) 2) (+.f64 y y))
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Outputs
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
Calls

4 calls:

3.0ms
x
3.0ms
y
3.0ms
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
3.0ms
(+.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
62.4%1(+.f64 (*.f64 x x) (*.f64 x y))
62.4%1(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
62.4%1x
62.4%1y
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes44.0ms (1.2%)

Memory
-20.8MiB live, 25.3MiB allocated; 3ms collecting garbage
Counts
7 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
#s(approx (* (+ y x) 2) (+.f64 x x))
#s(approx (* (+ y x) 2) (+.f64 y y))
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64)))
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64)))
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (+.f64 y x) #s(literal 2 binary64))
Outputs
#s(approx (* (+ y x) 2) (+.f64 x x))
Calls

4 calls:

36.0ms
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
2.0ms
x
2.0ms
y
2.0ms
(+.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
4.8%1x
4.8%1(+.f64 (*.f64 x x) (*.f64 x y))
4.8%1(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
4.8%1y
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes4.0ms (0.1%)

Memory
12.4MiB live, 12.4MiB allocated; 0ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
Outputs
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
Calls

4 calls:

1.0ms
x
1.0ms
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
1.0ms
y
1.0ms
(+.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
4.1%1y
4.1%1x
4.1%1(+.f64 (*.f64 x x) (*.f64 x y))
4.1%1(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 18 to 16 computations (11.1% saved)

bsearch31.0ms (0.9%)

Memory
0.1MiB live, 54.5MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
3096.1348867288857
31288.949553310547
21.0ms
-4.535793645864619e-71
-4.552568996280161e-75
Samples
21.0ms224×0valid
Compiler

Compiled 404 to 320 computations (20.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 4.0ms (73.1% of total)
ival-add: 1.0ms (18.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify48.0ms (1.3%)

Memory
-8.8MiB live, 81.5MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02671
15171
215171
357671
4220271
5509971
Stop Event
node limit
Calls
Call 1
Inputs
(*.f64 (+.f64 y x) (+.f64 x x))
(if (<=.f64 y #s(literal -1398721602402525/31082702275611665134711390509176302506278509424834232340028998555822468563283335970816 binary64)) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (if (<=.f64 y #s(literal 8500 binary64)) #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* (+ y x) 2) (+.f64 x x))
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))
Outputs
(*.f64 (+.f64 y x) (+.f64 x x))
(if (<=.f64 y #s(literal -1398721602402525/31082702275611665134711390509176302506278509424834232340028998555822468563283335970816 binary64)) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (if (<=.f64 y #s(literal 8500 binary64)) #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))))
(if (or (<=.f64 y #s(literal -1398721602402525/31082702275611665134711390509176302506278509424834232340028998555822468563283335970816 binary64)) (not (<=.f64 y #s(literal 8500 binary64)))) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))))
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* (+ y x) 2) (+.f64 x x))
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64))

derivations179.0ms (4.9%)

Memory
-8.2MiB live, 134.6MiB allocated; 24ms collecting garbage
Stop Event
fuel
Compiler

Compiled 79 to 28 computations (64.6% saved)

preprocess45.0ms (1.2%)

Memory
3.9MiB live, 94.3MiB allocated; 12ms collecting garbage
Compiler

Compiled 190 to 82 computations (56.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...