Linear.Matrix:fromQuaternion from linear-1.19.1.3, A

Time bar (total: 3.7s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample956.0ms (26.2%)

Memory
33.3MiB live, 1 217.4MiB allocated; 450ms collecting garbage
Samples
565.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 324.0ms
ival-mult: 243.0ms (75.1% of total)
ival-sub: 65.0ms (20.1% of total)
ival-true: 6.0ms (1.9% of total)
exact: 5.0ms (1.5% of total)
ival-assert: 3.0ms (0.9% of total)
adjust: 2.0ms (0.6% of total)
Bogosity

explain112.0ms (3.1%)

Memory
-27.8MiB live, 168.7MiB allocated; 28ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
120-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-rescue120
(*.f64 x x)overflow56
(*.f64 x y)overflow28
Confusion
Predicted +Predicted -
+120
-0244
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+1200
-00244
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0244
112
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
33.0ms512×0valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-mult: 14.0ms (76.5% of total)
ival-sub: 3.0ms (16.4% of total)
exact: 1.0ms (5.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess249.0ms (6.8%)

Memory
-6.2MiB live, 226.1MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01939
16735
223435
389035
4380535
5700935
079
0117
1247
2787
33077
412757
541067
081917
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 #s(literal -2 binary64) x) (-.f64 y x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify180.0ms (4.9%)

Memory
-25.4MiB live, 279.8MiB allocated; 42ms 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
12421
27821
330721
4127521
5410621
0819121
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 #s(literal -2 binary64) x) (-.f64 y x))
#s(literal 2 binary64)
(-.f64 (*.f64 x x) (*.f64 x y))
(*.f64 (-.f64 x y) x)
(*.f64 x x)
x
(*.f64 x y)
(*.f64 y x)
y

localize18.0ms (0.5%)

Memory
38.6MiB live, 38.6MiB allocated; 0ms 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)))
accuracy2.4414041858302062
(-.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 (77.7% of total)
ival-sub: 1.0ms (15.5% 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)

series9.0ms (0.3%)

Memory
-30.3MiB live, 15.2MiB allocated; 4ms collecting garbage
Counts
4 → 15
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
(* -1 (* x y))
(* x (- x y))
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(pow x 2)
(* x y)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(+ (* -1 (* x y)) (pow x 2))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(* y (- (/ (pow x 2) y) x))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
Calls

6 calls:

TimeVariablePointExpression
4.0ms
y
@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))
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))

simplify238.0ms (6.5%)

Memory
25.5MiB live, 253.5MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04297
114088
248888
3176388
4662888
0833587
Stop Event
iter limit
node limit
Counts
15 → 15
Calls
Call 1
Inputs
(* -1 (* x y))
(* x (- x y))
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(pow x 2)
(* x y)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(+ (* -1 (* x y)) (pow x 2))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(* y (- (/ (pow x 2) y) x))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
Outputs
(* -1 (* x y))
(*.f64 (neg.f64 y) x)
(* x (- x y))
(*.f64 (-.f64 x y) x)
(* -2 (* x y))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* x y)
(*.f64 y x)
(* (pow x 2) (+ 1 (* -1 (/ y x))))
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y 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) #s(literal -2 binary64) #s(literal 2 binary64)) x) x)
(+ (* -1 (* x y)) (pow x 2))
(*.f64 (-.f64 x y) x)
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* y (- (/ (pow x 2) y) x))
(*.f64 (-.f64 x y) x)
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))
(*.f64 (-.f64 x y) x)
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))

rewrite55.0ms (1.5%)

