Diagrams.Solve.Tridiagonal:solveTriDiagonal from diagrams-solve-0.1, C

Time bar (total: 1.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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 7 to 7 computations (0% saved)

sample507.0ms (49.3%)

Memory
22.5MiB live, 589.4MiB allocated; 33ms collecting garbage
Samples
304.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 113.0ms
ival-mult: 68.0ms (60.3% of total)
ival-sub: 40.0ms (35.5% of total)
ival-assert: 3.0ms (2.7% of total)
adjust: 2.0ms (1.8% of total)
Bogosity

explain51.0ms (4.9%)

Memory
17.7MiB live, 64.7MiB allocated; 3ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(-.f64 x (*.f64 y z))
00-0-(*.f64 y z)
00-0-z
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
23.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 7.0ms (70.3% of total)
ival-sub: 2.0ms (20.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess17.0ms (1.6%)

Memory
-28.6MiB live, 19.1MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02253
14053
28153
311553
412953
513353
055
075
1115
2205
3305
4395
0395
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 x (*.f64 y z))
Outputs
(-.f64 x (*.f64 y z))
(-.f64 x (*.f64 z y))
Symmetry

(sort y z)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

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

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 x (*.f64 y z))
Compiler

Compiled 5 to 5 computations (0% saved)

series5.0ms (0.5%)

Memory
7.4MiB live, 7.4MiB allocated; 0ms collecting garbage
Counts
5 → 14
Calls
Call 1
Inputs
(-.f64 x (*.f64 y z))
x
(*.f64 y z)
y
z
Outputs
#s(approx (- x (* y z)) #s(hole binary64 (* -1 (* y z))))
#s(approx (- x (* y z)) #s(hole binary64 (- x (* y z))))
#s(approx x #s(hole binary64 x))
#s(approx (- x (* y z)) #s(hole binary64 x))
#s(approx (- x (* y z)) #s(hole binary64 (* x (+ 1 (* -1 (/ (* y z) x))))))
#s(approx (- x (* y z)) #s(hole binary64 (* -1 (* x (- (/ (* y z) x) 1)))))
#s(approx (- x (* y z)) #s(hole binary64 (+ x (* -1 (* y z)))))
#s(approx (* y z) #s(hole binary64 (* y z)))
#s(approx y #s(hole binary64 y))
#s(approx (- x (* y z)) #s(hole binary64 (* y (- (/ x y) z))))
#s(approx (- x (* y z)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* -1 z))))))
#s(approx z #s(hole binary64 z))
#s(approx (- x (* y z)) #s(hole binary64 (* z (- (/ x z) y))))
#s(approx (- x (* y z)) #s(hole binary64 (* -1 (* z (- (* -1 (/ x z)) (* -1 y))))))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((- x (* y z)) x (* y z) y z)
1.0ms
z
@-inf
((- x (* y z)) x (* y z) y z)
1.0ms
x
@-inf
((- x (* y z)) x (* y z) y z)
1.0ms
y
@inf
((- x (* y z)) x (* y z) y z)
1.0ms
z
@inf
((- x (* y z)) x (* y z) y z)

rewrite183.0ms (17.8%)

