sage: actual == expected
True
+ Combining Proposition 3.1 and Corollary 3.9 in [Tam]_ gives the
+ following equality for any ``y`` in ``K``::
+
+ sage: set_random_seed()
+ sage: K = random_cone(max_ambient_dim=8, max_rays=10)
+ sage: y = K.random_element()
+ sage: S = [y]
+ sage: phi_y = face_generated_by(K,S)
+ sage: points_cone_gens = list(K.rays()) + [-z for z in phi_y.rays()]
+ sage: points_cone = Cone(points_cone_gens, K.lattice())
+ sage: actual = phi_y.span(QQ)
+ sage: expected = points_cone.linear_subspace()
+ sage: actual == expected
+ True
+
"""
face_lattice = K.face_lattice()
candidates = [F for F in face_lattice if all([F.contains(x) for x in S])]