한국어 초록
본 논문에서는 패턴 기반 트리 변환(pattern-based tree transformation)을 소개하고 연구합니다. 예시로서 소스 패턴 $(x \cdot y) + (x \cdot z)$와 타깃 패턴 $x \cdot (y + z)$의 쌍을 고려해 볼 수 있습니다. 이 소스 패턴은 $(e_1 \cdot e_2) + (e_1 \cdot e_3)$ 형태의 모든 표현식 $e$와 매칭되며($x$를 $e_1$로, $y$를 $e_2$로, $z$를 $e_3$로 대치함으로써), 이 쌍은 타깃 패턴에 명시된 대로 이를 $e_1 \cdot (e_2 + e_3)$ 표현식으로 변환합니다. 이 예시에서 소스 패턴과 매칭되는 표현식 집합은 정규 트리 언어(regular tree language)가 아님에 주목할 필요가 있습니다. 저자들은 이러한 (소스 패턴, 타깃 패턴) 쌍의 (무한할 수 있는) 집합을 유한하게 표현하는 트리 변환 모델(model)을 제안합니다. 이 모델의 표현력은 동치성 검사의 결정 불가능성(undecidability)을 대가로 합니다. 그럼에도 불구하고, 저자들은 제안한 패턴 기반 트리 변환 모델에 대해 타입 검사(type-checking) 문제가 결정 가능(decidable)함을 보입니다. 타입 검사 문제는 주어진 정규 속성(타입)을 가진 트리에 주어진 변환을 적용했을 때 해당 속성이 보존되는지를 묻습니다. 저자들의 결정 절차는 교대 트리 오토마타(alternating tree automata)의 공백 문제(emptiness problem)로 환원(reduction)함으로써 이루어집니다.
원문 초록
We introduce and study pattern-based tree transformations. As an illustrating example, consider a source pattern $(x \cdot y) + (x \cdot z)$ and a target pattern $x \cdot (y + z)$ as a pair. This source pattern matches any expression $e$ of the form $(e_1 \cdot e_2) + (e_1 \cdot e_3)$ (by substituting $x$ with $e_1$, $y$ with $e_2$, and $z$ with $e_3$) and the pair transforms it into the expression $e_1 \cdot (e_2 + e_3)$ as dictated by the target pattern. Note that in this example, the set of expressions that match the source pattern is not a regular tree language. We propose a model of tree transformations given by a finite representation of a (possibly infinite) set of such (source pattern, target pattern) pairs. The expressive power of this model comes at the cost of undecidability of checking equivalence. Nevertheless, we show that the type-checking problem is decidable for our model of pattern-based tree transformations. The type-checking problem asks whether applying a given transformation to trees having a given regular property (type) preserves the property. Our decision procedure is by a reduction to the emptiness problem of alternating tree automata.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
26 pages, 9 figures, full version of a preprint accepted at FSTTCS 2026