code_idx
int64 12
284
| code
stringlengths 36
24.7k
| query_type
int64 0
1
| query_code
stringlengths 7
49
| found_solution
bool 2
classes | result_explanation
stringlengths 55
33.4k
| result_variables
stringlengths 0
52
| __index_level_0__
int64 0
194k
|
---|---|---|---|---|---|---|---|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(Var0,a). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=a, ]
PASSED na : [Param1=c (variable) , Param2=a, ] | Var0 = c. | 0 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(Var0,b). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=b, ]
PASSED na : [Param1=c (variable) , Param2=b, ] | Var0 = c. | 1 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(Var0,c). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=c, ]
PASSED na : [Param1=d (variable) , Param2=c, ] | Var0 = d. | 2 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(Var0,d). | false | CHECKING na : [Param1=FreeVariable (variable) , Param2=d, ]
FAILED na : [Param1=FreeVariable (variable) , Param2=d, ] | 3 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(Var1,a). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=a, ]
PASSED na : [Param1=c (variable) , Param2=a, ] | Var1 = c. | 4 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(Var1,b). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=b, ]
PASSED na : [Param1=c (variable) , Param2=b, ] | Var1 = c. | 5 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(Var1,c). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=c, ]
PASSED na : [Param1=d (variable) , Param2=c, ] | Var1 = d. | 6 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(Var1,d). | false | CHECKING na : [Param1=FreeVariable (variable) , Param2=d, ]
FAILED na : [Param1=FreeVariable (variable) , Param2=d, ] | 7 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(a,Var0). | false | CHECKING na : [Param1=a, Param2=FreeVariable (variable) , ]
FAILED na : [Param1=a, Param2=FreeVariable (variable) , ] | 8 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(a,Var1). | false | CHECKING na : [Param1=a, Param2=FreeVariable (variable) , ]
FAILED na : [Param1=a, Param2=FreeVariable (variable) , ] | 9 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(a,b). | false | CHECKING na : [Param1=a, Param2=b, ]
FAILED na : [Param1=a, Param2=b, ] | 10 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(a,c). | false | CHECKING na : [Param1=a, Param2=c, ]
FAILED na : [Param1=a, Param2=c, ] | 11 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(a,d). | false | CHECKING na : [Param1=a, Param2=d, ]
FAILED na : [Param1=a, Param2=d, ] | 12 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(b,Var0). | false | CHECKING na : [Param1=b, Param2=FreeVariable (variable) , ]
FAILED na : [Param1=b, Param2=FreeVariable (variable) , ] | 13 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(b,Var1). | false | CHECKING na : [Param1=b, Param2=FreeVariable (variable) , ]
FAILED na : [Param1=b, Param2=FreeVariable (variable) , ] | 14 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(b,a). | false | CHECKING na : [Param1=b, Param2=a, ]
FAILED na : [Param1=b, Param2=a, ] | 15 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(b,c). | false | CHECKING na : [Param1=b, Param2=c, ]
FAILED na : [Param1=b, Param2=c, ] | 16 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(b,d). | false | CHECKING na : [Param1=b, Param2=d, ]
FAILED na : [Param1=b, Param2=d, ] | 17 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(c,Var0). | true | CHECKING na : [Param1=c, Param2=FreeVariable (variable) , ]
PASSED na : [Param1=c, Param2=a (variable) , ] | Var0 = a. | 18 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(c,Var1). | true | CHECKING na : [Param1=c, Param2=FreeVariable (variable) , ]
PASSED na : [Param1=c, Param2=a (variable) , ] | Var1 = a. | 19 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(c,a). | true | CHECKING na : [Param1=c, Param2=a, ]
PASSED na : [Param1=c, Param2=a, ] | 20 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(c,b). | true | CHECKING na : [Param1=c, Param2=b, ]
PASSED na : [Param1=c, Param2=b, ] | 21 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(c,d). | false | CHECKING na : [Param1=c, Param2=d, ]
FAILED na : [Param1=c, Param2=d, ] | 22 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(d,Var0). | true | CHECKING na : [Param1=d, Param2=FreeVariable (variable) , ]
PASSED na : [Param1=d, Param2=c (variable) , ] | Var0 = c. | 23 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(d,Var1). | true | CHECKING na : [Param1=d, Param2=FreeVariable (variable) , ]
PASSED na : [Param1=d, Param2=c (variable) , ] | Var1 = c. | 24 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(d,a). | false | CHECKING na : [Param1=d, Param2=a, ]
FAILED na : [Param1=d, Param2=a, ] | 25 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(d,b). | false | CHECKING na : [Param1=d, Param2=b, ]
FAILED na : [Param1=d, Param2=b, ] | 26 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 0 | na(d,c). | true | CHECKING na : [Param1=d, Param2=c, ]
PASSED na : [Param1=d, Param2=c, ] | 27 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(d,c). | true | CHECKING na : [Param1=d, Param2=c, ]
PASSED na : [Param1=d, Param2=c, ] | 28 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(c,a). | true | CHECKING na : [Param1=c, Param2=a, ]
PASSED na : [Param1=c, Param2=a, ] | 29 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(b,c). | false | CHECKING na : [Param1=b, Param2=c, ]
FAILED na : [Param1=b, Param2=c, ] | 30 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(X,c). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=c, ]
PASSED na : [Param1=d (variable) , Param2=c, ] | X = d. | 31 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(c,Y). | true | CHECKING na : [Param1=c, Param2=FreeVariable (variable) , ]
PASSED na : [Param1=c, Param2=a (variable) , ] | Y = a. | 32 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(_,c). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=c, ]
PASSED na : [Param1=d (variable) , Param2=c, ] | 33 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(c,_). | true | CHECKING na : [Param1=c, Param2=FreeVariable (variable) , ]
PASSED na : [Param1=c, Param2=a (variable) , ] | 34 |
|
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(c,X),na(Y,c). | true | CHECKING na : [Param1=c, Param2=FreeVariable (variable) , ]
PASSED na : [Param1=c, Param2=a (variable) , ]
CHECKING na : [Param1=FreeVariable (variable) , Param2=c, ]
PASSED na : [Param1=d (variable) , Param2=c, ] | X = a,
Y = d. | 35 |
12 | % Author:
% Date: 17.05.2018
% Zadanie 1
% klocek A lezy na B dla na(A,B)
na(d,c).
na(c,a).
na(c,b).
/*
1. Czy klocek d ley na klocku c?
?- na(d,c).
true.
2. Czy klocek c ley na klocku a?
?- na(c,a).
true.
.
3. Czy klocek b ley na klocku c?
?- na(b,c).
false.
4. Jaki klocek ley na klocku c?
?- na(X,c).
X = d.
5. Na jakim klocku ley klocek c?
?- na(c,Y).
Y = a ;
Y = b.
6. Para klockw (X,Y), taka e X ley na Y?
?- na(X,Y).
X = d,
Y = c ;
X = c,
Y = a ;
X = c,
Y = b.
7. Czy jaki klocek ley na c?
?- na(_,c).
true.
8. Czy jaki klocek ley pod klockiem c?
?- na(c,_).
true.
.
9. Midzy jakimi klockami ley klocek c?
?- na(c,X),na(Y,c)
| .
X = a,
Y = d ;
X = b,
Y = d.
10. Jaki klocek ley midzy dwoma innymi klockami?
?- na(X,_),na(_,X).
X = c ;
X = c.
**/
| 1 | na(X,_),na(_,X). | true | CHECKING na : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , ]
PASSED na : [Param1=d (variable) , Param2=c (variable) , ]
CHECKING na : [Param1=FreeVariable (variable) , Param2=d, ]
FAILED na : [Param1=FreeVariable (variable) , Param2=d, ]
PASSED na : [Param1=c (variable) , Param2=a (variable) , ]
CHECKING na : [Param1=FreeVariable (variable) , Param2=c, ]
PASSED na : [Param1=d (variable) , Param2=c, ] | X = c. | 36 |
26 | % Ex. 1 - rebusul
word(abalone,a,b,a,l,o,n,e).
word(abandon,a,b,a,n,d,o,n).
word(anagram,a,n,a,g,r,a,m).
word(connect,c,o,n,n,e,c,t).
word(elegant,e,l,e,g,a,n,t).
word(enhance,e,n,h,a,n,c,e).
crossword(V1, V2, V3, H1, H2, H3) :-
word(V1, _, A, _, B, _, C, _),
word(V2, _, D, _, E, _, F, _),
word(V3, _, G, _, H, _, I, _),
word(H1, _, A, _, D, _, G, _),
word(H2, _, B, _, E, _, H, _),
word(H3, _, C, _, F, _, I, _).
% Ex. 2 - baza de date
born(jan, date(20,3,1977)).
born(jeroen, date(2,2,1992)).
born(joris, date(17,3,1995)).
born(jelle, date(1,1,2004)).
born(joan, date(24,12,0)).
born(joop, date(30,4,1989)).
born(jannecke, date(17,3,1993)).
born(jaap, date(16,11,1995)).
% date(Day, Month, Year)
% year/2, year(+Year, -Person).
year(Year,Person) :-
born(Person, date(_,_,Year)).
% before/2
before(date(D1,M1,Y1),date(D2,M2,Y2)):-
Y1 < Y2;
Y1 =:= Y2, M1 < M2;
Y1 =:= Y2, M1 =:= M2, D1 < D2.
% older/2
older(X,Y):-
born(X, DateX),
born(Y, DateY),
before(DateX, DateY).
% Ex. 3 - labirintul
% connected(1,2).
% connected(3,4).
% connected(5,6).
% connected(7,8).
% connected(9,10).
% connected(12,13).
% connected(13,14).
% connected(15,16).
% connected(17,18).
% connected(19,20).
% connected(4,1).
% connected(6,3).
% connected(4,7).
% connected(6,11).
% connected(14,9).
% connected(11,15).
% connected(16,12).
% connected(14,17).
% connected(16,19).
connected(1,2).
connected(2,1).
connected(1,3).
connected(3,4).
% path / 2, path(X,Y) - true daca exista un drum de la X la Y
path(X, Y) :-
connected(X,Y).
path(X, Y) :-
connected(X, Z),
path(Z, Y).
% Tema: solutia pentru a elimina ciclurile este sa avem o lista de noduri vizitate
% path(X, Y, Viz)
path1(X, Y, V) :- not(member(X, V)), connected(X,Z), path1(Z, Y, [X|V]).
% Ex. 4 - reprezentarea numerelor naturale ca liste
% 0 = [], 1 = [x], 2 = [x,x]
succesor(L, [x | L]).
plus(L1,L2, LR) :- append(L1,L2,LR).
times([], _, []).
times([x | T], L2, LR) :-
times(T, L2, ListTail),
plus(L2, ListTail, LR).
% Ex. 5 - al n-lea element intr-o lista
% element_at/3, element_at(+List, +Index, -ElemDePeIndex).
element_at([H|_], 0, H).
element_at([_|T], Index, Result):-
NewIndex is Index-1,
element_at(T, NewIndex, Result).
% Ex. 6 - mutantii
animal(alligator).
animal(tortue).
animal(caribou).
animal(ours).
animal(cheval).
animal(vache).
animal(lapin).
% mutant/1
% name/2 - transforma un sir de caratere intr-o lista cu codurile lor ASCII
mutant(X) :-
animal(Y),
animal(Z),
Y \= Z,
name(Y, Ly),
name(Z, Lz),
append(Y1, Y2, Ly),
append(Y2, _, Lz),
Y2 \= [],
append(Y1, Lz, Lx),
name(X, Lx).
% exista o factorizare a listei Ly Y1 ++ Y2 = Ly
% exista o factorizare a listei Lz Y2 ++ _ = Lz
| 0 | crossword(Var0,Var1,Var2,Var5,r,Var4). | false | CHECKING crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=FreeVariable (variable) , Param5=r, Param6=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=FreeVariable (variable) , Param5=FreeVariable (variable) , Param6=FreeVariable (variable) , Param7=FreeVariable (variable) , Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abalone (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=l (variable) , Param6=o (variable) , Param7=n (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abandon (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=n (variable) , Param6=d (variable) , Param7=o (variable) , Param8=n (variable) , ]
PASSED word : [Param1=anagram (variable) , Param2=a (variable) , Param3=n (variable) , Param4=a (variable) , Param5=g (variable) , Param6=r (variable) , Param7=a (variable) , Param8=m (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=connect (variable) , Param2=c (variable) , Param3=o (variable) , Param4=n (variable) , Param5=n (variable) , Param6=e (variable) , Param7=c (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=elegant (variable) , Param2=e (variable) , Param3=l (variable) , Param4=e (variable) , Param5=g (variable) , Param6=a (variable) , Param7=n (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=enhance (variable) , Param2=e (variable) , Param3=n (variable) , Param4=h (variable) , Param5=a (variable) , Param6=n (variable) , Param7=c (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abandon (variable) , Param2=a (variable) , Param3=b, Param4=a (variable) , Param5=n, Param6=d (variable) , Param7=o, Param8=n (variable) , ]
CHECKING word : [Param1=r, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=r, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abalone (variable) , Param2=a (variable) , Param3=b, Param4=a (variable) , Param5=l, Param6=o (variable) , Param7=n, Param8=e (variable) , ]
CHECKING word : [Param1=r, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=g, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=r, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=g, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=r, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=a, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=r, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=a, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=r, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=a, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=r, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=a, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=r, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=r, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=r, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=g, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=r, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=g, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=r, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=a, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=r, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=g, Param6=FreeVariable (variable) , Param7=a, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=r, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=a, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=r, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=a, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=FreeVariable (variable) , Param5=r, Param6=FreeVariable (variable) , ] | 37 |
|
26 | % Ex. 1 - rebusul
word(abalone,a,b,a,l,o,n,e).
word(abandon,a,b,a,n,d,o,n).
word(anagram,a,n,a,g,r,a,m).
word(connect,c,o,n,n,e,c,t).
word(elegant,e,l,e,g,a,n,t).
word(enhance,e,n,h,a,n,c,e).
crossword(V1, V2, V3, H1, H2, H3) :-
word(V1, _, A, _, B, _, C, _),
word(V2, _, D, _, E, _, F, _),
word(V3, _, G, _, H, _, I, _),
word(H1, _, A, _, D, _, G, _),
word(H2, _, B, _, E, _, H, _),
word(H3, _, C, _, F, _, I, _).
% Ex. 2 - baza de date
born(jan, date(20,3,1977)).
born(jeroen, date(2,2,1992)).
born(joris, date(17,3,1995)).
born(jelle, date(1,1,2004)).
born(joan, date(24,12,0)).
born(joop, date(30,4,1989)).
born(jannecke, date(17,3,1993)).
born(jaap, date(16,11,1995)).
% date(Day, Month, Year)
% year/2, year(+Year, -Person).
year(Year,Person) :-
born(Person, date(_,_,Year)).
% before/2
before(date(D1,M1,Y1),date(D2,M2,Y2)):-
Y1 < Y2;
Y1 =:= Y2, M1 < M2;
Y1 =:= Y2, M1 =:= M2, D1 < D2.
% older/2
older(X,Y):-
born(X, DateX),
born(Y, DateY),
before(DateX, DateY).
% Ex. 3 - labirintul
% connected(1,2).
% connected(3,4).
% connected(5,6).
% connected(7,8).
% connected(9,10).
% connected(12,13).
% connected(13,14).
% connected(15,16).
% connected(17,18).
% connected(19,20).
% connected(4,1).
% connected(6,3).
% connected(4,7).
% connected(6,11).
% connected(14,9).
% connected(11,15).
% connected(16,12).
% connected(14,17).
% connected(16,19).
connected(1,2).
connected(2,1).
connected(1,3).
connected(3,4).
% path / 2, path(X,Y) - true daca exista un drum de la X la Y
path(X, Y) :-
connected(X,Y).
path(X, Y) :-
connected(X, Z),
path(Z, Y).
% Tema: solutia pentru a elimina ciclurile este sa avem o lista de noduri vizitate
% path(X, Y, Viz)
path1(X, Y, V) :- not(member(X, V)), connected(X,Z), path1(Z, Y, [X|V]).
% Ex. 4 - reprezentarea numerelor naturale ca liste
% 0 = [], 1 = [x], 2 = [x,x]
succesor(L, [x | L]).
plus(L1,L2, LR) :- append(L1,L2,LR).
times([], _, []).
times([x | T], L2, LR) :-
times(T, L2, ListTail),
plus(L2, ListTail, LR).
% Ex. 5 - al n-lea element intr-o lista
% element_at/3, element_at(+List, +Index, -ElemDePeIndex).
element_at([H|_], 0, H).
element_at([_|T], Index, Result):-
NewIndex is Index-1,
element_at(T, NewIndex, Result).
% Ex. 6 - mutantii
animal(alligator).
animal(tortue).
animal(caribou).
animal(ours).
animal(cheval).
animal(vache).
animal(lapin).
% mutant/1
% name/2 - transforma un sir de caratere intr-o lista cu codurile lor ASCII
mutant(X) :-
animal(Y),
animal(Z),
Y \= Z,
name(Y, Ly),
name(Z, Lz),
append(Y1, Y2, Ly),
append(Y2, _, Lz),
Y2 \= [],
append(Y1, Lz, Lx),
name(X, Lx).
% exista o factorizare a listei Ly Y1 ++ Y2 = Ly
% exista o factorizare a listei Lz Y2 ++ _ = Lz
| 0 | crossword(Var0,Var1,Var2,a,Var5,n). | false | CHECKING crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=a, Param5=FreeVariable (variable) , Param6=n, ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=FreeVariable (variable) , Param5=FreeVariable (variable) , Param6=FreeVariable (variable) , Param7=FreeVariable (variable) , Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abalone (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=l (variable) , Param6=o (variable) , Param7=n (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abandon (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=n (variable) , Param6=d (variable) , Param7=o (variable) , Param8=n (variable) , ]
PASSED word : [Param1=anagram (variable) , Param2=a (variable) , Param3=n (variable) , Param4=a (variable) , Param5=g (variable) , Param6=r (variable) , Param7=a (variable) , Param8=m (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=connect (variable) , Param2=c (variable) , Param3=o (variable) , Param4=n (variable) , Param5=n (variable) , Param6=e (variable) , Param7=c (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=elegant (variable) , Param2=e (variable) , Param3=l (variable) , Param4=e (variable) , Param5=g (variable) , Param6=a (variable) , Param7=n (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=enhance (variable) , Param2=e (variable) , Param3=n (variable) , Param4=h (variable) , Param5=a (variable) , Param6=n (variable) , Param7=c (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=a, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=a, Param5=FreeVariable (variable) , Param6=n, ] | 38 |
|
26 | % Ex. 1 - rebusul
word(abalone,a,b,a,l,o,n,e).
word(abandon,a,b,a,n,d,o,n).
word(anagram,a,n,a,g,r,a,m).
word(connect,c,o,n,n,e,c,t).
word(elegant,e,l,e,g,a,n,t).
word(enhance,e,n,h,a,n,c,e).
crossword(V1, V2, V3, H1, H2, H3) :-
word(V1, _, A, _, B, _, C, _),
word(V2, _, D, _, E, _, F, _),
word(V3, _, G, _, H, _, I, _),
word(H1, _, A, _, D, _, G, _),
word(H2, _, B, _, E, _, H, _),
word(H3, _, C, _, F, _, I, _).
% Ex. 2 - baza de date
born(jan, date(20,3,1977)).
born(jeroen, date(2,2,1992)).
born(joris, date(17,3,1995)).
born(jelle, date(1,1,2004)).
born(joan, date(24,12,0)).
born(joop, date(30,4,1989)).
born(jannecke, date(17,3,1993)).
born(jaap, date(16,11,1995)).
% date(Day, Month, Year)
% year/2, year(+Year, -Person).
year(Year,Person) :-
born(Person, date(_,_,Year)).
% before/2
before(date(D1,M1,Y1),date(D2,M2,Y2)):-
Y1 < Y2;
Y1 =:= Y2, M1 < M2;
Y1 =:= Y2, M1 =:= M2, D1 < D2.
% older/2
older(X,Y):-
born(X, DateX),
born(Y, DateY),
before(DateX, DateY).
% Ex. 3 - labirintul
% connected(1,2).
% connected(3,4).
% connected(5,6).
% connected(7,8).
% connected(9,10).
% connected(12,13).
% connected(13,14).
% connected(15,16).
% connected(17,18).
% connected(19,20).
% connected(4,1).
% connected(6,3).
% connected(4,7).
% connected(6,11).
% connected(14,9).
% connected(11,15).
% connected(16,12).
% connected(14,17).
% connected(16,19).
connected(1,2).
connected(2,1).
connected(1,3).
connected(3,4).
% path / 2, path(X,Y) - true daca exista un drum de la X la Y
path(X, Y) :-
connected(X,Y).
path(X, Y) :-
connected(X, Z),
path(Z, Y).
% Tema: solutia pentru a elimina ciclurile este sa avem o lista de noduri vizitate
% path(X, Y, Viz)
path1(X, Y, V) :- not(member(X, V)), connected(X,Z), path1(Z, Y, [X|V]).
% Ex. 4 - reprezentarea numerelor naturale ca liste
% 0 = [], 1 = [x], 2 = [x,x]
succesor(L, [x | L]).
plus(L1,L2, LR) :- append(L1,L2,LR).
times([], _, []).
times([x | T], L2, LR) :-
times(T, L2, ListTail),
plus(L2, ListTail, LR).
% Ex. 5 - al n-lea element intr-o lista
% element_at/3, element_at(+List, +Index, -ElemDePeIndex).
element_at([H|_], 0, H).
element_at([_|T], Index, Result):-
NewIndex is Index-1,
element_at(T, NewIndex, Result).
% Ex. 6 - mutantii
animal(alligator).
animal(tortue).
animal(caribou).
animal(ours).
animal(cheval).
animal(vache).
animal(lapin).
% mutant/1
% name/2 - transforma un sir de caratere intr-o lista cu codurile lor ASCII
mutant(X) :-
animal(Y),
animal(Z),
Y \= Z,
name(Y, Ly),
name(Z, Lz),
append(Y1, Y2, Ly),
append(Y2, _, Lz),
Y2 \= [],
append(Y1, Lz, Lx),
name(X, Lx).
% exista o factorizare a listei Ly Y1 ++ Y2 = Ly
% exista o factorizare a listei Lz Y2 ++ _ = Lz
| 0 | crossword(Var0,Var1,Var2,b,e,d). | false | CHECKING crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=b, Param5=e, Param6=d, ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=FreeVariable (variable) , Param5=FreeVariable (variable) , Param6=FreeVariable (variable) , Param7=FreeVariable (variable) , Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abalone (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=l (variable) , Param6=o (variable) , Param7=n (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abandon (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=n (variable) , Param6=d (variable) , Param7=o (variable) , Param8=n (variable) , ]
PASSED word : [Param1=anagram (variable) , Param2=a (variable) , Param3=n (variable) , Param4=a (variable) , Param5=g (variable) , Param6=r (variable) , Param7=a (variable) , Param8=m (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=connect (variable) , Param2=c (variable) , Param3=o (variable) , Param4=n (variable) , Param5=n (variable) , Param6=e (variable) , Param7=c (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=elegant (variable) , Param2=e (variable) , Param3=l (variable) , Param4=e (variable) , Param5=g (variable) , Param6=a (variable) , Param7=n (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=enhance (variable) , Param2=e (variable) , Param3=n (variable) , Param4=h (variable) , Param5=a (variable) , Param6=n (variable) , Param7=c (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=b, Param5=e, Param6=d, ] | 39 |
|
26 | % Ex. 1 - rebusul
word(abalone,a,b,a,l,o,n,e).
word(abandon,a,b,a,n,d,o,n).
word(anagram,a,n,a,g,r,a,m).
word(connect,c,o,n,n,e,c,t).
word(elegant,e,l,e,g,a,n,t).
word(enhance,e,n,h,a,n,c,e).
crossword(V1, V2, V3, H1, H2, H3) :-
word(V1, _, A, _, B, _, C, _),
word(V2, _, D, _, E, _, F, _),
word(V3, _, G, _, H, _, I, _),
word(H1, _, A, _, D, _, G, _),
word(H2, _, B, _, E, _, H, _),
word(H3, _, C, _, F, _, I, _).
% Ex. 2 - baza de date
born(jan, date(20,3,1977)).
born(jeroen, date(2,2,1992)).
born(joris, date(17,3,1995)).
born(jelle, date(1,1,2004)).
born(joan, date(24,12,0)).
born(joop, date(30,4,1989)).
born(jannecke, date(17,3,1993)).
born(jaap, date(16,11,1995)).
% date(Day, Month, Year)
% year/2, year(+Year, -Person).
year(Year,Person) :-
born(Person, date(_,_,Year)).
% before/2
before(date(D1,M1,Y1),date(D2,M2,Y2)):-
Y1 < Y2;
Y1 =:= Y2, M1 < M2;
Y1 =:= Y2, M1 =:= M2, D1 < D2.
% older/2
older(X,Y):-
born(X, DateX),
born(Y, DateY),
before(DateX, DateY).
% Ex. 3 - labirintul
% connected(1,2).
% connected(3,4).
% connected(5,6).
% connected(7,8).
% connected(9,10).
% connected(12,13).
% connected(13,14).
% connected(15,16).
% connected(17,18).
% connected(19,20).
% connected(4,1).
% connected(6,3).
% connected(4,7).
% connected(6,11).
% connected(14,9).
% connected(11,15).
% connected(16,12).
% connected(14,17).
% connected(16,19).
connected(1,2).
connected(2,1).
connected(1,3).
connected(3,4).
% path / 2, path(X,Y) - true daca exista un drum de la X la Y
path(X, Y) :-
connected(X,Y).
path(X, Y) :-
connected(X, Z),
path(Z, Y).
% Tema: solutia pentru a elimina ciclurile este sa avem o lista de noduri vizitate
% path(X, Y, Viz)
path1(X, Y, V) :- not(member(X, V)), connected(X,Z), path1(Z, Y, [X|V]).
% Ex. 4 - reprezentarea numerelor naturale ca liste
% 0 = [], 1 = [x], 2 = [x,x]
succesor(L, [x | L]).
plus(L1,L2, LR) :- append(L1,L2,LR).
times([], _, []).
times([x | T], L2, LR) :-
times(T, L2, ListTail),
plus(L2, ListTail, LR).
% Ex. 5 - al n-lea element intr-o lista
% element_at/3, element_at(+List, +Index, -ElemDePeIndex).
element_at([H|_], 0, H).
element_at([_|T], Index, Result):-
NewIndex is Index-1,
element_at(T, NewIndex, Result).
% Ex. 6 - mutantii
animal(alligator).
animal(tortue).
animal(caribou).
animal(ours).
animal(cheval).
animal(vache).
animal(lapin).
% mutant/1
% name/2 - transforma un sir de caratere intr-o lista cu codurile lor ASCII
mutant(X) :-
animal(Y),
animal(Z),
Y \= Z,
name(Y, Ly),
name(Z, Lz),
append(Y1, Y2, Ly),
append(Y2, _, Lz),
Y2 \= [],
append(Y1, Lz, Lx),
name(X, Lx).
% exista o factorizare a listei Ly Y1 ++ Y2 = Ly
% exista o factorizare a listei Lz Y2 ++ _ = Lz
| 0 | crossword(Var0,Var1,Var2,b,n,a). | false | CHECKING crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=b, Param5=n, Param6=a, ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=FreeVariable (variable) , Param5=FreeVariable (variable) , Param6=FreeVariable (variable) , Param7=FreeVariable (variable) , Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abalone (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=l (variable) , Param6=o (variable) , Param7=n (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abandon (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=n (variable) , Param6=d (variable) , Param7=o (variable) , Param8=n (variable) , ]
PASSED word : [Param1=anagram (variable) , Param2=a (variable) , Param3=n (variable) , Param4=a (variable) , Param5=g (variable) , Param6=r (variable) , Param7=a (variable) , Param8=m (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=connect (variable) , Param2=c (variable) , Param3=o (variable) , Param4=n (variable) , Param5=n (variable) , Param6=e (variable) , Param7=c (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=elegant (variable) , Param2=e (variable) , Param3=l (variable) , Param4=e (variable) , Param5=g (variable) , Param6=a (variable) , Param7=n (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=enhance (variable) , Param2=e (variable) , Param3=n (variable) , Param4=h (variable) , Param5=a (variable) , Param6=n (variable) , Param7=c (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=b, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=b, Param5=n, Param6=a, ] | 40 |
|
26 | % Ex. 1 - rebusul
word(abalone,a,b,a,l,o,n,e).
word(abandon,a,b,a,n,d,o,n).
word(anagram,a,n,a,g,r,a,m).
word(connect,c,o,n,n,e,c,t).
word(elegant,e,l,e,g,a,n,t).
word(enhance,e,n,h,a,n,c,e).
crossword(V1, V2, V3, H1, H2, H3) :-
word(V1, _, A, _, B, _, C, _),
word(V2, _, D, _, E, _, F, _),
word(V3, _, G, _, H, _, I, _),
word(H1, _, A, _, D, _, G, _),
word(H2, _, B, _, E, _, H, _),
word(H3, _, C, _, F, _, I, _).
% Ex. 2 - baza de date
born(jan, date(20,3,1977)).
born(jeroen, date(2,2,1992)).
born(joris, date(17,3,1995)).
born(jelle, date(1,1,2004)).
born(joan, date(24,12,0)).
born(joop, date(30,4,1989)).
born(jannecke, date(17,3,1993)).
born(jaap, date(16,11,1995)).
% date(Day, Month, Year)
% year/2, year(+Year, -Person).
year(Year,Person) :-
born(Person, date(_,_,Year)).
% before/2
before(date(D1,M1,Y1),date(D2,M2,Y2)):-
Y1 < Y2;
Y1 =:= Y2, M1 < M2;
Y1 =:= Y2, M1 =:= M2, D1 < D2.
% older/2
older(X,Y):-
born(X, DateX),
born(Y, DateY),
before(DateX, DateY).
% Ex. 3 - labirintul
% connected(1,2).
% connected(3,4).
% connected(5,6).
% connected(7,8).
% connected(9,10).
% connected(12,13).
% connected(13,14).
% connected(15,16).
% connected(17,18).
% connected(19,20).
% connected(4,1).
% connected(6,3).
% connected(4,7).
% connected(6,11).
% connected(14,9).
% connected(11,15).
% connected(16,12).
% connected(14,17).
% connected(16,19).
connected(1,2).
connected(2,1).
connected(1,3).
connected(3,4).
% path / 2, path(X,Y) - true daca exista un drum de la X la Y
path(X, Y) :-
connected(X,Y).
path(X, Y) :-
connected(X, Z),
path(Z, Y).
% Tema: solutia pentru a elimina ciclurile este sa avem o lista de noduri vizitate
% path(X, Y, Viz)
path1(X, Y, V) :- not(member(X, V)), connected(X,Z), path1(Z, Y, [X|V]).
% Ex. 4 - reprezentarea numerelor naturale ca liste
% 0 = [], 1 = [x], 2 = [x,x]
succesor(L, [x | L]).
plus(L1,L2, LR) :- append(L1,L2,LR).
times([], _, []).
times([x | T], L2, LR) :-
times(T, L2, ListTail),
plus(L2, ListTail, LR).
% Ex. 5 - al n-lea element intr-o lista
% element_at/3, element_at(+List, +Index, -ElemDePeIndex).
element_at([H|_], 0, H).
element_at([_|T], Index, Result):-
NewIndex is Index-1,
element_at(T, NewIndex, Result).
% Ex. 6 - mutantii
animal(alligator).
animal(tortue).
animal(caribou).
animal(ours).
animal(cheval).
animal(vache).
animal(lapin).
% mutant/1
% name/2 - transforma un sir de caratere intr-o lista cu codurile lor ASCII
mutant(X) :-
animal(Y),
animal(Z),
Y \= Z,
name(Y, Ly),
name(Z, Lz),
append(Y1, Y2, Ly),
append(Y2, _, Lz),
Y2 \= [],
append(Y1, Lz, Lx),
name(X, Lx).
% exista o factorizare a listei Ly Y1 ++ Y2 = Ly
% exista o factorizare a listei Lz Y2 ++ _ = Lz
| 0 | crossword(Var0,Var1,Var2,c,b,t). | false | CHECKING crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=c, Param5=b, Param6=t, ]
CHECKING word : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=FreeVariable (variable) , Param5=FreeVariable (variable) , Param6=FreeVariable (variable) , Param7=FreeVariable (variable) , Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abalone (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=l (variable) , Param6=o (variable) , Param7=n (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=abandon (variable) , Param2=a (variable) , Param3=b (variable) , Param4=a (variable) , Param5=n (variable) , Param6=d (variable) , Param7=o (variable) , Param8=n (variable) , ]
PASSED word : [Param1=anagram (variable) , Param2=a (variable) , Param3=n (variable) , Param4=a (variable) , Param5=g (variable) , Param6=r (variable) , Param7=a (variable) , Param8=m (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=connect (variable) , Param2=c (variable) , Param3=o (variable) , Param4=n (variable) , Param5=n (variable) , Param6=e (variable) , Param7=c (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=elegant (variable) , Param2=e (variable) , Param3=l (variable) , Param4=e (variable) , Param5=g (variable) , Param6=a (variable) , Param7=n (variable) , Param8=t (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
PASSED word : [Param1=enhance (variable) , Param2=e (variable) , Param3=n (variable) , Param4=h (variable) , Param5=a (variable) , Param6=n (variable) , Param7=c (variable) , Param8=e (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=b, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=n, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=o, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=b, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=n, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=o, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=b, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=n, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=o, Param8=FreeVariable (variable) , ]
CHECKING word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED word : [Param1=c, Param2=FreeVariable (variable) , Param3=l, Param4=FreeVariable (variable) , Param5=l, Param6=FreeVariable (variable) , Param7=l, Param8=FreeVariable (variable) , ]
FAILED crossword : [Param1=FreeVariable (variable) , Param2=FreeVariable (variable) , Param3=FreeVariable (variable) , Param4=c, Param5=b, Param6=t, ] | 41 |
End of preview. Expand
in Dataset Viewer.
Dataset with Prolog code / query pairs and execution results.
- Downloads last month
- 47