SLIDE 1 Register-Bounded Synthesis
Ayrat Khalimov Orna Kupferman Universite libre de Bruxelles Hebrew University Belgium Israel
SLIDE 2
Why study bounded synthesis from universal automata?
SLIDE 3 why register-bounded synthesis?
- Not a limitation: designer usually knows the
sensible bound on the number of registers
- Added benefit: small programs
SLIDE 4
why universal register automata?
All computations (ππ0, ππ£π’0) (ππ1, ππ£π’1) (ππ2, ππ£π’2) β¦ satisfy a given specification. system
SLIDE 5
why universal register automata?
All computations (ππ0, ππ£π’0) (ππ1, ππ£π’1) (ππ2, ππ£π’2) β¦ satisfy a given specification. Most specifications are derived from arbiter: βπ β πΈ: π(π ππ β§ π = π β π π(ππ πππ’ β§ π = π)) system
SLIDE 6
why universal register automata?
All computations (ππ0, ππ£π’0) (ππ1, ππ£π’1) (ππ2, ππ£π’2) β¦ satisfy a given specification. Most specifications are derived from arbiter: βπ β πΈ: π(π ππ β§ π = π β π π(ππ πππ’ β§ π = π)) Universal register automata can express this. Nondeterministic -- cannot. system
SLIDE 7 universal register automaton
- Works on words in Ξ£ Γ πΈ Γ πΈ π
- Registers π = {π
1, β¦ , π ππ΅}, initialized π€0
π
Γ Ξ£ Γ ππ‘π’π Γ ππ‘π’π β 2π
Γπ΅π‘ππ
Arbiter specification (coBuchi)
SLIDE 8 universal register automaton
π ππ,1 Β¬ππ πππ’,0 Β¬π ππ,2 ππ πππ’,1 Β¬π ππ,3 Β¬ππ πππ’,1 β¦
π0, 0 π0, 0 π0, 0 π1, 1 π0, 0
SLIDE 9 register transducer
- Reads a letter in Ξ£π½ Γ πΈ
- Outputs a letter in Ξ£π Γ πΈ
- Registers π = {π
1, β¦ , π ππ‘}, initialized with π€0
π Γ Ξ£π½ Γ ππ‘π’π β π Γ Ξ£π Γ π Γ π΅π‘ππ
SLIDE 10 arbiter
Β¬π ππ, 2 Β¬π ππ, 3 β¦
Β¬π,0 π‘1, 1 π,1 π‘0, 1 Β¬π,1 π‘0, 1 β¦
SLIDE 11 bounded synthesis problem
Given:
- Ξ£π½, Ξ£π
- universal register automaton π΅ over Ξ£π½ Γ Ξ£π Γ
πΈ Γ πΈ
- the number ππ‘ of system registers
Return:
- ππ‘-register transducer π such that π β¨ π΅, or
βunrealizableβ Bounded synthesis problem is solvable in EXP in π
and ππ‘, and 2EXP in ππ΅.
SLIDE 12 abstraction π©β²
π: π Γ Ξ£π½ Γ ππ‘π’π
π‘ β π Γ Ξ£π Γ ππ‘ Γ π΅π‘πππ‘
πβ²: π Γ Ξ£π½
β² β π Γ Ξ£π β²
We construct register-less automaton π΅β² with π
β² Γ Ξ£π½
β² Γ Ξ£π β²
β 2π
β² such that πβ² β¨ π΅β² iff π β¨ π΅ for every π or πβ².
π»π πΌπππ
π
π©ππππ π»π· πΌβ² πΊπ
SLIDE 13
abstracting a single transition
SLIDE 14
abstracting a single transition
2 2
2 2 2
SLIDE 15
abstracting a single transition
2 2
2 2 2 1 1 1
SLIDE 16
abstracting a single transition
SLIDE 17
abstracting a single transition
SLIDE 18 abstracting a single transition
Two possibilities:
- π = π π
- π β π π
SLIDE 19 abstracting a single transition
Two possibilities:
- π = π π
- π β π π
SLIDE 20
abstracting a single transition
SLIDE 21
- ne π’π‘π’π‘ can induce several π’π‘π’π΅
SLIDE 22 bisimulation property of the abstraction
π, π π’π‘π’π
π‘, π π‘, ππ‘πππ‘
πβ², πβ² transition
some πβ²
π, π€π΅, π€π‘
π, π
πβ², ππ©
β² , ππ β²
transition
some π
SLIDE 23 bisimulation property of the abstraction
π, π ππππ
π, ππ, πππππ
πβ², πβ² transition
some πβ²
π, π€π΅, π€π‘
π, π
πβ², π€π΅
β² , π€π‘ β²
transition
some π
SLIDE 24
- For every π or πβ²: πβ² β¨ π΅β² iff π β¨ π΅
- Recall that synthesis is EXP in |π
β²|
- π
β² = π
Γ Ξ , where Ξ is the set of partitions of
π = ππ‘ βͺ ππ΅
- Ξ is EXP in (ππ‘ + ππ΅)
=> synthesis is 2EXP in ππ‘ and ππ΅ But system partitions behave deterministically => only EXP in ππ
SLIDE 25
Part 2
SLIDE 26 Environments have their own limits. Let them be register transducers. πππ€||π‘π§π‘ = ππ0, ππ£π’0 ππ1, ππ£π’1 β¦ system
register transducer
environ ment
register transducer
Note: the number of values is at most ππ‘ + ππ.
SLIDE 27 env-sys-bounded synthesis problem
Given:
- Ξ£π½, Ξ£π
- universal register automaton π΅ with Ξ£π½ and Ξ£π
- the number ππ‘ of system registers
- the number ππ of environment registers
Return:
- ππ‘-register transducer π‘π§π‘ such that
πππ€||π‘π§π‘ β¨ π΅ for every ππ-register environment,
Env-sys-bounded synthesis problem is solvable in EXP in |π
| and ππ‘, 2EXP in ππ΅ and ππ.
SLIDE 28 idea of the abstraction
π0, π
π΅ = π π = π π
(π‘π’ππ ππ)
π0, π
π΅ = π π = π π
π0, π
π΅ = π π β π π
similarlyβ¦
SLIDE 29 conclusion
=> tighter complexity analysis (only EXP in ππ‘)
- Solution to the environment-system-bounded
synthesis problem In the full version:
- Non-determinacy
- Hierarchy of system and environment power