New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
f_vector outputs an extra top-dimensional cell #9954
Comments
comment:1
The attached patch removes the old Patch might depend on #9798, #10148, #10024. Should be logically independent, but there will be some fuzz. |
Author: Volker Braun |
comment:2
Note also #8656. A quick question: why was my function moved?-) |
comment:3
|
Reviewer: Andrey Novoseltsev |
comment:4
Shouldn't lines be added to all faces including the "empty one"? I am thinking here by analogy with equations that are "saturated" for all faces including the "full face". I agree that it is a bit weird, but I think this is correct from the point of view of dual representations. I guess I then also want this "empty face" to have the dimension less by one then the dimension of the linear space generated by lines, by analogy to vertex - dimension 0, empty set - dimension -1. This is really weird, perhaps because in both cases "empty face" should have dimension -infinity?.. But it seems to me that "perfect duality" justifies a strange choice of dimension for a strange/empty face - if one works with such a face, he better know what he is doing. In which case, e.g. -1 is a great choice for the dimension of the empty face of a supporting polytope of a cone. In the documentation the sentence "In the case of a full-dimensional polytope, the faces are pairs (vertices, inequalities) ..." needs some rewording - it is a bit misleading since faces are now represented by a special class (which is great, by the way!). I didn't finish reading the patch yet, but hope to do so tomorrow. |
comment:5
I am getting fuzz applying this patch, probably because I have #9972 applied. If you are happy with the current version of that ticket, it would be convenient to have it pushed before this one ;-) |
comment:6
with
but you can get the same result with
|
comment:7
I thought about adding lines to the "empty face", but I decided against it. There are certainly arguments for both. But in the end I decided against it because only lines would not be representable by a polyhedron. I don't have any reference, though. When I refactor the I'll include your other suggestions and will post a patch in a couple of days. |
comment:8
|
comment:9
One last pick - since |
Updated patch |
comment:12
Attachment: trac_9954_fix_face_lattice.patch.gz Great! Positive review! |
Merged: sage-4.6.1.alpha1 |
For a polytope whose dimension is less than its ambient dimension, the f_vector outputs an extra top-dimensional cell. For example, a triangle in 3-space:
INPUT
OUTPUT
Expected Output
Note, this was reported by the "report a problem" form.
CC: @novoselt
Component: geometry
Author: Volker Braun
Reviewer: Andrey Novoseltsev
Merged: sage-4.6.1.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/9954
The text was updated successfully, but these errors were encountered: