Skip to content

feat(Algorithms/Graph): add Floyd-Warshall invariant#691

Open
FawadHa1der wants to merge 3 commits into
leanprover:mainfrom
FawadHa1der:feat/floyd-warshall
Open

feat(Algorithms/Graph): add Floyd-Warshall invariant#691
FawadHa1der wants to merge 3 commits into
leanprover:mainfrom
FawadHa1der:feat/floyd-warshall

Conversation

@FawadHa1der

@FawadHa1der FawadHa1der commented Jul 1, 2026

Copy link
Copy Markdown

Floyd-Warshall formalization for finite weighted directed graphs.

The correctness theorem is stated over the phase-generated restricted paths, and RestrictedPath.mem_intermediates_lt proves that all intermediate vertices lie below the phase index k.

Details for floyd Marshall

Comment thread Cslib/Algorithms/Graph/FloydWarshall.lean Outdated
@FawadHa1der

Copy link
Copy Markdown
Author

not sure if time complexity is also required here or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants