Invariance and characterization of graph crawling
Lax117614.GraphCrawlingInvariance · concepts/Lax117614/GraphCrawlingInvariance.lean · lax-117614
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Having a cheap crawl is invariant under isomorphism of website graphs, and a website graph is a yes-instance of the graph crawling problem exactly when it has a cheap crawl.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax904597.Classes |
| 2 | import Lax799700.Problems |
| 3 | import Lax117614.WebsiteGraphs |
| 4 | import Lax117614.GraphCrawlingProblem |
| 5 | |
| 6 | /-! |
| 7 | --- |
| 8 | title: Invariance and characterization of graph crawling |
| 9 | type: lemma |
| 10 | --- |
| 11 | Having a cheap crawl is invariant under isomorphism of website graphs, and |
| 12 | a website graph is a yes-instance of the graph crawling problem exactly |
| 13 | when it has a cheap crawl. |
| 14 | -/ |
| 15 | |
| 16 | namespace Lax117614.GraphCrawlingInvariance |
| 17 | |
| 18 | open FirstOrder |
| 19 | |
| 20 | open FirstOrder.Language Structure |
| 21 | |
| 22 | open Lax904597.Problems Lax904597.Classes Lax799700.Problems |
| 23 | open Lax117614.WebsiteGraphs Lax117614.GraphCrawlingProblem |
| 24 | |
| 25 | /-- The property `HasCheapCrawl` is isomorphism-invariant. -/ |
| 26 | axiom hasCheapCrawl_iso : ∀ {A B : Type} [siteGraph.Structure A] [siteGraph.Structure B], |
| 27 | (A ≃[siteGraph] B) → (HasCheapCrawl A ↔ HasCheapCrawl B) |
| 28 | |
| 29 | /-- The yes-instances of GraphCrawling are exactly the website graphs |
| 30 | satisfying `HasCheapCrawl`. -/ |
| 31 | axiom graphCrawling_iff : ∀ (A : Type) [siteGraph.Structure A], |
| 32 | GraphCrawling A ↔ HasCheapCrawl A |
| 33 | |
| 34 | end Lax117614.GraphCrawlingInvariance |
| 35 |
Used by
none
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments