Library HoTT.Diagrams.Span
Require Import Basics.
Require Import Types.
Require Import Diagrams.Graph.
Require Import Diagrams.Diagram.
Require Import Types.
Require Import Diagrams.Graph.
Require Import Diagrams.Diagram.
The underlying graph of a span.
Definition span_graph : Graph.
Proof.
srapply (Build_Graph (Unit + Bool)).
intros [i|i] [j|j].
2: exact Unit.
all: exact Empty.
Defined.
Section Span.
Context {A B C : Type}.
A span is a diagram:
f g
B <-- A --> C