the 4 th competition on syntax guided synthesis
play

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


  1. The 4 th Competition on Syntax-Guided Synthesis Rajeev Alur, Dana Fisman, Rishabh Singh and Armando Solar-Lezama

  2. SyGuS Idea and Definition in a Nutshell

  3. New Trends in Synthesis Syntactic restrictions Specification S R on the High Level Use at most two of solutions domain “WHAT” each of the following Turn off rightmost operators: continuous 1 bits: &&, <<, … 1010110 -> 1010000 Synthesizer Program P Low Level “HOW”

  4. Syntax Guided Synthesis - Idea Syntactic Specification restrictions R S Motivation: Synthesizer ▪ Tractability ▪ Combine Program P human expert insights with computers exhaustiveness & rapidness ▪ Benefit progress SAT & SMT Solvers

  5. Syntax-Guided Synthesis (SyGuS) Problem Theory T ▪ Fix a background theory T: fixes types and operations 0 + ϕ f G t 1 ▪ Function to be synthesized: name f along with its type Grammar ❖ General case: multiple functions to be synthesized Synthesizer ▪ Inputs to SyGuS problem: f 1 P f ❖ Specification ϕ f 2 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)

  6. SyGuS-Comp17 The 5 th competition on Syntax Guided Synthesis

  7. Solvers ▪ 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)

  8. Tracks ▪ General ▪ Inv ▪ CLIA ▪ PBE Strings ▪ PBE Bitvectors

  9. Tracks Participation ▪ CVC4-2017: all 5 tracks ▪ EUSolver-2017: all 5 tracks ▪ Euphony: all 5 tracks ▪ DryadSynth: CLIA and INV tacks ▪ LoopInvGen: INV track ▪ E3Solver: PBE Bitvectors track

  10. New Benchmarks ▪ Invariant Generation (7) 
 by Saswat Padhi (UCLA) ▪ Program Repair (18) [FSE 2017, ISSTA 2017] 
 by Xuan Bach D Le (SMU), David Lo (SMU) and Claire Le Goues (CMU) ▪ Crypto Circuits (214) [CAV 2016] 
 by Chao Wang (USC) ▪ Instruction Selection (28) 
 by Sebastian Buchwald and Andreas Fried (KIT)

  11. Inv Track (74) Tight race! LoopInvGen 65/46 DryadSynth & CVC4 2017 64/38 65/37

  12. CLIA Track (73) r a e t y s a t l s f a o L r e n n W i 0 5 / 3 7 r a e y CVC4 2017 73/72 EUSolver 2017 Euphony 71/29 71/11 g n d i n a t s t u O t ! n e m e v o p r m i 1 1 / 7 3 r a e y t s a L

  13. PBE Stings (108) Outstanding improvement! Last year solved 18 CVC4 2017 89/49 Euphony EUSolver 2017 78/66 69/23 Last year solved 31 Winner of last year

  14. PBE Bitvectors (750) 100% solved! E3Solver 750/692 Euphony & EUSolver 2017 747/117 742/211 Last year solved Winner of last 730 year

  15. General Track (569) - Solved

  16. General Track (569) - Fastest

  17. General Track (569) Euphony CVC4 2017 EUSolver 2017 362/135 378/236 407/276

  18. General Track Summary & Discussion ▪ 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 o CVC4 won 6 categories : Arrays, Let & MP, HD, Integers, InvGen wBndInts, InvGen wUnbndInts o EUSolver won 3 categories : Program Repair, ICFP, Crypto Crkts o Euphony won 2 categories : Multiple Functions, Compiler Optimizations

  19. Expression Sizes Solver Sum ExprSize Max ExprSize Avrg ExprSize CVC4 2017 6193196 1843271 16559.34759 CVC4 2017 generates EUSolver 2017 16333 2551 40.62935323 quite big expressions … Euphony 16009 2551 44.34626039

  20. Timeline View – Tracks 1 st 2 nd 3 rd 4 th Comp. Comp. Comp. Comp T racks: General General General General CLIA CLIA CLIA Inv Inv Inv PBE Bitvectors PBE Bitvectors PBE Strings PBE Strings

  21. Timeline View – Solvers 1 st 2 nd 3 rd 4 th Comp. Comp. Comp. Comp Solvers: Enumerative Enumerative, Enumerative CVC4 2017 Symbolic, SosyT oast Sketch AC EUSolver 2017 Sketch Sketch AC Stochastic Euphony Stochastic Stochastic Alchemist CS,CSDT (2) DryadSynth Alchemist Alchemist CS,CSDT (2) ICE LoopInvGen ICE CVC4 1.5.1 E3Solver CVC4 1.5 EUSolver

  22. General Track 1 st vs. 4 th Competitions 4 th 1 st

  23. Timeline View – Successes & Challenges 1 st 2 nd 3 rd 4 th Comp. Comp. Comp. Comp. Successes: Hackers’ Delight Arrays More benchs PBE-Stings Invariant Gen Max n <= 15 ICFP Crypto Crkts Faster Program Repair Expr Size Improv. Challenges: Arrays Let Let Let Max n>4 MultFunc MultFunc MultFunc Let ICFP CompOpt CompOpt MultFunc CompOpt PBE-Strings Instruction Selection

  24. SyGuS-Comp17 Solvers’ Strategies

  25. Solvers’ Strategies E3Solver presentation: Ammar Ben Khadra CVC4 2017 presentation: Andy Reynolds DryadSynth: Xiaokang Qiu LoopInvGen: … on behalf of authors Euphony: ... EUsolver:

Recommend


More recommend