Linear.Matrix:fromQuaternion from linear-1.19.1.3, A

Time bar (total: 6.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample3.5s (58.3%)

Memory
-240.4MiB live, 1 526.4MiB allocated; 2.9s collecting garbage
Samples
2.8s8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 2.6s
ival-sub: 2.0s (78.7% of total)
exact: 308.0ms (11.9% of total)
ival-mult: 238.0ms (9.2% of total)
adjust: 3.0ms (0.1% of total)
ival-assert: 3.0ms (0.1% of total)
Bogosity

explain113.0ms (1.9%)

Memory
20.2MiB live, 212.0MiB allocated; 26ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
100-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-rescue100
(*.f64 x x)overflow60
(*.f64 x y)overflow29
Confusion
Predicted +Predicted -
+100
-0246
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+1000
-00246
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0246
110
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
31.0ms512×0valid
Compiler

Compiled 63 to 25 computations (60.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-mult: 13.0ms (78.5% of total)
ival-sub: 2.0ms (12.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)

preprocess206.0ms (3.4%)

Memory
-24.4MiB live, 267.7MiB allocated; 26ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02246
17442
227742
3111242
4474642
5767442
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.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify115.0ms (1.9%)

Memory
31.7MiB live, 123.2MiB allocated; 11ms 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

localize71.0ms (1.2%)

Memory
-37.6MiB live, 66.9MiB allocated; 30ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x y)
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
accuracy2.1992104933208236
(-.f64 (*.f64 x x) (*.f64 x y))
Samples
65.0ms256×0valid
Compiler

Compiled 27 to 9 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 33.0ms
ival-mult: 31.0ms (94.6% of total)
ival-sub: 1.0ms (3.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)

series6.0ms (0.1%)

Memory
10.6MiB live, 10.7MiB allocated; 0ms collecting garbage
Counts
4 → 16
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
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* x (- x y))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -2 (* x y))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y x))))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (+ (* -1 (* x y)) (pow x 2))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* y (- (/ (pow x 2) y) x))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
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))

simplify219.0ms (3.6%)

Memory
-14.6MiB live, 129.2MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061206
1168197
2635197
32655197
46921197
08156196
Stop Event
iter limit
node limit
Counts
16 → 16
Calls
Call 1
Inputs
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* x (- x y))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -2 (* x y))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y x))))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (+ (* -1 (* x y)) (pow x 2))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* y (- (/ (pow x 2) y) x))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
Outputs
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (- (* x x) (* x y)) (*.f64 (neg.f64 y) x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* x (- x y))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -2 (* x y))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx (* x y) (*.f64 y x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* x y)) (*.f64 x x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y x))))))
#s(approx (- (* x x) (* x y)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x) x))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (fma.f64 (/.f64 y x) #s(literal -2 binary64) #s(literal 2 binary64)) x) x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (+ (* -1 (* x y)) (pow x 2))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x)))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* y (- (/ (pow x 2) y) x))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x)))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (-.f64 y x) (*.f64 #s(literal -2 binary64) x)))

rewrite87.0ms (1.4%)

Memory
13.4MiB live, 103.3MiB allocated; 11ms 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)

eval10.0ms (0.2%)

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

Compiled 1 614 to 273 computations (83.1% saved)

prune29.0ms (0.5%)

Memory
-35.8MiB live, 10.2MiB allocated; 2ms collecting garbage
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1003103
Fresh000
Picked011
Done000
Total1004104
Accuracy
100.0%
Counts
104 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 x x))
96.1%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
58.4%
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
58.4%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify141.0ms (2.3%)

