Linear.Matrix:fromQuaternion from linear-1.19.1.3, A

Time bar (total: 2.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample1.1s (53.4%)

Memory
6.5MiB live, 811.3MiB allocated; 412ms collecting garbage
Samples
625.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 267.0ms
ival-mult!: 195.0ms (73.2% of total)
ival-sub!: 70.0ms (26.3% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

preprocess75.0ms (3.8%)

Memory
-8.5MiB live, 39.0MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02246
19342
236642
3128442
4426542
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.5%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 18 to 14 computations (22.2% saved)

series176.0ms (8.8%)

Memory
3.8MiB live, 49.7MiB allocated; 24ms collecting garbage
Counts
7 → 17
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
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 x y)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 x (fma.f64 #s(literal -2 binary64) y (*.f64 #s(literal 2 binary64) x))))
#s(approx (- (* x x) (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 x y)))
#s(approx (- (* x x) (* x y)) (*.f64 x (-.f64 x y)))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (* x y) (*.f64 x y))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) (/.f64 y x)))))
#s(approx (- (* x x) (* x y)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (* 2 (- (* x x) (* x y))) (fma.f64 #s(literal -2 binary64) (*.f64 x y) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx (- (* x x) (* x y)) (fma.f64 #s(literal -1 binary64) (*.f64 x y) (pow.f64 x #s(literal 2 binary64))))
#s(approx y y)
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 y (fma.f64 #s(literal -2 binary64) x (*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y)))))
#s(approx (- (* x x) (* x y)) (*.f64 y (-.f64 (/.f64 (pow.f64 x #s(literal 2 binary64)) y) x)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y) (*.f64 #s(literal 2 binary64) x)))))
#s(approx (- (* x x) (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y)) (*.f64 #s(literal -1 binary64) x)))))
Calls

6 calls:

TimeVariablePoint
2.0ms
y
inf
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
x
0
1.0ms
y
-inf

rewrite250.0ms (12.5%)

Memory
31.0MiB live, 77.4MiB allocated; 5ms collecting garbage
Counts
7 → 25
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 x (-.f64 x y)))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(+.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y)))
(fma.f64 x (-.f64 x y) (*.f64 x (-.f64 x y)))
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 x (-.f64 x y))
(+.f64 (*.f64 x x) (neg.f64 (*.f64 x y)))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 x) y))
(-.f64 (*.f64 x x) (*.f64 x y))
(fma.f64 x x (neg.f64 (*.f64 x y)))
(fma.f64 (neg.f64 x) (neg.f64 x) (neg.f64 (*.f64 x y)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (neg.f64 (*.f64 x y)))
(fma.f64 x x (*.f64 (neg.f64 x) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 x) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 x) y))
(neg.f64 (-.f64 (*.f64 x y) (*.f64 x x)))
(*.f64 x x)
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(pow.f64 x #s(literal 2 binary64))
x
(*.f64 x y)
(*.f64 y x)
y

eval3.0ms (0.2%)

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

Compiled 485 to 120 computations (75.3% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New33336
Fresh000
Picked011
Done000
Total33437
Accuracy
100.0%
Counts
37 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
96.5%
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 (neg.f64 x) y)))
94.5%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
55.8%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 x y)))
Compiler

Compiled 40 to 31 computations (22.5% saved)

series182.0ms (9.1%)