Memory
17.3MiB live, 75.7MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0722
01118
13818
032218
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 93
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 x y) x)
(*.f64 (neg.f64 x) (+.f64 (neg.f64 x) y))
(*.f64 x (-.f64 x y))
(/.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 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (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 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 y) x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 x) y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 x) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 y) x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 x) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 y) x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 x) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 (neg.f64 y) x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 (neg.f64 x) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 y) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 x) y))
(fma.f64 (neg.f64 x) y (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 y) x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 x) y))
(fma.f64 y (neg.f64 x) (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 y) x))
(fma.f64 x x (*.f64 (neg.f64 x) y))
(-.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 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64)))))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) y))
(-.f64 (*.f64 x x) (*.f64 y x))
(+.f64 (*.f64 (neg.f64 x) y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 x) y))
(*.f64 (*.f64 #s(literal 2 binary64) x) (-.f64 x y))
(*.f64 (-.f64 x y) (+.f64 x x))
(*.f64 #s(literal 2 binary64) (*.f64 (-.f64 x y) x))
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(*.f64 x (*.f64 (-.f64 x y) #s(literal 2 binary64)))
(*.f64 x (+.f64 (-.f64 x y) (-.f64 x 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 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) #s(literal 2 binary64)) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (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 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x)) (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x))) (-.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 x y) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x y) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x) (-.f64 (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x)) (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) 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 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (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 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x (+.f64 x y)) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))))) (*.f64 (*.f64 x (+.f64 x y)) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (*.f64 x (+.f64 x y)) (*.f64 (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (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 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64))) (*.f64 x (+.f64 x y))))
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 x y)) (pow.f64 x #s(literal 4 binary64)))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 #s(literal 1 binary64) (*.f64 (-.f64 x y) x) (*.f64 #s(literal 1 binary64) (*.f64 (-.f64 x y) x)))
(fma.f64 (-.f64 x y) x (*.f64 (-.f64 x y) x))
(fma.f64 (neg.f64 x) (+.f64 (neg.f64 x) y) (*.f64 (-.f64 x y) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (*.f64 (neg.f64 x) y)))
(fma.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64) (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64)))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) (*.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))
(fma.f64 x (-.f64 x y) (*.f64 (-.f64 x y) x))
(fma.f64 x x (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(-.f64 (fma.f64 (-.f64 x y) x (*.f64 x x)) (*.f64 y x))
(-.f64 (*.f64 (-.f64 x y) x) (*.f64 (neg.f64 x) (-.f64 x y)))
(-.f64 (*.f64 x x) (-.f64 (*.f64 y x) (*.f64 (-.f64 x y) x)))
(+.f64 (fma.f64 (-.f64 x y) x (*.f64 x x)) (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 (-.f64 x y) x)) (*.f64 #s(literal 1 binary64) (*.f64 (-.f64 x y) x)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 (neg.f64 x) y)))
(+.f64 (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64)) (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64)))
(+.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x))
(+.f64 (*.f64 x x) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) 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)

eval52.0ms (1.4%)

Memory
-31.8MiB live, 13.4MiB allocated; 6ms collecting garbage
Compiler

Compiled 1 601 to 268 computations (83.3% saved)

prune4.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New993102
Fresh000
Picked101
Done000
Total1003103
Accuracy
100.0%
Counts
103 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 x x))
62.6%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
54.3%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Compiler

Compiled 37 to 27 computations (27% saved)

simplify110.0ms (3%)

Memory
25.4MiB live, 111.1MiB allocated; 17ms collecting garbage
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x x)
cost-diff0
(-.f64 x y)
cost-diff0
(*.f64 (-.f64 x y) (+.f64 x 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)))
cost-diff0
(*.f64 y x)
cost-diff0
(*.f64 #s(literal -2 binary64) (*.f64 y x))
cost-diff0
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01766
02462
14762
212762
343362
4149262
5483562
0852362
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
#s(literal -2 binary64)
(*.f64 y x)
y
x
#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 (-.f64 x y) (+.f64 x x))
(-.f64 x y)
x
y
(+.f64 x x)
Outputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 #s(literal -2 binary64) y) x))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(*.f64 (*.f64 #s(literal -2 binary64) y) x)
#s(literal -2 binary64)
(*.f64 y x)
y
x
#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 (-.f64 x y) (+.f64 x x))
(*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x)
(-.f64 x y)
x
y
(+.f64 x x)
(*.f64 x #s(literal 2 binary64))

localize70.0ms (1.9%)

Memory
-2.4MiB live, 99.7MiB allocated; 18ms collecting garbage
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(+.f64 x x)
accuracy0.0
(*.f64 (-.f64 x y) (+.f64 x x))
accuracy0.0
(*.f64 x x)
accuracy0.01171875
(*.f64 (*.f64 x x) #s(literal 2 binary64))
accuracy23.936347095729325
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
accuracy0.0
(*.f64 y x)
accuracy0.0078125
(*.f64 #s(literal -2 binary64) (*.f64 y x))
accuracy29.276499933849305
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Samples
60.0ms256×0valid
Compiler

Compiled 56 to 16 computations (71.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 33.0ms
ival-mult: 28.0ms (85.3% of total)
ival-sub: 3.0ms (9.1% of total)
ival-add: 1.0ms (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)

series44.0ms (1.2%)

Memory
-24.4MiB live, 19.9MiB allocated; 9ms collecting garbage
Counts
9 → 18
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(*.f64 y x)
#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 (-.f64 x y) (+.f64 x x))
(-.f64 x y)
(+.f64 x x)
Outputs
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* x y)
(* 2 (pow x 2))
(pow x 2)
(* -1 y)
(- x y)
(* 2 x)
(* (pow x 2) (+ 2 (* -2 (/ y x))))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 (* x (- (/ y x) 1)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ x (* -1 y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (- (/ x y) 1))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Calls

6 calls:

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

simplify159.0ms (4.3%)

Memory
36.3MiB live, 278.3MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04485
114875
251175
3189775
4794975
0800375
Stop Event
iter limit
node limit
Counts
18 → 17
Calls
Call 1
Inputs
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* x y)
(* 2 (pow x 2))
(pow x 2)
(* -1 y)
(- x y)
(* 2 x)
(* (pow x 2) (+ 2 (* -2 (/ y x))))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 (* x (- (/ y x) 1)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ x (* -1 y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (- (/ x y) 1))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(* -2 (* x y))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(* x y)
(*.f64 y x)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(+ x (* -1 y))
(-.f64 x y)
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)

rewrite95.0ms (2.6%)

Memory
-20.4MiB live, 123.6MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01759
02457
17839
063039
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
9 → 93
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(*.f64 y x)
#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 (-.f64 x y) (+.f64 x x))
(-.f64 x y)
(+.f64 x x)
Outputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
(*.f64 (*.f64 #s(literal -2 binary64) x) y)
(*.f64 (*.f64 #s(literal -2 binary64) y) x)
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(*.f64 (*.f64 y x) #s(literal -2 binary64))
(*.f64 y (*.f64 x #s(literal -2 binary64)))
(*.f64 x (*.f64 #s(literal -2 binary64) y))
(*.f64 y x)
(*.f64 x y)
#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 (*.f64 (-.f64 x y) #s(literal 2 binary64)) x)
(*.f64 (*.f64 (-.f64 x y) x) #s(literal 2 binary64))
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(*.f64 x (*.f64 (-.f64 x y) #s(literal 2 binary64)))
(*.f64 x (+.f64 (-.f64 x y) (-.f64 x y)))
(*.f64 #s(literal 2 binary64) (*.f64 (-.f64 x y) x))
(*.f64 #s(literal 2 binary64) (-.f64 x 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 y x)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) #s(literal 2 binary64)) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (*.f64 #s(literal 0 binary64) (-.f64 x y)) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 x y)) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #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 y (+.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (+.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 y (+.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (-.f64 x y) #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 (-.f64 x y) (*.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 y x)))
(/.f64 (*.f64 #s(literal 2 binary64) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x)) (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x))) (-.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 x y) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x y) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x) (-.f64 (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x)) (*.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) 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 y x)))
(/.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64))))
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (*.f64 #s(literal 0 binary64) (+.f64 y x)))
(/.f64 (*.f64 #s(literal 0 binary64) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 (+.f64 y x) (-.f64 x y))) (*.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 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 0 binary64)) (*.f64 (+.f64 y x) #s(literal 0 binary64)))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.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 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)) #s(literal 0 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)) (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 y x)) (*.f64 (*.f64 x (+.f64 y x)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (*.f64 x (+.f64 y x)) (*.f64 x (+.f64 y x))))
(/.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 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x (+.f64 y x)) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))))) (*.f64 (*.f64 x (+.f64 y x)) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (*.f64 x (+.f64 y x)) (*.f64 (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y 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 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 x (+.f64 y x))))
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 y x) (*.f64 x (+.f64 y x)) (pow.f64 x #s(literal 4 binary64)))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 #s(literal 1 binary64) (*.f64 (-.f64 x y) x) (*.f64 #s(literal 1 binary64) (*.f64 (-.f64 x y) x)))
(fma.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64) (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64)))
(fma.f64 (neg.f64 x) (+.f64 (neg.f64 x) y) (*.f64 (-.f64 x y) x))
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(fma.f64 (-.f64 x y) x (*.f64 (-.f64 x y) x))
(fma.f64 x (-.f64 x y) (*.f64 (-.f64 x y) x))
(fma.f64 x x (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(-.f64 (fma.f64 (-.f64 x y) x (*.f64 x x)) (*.f64 y x))
(-.f64 (*.f64 (-.f64 x y) x) (*.f64 (neg.f64 x) (-.f64 x y)))
(-.f64 (*.f64 (-.f64 x y) x) (*.f64 (neg.f64 (-.f64 x y)) x))
(-.f64 (*.f64 x x) (-.f64 (*.f64 y x) (*.f64 (-.f64 x y) x)))
(+.f64 (fma.f64 (-.f64 x y) x (*.f64 x x)) (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 (-.f64 x y) x)) (*.f64 #s(literal 1 binary64) (*.f64 (-.f64 x y) x)))
(+.f64 (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64)) (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64)))
(+.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x))
(+.f64 (*.f64 x x) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x 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 (neg.f64 x) y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (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 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 y y) (+.f64 y x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(-.f64 x y)
#s(literal 2 binary64)

eval11.0ms (0.3%)

Memory
-10.0MiB live, 34.6MiB allocated; 5ms collecting garbage
Compiler

Compiled 1 727 to 273 computations (84.2% saved)

prune5.0ms (0.1%)

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

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New97299
Fresh000
Picked033
Done000
Total975102
Accuracy
100.0%
Counts
102 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 x x))
4.7%
(*.f64 (-.f64 x y) #s(literal 2 binary64))
62.6%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
54.3%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
3.7%
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))
Compiler

Compiled 53 to 41 computations (22.6% saved)

simplify119.0ms (3.2%)

Memory
-10.4MiB live, 138.6MiB allocated; 14ms collecting garbage
Localize:

Found 3 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
01221
12521
28121
332021
4122721
5406121
0814321
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 x y) #s(literal 2 binary64))
(-.f64 x y)
x
y
#s(literal 2 binary64)
Outputs
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(*.f64 #s(literal -2 binary64) (-.f64 y x))
(-.f64 x y)
x
y
#s(literal 2 binary64)

localize23.0ms (0.6%)

Memory
23.9MiB live, 23.9MiB allocated; 0ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(*.f64 (-.f64 x y) #s(literal 2 binary64))
accuracy61.649744848003024
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))
Samples
17.0ms256×0valid
Compiler

Compiled 23 to 11 computations (52.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 7.0ms (71.2% of total)
ival-sub: 2.0ms (20.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)

series55.0ms (1.5%)

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

6 calls:

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

simplify184.0ms (5%)

Memory
37.3MiB live, 172.1MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
056117
119097
265097
3234197
4647797
0835197
Stop Event
iter limit
node limit
Counts
22 → 21
Calls
Call 1
Inputs
(* -2 (* x y))
(* x (+ (* -2 y) (* 2 x)))
(* -2 y)
(+ (* -2 y) (* 2 x))
(* -1 y)
(- x y)
(* 2 (pow x 2))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(* 2 x)
(* x (+ 2 (* -2 (/ y x))))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 (* x (- (* 2 (/ y x)) 2)))
(* -1 (* x (- (/ y x) 1)))
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(+ x (* -1 y))
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(* y (- (* 2 (/ x y)) 2))
(* y (- (/ x y) 1))
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(* -1 (* y (+ 2 (* -2 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(* -2 (* x y))
(*.f64 #s(literal -2 binary64) (*.f64 y x))
(* x (+ (* -2 y) (* 2 x)))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(* -2 y)
(*.f64 #s(literal -2 binary64) y)
(+ (* -2 y) (* 2 x))
(*.f64 (-.f64 y x) #s(literal -2 binary64))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(* 2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 2 binary64))
(* (pow x 2) (+ 2 (* -2 (/ y x))))
(*.f64 (*.f64 x (-.f64 x y)) #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 (* -1 (/ y x))))
(-.f64 x y)
(* -1 (* x (- (* 2 (/ y x)) 2)))
(*.f64 (-.f64 y x) #s(literal -2 binary64))
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(+ (* -2 (* x y)) (* 2 (pow x 2)))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(+ x (* -1 y))
(-.f64 x y)
(* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(* y (- (* 2 (/ x y)) 2))
(*.f64 (-.f64 y x) #s(literal -2 binary64))
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(* -1 (* y (+ 2 (* -2 (/ x y)))))
(*.f64 (-.f64 y x) #s(literal -2 binary64))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)

rewrite61.0ms (1.7%)

Memory
-5.0MiB live, 38.6MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
01217
14917
042217
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
3 → 19
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(-.f64 x y)
Outputs
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (-.f64 x y))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #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 y (+.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (+.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 y (+.f64 y x) (*.f64 x x)))
(fma.f64 #s(literal 1 binary64) (-.f64 x y) (*.f64 #s(literal 1 binary64) (-.f64 x y)))
(fma.f64 (-.f64 x y) #s(literal 1 binary64) (*.f64 (-.f64 x y) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) (-.f64 x y)) (*.f64 #s(literal 1 binary64) (-.f64 x y)))
(+.f64 (*.f64 (-.f64 x y) #s(literal 1 binary64)) (*.f64 (-.f64 x y) #s(literal 1 binary64)))
(+.f64 (-.f64 x y) (-.f64 x y))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (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 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 y y) (+.f64 y x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(-.f64 x y)

eval3.0ms (0.1%)

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

Compiled 340 to 80 computations (76.5% saved)

prune3.0ms (0.1%)

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

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New25227
Fresh000
Picked112
Done033
Total26632
Accuracy
100.0%
Counts
32 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 x x))
4.7%
#s(approx (* (- x y) 2) (*.f64 x #s(literal 2 binary64)))
3.9%
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
62.6%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
54.3%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
3.7%
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))
Compiler

Compiled 66 to 52 computations (21.2% saved)

simplify204.0ms (5.6%)

Memory
-8.9MiB live, 193.0MiB allocated; 26ms collecting garbage
Localize:

Found 4 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
01228
11728
23028
36328
413128
551228
6376528
0859328
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
(*.f64 #s(literal -2 binary64) y)
#s(literal -2 binary64)
y
#s(approx (* (- x y) 2) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
Outputs
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
(*.f64 #s(literal -2 binary64) y)
#s(literal -2 binary64)
y
#s(approx (* (- x y) 2) (*.f64 x #s(literal 2 binary64)))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) x))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
x
#s(literal 2 binary64)

localize36.0ms (1%)

Memory
6.0MiB live, 106.6MiB allocated; 10ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x #s(literal 2 binary64))
accuracy29.25344997850568
#s(approx (* (- x y) 2) (*.f64 x #s(literal 2 binary64)))
accuracy0.0
(*.f64 #s(literal -2 binary64) y)
accuracy33.264421217304225
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
Samples
30.0ms256×0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 8.0ms (76.9% of total)
ival-sub: 1.0ms (9.6% 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)

series4.0ms (0.1%)

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

6 calls:

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

simplify120.0ms (3.3%)

Memory
43.5MiB live, 188.5MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02441
17131
224631
375131
4254331
5572531
0804231
Stop Event
iter limit
node limit
Counts
7 → 7
Calls
Call 1
Inputs
(* -2 y)
(+ (* -2 y) (* 2 x))
(* 2 x)
(* x (+ 2 (* -2 (/ y x))))
(* -1 (* x (- (* 2 (/ y x)) 2)))
(* y (- (* 2 (/ x y)) 2))
(* -1 (* y (+ 2 (* -2 (/ x y)))))
Outputs
(* -2 y)
(*.f64 #s(literal -2 binary64) y)
(+ (* -2 y) (* 2 x))
(*.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 (/ x y)) 2))
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(* -1 (* y (+ 2 (* -2 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 2 binary64))

rewrite75.0ms (2%)

Memory
-34.2MiB live, 56.6MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01024
01224
13024
015624
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 11
Calls
Call 1
Inputs
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
(*.f64 #s(literal -2 binary64) y)
#s(approx (* (- x y) 2) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
Outputs
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
(*.f64 #s(literal -2 binary64) y)
(*.f64 y #s(literal -2 binary64))
#s(approx (* (- x y) 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)

eval1.0ms (0%)

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

Compiled 137 to 34 computations (75.2% saved)

prune3.0ms (0.1%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New12113
Fresh000
Picked112
Done044
Total13619
Accuracy
100.0%
Counts
19 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 x x))
4.7%
#s(approx (* (- x y) 2) (+.f64 x x))
3.9%
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
62.6%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
54.3%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
3.7%
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))
Compiler

Compiled 155 to 81 computations (47.7% saved)

regimes13.0ms (0.4%)

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

4 calls:

3.0ms
y
3.0ms
x
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
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)

regimes53.0ms (1.4%)

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

4 calls:

44.0ms
y
3.0ms
x
2.0ms
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
2.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
84.5%2(-.f64 (*.f64 x x) (*.f64 x y))
84.5%2(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
81.5%3x
84.0%3y
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes10.0ms (0.3%)

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

4 calls:

2.0ms
x
2.0ms
y
2.0ms
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
2.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
54.3%1x
54.3%1y
54.3%1(-.f64 (*.f64 x x) (*.f64 x y))
54.3%1(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes46.0ms (1.3%)

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

4 calls:

39.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
2.0ms
y
2.0ms
x
2.0ms
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
Results
AccuracySegmentsBranch
4.7%1y
4.7%1(-.f64 (*.f64 x x) (*.f64 x y))
4.7%1(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
4.7%1x
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes4.0ms (0.1%)

Memory
16.5MiB live, 16.5MiB 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
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
1.0ms
x
1.0ms
y
1.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
3.7%1y
3.7%1x
3.7%1(-.f64 (*.f64 x x) (*.f64 x y))
3.7%1(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 18 to 16 computations (11.1% saved)

bsearch0.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-2.2574465005527207e-257
0.0
Compiler

Compiled 12 to 12 computations (0% saved)

simplify45.0ms (1.2%)

Memory
3.4MiB live, 93.8MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02776
14776
211476
335576
4129476
5619876
Stop Event
node limit
Calls
Call 1
Inputs
(*.f64 (-.f64 x y) (+.f64 x x))
(if (<=.f64 (*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y))) #s(literal -1352433999707303/67621699985365151533099492469314125634412457732623554832378970755414259527260782012725408753620120050518322559136912470896940487616343748768068989243256265844273495551872650773597634262582584454787101812251032115730947621472199902571314803042180668990660938354910463787008 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.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 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* (- x y) 2) (+.f64 x x))
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))
Outputs
(*.f64 (-.f64 x y) (+.f64 x x))
(if (<=.f64 (*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y))) #s(literal -1352433999707303/67621699985365151533099492469314125634412457732623554832378970755414259527260782012725408753620120050518322559136912470896940487616343748768068989243256265844273495551872650773597634262582584454787101812251032115730947621472199902571314803042180668990660938354910463787008 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.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 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* (- x y) 2) (+.f64 x x))
#s(approx (* 2 (- (* x x) (* x y))) #s(literal 2 binary64))

derivations198.0ms (5.4%)

Memory
-23.1MiB live, 139.6MiB allocated; 47ms collecting garbage
Stop Event
fuel
Compiler

Compiled 84 to 28 computations (66.7% saved)

preprocess30.0ms (0.8%)

Memory
-6.9MiB live, 93.5MiB allocated; 10ms collecting garbage
Compiler

Compiled 200 to 82 computations (59% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...