Skip to content

NicolasRouquette/YatimaGraphLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extracting Yatima's Lean4 Graph library as a standalone generic library

The Yatima language compiler features an interesting monadic formulation of the strongly connected components algorithm for directed graphs, see Yatima/Compiler/Graph.lean#L37:L226.

Unfortunately, this Graph data structure is currently tied to the Lean4 representation of Lean4 symbols, see Yatima/Compiler/Graph.lean#L32:L34.

As a Lean4 programming exercise, I wanted to see if I could extract this Graph library and parameterize it for an arbitrary type of vertex. This repo is the result of this exercise.

About

Extracted Yatima's Lean4 Graph as a generic library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages