File size: 3,696 Bytes
619ff5b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
(set-logic SLIA)

 

(synth-fun f ((firstname String) (lastname String)) String

    ((Start String (ntString))

     (ntString String (firstname lastname " " "."

                       (str.++ ntString ntString)

                       (str.replace ntString ntString ntString)

                       (str.at ntString ntInt)

                       (int.to.str ntInt)

                       (str.substr ntString ntInt ntInt)))

      (ntInt Int (0 1 2

                  (+ ntInt ntInt)

                  (- ntInt ntInt)

                  (str.len ntString)

                  (str.to.int ntString)

                  (str.indexof ntString ntString ntInt)))

      (ntBool Bool (true false

                    (str.prefixof ntString ntString)

                    (str.suffixof ntString ntString)

                    (str.contains ntString ntString)))))





(declare-var firstname String)

(declare-var lastname String)



(constraint (= (f "Launa" "Withers") "L. Withers"))

(constraint (= (f "Lakenya" "Edison") "L. Edison"))

(constraint (= (f "Brendan" "Hage") "B. Hage"))

(constraint (= (f "Bradford" "Lango") "B. Lango"))

(constraint (= (f "Rudolf" "Akiyama") "R. Akiyama"))

(constraint (= (f "Lara" "Constable") "L. Constable"))

(constraint (= (f "Madelaine" "Ghoston") "M. Ghoston"))

(constraint (= (f "Salley" "Hornak") "S. Hornak"))

(constraint (= (f "Micha" "Junkin") "M. Junkin"))

(constraint (= (f "Teddy" "Bobo") "T. Bobo"))

(constraint (= (f "Coralee" "Scalia") "C. Scalia"))

(constraint (= (f "Jeff" "Quashie") "J. Quashie"))

(constraint (= (f "Vena" "Babiarz") "V. Babiarz"))

(constraint (= (f "Karrie" "Lain") "K. Lain"))

(constraint (= (f "Tobias" "Dermody") "T. Dermody"))

(constraint (= (f "Celsa" "Hopkins") "C. Hopkins"))

(constraint (= (f "Kimberley" "Halpern") "K. Halpern"))

(constraint (= (f "Phillip" "Rowden") "P. Rowden"))

(constraint (= (f "Elias" "Neil") "E. Neil"))

(constraint (= (f "Lashanda" "Cortes") "L. Cortes"))

(constraint (= (f "Mackenzie" "Spell") "M. Spell"))

(constraint (= (f "Kathlyn" "Eccleston") "K. Eccleston"))

(constraint (= (f "Georgina" "Brescia") "G. Brescia"))

(constraint (= (f "Beata" "Miah") "B. Miah"))

(constraint (= (f "Desiree" "Seamons") "D. Seamons"))

(constraint (= (f "Jeanice" "Soderstrom") "J. Soderstrom"))

(constraint (= (f "Mariel" "Jurgens") "M. Jurgens"))

(constraint (= (f "Alida" "Bogle") "A. Bogle"))

(constraint (= (f "Jacqualine" "Olague") "J. Olague"))

(constraint (= (f "Joaquin" "Clasen") "J. Clasen"))

(constraint (= (f "Samuel" "Richert") "S. Richert"))

(constraint (= (f "Malissa" "Marcus") "M. Marcus"))

(constraint (= (f "Alaina" "Partida") "A. Partida"))

(constraint (= (f "Trinidad" "Mulloy") "T. Mulloy"))

(constraint (= (f "Carlene" "Garrard") "C. Garrard"))

(constraint (= (f "Melodi" "Chism") "M. Chism"))

(constraint (= (f "Bess" "Chilcott") "B. Chilcott"))

(constraint (= (f "Chong" "Aylward") "C. Aylward"))

(constraint (= (f "Jani" "Ramthun") "J. Ramthun"))

(constraint (= (f "Jacquiline" "Heintz") "J. Heintz"))

(constraint (= (f "Hayley" "Marquess") "H. Marquess"))

(constraint (= (f "Andria" "Spagnoli") "A. Spagnoli"))

(constraint (= (f "Irwin" "Covelli") "I. Covelli"))

(constraint (= (f "Gertude" "Montiel") "G. Montiel"))

(constraint (= (f "Stefany" "Reily") "S. Reily"))

(constraint (= (f "Rae" "Mcgaughey") "R. Mcgaughey"))

(constraint (= (f "Cruz" "Latimore") "C. Latimore"))

(constraint (= (f "Maryann" "Casler") "M. Casler"))

(constraint (= (f "Annalisa" "Gregori") "A. Gregori"))

(constraint (= (f "Jenee" "Pannell") "J. Pannell"))



 

(check-synth)