Memory
26.4MiB live, 174.7MiB allocated; 14ms 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
#s(approx (- (* x x) (* x y)) (*.f64 x x))
cost-diff0
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
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
01770
02464
14664
211364
335764
4138664
5433064
0823264
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
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
#s(literal 2 binary64)
#s(approx (- (* x x) (* x y)) (*.f64 x x))
(*.f64 x x)
x
(*.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
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
(*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (* x x) (* x y)) (*.f64 x x))
(*.f64 x x)
x
(*.f64 (-.f64 x y) (+.f64 x x))
(*.f64 (*.f64 #s(literal -2 binary64) x) (-.f64 y x))
(-.f64 x y)
x
y
(+.f64 x x)
(*.f64 x #s(literal 2 binary64))

localize49.0ms (0.8%)

Memory
-20.4MiB live, 80.2MiB allocated; 15ms collecting garbage
Localize:

Found 9 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(+.f64 x x)
accuracy0.00390625
(*.f64 (-.f64 x y) (+.f64 x x))
accuracy0.0
(*.f64 x x)
accuracy0.0
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
accuracy26.629501778672857
#s(approx (- (* x x) (* x y)) (*.f64 x x))
accuracy0.0
(*.f64 y x)
accuracy0.00390625
(*.f64 #s(literal -2 binary64) (*.f64 y x))
accuracy26.638039534443408
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Samples
37.0ms256×0valid
Compiler

Compiled 58 to 15 computations (74.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 28.0ms
ival-sub: 16.0ms (58% of total)
ival-mult: 10.0ms (36.2% of total)
ival-add: 1.0ms (3.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)

series9.0ms (0.2%)

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

6 calls:

TimeVariablePointExpression
2.0ms
y
@inf
((* 2 (- (* x x) (* x y))) (* -2 (* y x)) (* y x) (* 2 (- (* x x) (* x y))) (- (* x x) (* x y)) (* 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) (* x y)) (* 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) (* x y)) (* 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) (* x y)) (* 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) (* x y)) (* x x) (* (- x y) (+ x x)) (- x y) (+ x x))

simplify149.0ms (2.5%)

Memory
9.4MiB live, 136.3MiB allocated; 45ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
095381
1239361
2785361
33133361
46492361
08039361
Stop Event
iter limit
node limit
Counts
33 → 33
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -2 (* x y))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (* -2 (* y x)) #s(hole binary64 (* -2 (* x y))))
#s(approx (* y x) #s(hole binary64 (* x y)))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* x (- x y))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -2 (* x y))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y x))))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (+ (* -1 (* x y)) (pow x 2))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* y (- (/ (pow x 2) y) x))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
Outputs
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -2 (* x y))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (* -2 (* y x)) #s(hole binary64 (* -2 (* x y))))
#s(approx (* -2 (* y x)) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* y x) #s(hole binary64 (* x y)))
#s(approx (* y x) (*.f64 y x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* x y))))
#s(approx (- (* x x) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* x (- x y))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -2 (* x y))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) (neg.f64 y))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (- x y) (-.f64 x y))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (+ x x) (*.f64 x #s(literal 2 binary64)))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* x y)) (*.f64 x x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ y x))))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) x)
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (- x y) (-.f64 x y))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (+ (* -1 (* x y)) (pow x 2))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* y (- (/ (pow x 2) y) x))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* 2 (- (* x x) (* x y))) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- (* x x) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -1 x))))))
#s(approx (- (* x x) (* x y)) (*.f64 (-.f64 x y) x))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (*.f64 (-.f64 y x) #s(literal -2 binary64)) x))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (- x y) (-.f64 x y))

rewrite58.0ms (1%)

