Closed apozas closed 5 months ago
In fact, is it possible that the code above is creating not just the hexagon inflation, but the hierarchy up to level 2? This is, is it creating an inflation that consists of the hexagon (level 2) and the triangle (level 1)? If this is the case, then the code is actually working as it should, indeed.
Yes, I think your understanding is correct. The code works by generating all possible sequences of events which are compatible. By considering all possible sequences of compatible events we take all possible inflations up to some length of sequence of events. I think the length of sequence of events is by default maximal, not sure if local levels for LPs have been implemented yet.
Yes, indeed. Now I have confirmed that the behavior is the one we are guessing (it builds not just the ring inflation at the specified level, but all the previous ones as well). Thank you, and sorry for this.
Describe the bug When writing the hexagon inflation of the triangle, we know that p(a,b,c) cannot be associated to any probability in the inflation, because no marginal of the hexagon realizes a triangle. When writing the LP that would naturally correspond to this inflation, the list
known_monomials
includes p(a,b,c)To Reproduce
In fact, this already happens with what one would expect to be the code for the cut inflation:
Expected behavior We know that the ring inflations are the most general inflations of ring networks (right?), so calling the second-level of the corresponding hierarchy (namely the first snippet I wrote) should give the hexagon inflation.
Also, related: if it's not the ring inflations that the code above generates, which inflations is it generating?