Skip to content

feat: demo DFS for graph without explicit adjList structure - #805

Draft
Shreyas4991 wants to merge 2 commits into
leanprover:mainfrom
Shreyas4991:graph_algo_example_2
Draft

feat: demo DFS for graph without explicit adjList structure#805
Shreyas4991 wants to merge 2 commits into
leanprover:mainfrom
Shreyas4991:graph_algo_example_2

Conversation

@Shreyas4991

@Shreyas4991 Shreyas4991 commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

This PR is also a demo PR not intended to be merged.

It is a variant of #804 in which we completely remove the explicit adjacency list structure and generate it non computably at the top level DFS.run function. Same AI acknowledgement as in #804. One can still analyze the algorithm.

Collectively this PR and #804 show that we can entirely work with existing graph definitions in mathlib for verifying graph algorithms in the context of the discussion in #503

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.

1 participant