Memory
4.7MiB live, 62.5MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01763
02457
17751
061951
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
9 → 103
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)
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
#s(approx (- (* x x) (* x y)) (*.f64 x x))
(*.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)
(*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(approx (- (* x x) (* x y)) (*.f64 x x))) (*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(approx (- (* x x) (* x y)) (*.f64 x x)))) (-.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(approx (- (* x x) (* x y)) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 3 binary64))) (fma.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(approx (- (* x x) (* x y)) (*.f64 x x)) (-.f64 (*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(approx (- (* x x) (* x y)) (*.f64 x x))) (*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(approx (- (* x x) (* x y)) (*.f64 x x))))))
(fma.f64 #s(literal 1 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x)) (*.f64 #s(literal 1 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x))))
(fma.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 1 binary64) (*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x))) (*.f64 #s(literal 1 binary64) #s(approx (- (* x x) (* x y)) (*.f64 x x))))
(+.f64 (*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(literal 1 binary64)))
(+.f64 #s(approx (- (* x x) (* x y)) (*.f64 x x)) #s(approx (- (* x x) (* x y)) (*.f64 x x)))
#s(approx (- (* x x) (* x y)) (*.f64 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 (*.f64 (-.f64 x y) #s(literal 2 binary64)) x)
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(*.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 #s(literal 2 binary64) (-.f64 x y))
(*.f64 #s(literal 2 binary64) (*.f64 (-.f64 x y) x))
(/.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 (-.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 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 (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 (*.f64 x x) #s(literal 2 binary64) (*.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))
(fma.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64) (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 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)))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (*.f64 (neg.f64 x) y)))
(-.f64 (fma.f64 (-.f64 x y) x (*.f64 x x)) (*.f64 y x))
(-.f64 (*.f64 x x) (-.f64 (*.f64 y x) (*.f64 (-.f64 x y) x)))
(-.f64 (*.f64 (-.f64 x y) x) (*.f64 (neg.f64 (-.f64 x y)) x))
(-.f64 (*.f64 (-.f64 x y) x) (*.f64 (neg.f64 x) (-.f64 x y)))
(+.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 x x) #s(literal 2 binary64)) (*.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64)))
(+.f64 (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64)) (*.f64 (*.f64 (-.f64 x y) x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 (neg.f64 x) y)))
(+.f64 (*.f64 x x) (fma.f64 (neg.f64 x) y (*.f64 (-.f64 x y) x)))
(+.f64 (*.f64 (-.f64 x y) x) (*.f64 (-.f64 x y) x))
(/.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)

eval15.0ms (0.3%)

Memory
-6.0MiB live, 36.1MiB allocated; 9ms collecting garbage
Compiler

Compiled 2 098 to 301 computations (85.7% saved)

prune5.0ms (0.1%)

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

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1122114
Fresh000
Picked123
Done011
Total1135118
Accuracy
100.0%
Counts
118 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 x x))
3.6%
(*.f64 (-.f64 x y) #s(literal 2 binary64))
58.4%
(*.f64 #s(approx (- x y) x) (+.f64 x x))
96.1%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
58.4%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Compiler

Compiled 45 to 34 computations (24.4% saved)

simplify201.0ms (3.3%)

Memory
-39.4MiB live, 199.9MiB allocated; 29ms collecting garbage
Localize:

Found 5 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
01329
12229
24429
39629
422129
586929
6462429
0921629
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 #s(approx (- x y) x) (+.f64 x x))
#s(approx (- x y) x)
x
(+.f64 x x)
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(-.f64 x y)
x
y
#s(literal 2 binary64)
Outputs
(*.f64 #s(approx (- x y) x) (+.f64 x x))
(*.f64 (*.f64 #s(literal 2 binary64) #s(approx (- x y) x)) x)
#s(approx (- x y) x)
x
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (-.f64 x y))
(-.f64 x y)
x
y
#s(literal 2 binary64)

localize23.0ms (0.4%)

Memory
28.4MiB live, 72.8MiB allocated; 5ms collecting garbage
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(*.f64 (-.f64 x y) #s(literal 2 binary64))
accuracy0.0
(+.f64 x x)
accuracy0.00390625
(*.f64 #s(approx (- x y) x) (+.f64 x x))
accuracy32.05479331720543
#s(approx (- x y) x)
Samples
17.0ms256×0valid
Compiler

Compiled 27 to 9 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 3.0ms (43.7% of total)
ival-sub: 2.0ms (29.1% of total)
ival-add: 1.0ms (14.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
13.4MiB live, 13.4MiB allocated; 0ms collecting garbage
Counts
5 → 23
Calls
Call 1
Inputs
(*.f64 #s(approx (- x y) x) (+.f64 x x))
#s(approx (- x y) x)
(+.f64 x x)
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(-.f64 x y)
Outputs
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -2 (* x y))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (- x y) 2) #s(hole binary64 (* -2 y)))
#s(approx (* (- x y) 2) #s(hole binary64 (+ (* -2 y) (* 2 x))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (* (- x y) 2) #s(hole binary64 (* 2 x)))
#s(approx (* (- x y) 2) #s(hole binary64 (* x (+ 2 (* -2 (/ y x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* x (- (* 2 (/ y x)) 2)))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (* (- x y) 2) #s(hole binary64 (* y (- (* 2 (/ x y)) 2))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* y (+ 2 (* -2 (/ x y)))))))
Calls

6 calls:

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

simplify186.0ms (3.1%)

Memory
-19.1MiB live, 221.3MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
082254
1223234
2706234
32479234
46429234
08154234
Stop Event
iter limit
node limit
Counts
23 → 23
Calls
Call 1
Inputs
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -2 (* x y))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* (- x y) 2) #s(hole binary64 (* -2 y)))
#s(approx (* (- x y) 2) #s(hole binary64 (+ (* -2 y) (* 2 x))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (* (- x y) 2) #s(hole binary64 (* 2 x)))
#s(approx (* (- x y) 2) #s(hole binary64 (* x (+ 2 (* -2 (/ y x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* x (- (* 2 (/ y x)) 2)))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (* (- x y) 2) #s(hole binary64 (* y (- (* 2 (/ x y)) 2))))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* y (+ 2 (* -2 (/ x y)))))))
Outputs
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -2 (* x y))))
#s(approx (* (- x y) (+ x x)) (*.f64 (*.f64 y x) #s(literal -2 binary64)))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* x (+ (* -2 y) (* 2 x)))))
#s(approx (* (- x y) (+ x x)) (*.f64 (*.f64 (-.f64 y x) x) #s(literal -2 binary64)))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) (neg.f64 y))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (- x y) (-.f64 x y))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (- x y) 2) #s(hole binary64 (* -2 y)))
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
#s(approx (* (- x y) 2) #s(hole binary64 (+ (* -2 y) (* 2 x))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* 2 (pow x 2))))
#s(approx (* (- x y) (+ x x)) (*.f64 (*.f64 x x) #s(literal 2 binary64)))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* (pow x 2) (+ 2 (* -2 (/ y x))))))
#s(approx (* (- x y) (+ x x)) (*.f64 (*.f64 (-.f64 y x) x) #s(literal -2 binary64)))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) x)
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) 2) #s(hole binary64 (* 2 x)))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (- x y) 2) #s(hole binary64 (* x (+ 2 (* -2 (/ y x))))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* x (- (* 2 (/ y x)) 2)))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (+ (* -2 (* x y)) (* 2 (pow x 2)))))
#s(approx (* (- x y) (+ x x)) (*.f64 (*.f64 (-.f64 y x) x) #s(literal -2 binary64)))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* y (+ (* -2 x) (* 2 (/ (pow x 2) y))))))
#s(approx (* (- x y) (+ x x)) (*.f64 (*.f64 (-.f64 y x) x) #s(literal -2 binary64)))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) 2) #s(hole binary64 (* y (- (* 2 (/ x y)) 2))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (* (- x y) (+ x x)) #s(hole binary64 (* -1 (* y (+ (* -2 (/ (pow x 2) y)) (* 2 x))))))
#s(approx (* (- x y) (+ x x)) (*.f64 (*.f64 (-.f64 y x) x) #s(literal -2 binary64)))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* y (+ 2 (* -2 (/ x y)))))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))

