Rajeev Alur, Dana Fisman, Rishabh Singh and Armando Solar-Lezama
The 4th Competition
- n Syntax-Guided
The 4 th Competition on Syntax-Guided Synthesis Rajeev Alur, Dana - - PowerPoint PPT Presentation
The 4 th Competition on Syntax-Guided Synthesis Rajeev Alur, Dana Fisman, Rishabh Singh and Armando Solar-Lezama SyGuS Idea and Definition in a Nutshell New Trends in Synthesis Syntactic restrictions Specification S R on the High Level
Program P Low Level “HOW” Specification S High Level “WHAT” Syntactic restrictions R on the solutions domain Turn off rightmost continuous 1 bits: 1010110 -> 1010000 Use at most two of each of the following
&&, <<, …
Program P Specification S Syntactic restrictions R
▪ Fix a background theory T: fixes types and operations
▪ Function to be synthesized: name f along with its type
❖ General case: multiple functions to be synthesized
▪ Inputs to SyGuS problem:
❖ Specification ϕ
Typed formula using symbols in T + symbol f
❖ Context-free grammar G
Characterizing the set of allowed expressions [[ G ]] (in theory T) ▪ Computational problem: Find expression e in [[ G ]] such that ϕ[f/e] is valid (in theory T)
Synthesizer
G P
Theory T
f f t1 +
Grammar
f1 f2
▪ CVC4 2017 - Andrew Reynolds (Univ. of Iowa), Cesare Tinelli (Univ. of Iowa) and Clark Barrett (NYU)
▪ EUSolver 2017 - Arjun Radhakrishna (MSR) and Abhishek Udupa (MSR) ▪ Euphony - Woosuk Lee (Penn), Arjun Radhakrishna (MSR) and Abhishek Udupa (MSR) ▪ DryadSynth - KangJing Huang, Xiaokang Qiu, and Yanjun Wang (all from Purdue Univ.) ▪ LoopInvGen - Saswat Padhi (UCLA) and Todd Millstein (UCLA) ▪ E3Sovler - Ammar Ben Khadra (University of Kaiserslautern)
W i n n e r
l a s t y e a r L a s t y e a r 7 3 / 5 L a s t y e a r 3 7 / 1 1 O u t s t a n d i n g i m p r
e m e n t !
Last year solved 18 Last year solved 31 Winner of last year Outstanding improvement!
Last year solved 730 Winner of last year
▪ EUSolver solved more benchmarks, and more benchmarks among the fastest ▪ CVC4 was second to solve more benchmarks and more benchmarks among the
fastest.
▪ In term of categories
CVC42017 generates quite big expressions…
1st Comp. 2nd Comp. 3rd Comp. 4th Comp T racks: General General CLIA Inv General CLIA Inv PBE Bitvectors PBE Strings General CLIA Inv PBE Bitvectors PBE Strings
1st Comp. 2nd Comp. 3rd Comp. 4th Comp Solvers: Enumerative Symbolic, Sketch Stochastic Alchemist Enumerative, SosyT
Sketch AC Stochastic AlchemistCS,CSDT (2) ICE CVC4 1.5 Enumerative SketchAC Stochastic AlchemistCS,CSDT (2) ICE CVC4 1.5.1 EUSolver CVC42017 EUSolver2017 Euphony DryadSynth LoopInvGen E3Solver
1st Comp. 2nd Comp. 3rd Comp. 4th Comp. Successes: Hackers’ Delight Invariant Gen Arrays Max n <= 15 More benchs ICFP Faster PBE-Stings Crypto Crkts Program Repair Expr Size Improv. Challenges: Arrays Max n>4 Let MultFunc Let MultFunc ICFP CompOpt Let MultFunc CompOpt PBE-Strings Let MultFunc CompOpt Instruction Selection
E3Solver presentation: Ammar Ben Khadra CVC42017 presentation: Andy Reynolds DryadSynth: Xiaokang Qiu LoopInvGen: … on behalf of authors Euphony: ... EUsolver: