Is Category Theory similar to Graph Theory?
Clash Royale CLAN TAG#URR8PPP
up vote
16
down vote
favorite
The following author noted:
Roughly speaking, category theory is graph theory with additional structure to represent composition.
My question is: Is Category Theory similar to Graph Theory?
graph-theory category-theory
add a comment |Â
up vote
16
down vote
favorite
The following author noted:
Roughly speaking, category theory is graph theory with additional structure to represent composition.
My question is: Is Category Theory similar to Graph Theory?
graph-theory category-theory
1
Category Theory is distinct from Graph Theory in that Graph Theory can be captured in the language of set-theory whereas Category Theory often cannot be. Category Theory is about general structures of mathematical objects with certain conditions imposed (such as identity arrows, composition of arrows, and associativity of arrows). Certain categories certainly appear to be like directed-graphs but they often have more structure. The following link will provide some more information: plato.stanford.edu/entries/category-theory
â letsmakemuffinstogether
Apr 17 '15 at 13:24
4
Roughly speaking, group theory is set theory with additional structure to represent composition. Can we conclude that group theory is similar to set theory ?
â Roland
Apr 17 '15 at 16:22
add a comment |Â
up vote
16
down vote
favorite
up vote
16
down vote
favorite
The following author noted:
Roughly speaking, category theory is graph theory with additional structure to represent composition.
My question is: Is Category Theory similar to Graph Theory?
graph-theory category-theory
The following author noted:
Roughly speaking, category theory is graph theory with additional structure to represent composition.
My question is: Is Category Theory similar to Graph Theory?
graph-theory category-theory
asked Apr 17 '15 at 13:17
hawkeye
504411
504411
1
Category Theory is distinct from Graph Theory in that Graph Theory can be captured in the language of set-theory whereas Category Theory often cannot be. Category Theory is about general structures of mathematical objects with certain conditions imposed (such as identity arrows, composition of arrows, and associativity of arrows). Certain categories certainly appear to be like directed-graphs but they often have more structure. The following link will provide some more information: plato.stanford.edu/entries/category-theory
â letsmakemuffinstogether
Apr 17 '15 at 13:24
4
Roughly speaking, group theory is set theory with additional structure to represent composition. Can we conclude that group theory is similar to set theory ?
â Roland
Apr 17 '15 at 16:22
add a comment |Â
1
Category Theory is distinct from Graph Theory in that Graph Theory can be captured in the language of set-theory whereas Category Theory often cannot be. Category Theory is about general structures of mathematical objects with certain conditions imposed (such as identity arrows, composition of arrows, and associativity of arrows). Certain categories certainly appear to be like directed-graphs but they often have more structure. The following link will provide some more information: plato.stanford.edu/entries/category-theory
â letsmakemuffinstogether
Apr 17 '15 at 13:24
4
Roughly speaking, group theory is set theory with additional structure to represent composition. Can we conclude that group theory is similar to set theory ?
â Roland
Apr 17 '15 at 16:22
1
1
Category Theory is distinct from Graph Theory in that Graph Theory can be captured in the language of set-theory whereas Category Theory often cannot be. Category Theory is about general structures of mathematical objects with certain conditions imposed (such as identity arrows, composition of arrows, and associativity of arrows). Certain categories certainly appear to be like directed-graphs but they often have more structure. The following link will provide some more information: plato.stanford.edu/entries/category-theory
â letsmakemuffinstogether
Apr 17 '15 at 13:24
Category Theory is distinct from Graph Theory in that Graph Theory can be captured in the language of set-theory whereas Category Theory often cannot be. Category Theory is about general structures of mathematical objects with certain conditions imposed (such as identity arrows, composition of arrows, and associativity of arrows). Certain categories certainly appear to be like directed-graphs but they often have more structure. The following link will provide some more information: plato.stanford.edu/entries/category-theory
â letsmakemuffinstogether
Apr 17 '15 at 13:24
4
4
Roughly speaking, group theory is set theory with additional structure to represent composition. Can we conclude that group theory is similar to set theory ?
â Roland
Apr 17 '15 at 16:22
Roughly speaking, group theory is set theory with additional structure to represent composition. Can we conclude that group theory is similar to set theory ?
â Roland
Apr 17 '15 at 16:22
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
18
down vote
accepted
In fact, "Roughly speaking, category theory is graph theory with additional structure to represent composition." is a good summary of the connection between the notion of a graph (meaning here: directed multigraph) and the notion of a category. Here is a way of how to make this precise:
Let $O$ be a set ("set of vertices"). Then we have a category $O-mathsfGraph$ whose objects are sets $M$ ("set of edges") equipped with two maps $s,t : M rightrightarrows O$ ("source" and "target"). This category is monoidal: The unit is $mathrmid : O rightrightarrows O$, the tensor product of $s,t : M rightrightarrows O$ with $u,v : N rightrightarrows O$ is the fiber product $M times_t,O,u N$ equipped with the maps $rightrightarrows O$ induced by $s$ and $v$. To any monoidal category, we may associate the category of monoid objects.
Observation. A category with object set $O$ is the same as a monoid object in $O-mathsfGraph$.
This description is quite nice, as it really says in how far categories are "graphs with multiplication". If $O$ is a class, we can make the obvious adjustments; or we use ZFC + Grothendieck universes, so that we can work with sets alone. It is possible to get rid of the $O$ in the statement (which is quite natural, because we never want to fix the object set), but then you will have to use more advanced language: A category is the same as a monad object in the bicategory of spans.
However, this connection between the notion of a category and the notion of a graph does not mean that the theories are similar. Categories have a much richer structure, namely the composition of arrows, and this structure is used in category theory all over the place, for example in the context of commutative diagrams, universal properties, adjunctions etc. In graph theory, though, we just don't have this kind of structure. Also, many notions in graph theory only make sense for finite graphs, whereas finite categories don't appear so often in category theory.
There are some overlappings, though. An object of a category is called initial if it admits a unique morphism to each other object. This only refers to the underlying graph of the category, and in fact, makes sense for arbitrary (directed) graphs. We may call a vertex initial if it admits a unique edge to any other vertex. Similarly, we may speak of final vertices.
A graph is connected if there is a vertex which reaches every other vertex via some zig-zag path of edges. The same notion makes sense for categories (i.e. one doesn't refer to the composition of arrows here). Every category is a coproduct of connected categories, and this is useful sometimes.
Two vertices in a graph are called adjacent if there is an edge between them. This notion is not so important in category theory because often one wants to know more than just the existence of a morphism. Moreover, in some categories, such as the category of abelian groups, there is a zero morphism between any two objects.
PS: I don't agree with the answer by Ove Ahlman, see my comment there.
add a comment |Â
up vote
6
down vote
Category theory and graph theory are similar in the sense that both are visualized by arrows between dots.
After this the similarities quite much stop, and both have different reason for their existence.
In category theory, we may have a huge amount of dots, and these dots do often represent some abstract algebraic structure or other object with some meaning. The arrows which go between dots needs to respect very specific rules, which makes it possible to draw conclusion about the category and hence about the objects which the dots represents.
In Graph theory however we can draw the arrows in any way we want do not need to care about rules. This gives us a very free way to draw, but also, we do not get the same implementations as graph theory may draw conclusion about the objects which the dots represent, since in graph theory we have dots without meaning.
Category theory draws from graph theory that we may talk about dots being connected, the degree of a dot etc. And when we do not have an extremly huge amount of dots, a category is a graph. So in this case Category theory is just a special case of graph theory.
On the other hand, graph theory (and everything else) may be studied abstractly in category theory, so we could say that graph theory is a special object of study in category theory.
My conclusion Is that the largest similarity (and why people think they are similar) is the way we visualize the two.
8
Size issues? That's not the point. Categories allow us to compose arrows. This is the difference to graphs. Composition is not an extra rule. It is extra structure. Also, every graph produces a category, the path category, and conversely any (small) category has an underlying graph. It is not correct that a category is a graph, though. In particular, the conclusion "So in this case Category theory is just a special case of graph theory" is absolutey wrong. What is a commutative diagram in a graph?
â Martin Brandenburg
Apr 17 '15 at 15:23
Seconded. Just to add two usual alternative technical terms: in the above answer, in "Composition is not an extra rule. It is extra structure." one can replace "rule" with "axiom" and "structure" with "data" to arrive at: Composition is not an extra axiom. It is extra data.
â Peter Heinig
Aug 1 '17 at 10:55
add a comment |Â
up vote
1
down vote
A deductive system is a graph in which to each object $A$ there is associated an arrow $1_A: Ato A$, the identity arrow, and to each pair of arrows $f:Ato B$ and $g:Bto C$ there is associated an arrow $gf:Ato C$, the composition of $f$ and $g$.
A logician may think of the objects as formulas and of the arrows as deductions or proofs, hence of
$$fracf:Ato B qquad g:Bto Cgf:Ato C$$
as a rule of inference.
A category is a deductive system in which the following equations hold for all $f:Ato B$, $g:Bto C$ and $h:Cto D$:
$$f1_A=f=1_Bf$$
$$(hg)f=h(gf)$$
(Lambek & Scott. Introduction to higher order categorical logic, p. 5)
In summary: Lambek and Scott define a deductive system as a (directed) graph with units and compositions (alias modus ponens, alias rule of inference) and a category as a deductive system where the 'ususal' laws hold for units and rule of inference.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
18
down vote
accepted
In fact, "Roughly speaking, category theory is graph theory with additional structure to represent composition." is a good summary of the connection between the notion of a graph (meaning here: directed multigraph) and the notion of a category. Here is a way of how to make this precise:
Let $O$ be a set ("set of vertices"). Then we have a category $O-mathsfGraph$ whose objects are sets $M$ ("set of edges") equipped with two maps $s,t : M rightrightarrows O$ ("source" and "target"). This category is monoidal: The unit is $mathrmid : O rightrightarrows O$, the tensor product of $s,t : M rightrightarrows O$ with $u,v : N rightrightarrows O$ is the fiber product $M times_t,O,u N$ equipped with the maps $rightrightarrows O$ induced by $s$ and $v$. To any monoidal category, we may associate the category of monoid objects.
Observation. A category with object set $O$ is the same as a monoid object in $O-mathsfGraph$.
This description is quite nice, as it really says in how far categories are "graphs with multiplication". If $O$ is a class, we can make the obvious adjustments; or we use ZFC + Grothendieck universes, so that we can work with sets alone. It is possible to get rid of the $O$ in the statement (which is quite natural, because we never want to fix the object set), but then you will have to use more advanced language: A category is the same as a monad object in the bicategory of spans.
However, this connection between the notion of a category and the notion of a graph does not mean that the theories are similar. Categories have a much richer structure, namely the composition of arrows, and this structure is used in category theory all over the place, for example in the context of commutative diagrams, universal properties, adjunctions etc. In graph theory, though, we just don't have this kind of structure. Also, many notions in graph theory only make sense for finite graphs, whereas finite categories don't appear so often in category theory.
There are some overlappings, though. An object of a category is called initial if it admits a unique morphism to each other object. This only refers to the underlying graph of the category, and in fact, makes sense for arbitrary (directed) graphs. We may call a vertex initial if it admits a unique edge to any other vertex. Similarly, we may speak of final vertices.
A graph is connected if there is a vertex which reaches every other vertex via some zig-zag path of edges. The same notion makes sense for categories (i.e. one doesn't refer to the composition of arrows here). Every category is a coproduct of connected categories, and this is useful sometimes.
Two vertices in a graph are called adjacent if there is an edge between them. This notion is not so important in category theory because often one wants to know more than just the existence of a morphism. Moreover, in some categories, such as the category of abelian groups, there is a zero morphism between any two objects.
PS: I don't agree with the answer by Ove Ahlman, see my comment there.
add a comment |Â
up vote
18
down vote
accepted
In fact, "Roughly speaking, category theory is graph theory with additional structure to represent composition." is a good summary of the connection between the notion of a graph (meaning here: directed multigraph) and the notion of a category. Here is a way of how to make this precise:
Let $O$ be a set ("set of vertices"). Then we have a category $O-mathsfGraph$ whose objects are sets $M$ ("set of edges") equipped with two maps $s,t : M rightrightarrows O$ ("source" and "target"). This category is monoidal: The unit is $mathrmid : O rightrightarrows O$, the tensor product of $s,t : M rightrightarrows O$ with $u,v : N rightrightarrows O$ is the fiber product $M times_t,O,u N$ equipped with the maps $rightrightarrows O$ induced by $s$ and $v$. To any monoidal category, we may associate the category of monoid objects.
Observation. A category with object set $O$ is the same as a monoid object in $O-mathsfGraph$.
This description is quite nice, as it really says in how far categories are "graphs with multiplication". If $O$ is a class, we can make the obvious adjustments; or we use ZFC + Grothendieck universes, so that we can work with sets alone. It is possible to get rid of the $O$ in the statement (which is quite natural, because we never want to fix the object set), but then you will have to use more advanced language: A category is the same as a monad object in the bicategory of spans.
However, this connection between the notion of a category and the notion of a graph does not mean that the theories are similar. Categories have a much richer structure, namely the composition of arrows, and this structure is used in category theory all over the place, for example in the context of commutative diagrams, universal properties, adjunctions etc. In graph theory, though, we just don't have this kind of structure. Also, many notions in graph theory only make sense for finite graphs, whereas finite categories don't appear so often in category theory.
There are some overlappings, though. An object of a category is called initial if it admits a unique morphism to each other object. This only refers to the underlying graph of the category, and in fact, makes sense for arbitrary (directed) graphs. We may call a vertex initial if it admits a unique edge to any other vertex. Similarly, we may speak of final vertices.
A graph is connected if there is a vertex which reaches every other vertex via some zig-zag path of edges. The same notion makes sense for categories (i.e. one doesn't refer to the composition of arrows here). Every category is a coproduct of connected categories, and this is useful sometimes.
Two vertices in a graph are called adjacent if there is an edge between them. This notion is not so important in category theory because often one wants to know more than just the existence of a morphism. Moreover, in some categories, such as the category of abelian groups, there is a zero morphism between any two objects.
PS: I don't agree with the answer by Ove Ahlman, see my comment there.
add a comment |Â
up vote
18
down vote
accepted
up vote
18
down vote
accepted
In fact, "Roughly speaking, category theory is graph theory with additional structure to represent composition." is a good summary of the connection between the notion of a graph (meaning here: directed multigraph) and the notion of a category. Here is a way of how to make this precise:
Let $O$ be a set ("set of vertices"). Then we have a category $O-mathsfGraph$ whose objects are sets $M$ ("set of edges") equipped with two maps $s,t : M rightrightarrows O$ ("source" and "target"). This category is monoidal: The unit is $mathrmid : O rightrightarrows O$, the tensor product of $s,t : M rightrightarrows O$ with $u,v : N rightrightarrows O$ is the fiber product $M times_t,O,u N$ equipped with the maps $rightrightarrows O$ induced by $s$ and $v$. To any monoidal category, we may associate the category of monoid objects.
Observation. A category with object set $O$ is the same as a monoid object in $O-mathsfGraph$.
This description is quite nice, as it really says in how far categories are "graphs with multiplication". If $O$ is a class, we can make the obvious adjustments; or we use ZFC + Grothendieck universes, so that we can work with sets alone. It is possible to get rid of the $O$ in the statement (which is quite natural, because we never want to fix the object set), but then you will have to use more advanced language: A category is the same as a monad object in the bicategory of spans.
However, this connection between the notion of a category and the notion of a graph does not mean that the theories are similar. Categories have a much richer structure, namely the composition of arrows, and this structure is used in category theory all over the place, for example in the context of commutative diagrams, universal properties, adjunctions etc. In graph theory, though, we just don't have this kind of structure. Also, many notions in graph theory only make sense for finite graphs, whereas finite categories don't appear so often in category theory.
There are some overlappings, though. An object of a category is called initial if it admits a unique morphism to each other object. This only refers to the underlying graph of the category, and in fact, makes sense for arbitrary (directed) graphs. We may call a vertex initial if it admits a unique edge to any other vertex. Similarly, we may speak of final vertices.
A graph is connected if there is a vertex which reaches every other vertex via some zig-zag path of edges. The same notion makes sense for categories (i.e. one doesn't refer to the composition of arrows here). Every category is a coproduct of connected categories, and this is useful sometimes.
Two vertices in a graph are called adjacent if there is an edge between them. This notion is not so important in category theory because often one wants to know more than just the existence of a morphism. Moreover, in some categories, such as the category of abelian groups, there is a zero morphism between any two objects.
PS: I don't agree with the answer by Ove Ahlman, see my comment there.
In fact, "Roughly speaking, category theory is graph theory with additional structure to represent composition." is a good summary of the connection between the notion of a graph (meaning here: directed multigraph) and the notion of a category. Here is a way of how to make this precise:
Let $O$ be a set ("set of vertices"). Then we have a category $O-mathsfGraph$ whose objects are sets $M$ ("set of edges") equipped with two maps $s,t : M rightrightarrows O$ ("source" and "target"). This category is monoidal: The unit is $mathrmid : O rightrightarrows O$, the tensor product of $s,t : M rightrightarrows O$ with $u,v : N rightrightarrows O$ is the fiber product $M times_t,O,u N$ equipped with the maps $rightrightarrows O$ induced by $s$ and $v$. To any monoidal category, we may associate the category of monoid objects.
Observation. A category with object set $O$ is the same as a monoid object in $O-mathsfGraph$.
This description is quite nice, as it really says in how far categories are "graphs with multiplication". If $O$ is a class, we can make the obvious adjustments; or we use ZFC + Grothendieck universes, so that we can work with sets alone. It is possible to get rid of the $O$ in the statement (which is quite natural, because we never want to fix the object set), but then you will have to use more advanced language: A category is the same as a monad object in the bicategory of spans.
However, this connection between the notion of a category and the notion of a graph does not mean that the theories are similar. Categories have a much richer structure, namely the composition of arrows, and this structure is used in category theory all over the place, for example in the context of commutative diagrams, universal properties, adjunctions etc. In graph theory, though, we just don't have this kind of structure. Also, many notions in graph theory only make sense for finite graphs, whereas finite categories don't appear so often in category theory.
There are some overlappings, though. An object of a category is called initial if it admits a unique morphism to each other object. This only refers to the underlying graph of the category, and in fact, makes sense for arbitrary (directed) graphs. We may call a vertex initial if it admits a unique edge to any other vertex. Similarly, we may speak of final vertices.
A graph is connected if there is a vertex which reaches every other vertex via some zig-zag path of edges. The same notion makes sense for categories (i.e. one doesn't refer to the composition of arrows here). Every category is a coproduct of connected categories, and this is useful sometimes.
Two vertices in a graph are called adjacent if there is an edge between them. This notion is not so important in category theory because often one wants to know more than just the existence of a morphism. Moreover, in some categories, such as the category of abelian groups, there is a zero morphism between any two objects.
PS: I don't agree with the answer by Ove Ahlman, see my comment there.
edited Apr 17 '15 at 16:00
answered Apr 17 '15 at 15:44
Martin Brandenburg
105k13150318
105k13150318
add a comment |Â
add a comment |Â
up vote
6
down vote
Category theory and graph theory are similar in the sense that both are visualized by arrows between dots.
After this the similarities quite much stop, and both have different reason for their existence.
In category theory, we may have a huge amount of dots, and these dots do often represent some abstract algebraic structure or other object with some meaning. The arrows which go between dots needs to respect very specific rules, which makes it possible to draw conclusion about the category and hence about the objects which the dots represents.
In Graph theory however we can draw the arrows in any way we want do not need to care about rules. This gives us a very free way to draw, but also, we do not get the same implementations as graph theory may draw conclusion about the objects which the dots represent, since in graph theory we have dots without meaning.
Category theory draws from graph theory that we may talk about dots being connected, the degree of a dot etc. And when we do not have an extremly huge amount of dots, a category is a graph. So in this case Category theory is just a special case of graph theory.
On the other hand, graph theory (and everything else) may be studied abstractly in category theory, so we could say that graph theory is a special object of study in category theory.
My conclusion Is that the largest similarity (and why people think they are similar) is the way we visualize the two.
8
Size issues? That's not the point. Categories allow us to compose arrows. This is the difference to graphs. Composition is not an extra rule. It is extra structure. Also, every graph produces a category, the path category, and conversely any (small) category has an underlying graph. It is not correct that a category is a graph, though. In particular, the conclusion "So in this case Category theory is just a special case of graph theory" is absolutey wrong. What is a commutative diagram in a graph?
â Martin Brandenburg
Apr 17 '15 at 15:23
Seconded. Just to add two usual alternative technical terms: in the above answer, in "Composition is not an extra rule. It is extra structure." one can replace "rule" with "axiom" and "structure" with "data" to arrive at: Composition is not an extra axiom. It is extra data.
â Peter Heinig
Aug 1 '17 at 10:55
add a comment |Â
up vote
6
down vote
Category theory and graph theory are similar in the sense that both are visualized by arrows between dots.
After this the similarities quite much stop, and both have different reason for their existence.
In category theory, we may have a huge amount of dots, and these dots do often represent some abstract algebraic structure or other object with some meaning. The arrows which go between dots needs to respect very specific rules, which makes it possible to draw conclusion about the category and hence about the objects which the dots represents.
In Graph theory however we can draw the arrows in any way we want do not need to care about rules. This gives us a very free way to draw, but also, we do not get the same implementations as graph theory may draw conclusion about the objects which the dots represent, since in graph theory we have dots without meaning.
Category theory draws from graph theory that we may talk about dots being connected, the degree of a dot etc. And when we do not have an extremly huge amount of dots, a category is a graph. So in this case Category theory is just a special case of graph theory.
On the other hand, graph theory (and everything else) may be studied abstractly in category theory, so we could say that graph theory is a special object of study in category theory.
My conclusion Is that the largest similarity (and why people think they are similar) is the way we visualize the two.
8
Size issues? That's not the point. Categories allow us to compose arrows. This is the difference to graphs. Composition is not an extra rule. It is extra structure. Also, every graph produces a category, the path category, and conversely any (small) category has an underlying graph. It is not correct that a category is a graph, though. In particular, the conclusion "So in this case Category theory is just a special case of graph theory" is absolutey wrong. What is a commutative diagram in a graph?
â Martin Brandenburg
Apr 17 '15 at 15:23
Seconded. Just to add two usual alternative technical terms: in the above answer, in "Composition is not an extra rule. It is extra structure." one can replace "rule" with "axiom" and "structure" with "data" to arrive at: Composition is not an extra axiom. It is extra data.
â Peter Heinig
Aug 1 '17 at 10:55
add a comment |Â
up vote
6
down vote
up vote
6
down vote
Category theory and graph theory are similar in the sense that both are visualized by arrows between dots.
After this the similarities quite much stop, and both have different reason for their existence.
In category theory, we may have a huge amount of dots, and these dots do often represent some abstract algebraic structure or other object with some meaning. The arrows which go between dots needs to respect very specific rules, which makes it possible to draw conclusion about the category and hence about the objects which the dots represents.
In Graph theory however we can draw the arrows in any way we want do not need to care about rules. This gives us a very free way to draw, but also, we do not get the same implementations as graph theory may draw conclusion about the objects which the dots represent, since in graph theory we have dots without meaning.
Category theory draws from graph theory that we may talk about dots being connected, the degree of a dot etc. And when we do not have an extremly huge amount of dots, a category is a graph. So in this case Category theory is just a special case of graph theory.
On the other hand, graph theory (and everything else) may be studied abstractly in category theory, so we could say that graph theory is a special object of study in category theory.
My conclusion Is that the largest similarity (and why people think they are similar) is the way we visualize the two.
Category theory and graph theory are similar in the sense that both are visualized by arrows between dots.
After this the similarities quite much stop, and both have different reason for their existence.
In category theory, we may have a huge amount of dots, and these dots do often represent some abstract algebraic structure or other object with some meaning. The arrows which go between dots needs to respect very specific rules, which makes it possible to draw conclusion about the category and hence about the objects which the dots represents.
In Graph theory however we can draw the arrows in any way we want do not need to care about rules. This gives us a very free way to draw, but also, we do not get the same implementations as graph theory may draw conclusion about the objects which the dots represent, since in graph theory we have dots without meaning.
Category theory draws from graph theory that we may talk about dots being connected, the degree of a dot etc. And when we do not have an extremly huge amount of dots, a category is a graph. So in this case Category theory is just a special case of graph theory.
On the other hand, graph theory (and everything else) may be studied abstractly in category theory, so we could say that graph theory is a special object of study in category theory.
My conclusion Is that the largest similarity (and why people think they are similar) is the way we visualize the two.
answered Apr 17 '15 at 13:35
Ove Ahlman
3,96311026
3,96311026
8
Size issues? That's not the point. Categories allow us to compose arrows. This is the difference to graphs. Composition is not an extra rule. It is extra structure. Also, every graph produces a category, the path category, and conversely any (small) category has an underlying graph. It is not correct that a category is a graph, though. In particular, the conclusion "So in this case Category theory is just a special case of graph theory" is absolutey wrong. What is a commutative diagram in a graph?
â Martin Brandenburg
Apr 17 '15 at 15:23
Seconded. Just to add two usual alternative technical terms: in the above answer, in "Composition is not an extra rule. It is extra structure." one can replace "rule" with "axiom" and "structure" with "data" to arrive at: Composition is not an extra axiom. It is extra data.
â Peter Heinig
Aug 1 '17 at 10:55
add a comment |Â
8
Size issues? That's not the point. Categories allow us to compose arrows. This is the difference to graphs. Composition is not an extra rule. It is extra structure. Also, every graph produces a category, the path category, and conversely any (small) category has an underlying graph. It is not correct that a category is a graph, though. In particular, the conclusion "So in this case Category theory is just a special case of graph theory" is absolutey wrong. What is a commutative diagram in a graph?
â Martin Brandenburg
Apr 17 '15 at 15:23
Seconded. Just to add two usual alternative technical terms: in the above answer, in "Composition is not an extra rule. It is extra structure." one can replace "rule" with "axiom" and "structure" with "data" to arrive at: Composition is not an extra axiom. It is extra data.
â Peter Heinig
Aug 1 '17 at 10:55
8
8
Size issues? That's not the point. Categories allow us to compose arrows. This is the difference to graphs. Composition is not an extra rule. It is extra structure. Also, every graph produces a category, the path category, and conversely any (small) category has an underlying graph. It is not correct that a category is a graph, though. In particular, the conclusion "So in this case Category theory is just a special case of graph theory" is absolutey wrong. What is a commutative diagram in a graph?
â Martin Brandenburg
Apr 17 '15 at 15:23
Size issues? That's not the point. Categories allow us to compose arrows. This is the difference to graphs. Composition is not an extra rule. It is extra structure. Also, every graph produces a category, the path category, and conversely any (small) category has an underlying graph. It is not correct that a category is a graph, though. In particular, the conclusion "So in this case Category theory is just a special case of graph theory" is absolutey wrong. What is a commutative diagram in a graph?
â Martin Brandenburg
Apr 17 '15 at 15:23
Seconded. Just to add two usual alternative technical terms: in the above answer, in "Composition is not an extra rule. It is extra structure." one can replace "rule" with "axiom" and "structure" with "data" to arrive at: Composition is not an extra axiom. It is extra data.
â Peter Heinig
Aug 1 '17 at 10:55
Seconded. Just to add two usual alternative technical terms: in the above answer, in "Composition is not an extra rule. It is extra structure." one can replace "rule" with "axiom" and "structure" with "data" to arrive at: Composition is not an extra axiom. It is extra data.
â Peter Heinig
Aug 1 '17 at 10:55
add a comment |Â
up vote
1
down vote
A deductive system is a graph in which to each object $A$ there is associated an arrow $1_A: Ato A$, the identity arrow, and to each pair of arrows $f:Ato B$ and $g:Bto C$ there is associated an arrow $gf:Ato C$, the composition of $f$ and $g$.
A logician may think of the objects as formulas and of the arrows as deductions or proofs, hence of
$$fracf:Ato B qquad g:Bto Cgf:Ato C$$
as a rule of inference.
A category is a deductive system in which the following equations hold for all $f:Ato B$, $g:Bto C$ and $h:Cto D$:
$$f1_A=f=1_Bf$$
$$(hg)f=h(gf)$$
(Lambek & Scott. Introduction to higher order categorical logic, p. 5)
In summary: Lambek and Scott define a deductive system as a (directed) graph with units and compositions (alias modus ponens, alias rule of inference) and a category as a deductive system where the 'ususal' laws hold for units and rule of inference.
add a comment |Â
up vote
1
down vote
A deductive system is a graph in which to each object $A$ there is associated an arrow $1_A: Ato A$, the identity arrow, and to each pair of arrows $f:Ato B$ and $g:Bto C$ there is associated an arrow $gf:Ato C$, the composition of $f$ and $g$.
A logician may think of the objects as formulas and of the arrows as deductions or proofs, hence of
$$fracf:Ato B qquad g:Bto Cgf:Ato C$$
as a rule of inference.
A category is a deductive system in which the following equations hold for all $f:Ato B$, $g:Bto C$ and $h:Cto D$:
$$f1_A=f=1_Bf$$
$$(hg)f=h(gf)$$
(Lambek & Scott. Introduction to higher order categorical logic, p. 5)
In summary: Lambek and Scott define a deductive system as a (directed) graph with units and compositions (alias modus ponens, alias rule of inference) and a category as a deductive system where the 'ususal' laws hold for units and rule of inference.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
A deductive system is a graph in which to each object $A$ there is associated an arrow $1_A: Ato A$, the identity arrow, and to each pair of arrows $f:Ato B$ and $g:Bto C$ there is associated an arrow $gf:Ato C$, the composition of $f$ and $g$.
A logician may think of the objects as formulas and of the arrows as deductions or proofs, hence of
$$fracf:Ato B qquad g:Bto Cgf:Ato C$$
as a rule of inference.
A category is a deductive system in which the following equations hold for all $f:Ato B$, $g:Bto C$ and $h:Cto D$:
$$f1_A=f=1_Bf$$
$$(hg)f=h(gf)$$
(Lambek & Scott. Introduction to higher order categorical logic, p. 5)
In summary: Lambek and Scott define a deductive system as a (directed) graph with units and compositions (alias modus ponens, alias rule of inference) and a category as a deductive system where the 'ususal' laws hold for units and rule of inference.
A deductive system is a graph in which to each object $A$ there is associated an arrow $1_A: Ato A$, the identity arrow, and to each pair of arrows $f:Ato B$ and $g:Bto C$ there is associated an arrow $gf:Ato C$, the composition of $f$ and $g$.
A logician may think of the objects as formulas and of the arrows as deductions or proofs, hence of
$$fracf:Ato B qquad g:Bto Cgf:Ato C$$
as a rule of inference.
A category is a deductive system in which the following equations hold for all $f:Ato B$, $g:Bto C$ and $h:Cto D$:
$$f1_A=f=1_Bf$$
$$(hg)f=h(gf)$$
(Lambek & Scott. Introduction to higher order categorical logic, p. 5)
In summary: Lambek and Scott define a deductive system as a (directed) graph with units and compositions (alias modus ponens, alias rule of inference) and a category as a deductive system where the 'ususal' laws hold for units and rule of inference.
answered Jul 23 at 15:27
FWE
855615
855615
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1239027%2fis-category-theory-similar-to-graph-theory%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Category Theory is distinct from Graph Theory in that Graph Theory can be captured in the language of set-theory whereas Category Theory often cannot be. Category Theory is about general structures of mathematical objects with certain conditions imposed (such as identity arrows, composition of arrows, and associativity of arrows). Certain categories certainly appear to be like directed-graphs but they often have more structure. The following link will provide some more information: plato.stanford.edu/entries/category-theory
â letsmakemuffinstogether
Apr 17 '15 at 13:24
4
Roughly speaking, group theory is set theory with additional structure to represent composition. Can we conclude that group theory is similar to set theory ?
â Roland
Apr 17 '15 at 16:22