rewrite67.0ms (1.1%)

Memory
6.7MiB live, 86.8MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0925
01325
14121
026421
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 36
Calls
Call 1
Inputs
(*.f64 #s(approx (- x y) x) (+.f64 x x))
#s(approx (- x y) x)
(+.f64 x x)
(*.f64 (-.f64 x y) #s(literal 2 binary64))
(-.f64 x y)
Outputs
(*.f64 (*.f64 #s(literal 2 binary64) #s(approx (- x y) x)) x)
(*.f64 #s(literal 2 binary64) (*.f64 #s(approx (- x y) x) x))
(*.f64 #s(literal 2 binary64) #s(approx (- x y) x))
(*.f64 #s(approx (- x y) x) #s(literal 2 binary64))
(*.f64 x (+.f64 #s(approx (- x y) x) #s(approx (- x y) x)))
(/.f64 (*.f64 #s(literal 0 binary64) #s(approx (- x y) x)) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(approx (- x y) x)) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (*.f64 #s(approx (- x y) x) #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 #s(approx (- x y) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 #s(approx (- x y) x) x)) (*.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 #s(approx (- x y) x) x))) (-.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 #s(approx (- x y) x) x)))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(approx (- x y) x) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x y) x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 #s(approx (- x y) x) x) (-.f64 (*.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 #s(approx (- x y) x) x)) (*.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 #s(approx (- x y) x) x)))))
(fma.f64 #s(approx (- x y) x) x (*.f64 #s(approx (- x y) x) x))
(fma.f64 x #s(approx (- x y) x) (*.f64 #s(approx (- x y) x) x))
(-.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 (neg.f64 x) #s(approx (- x y) x)))
(-.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 (neg.f64 #s(approx (- x y) x)) x))
(+.f64 (*.f64 #s(approx (- x y) x) x) (*.f64 #s(approx (- x y) x) x))
#s(approx (- x y) x)
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) (-.f64 x y))
(*.f64 (-.f64 x y) #s(literal 2 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)))
(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)

eval4.0ms (0.1%)

Memory
15.9MiB live, 16.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 639 to 116 computations (81.8% saved)

prune3.0ms (0%)

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

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New43245
Fresh000
Picked112
Done033
Total44650
Accuracy
100.0%
Counts
50 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 x y) (+.f64 x x))
58.4%
(*.f64 #s(approx (- x y) x) (+.f64 x x))
3.8%
(*.f64 #s(approx (- x y) x) #s(literal 2 binary64))
96.1%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
3.4%
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
58.4%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Compiler

Compiled 56 to 43 computations (23.2% saved)

simplify185.0ms (3.1%)

Memory
-58.3MiB live, 157.2MiB allocated; 64ms collecting garbage
Localize:

Found 4 expressions of interest:

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

localize20.0ms (0.3%)

Memory
5.3MiB live, 51.0MiB allocated; 3ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(approx (- x y) x) #s(literal 2 binary64))
accuracy32.05479331720543
#s(approx (- x y) x)
accuracy0.0
(*.f64 #s(literal -2 binary64) y)
accuracy31.02532369976096
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
Samples
15.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: 3.0ms (53.2% of total)
ival-sub: 2.0ms (35.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)

series2.0ms (0%)

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

6 calls:

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

simplify164.0ms (2.7%)

Memory
25.4MiB live, 168.2MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
057143
1144133
2436133
31396133
45731133
08163133
Stop Event
iter limit
node limit
Counts
16 → 16
Calls
Call 1
Inputs
#s(approx (* (- x y) 2) #s(hole binary64 (* -2 y)))
#s(approx (* (- x y) 2) #s(hole binary64 (+ (* -2 y) (* 2 x))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (* (- x y) 2) #s(hole binary64 (* 2 x)))
#s(approx (* (- x y) 2) #s(hole binary64 (* x (+ 2 (* -2 (/ y x))))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* x (- (* 2 (/ y x)) 2)))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (* -2 y) #s(hole binary64 (* -2 y)))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (* (- x y) 2) #s(hole binary64 (* y (- (* 2 (/ x y)) 2))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* y (+ 2 (* -2 (/ x y)))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
Outputs
#s(approx (* (- x y) 2) #s(hole binary64 (* -2 y)))
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
#s(approx (* (- x y) 2) #s(hole binary64 (+ (* -2 y) (* 2 x))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) (neg.f64 y))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) 2) #s(hole binary64 (* 2 x)))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) x))
#s(approx (* (- x y) 2) #s(hole binary64 (* x (+ 2 (* -2 (/ y x))))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) x)
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* x (- (* 2 (/ y x)) 2)))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* -2 y) #s(hole binary64 (* -2 y)))
#s(approx (* -2 y) (*.f64 #s(literal -2 binary64) y))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) 2) #s(hole binary64 (* y (- (* 2 (/ x y)) 2))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (- x y) (-.f64 x y))
#s(approx (* (- x y) 2) #s(hole binary64 (* -1 (* y (+ 2 (* -2 (/ x y)))))))
#s(approx (* (- x y) 2) (*.f64 #s(literal 2 binary64) (-.f64 x y)))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (- x y) (-.f64 x y))

rewrite60.0ms (1%)

Memory
-20.6MiB live, 23.3MiB allocated; 7ms 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)
(*.f64 #s(approx (- x y) x) #s(literal 2 binary64))
#s(approx (- x y) x)
Outputs
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
(*.f64 #s(literal -2 binary64) y)
(*.f64 y #s(literal -2 binary64))
(*.f64 #s(approx (- x y) x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) #s(approx (- x y) x))
(fma.f64 #s(literal 1 binary64) #s(approx (- x y) x) (*.f64 #s(literal 1 binary64) #s(approx (- x y) x)))
(fma.f64 #s(approx (- x y) x) #s(literal 1 binary64) (*.f64 #s(approx (- x y) x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) #s(approx (- x y) x)) (*.f64 #s(literal 1 binary64) #s(approx (- x y) x)))
(+.f64 (*.f64 #s(approx (- x y) x) #s(literal 1 binary64)) (*.f64 #s(approx (- x y) x) #s(literal 1 binary64)))
(+.f64 #s(approx (- x y) x) #s(approx (- x y) x))
#s(approx (- x y) x)

eval2.0ms (0%)

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

Compiled 167 to 36 computations (78.4% saved)

prune3.0ms (0.1%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New15116
Fresh000
Picked112
Done044
Total16622
Accuracy
100.0%
Counts
22 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
3.8%
(+.f64 #s(approx (- x y) x) #s(approx (- x y) x))
100.0%
(*.f64 (-.f64 x y) (+.f64 x x))
58.4%
(*.f64 #s(approx (- x y) x) (+.f64 x x))
96.1%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
3.4%
#s(approx (* (- x y) 2) (*.f64 #s(literal -2 binary64) y))
58.4%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))
Compiler

Compiled 145 to 72 computations (50.3% saved)

regimes12.0ms (0.2%)

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

regimes37.0ms (0.6%)

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

4 calls:

29.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
81.5%2(-.f64 (*.f64 x x) (*.f64 x y))
81.5%2(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
84.2%3x
86.2%3y
Compiler

Compiled 18 to 16 computations (11.1% saved)

regimes12.0ms (0.2%)

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

4 calls:

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

Compiled 18 to 16 computations (11.1% saved)

regimes7.0ms (0.1%)

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

Total -1.1b remaining (-1.7%)

Threshold costs -1.1b (-1.7%)

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

4 calls:

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

Compiled 18 to 16 computations (11.1% saved)

bsearch31.0ms (0.5%)

Memory
20.0MiB live, 64.5MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
12.0ms
0.006229499371052224
38133.571463955464
16.0ms
-4.40936373431324e+62
-4.7957643851990985e+53
Samples
17.0ms288×0valid
Compiler

Compiled 444 to 354 computations (20.3% saved)

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

simplify51.0ms (0.9%)

Memory
-25.5MiB live, 75.3MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02458
14158
29858
332558
4131758
5608458
Stop Event
node limit
Calls
Call 1
Inputs
(*.f64 (-.f64 x y) (+.f64 x x))
(if (<=.f64 y #s(literal -660000000000000038061121990195982397386553500654108672 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x))) (if (<=.f64 y #s(literal 56 binary64)) (*.f64 #s(approx (- x y) x) (+.f64 x x)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))))
(*.f64 #s(approx (- x y) x) (+.f64 x x))
(+.f64 #s(approx (- x y) x) #s(approx (- x y) x))
Outputs
(*.f64 (-.f64 x y) (+.f64 x x))
(if (<=.f64 y #s(literal -660000000000000038061121990195982397386553500654108672 binary64)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x))) (if (<=.f64 y #s(literal 56 binary64)) (*.f64 #s(approx (- x y) x) (+.f64 x x)) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x)))))
(if (or (<=.f64 y #s(literal -660000000000000038061121990195982397386553500654108672 binary64)) (not (<=.f64 y #s(literal 56 binary64)))) #s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 y x))) (*.f64 #s(approx (- x y) x) (+.f64 x x)))
(*.f64 #s(approx (- x y) x) (+.f64 x x))
(+.f64 #s(approx (- x y) x) #s(approx (- x y) x))

derivations113.0ms (1.9%)

Memory
-14.9MiB live, 77.3MiB allocated; 11ms collecting garbage
Stop Event
fuel
Compiler

Compiled 60 to 25 computations (58.3% saved)

preprocess46.0ms (0.8%)

Memory
16.1MiB live, 61.5MiB allocated; 6ms collecting garbage
Compiler

Compiled 152 to 76 computations (50% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...