Memory
-30.6MiB live, 95.9MiB allocated; 35ms collecting garbage
Counts
14 → 25
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 x y)))
(*.f64 #s(literal -2 binary64) (*.f64 x y))
#s(literal -2 binary64)
(*.f64 x y)
x
y
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 (neg.f64 x) y)))
#s(literal 2 binary64)
(fma.f64 x x (*.f64 (neg.f64 x) y))
(*.f64 (neg.f64 x) y)
(neg.f64 x)
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(*.f64 x (-.f64 x y))
(-.f64 x y)
Outputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 x y)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 x (fma.f64 #s(literal -2 binary64) y (*.f64 #s(literal 2 binary64) x))))
#s(approx (* x y) (*.f64 x y))
#s(approx x x)
#s(approx (+ (* x x) (* (neg x) y)) (*.f64 #s(literal -1 binary64) (*.f64 x y)))
#s(approx (+ (* x x) (* (neg x) y)) (*.f64 x (+.f64 x (*.f64 #s(literal -1 binary64) y))))
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) y))
#s(approx (- x y) (-.f64 x y))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) (/.f64 y x)))))
#s(approx (+ (* x x) (* (neg x) y)) (pow.f64 x #s(literal 2 binary64)))
#s(approx (+ (* x x) (* (neg x) y)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (- x y) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64)))))
#s(approx (* 2 (- (* x x) (* x y))) (fma.f64 #s(literal -2 binary64) (*.f64 x y) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))))
#s(approx y y)
#s(approx (+ (* x x) (* (neg x) y)) (fma.f64 #s(literal -1 binary64) (*.f64 x y) (pow.f64 x #s(literal 2 binary64))))
#s(approx (- x y) (+.f64 x (*.f64 #s(literal -1 binary64) y)))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 y (fma.f64 #s(literal -2 binary64) x (*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y)))))
#s(approx (+ (* x x) (* (neg x) y)) (*.f64 y (fma.f64 #s(literal -1 binary64) x (/.f64 (pow.f64 x #s(literal 2 binary64)) y))))
#s(approx (- x y) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64))))
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y) (*.f64 #s(literal 2 binary64) x)))))
#s(approx (+ (* x x) (* (neg x) y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 x (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y))))))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y))))))
Calls

6 calls:

TimeVariablePoint
26.0ms
y
0
2.0ms
x
-inf
2.0ms
y
-inf
2.0ms
x
inf
2.0ms
x
0

rewrite205.0ms (10.3%)

Memory
-17.2MiB live, 124.4MiB allocated; 38ms collecting garbage
Counts
14 → 64
Calls
Call 1
Inputs
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 x y)))
(*.f64 #s(literal -2 binary64) (*.f64 x y))
#s(literal -2 binary64)
(*.f64 x y)
x
y
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 (neg.f64 x) y)))
#s(literal 2 binary64)
(fma.f64 x x (*.f64 (neg.f64 x) y))
(*.f64 (neg.f64 x) y)
(neg.f64 x)
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(*.f64 x (-.f64 x y))
(-.f64 x y)
Outputs
#s(approx (* (* x (- x y)) 2) (*.f64 #s(literal -2 binary64) (*.f64 x y)))
(*.f64 #s(literal -2 binary64) (*.f64 x y))
(*.f64 (*.f64 #s(literal -2 binary64) x) y)
(*.f64 (*.f64 x y) #s(literal -2 binary64))
#s(literal -2 binary64)
(*.f64 x y)
(*.f64 y x)
x
y
(*.f64 #s(literal 2 binary64) (*.f64 x (-.f64 x y)))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(*.f64 x (*.f64 (-.f64 x y) #s(literal 2 binary64)))
(+.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (neg.f64 (*.f64 x y)) #s(literal 2 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (neg.f64 (*.f64 x y))))
(fma.f64 x (-.f64 x y) (*.f64 x (-.f64 x y)))
(fma.f64 (-.f64 x y) x (*.f64 x (-.f64 x y)))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) (*.f64 (neg.f64 (*.f64 x y)) #s(literal 2 binary64)))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (neg.f64 (*.f64 x y))))
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 x (-.f64 x y))
(*.f64 (-.f64 x y) x)
(+.f64 (neg.f64 (*.f64 x y)) (*.f64 x x))
(+.f64 (*.f64 x x) (neg.f64 (*.f64 x y)))
(-.f64 (*.f64 x x) (*.f64 x y))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) y))
(-.f64 (*.f64 x x) (neg.f64 (neg.f64 (*.f64 x y))))
(fma.f64 (neg.f64 x) y (*.f64 x x))
(fma.f64 y (neg.f64 x) (*.f64 x x))
(fma.f64 x x (neg.f64 (*.f64 x y)))
(fma.f64 (neg.f64 x) (neg.f64 x) (neg.f64 (*.f64 x y)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (neg.f64 (*.f64 x y)))
(neg.f64 (-.f64 (*.f64 x y) (*.f64 x x)))
(*.f64 (neg.f64 x) y)
(*.f64 y (neg.f64 x))
(neg.f64 (*.f64 x y))
(neg.f64 x)
(*.f64 #s(literal 2 binary64) (*.f64 x (-.f64 x y)))
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
(*.f64 x (*.f64 (-.f64 x y) #s(literal 2 binary64)))
(+.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) (*.f64 (neg.f64 (*.f64 x y)) #s(literal 2 binary64)))
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (neg.f64 (*.f64 x y))))
(fma.f64 x (-.f64 x y) (*.f64 x (-.f64 x y)))
(fma.f64 (-.f64 x y) x (*.f64 x (-.f64 x y)))
(fma.f64 (*.f64 x x) #s(literal 2 binary64) (*.f64 (neg.f64 (*.f64 x y)) #s(literal 2 binary64)))
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (neg.f64 (*.f64 x y))))
(*.f64 x (-.f64 x y))
(*.f64 (-.f64 x y) x)
(+.f64 (neg.f64 (*.f64 x y)) (*.f64 x x))
(+.f64 (*.f64 x x) (neg.f64 (*.f64 x y)))
(-.f64 (*.f64 x x) (*.f64 x y))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) y))
(-.f64 (*.f64 x x) (neg.f64 (neg.f64 (*.f64 x y))))
(fma.f64 (neg.f64 x) y (*.f64 x x))
(fma.f64 y (neg.f64 x) (*.f64 x x))
(fma.f64 x x (neg.f64 (*.f64 x y)))
(fma.f64 (neg.f64 x) (neg.f64 x) (neg.f64 (*.f64 x y)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (neg.f64 (*.f64 x y)))
(neg.f64 (-.f64 (*.f64 x y) (*.f64 x x)))
(+.f64 x (neg.f64 y))
(-.f64 x y)
(neg.f64 (-.f64 y x))

eval5.0ms (0.3%)

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

Compiled 787 to 202 computations (74.3% saved)

prune3.0ms (0.2%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New59059
Fresh000
Picked033
Done011
Total59463
Accuracy
100.0%
Counts
63 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x (-.f64 x y)) #s(literal 2 binary64))
96.5%
(*.f64 #s(literal 2 binary64) (fma.f64 x x (*.f64 (neg.f64 x) y)))
94.5%
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
55.8%
#s(approx (* 2 (- (* x x) (* x y))) (*.f64 #s(literal -2 binary64) (*.f64 x y)))
Compiler

Compiled 40 to 31 computations (22.5% saved)

regimes13.0ms (0.7%)

Memory
-20.4MiB live, 27.1MiB allocated; 1ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

8 calls:

3.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
2.0ms
(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
2.0ms
x
2.0ms
y
1.0ms
y
Results
AccuracySegmentsBranch
55.8%1(-.f64 (*.f64 x x) (*.f64 x y))
55.8%1(*.f64 #s(literal 2 binary64) (-.f64 (*.f64 x x) (*.f64 x y)))
55.8%1x
55.8%1y
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 76 to 54 computations (28.9% saved)

derivations0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 22 to 15 computations (31.8% saved)

preprocess13.0ms (0.7%)

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

Compiled 31 to 22 computations (29% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...