Matching of two weighted graphs allowing one-to-many mapping
Statement
I am looking for a heuristic for a graph matching problem as follows.
Given two graphs: (consisting of nodes ) and (consisting of nodes ). Typically the size of is larger than that of .
Each node and edge in two graphs has weight. The task is to match graph to graph , i.e., find a set of nodes and links in to map each node and link of , such as the host node/link in has larger weight than the corresponding node/link of .
The following figure illustrates two possible cases (or solution) of mapping (matching):
• Case 1: One-to-one mapping: Each node or edge of needs only one node or link of to map. Here the nodes are mapped on to , and the edges are mapped onto and respectively.
• Constraints are satisfied: For nodes: , , . For edges: and .
• Case 2: One-to-many mapping: One needs more than 1 node/edge of to host a node/edge of . In the example, is mapped on to and , are mapped onto . For the edges: is mapped onto and , …
Posed by Trung · graph-theory, matching-theory, heuristics
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-337619.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-337619.lean
import Mathlib /-! # Matching of two weighted graphs allowing one-to-many mapping Source: https://mathoverflow.net/questions/337619 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_337619 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_337619