Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 4 years ago

klaaa gravatar image

Obtaining a simplicial complex associated to a poset with the help of Sage

I want to associate to a finite poset a simplicial complex Δ(P) and study homology(with coefficients in the rational numbers or a finite field) and the topological type of this simplicial complex using Sage. I have not yet used sage for this and wanted to ask whether there is an easy method to do this.

Let P be a a finite poset with at least two elements and for pP define two subsets as follows:

J(p):=(gP|pg) and I(p):=(gP|gp).

(here ( means { and ) means } but it seems that the set brackets can not be displayed here)

For a subset S of P (we view P also as set of its vertices) we then define

J(S):=pSJ(p) and I(S):=pSI(p).

We set J()=P,J(P)= and I()=, I(P)=P.

Then the simplicial complex Δ(P) is defined as the set of all subsets SP with J(Sc)I(Sc), where fore a subset SP we denote by Sc the complement of S in P.

I can obtain the sets J(p) and I(p) for elements but not for subsets in Sage, but I would think there is an easy trick.

Thanks for any help.

Obtaining a simplicial complex associated to a poset with the help of Sage

I want to associate to a finite poset a simplicial complex Δ(P) and study the homology(with coefficients in the rational numbers or a finite field) and the topological type of this simplicial complex using Sage. I have not yet used sage for this and wanted to ask whether there is an easy method to do this.

Let P be a a finite poset with at least two elements and for pP define two subsets as follows:

J(p):=(gP|pg) and I(p):=(gP|gp).

(here ( means { and ) means } but it seems that the set brackets can not be displayed here)

For a subset S of P (we view P also as set of its vertices) we then define

J(S):=pSJ(p) and I(S):=pSI(p).

We set J()=P,J(P)= and I()=, I(P)=P.

Then the simplicial complex Δ(P) is defined as the set of all subsets SP with J(Sc)I(Sc), where fore a subset SP we denote by Sc the complement of S in P.

I can obtain the sets J(p) and I(p) for elements but not for subsets in Sage, but I would think there is an easy trick.

Thanks for any help.

Obtaining a simplicial complex associated to a poset with the help of Sage

I want to associate to a finite poset a simplicial complex Δ(P) and study the homology(with coefficients in the rational numbers or a finite field) and the topological type of this simplicial complex using Sage. I have not yet used sage for this and wanted to ask whether there is an easy method to do this.

Let P be a a finite poset with at least two elements and for pP define two subsets as follows:

J(p):=(gP|pg) and I(p):=(gP|gp).

(here ( means { and ) means } but it seems that the set brackets can not be displayed here)

For a subset S of P (we view P also as set of its vertices) we then define

J(S):=pSJ(p) and I(S):=pSI(p).

We set J()=P,J(P)= and I()=, I(P)=P.

Then the simplicial complex Δ(P) is defined as the set of all subsets SP with J(Sc)I(Sc), where fore a subset SP we denote by Sc the complement of S in P.

For example when the poset P is a chain with n-elements then Δ(P) should have topological type of the (n2)-sphere.

I can obtain the sets J(p) and I(p) for elements but not for subsets in Sage, but I would think there is an easy trick.

Thanks for any help.

Obtaining a simplicial complex associated to a poset with the help of Sage

I want to associate to a finite poset a simplicial complex Δ(P) and study the homology(with coefficients in the rational numbers or a finite field) and the topological type of this simplicial complex using Sage. I have not yet used sage for this and wanted to ask whether there is an easy method to do this.

Let P be a a finite poset with at least two elements and for pP define two subsets as follows:

$J(p):= ( J(p):= { $ g \in P | p \nleq g $ } )andI(p):=( g and I(p):= { $g \in P | g \leq p )$.

(here ( means { and ) means } but it seems that the set brackets can not be displayed here) $ }.

For a subset S of P (we view P also as set of its vertices) we then define

J(S):=pSJ(p) and I(S):=pSI(p).

We set J()=P,J(P)= and I()=, I(P)=P.

Then the simplicial complex Δ(P) is defined as the set of all subsets SP with J(Sc)I(Sc), where fore a subset SP we denote by Sc the complement of S in P.

For example when the poset P is a chain with n-elements then Δ(P) should have topological type of the (n2)-sphere.

I can obtain the sets J(p) and I(p) for elements but not for subsets in Sage, but I would think there is an easy trick.

Thanks for any help.

Obtaining a simplicial complex associated to a poset with the help of Sage

I want to associate to a finite poset a simplicial complex Δ(P) and study the homology(with coefficients in the rational numbers or a finite field) and the topological type of this simplicial complex using Sage. I have not yet used sage for this and wanted to ask whether there is an easy method to do this.

Let P be a a finite poset with at least two elements and for pP define two subsets as follows:

J(p):= { gP|pg } and I(p):= { gP|gp }.

For a subset S of P (we view P also as set of its vertices) we then define

J(S):=pSJ(p) and I(S):=pSI(p).

We set J()=P,J(P)= and I()=, I(P)=P.

Then the simplicial complex Δ(P) is defined as the set of all subsets SP with J(Sc)I(Sc), where fore a subset $S \subset \subseteq PwedenotebyS^cthecomplementofSinP$.

For example when the poset P is a chain with n-elements then Δ(P) should have topological type of the (n2)-sphere.

I can obtain the sets J(p) and I(p) for elements but not for subsets in Sage, but I would think there is an easy trick.

Thanks for any help.

Obtaining a simplicial complex associated to a poset with the help of Sage

I want to associate to a finite poset P a simplicial complex Δ(P) and study the homology(with coefficients in the rational numbers or a finite field) and the topological type of this simplicial complex using Sage. I have not yet used sage for this and wanted to ask whether there is an easy method to do this.

Let P be a a finite poset with at least two elements and for pP define two subsets as follows:

J(p):= { gP|pg } and I(p):= { gP|gp }.

For a subset S of P (we view P also as set of its vertices) we then define

J(S):=pSJ(p) and I(S):=pSI(p).

We set J()=P,J(P)= and I()=, I(P)=P.

Then the simplicial complex Δ(P) is defined as the set of all subsets SP with J(Sc)I(Sc), where fore a subset SP we denote by Sc the complement of S in P.

For example when the poset P is a chain with n-elements then Δ(P) should have topological type of the (n2)-sphere.

I can obtain the sets J(p) and I(p) for elements but not for subsets in Sage, but I would think there is an easy trick.

Thanks for any help.

Obtaining a simplicial complex associated to a poset with the help of Sage

I want to associate to a finite poset P a simplicial complex Δ(P) and study the homology(with coefficients in the rational numbers or a finite field) and the topological type of this simplicial complex using Sage. I have not yet used sage for this and wanted to ask whether there is an easy method to do this.

Let P be a a finite poset with at least two elements and for pP define two subsets as follows:

J(p):= { gP|pg } and I(p):= { gP|gp }.

For a subset S of P (we view P also as set of its vertices) we then define

J(S):=pSJ(p) and I(S):=pSI(p).

We set J()=P,J(P)= and I()=, I(P)=P.

Then the simplicial complex Δ(P) is defined as the set of all subsets SP with J(Sc)I(Sc), where fore a subset SP we denote by Sc the complement of S in P.

For example when the poset P is a chain with n-elements then Δ(P) should have topological type of the (n2)-sphere.

I can obtain the sets J(p) and I(p) for elements but not for subsets in Sage, but I would think there is an easy trick.

Here is an example in Sage for a given poset P :

P=posets.BooleanLattice(2)

display(P)

p=P[2]

I=[u for u in P if P.is_lequal(u,p)]

J=[u for u in P if not P.is_lequal(p,u)]

display(I)

display(J)

Thanks for any help.

Obtaining a simplicial complex associated to a poset with the help of Sage

I want to associate to a finite poset a simplicial complex Δ(P) and study the homology(with coefficients in the rational numbers or a finite field) and the topological type of this simplicial complex using Sage. I have not yet used sage for this and wanted to ask whether there is an easy method to do this.

Let P be a a finite poset with at least two elements and for pP define two subsets as follows:

J(p):= { gP|pg } and I(p):= { gP|gp }.

For a subset S of P (we view P also as set of its vertices) we then define

J(S):=pSJ(p) and I(S):=pSI(p).

We set J()=P,J(P)= and I()=, I(P)=P.

Then the simplicial complex Δ(P) is defined as the set of all subsets SP with J(Sc)I(Sc), where fore a subset SP we denote by Sc the complement of S in P.

For example when the poset P is a chain with n-elements then Δ(P) should have topological type of the (n2)-sphere.

I can obtain the sets J(p) and I(p) for elements but not for subsets in Sage, but I would think there is an easy trick.

Here is an example in Sage for a given poset P :

P=posets.BooleanLattice(2)

display(P)

p=P[2]

P=posets.BooleanLattice(2)

display(P)

p=P[2]

I=[u for u in P if P.is_lequal(u,p)]

P.is_lequal(u,p)] J=[u for u in P if not P.is_lequal(p,u)]

display(I)

display(J)

P.is_lequal(p,u)] display(I) display(J)

Thanks for any help.