Memory
3.6MiB live, 155.2MiB allocated; 59ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048167
050156
1209152
21571152
08572150
Stop Event
iter limit
node limit
iter limit
Counts
19 → 59
Calls
Call 1
Inputs
(-.f64 x (*.f64 y z))
x
(*.f64 y z)
y
z
#s(approx (- x (* y z)) #s(hole binary64 (* -1 (* y z))))
#s(approx (- x (* y z)) #s(hole binary64 (- x (* y z))))
#s(approx x #s(hole binary64 x))
#s(approx (- x (* y z)) #s(hole binary64 x))
#s(approx (- x (* y z)) #s(hole binary64 (* x (+ 1 (* -1 (/ (* y z) x))))))
#s(approx (- x (* y z)) #s(hole binary64 (* -1 (* x (- (/ (* y z) x) 1)))))
#s(approx (- x (* y z)) #s(hole binary64 (+ x (* -1 (* y z)))))
#s(approx (* y z) #s(hole binary64 (* y z)))
#s(approx y #s(hole binary64 y))
#s(approx (- x (* y z)) #s(hole binary64 (* y (- (/ x y) z))))
#s(approx (- x (* y z)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* -1 z))))))
#s(approx z #s(hole binary64 z))
#s(approx (- x (* y z)) #s(hole binary64 (* z (- (/ x z) y))))
#s(approx (- x (* y z)) #s(hole binary64 (* -1 (* z (- (* -1 (/ x z)) (* -1 y))))))
Outputs
(/.f64 (-.f64 (pow.f64 (/.f64 (*.f64 x x) (fma.f64 z y x)) #s(literal 3 binary64)) (pow.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (fma.f64 z y x)) #s(literal 3 binary64))) (fma.f64 (/.f64 (*.f64 x x) (fma.f64 z y x)) (/.f64 (*.f64 x x) (fma.f64 z y x)) (fma.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (fma.f64 z y x)) (/.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (fma.f64 z y x)) (*.f64 (/.f64 (*.f64 x x) (fma.f64 z y x)) (/.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (fma.f64 z y x))))))
(/.f64 (-.f64 (pow.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) #s(literal 3 binary64)) (pow.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) #s(literal 3 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (fma.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)))))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64)) (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64)) (*.f64 x (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64))))))
(/.f64 (+.f64 (pow.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) #s(literal 3 binary64)) (pow.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) #s(literal 3 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (-.f64 (*.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)))) (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (neg.f64 y) z) x)))
(/.f64 (neg.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z y) #s(literal 2 binary64))))) (neg.f64 (neg.f64 (fma.f64 z y x))))
(/.f64 (neg.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z y) #s(literal 3 binary64))))) (neg.f64 (neg.f64 (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (fma.f64 z y x)) (*.f64 (fma.f64 z y x) (pow.f64 (*.f64 z y) #s(literal 2 binary64)))) (*.f64 (fma.f64 z y x) (fma.f64 z y x)))
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (*.f64 (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)) (pow.f64 (*.f64 z y) #s(literal 3 binary64)))) (*.f64 (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)) (*.f64 (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)) (pow.f64 (*.f64 z y) #s(literal 3 binary64)))) (*.f64 (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (neg.f64 y) z) x))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z y) #s(literal 2 binary64)))) (neg.f64 (fma.f64 z y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z y) #s(literal 3 binary64)))) (neg.f64 (+.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (neg.f64 y)) z)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 z y) #s(literal 2 binary64))) (fma.f64 z y x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z y) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (neg.f64 y)) z))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 z y) #s(literal 3 binary64))) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x)))
(fma.f64 (neg.f64 y) z x)
(fma.f64 (neg.f64 z) y x)
(fma.f64 #s(literal -1 binary64) (*.f64 z y) x)
(fma.f64 (*.f64 z y) #s(literal -1 binary64) x)
(fma.f64 z (neg.f64 y) x)
(fma.f64 y (neg.f64 z) x)
(-.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) z) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 y) z) x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (neg.f64 y)) z)))) (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (neg.f64 y)) z)))))
(-.f64 (/.f64 (*.f64 x x) (fma.f64 z y x)) (/.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (fma.f64 z y x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))))
(-.f64 x (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64)))
(-.f64 x (*.f64 z y))
(+.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (neg.f64 y)) z)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (neg.f64 y)) z)))))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (neg.f64 y)) z)))) (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 z y) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x (neg.f64 y)) z)))))
(+.f64 (/.f64 (*.f64 x x) (fma.f64 z y x)) (/.f64 (*.f64 (*.f64 (neg.f64 y) z) (*.f64 z y)) (fma.f64 z y x)))
(+.f64 (/.f64 (*.f64 x x) (fma.f64 z y x)) (/.f64 (*.f64 (*.f64 z y) (*.f64 (neg.f64 y) z)) (fma.f64 z y x)))
(+.f64 (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 z y) #s(literal 3 binary64)) (fma.f64 (*.f64 z y) (fma.f64 z y x) (*.f64 x x))))
(+.f64 (*.f64 (neg.f64 y) z) x)
(+.f64 x (*.f64 (neg.f64 y) z))
x
(*.f64 #s(literal 1 binary64) (*.f64 z y))
(*.f64 (*.f64 z y) #s(literal 1 binary64))
(*.f64 z y)
(*.f64 y z)
(neg.f64 (*.f64 (neg.f64 y) z))
y
z
#s(approx (- x (* y z)) (*.f64 (neg.f64 y) z))
#s(approx (- x (* y z)) (-.f64 x (*.f64 z y)))
#s(approx x x)
#s(approx (- x (* y z)) x)
#s(approx (- x (* y z)) (*.f64 (fma.f64 (/.f64 z x) y #s(literal 1 binary64)) x))
#s(approx (- x (* y z)) (*.f64 (fma.f64 (/.f64 z x) y #s(literal 1 binary64)) x))
#s(approx (- x (* y z)) (-.f64 x (*.f64 z y)))
#s(approx (* y z) (*.f64 z y))
#s(approx y y)
#s(approx (- x (* y z)) (*.f64 (-.f64 (/.f64 x y) z) y))
#s(approx (- x (* y z)) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) z)))
#s(approx z z)
#s(approx (- x (* y z)) (*.f64 (-.f64 (/.f64 x z) y) z))
#s(approx (- x (* y z)) (*.f64 (fma.f64 (/.f64 x z) #s(literal -1 binary64) y) (neg.f64 z)))

eval6.0ms (0.5%)

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

Compiled 1 285 to 157 computations (87.8% saved)

prune13.0ms (1.3%)

Memory
-31.9MiB live, 15.7MiB allocated; 1ms collecting garbage
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New56157
Fresh000
Picked101
Done000
Total57158
Accuracy
100.0%
Counts
58 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (neg.f64 z) y x)
Compiler

Compiled 5 to 5 computations (0% saved)

series4.0ms (0.4%)

Memory
5.1MiB live, 5.1MiB allocated; 0ms collecting garbage
Counts
5 → 13
Calls
Call 1
Inputs
(fma.f64 (neg.f64 z) y x)
(neg.f64 z)
z
y
x
Outputs
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* -1 (* y z))))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (+ x (* -1 (* y z)))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 x))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* x (+ 1 (* -1 (/ (* y z) x))))))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* -1 (* x (- (/ (* y z) x) 1)))))
#s(approx y #s(hole binary64 y))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* y (+ (* -1 z) (/ x y)))))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* -1 (* y (+ z (* -1 (/ x y)))))))
#s(approx (neg z) #s(hole binary64 (* -1 z)))
#s(approx z #s(hole binary64 z))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* z (+ (* -1 y) (/ x z)))))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* -1 (* z (+ y (* -1 (/ x z)))))))
Calls

9 calls:

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

rewrite153.0ms (14.8%)

Memory
33.1MiB live, 130.4MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049154
050142
1243138
21806136
08605134
Stop Event
iter limit
node limit
iter limit
Counts
18 → 67
Calls
Call 1
Inputs
(fma.f64 (neg.f64 z) y x)
(neg.f64 z)
z
y
x
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* -1 (* y z))))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (+ x (* -1 (* y z)))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 x))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* x (+ 1 (* -1 (/ (* y z) x))))))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* -1 (* x (- (/ (* y z) x) 1)))))
#s(approx y #s(hole binary64 y))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* y (+ (* -1 z) (/ x y)))))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* -1 (* y (+ z (* -1 (/ x y)))))))
#s(approx (neg z) #s(hole binary64 (* -1 z)))
#s(approx z #s(hole binary64 z))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* z (+ (* -1 y) (/ x z)))))
#s(approx (+ (* (neg z) y) x) #s(hole binary64 (* -1 (* z (+ y (* -1 (/ x z)))))))
Outputs
(/.f64 (-.f64 (pow.f64 (/.f64 (*.f64 x x) (+.f64 x (*.f64 y z))) #s(literal 3 binary64)) (pow.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (+.f64 x (*.f64 y z))) #s(literal 3 binary64))) (fma.f64 (/.f64 (*.f64 x x) (+.f64 x (*.f64 y z))) (/.f64 (*.f64 x x) (+.f64 x (*.f64 y z))) (fma.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (+.f64 x (*.f64 y z))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (+.f64 x (*.f64 y z))) (*.f64 (/.f64 (*.f64 x x) (+.f64 x (*.f64 y z))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (+.f64 x (*.f64 y z)))))))
(/.f64 (-.f64 (pow.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) z) x)) #s(literal 3 binary64)) (pow.f64 (/.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 y) z) x)) #s(literal 3 binary64))) (fma.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) z) x)) (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) z) x)) (fma.f64 (/.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 y) z) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 y) z) x)) (*.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) z) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 y) z) x))))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 (neg.f64 y)) z) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 (neg.f64 (neg.f64 y)) z) (*.f64 (neg.f64 (neg.f64 y)) z) (*.f64 x (*.f64 (neg.f64 (neg.f64 y)) z)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 (neg.f64 z)) y) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 (neg.f64 (neg.f64 z)) y) (*.f64 (neg.f64 (neg.f64 z)) y) (*.f64 x (*.f64 (neg.f64 (neg.f64 z)) y)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64)) (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64)) (*.f64 x (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64))))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 y) (neg.f64 z)) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 (neg.f64 y) (neg.f64 z)) (*.f64 (neg.f64 y) (neg.f64 z)) (*.f64 x (*.f64 (neg.f64 y) (neg.f64 z))))))
(/.f64 (+.f64 (pow.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) #s(literal 3 binary64)) (pow.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) #s(literal 3 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) (-.f64 (*.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x)))) (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x)))))))
(/.f64 (+.f64 (pow.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) #s(literal 3 binary64))) (fma.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) (-.f64 (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64))))) (*.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64))))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 y z) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x (+.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (*.f64 x (*.f64 y z))))))
(/.f64 (neg.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y z) #s(literal 2 binary64))))) (neg.f64 (neg.f64 (+.f64 x (*.f64 y z)))))
(/.f64 (neg.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (*.f64 x x)))) (neg.f64 (neg.f64 (-.f64 (*.f64 (neg.f64 y) z) x))))
(/.f64 (neg.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))))) (neg.f64 (neg.f64 (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x)))))
(/.f64 (neg.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))))) (neg.f64 (neg.f64 (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64))))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (+.f64 x (*.f64 y z))) (*.f64 (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) (*.f64 (+.f64 x (*.f64 y z)) (+.f64 x (*.f64 y z))))
(/.f64 (-.f64 (*.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) z) x)) (*.f64 (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) (*.f64 (-.f64 (*.f64 (neg.f64 y) z) x) (-.f64 (*.f64 (neg.f64 y) z) x)))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x)) (*.f64 (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x)) (pow.f64 (*.f64 y z) #s(literal 3 binary64)))) (*.f64 (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))))
(/.f64 (fma.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64))) (*.f64 (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64))) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64))) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 y z) #s(literal 3 binary64))) (fma.f64 x x (+.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (*.f64 x (*.f64 y z)))))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) (neg.f64 (+.f64 x (*.f64 y z))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (neg.f64 y) z) x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y z) #s(literal 2 binary64))) (+.f64 x (*.f64 y z)))
(/.f64 (-.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (neg.f64 y) z) x))
(/.f64 (+.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64))))
(fma.f64 (neg.f64 y) z x)
(fma.f64 (neg.f64 z) y x)
(fma.f64 (*.f64 y z) #s(literal -1 binary64) x)
(fma.f64 #s(literal -1 binary64) (*.f64 y z) x)
(fma.f64 y (neg.f64 z) x)
(fma.f64 z (neg.f64 y) x)
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (+.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (*.f64 x (*.f64 y z))))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 x x (+.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (*.f64 x (*.f64 y z))))))
(-.f64 (/.f64 (*.f64 x x) (+.f64 x (*.f64 y z))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (+.f64 x (*.f64 y z))))
(-.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) z) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 y) z) x)))
(-.f64 x (*.f64 (neg.f64 (neg.f64 y)) z))
(-.f64 x (*.f64 (neg.f64 (neg.f64 z)) y))
(-.f64 x (*.f64 (*.f64 (neg.f64 y) z) #s(literal -1 binary64)))
(-.f64 x (*.f64 (neg.f64 y) (neg.f64 z)))
(-.f64 x (*.f64 y z))
(+.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 (*.f64 (neg.f64 y) z) (-.f64 (*.f64 (neg.f64 y) z) x) (*.f64 x x))))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))))
(+.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 x (*.f64 y z)) (pow.f64 (*.f64 y z) #s(literal 2 binary64)))))
(+.f64 (/.f64 (*.f64 x x) (+.f64 x (*.f64 y z))) (/.f64 (*.f64 (*.f64 y z) (*.f64 (neg.f64 y) z)) (+.f64 x (*.f64 y z))))
(+.f64 (/.f64 (pow.f64 (*.f64 y z) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 y) z) x)) (/.f64 (*.f64 (neg.f64 x) x) (-.f64 (*.f64 (neg.f64 y) z) x)))
(+.f64 (*.f64 (neg.f64 y) z) x)
(+.f64 x (*.f64 (neg.f64 y) z))
(*.f64 #s(literal -1 binary64) z)
(*.f64 z #s(literal -1 binary64))
(neg.f64 z)
z
y
x
#s(approx (+ (* (neg z) y) x) (*.f64 (neg.f64 y) z))
#s(approx (+ (* (neg z) y) x) (fma.f64 (neg.f64 y) z x))
#s(approx x x)
#s(approx (+ (* (neg z) y) x) x)
#s(approx (+ (* (neg z) y) x) (*.f64 (fma.f64 (/.f64 z x) y #s(literal 1 binary64)) x))
#s(approx (+ (* (neg z) y) x) (*.f64 (fma.f64 (/.f64 z x) y #s(literal 1 binary64)) x))
#s(approx y y)
#s(approx (+ (* (neg z) y) x) (*.f64 (-.f64 z (/.f64 x y)) y))
#s(approx (+ (* (neg z) y) x) (*.f64 (neg.f64 y) (-.f64 z (/.f64 x y))))
#s(approx (neg z) (neg.f64 z))
#s(approx z z)
#s(approx (+ (* (neg z) y) x) (*.f64 (-.f64 y (/.f64 x z)) z))
#s(approx (+ (* (neg z) y) x) (*.f64 (-.f64 y (/.f64 x z)) (neg.f64 z)))

eval8.0ms (0.8%)

Memory
-38.0MiB live, 8.9MiB allocated; 1ms collecting garbage
Compiler

Compiled 1 655 to 206 computations (87.6% saved)

prune14.0ms (1.3%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh000
Picked011
Done000
Total66167
Accuracy
100.0%
Counts
67 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (neg.f64 z) y x)
Compiler

Compiled 15 to 12 computations (20% saved)

regimes6.0ms (0.6%)

Memory
16.3MiB live, 16.3MiB allocated; 0ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
(-.f64 x (*.f64 y z))
(fma.f64 (neg.f64 z) y x)
Outputs
(fma.f64 (neg.f64 z) y x)
Calls

5 calls:

1.0ms
y
1.0ms
z
1.0ms
x
1.0ms
(-.f64 x (*.f64 y z))
1.0ms
(*.f64 y z)
Results
AccuracySegmentsBranch
100.0%1(*.f64 y z)
100.0%1(-.f64 x (*.f64 y z))
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 11 to 18 computations (-63.6% saved)

regimes6.0ms (0.6%)

Memory
-32.7MiB live, 15.1MiB allocated; 1ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 x (*.f64 y z))
Outputs
(-.f64 x (*.f64 y z))
Calls

5 calls:

2.0ms
x
1.0ms
y
1.0ms
(*.f64 y z)
1.0ms
(-.f64 x (*.f64 y z))
1.0ms
z
Results
AccuracySegmentsBranch
100.0%1(*.f64 y z)
100.0%1(-.f64 x (*.f64 y z))
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 11 to 18 computations (-63.6% saved)

simplify9.0ms (0.9%)

Memory
13.2MiB live, 13.2MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11710
22510
32710
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (neg.f64 z) y x)
(-.f64 x (*.f64 y z))
Outputs
(fma.f64 (neg.f64 z) y x)
(-.f64 x (*.f64 y z))

derivations29.0ms (2.8%)

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

Compiled 10 to 7 computations (30% saved)

preprocess18.0ms (1.7%)

Memory
-25.3MiB live, 26.4MiB allocated; 4ms collecting garbage
Remove

(sort y z)

Compiler

Compiled 50 to 44 computations (12% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...