Debian Codegraph @

tests/Meta/metaWellFormed.expected

raw
1 ==========================================
2 reduce in META-LEVEL : wellFormed(fmod 'FOO is
3 protecting 'FLOAT .
4 sorts 'Bar ; 'Foo .
5 subsort 'Bar < 'Foo .
6 op 'a : nil -> 'Foo [none] .
7 mb 'a.Foo : 'Bar [none] .
8 none
9 endfm) .
10 rewrites: 1
11 result Bool: true
12 ==========================================
13 reduce in META-LEVEL : wellFormed(fmod 'FOO is
14 protecting 'FLOAT .
15 sorts 'Foo .
16 subsort 'Bar < 'Foo .
17 op 'a : nil -> 'Foo [none] .
18 mb 'a.Foo : 'Bar [none] .
19 none
20 endfm) .
21 rewrites: 1
22 result Bool: false
23 ==========================================
24 reduce in META-LEVEL : wellFormed(fmod 'FOO is
25 protecting 'FLOAT .
26 sorts 'Bar ; 'Foo .
27 subsort 'Bar < 'Foo .
28 subsort 'Foo < 'Bar .
29 op 'a : nil -> 'Foo [none] .
30 mb 'a.Foo : 'Bar [none] .
31 none
32 endfm) .
33 Warning: the connected component in the sort graph that contains sort Bar has
34 no maximal sorts due to a cycle.
35 rewrites: 1
36 result Bool: false
37 ==========================================
38 reduce in META-LEVEL : wellFormed(fmod 'FOO is
39 protecting 'FLOAT .
40 sorts 'Bar ; 'Foo .
41 subsort 'Bar < 'Foo .
42 op 'a : nil -> 'Foo [none] .
43 mb 'a.Foo : 'Bar [none] .
44 none
45 endfm, 'a.Foo) .
46 rewrites: 1
47 result Bool: true
48 ==========================================
49 reduce in META-LEVEL : wellFormed(fmod 'FOO is
50 protecting 'FLOAT .
51 sorts 'Bar ; 'Foo .
52 subsort 'Bar < 'Foo .
53 op 'a : nil -> 'Foo [none] .
54 mb 'a.Foo : 'Bar [none] .
55 none
56 endfm, 'b.Foo) .
57 rewrites: 1
58 result Bool: false
59 ==========================================
60 reduce in META-LEVEL : wellFormed(fmod 'FOO is
61 protecting 'FLOAT .
62 sorts 'Bar ; 'Foo .
63 subsort 'Bar < 'Foo .
64 op 'a : nil -> 'Foo [none] .
65 mb 'a.Foo : 'Bar [none] .
66 none
67 endfm,
68 'X:Foo <- 'a.Foo) .
69 rewrites: 2
70 result Bool: true
71 ==========================================
72 reduce in META-LEVEL : wellFormed(fmod 'FOO is
73 protecting 'FLOAT .
74 sorts 'Bar ; 'Foo .
75 subsort 'Bar < 'Foo .
76 op 'a : nil -> 'Foo [none] .
77 mb 'a.Foo : 'Bar [none] .
78 none
79 endfm,
80 'X:Foo <- 'a.Foo ;
81 'Y:Foo <- 'a.Foo) .
82 rewrites: 3
83 result Bool: true
84 ==========================================
85 reduce in META-LEVEL : wellFormed(fmod 'FOO is
86 protecting 'FLOAT .
87 sorts 'Bar ; 'Foo .
88 subsort 'Bar < 'Foo .
89 op 'a : nil -> 'Foo [none] .
90 mb 'a.Foo : 'Bar [none] .
91 none
92 endfm,
93 'X:Foo <- 'a.Foo ;
94 'Y:Foo <- 'b.Foo) .
95 rewrites: 1
96 result Bool: false
97 ==========================================
98 reduce in META-LEVEL : wellFormed(fmod 'FOO is
99 protecting 'FLOAT .
100 sorts 'Bar ; 'Foo .
101 subsort 'Bar < 'Foo .
102 op 'a : nil -> 'Foo [none] .
103 mb 'a.Foo : 'Bar [none] .
104 none
105 endfm, (none).Substitution) .
106 rewrites: 1
107 result Bool: true
108 ==========================================
109 reduce in META-LEVEL : wellFormed(fmod 'FOO is
110 protecting 'FLOAT .
111 sorts 'Bar ; 'Foo .
112 subsort 'Bar < 'Foo .
113 op 'a : nil -> 'Foo [none] .
114 op 'b : nil -> 'Foo [none] .
115 mb 'a.Foo : 'Bar [none] .
116 none
117 endfm,
118 'X:Foo <- 'a.Foo ;
119 'X:Foo <- 'b.Foo) .
120 rewrites: 1
121 result Bool: false
122 ==========================================
123 reduce in META-LEVEL : wellFormed(fmod 'FOO is
124 protecting 'FLOAT .
125 sorts 'Bar ; 'Foo .
126 subsort 'Bar < 'Foo .
127 op 'a : nil -> 'Foo [none] .
128 op 'b : nil -> 'Foo [none] .
129 none
130 none
131 endfm,
132 'X:Bar <- 'a.Foo) .
133 rewrites: 1
134 result Bool: false
135 ==========================================
136 reduce in META-LEVEL : wellFormed(fmod 'FOO is
137 protecting 'BOOL .
138 sorts 'Bar ; 'Foo .
139 subsort 'Bar < 'Foo .
140 op 'a : nil -> 'Foo [none] .
141 op 'b : nil -> 'Foo [none] .
142 mb 'a.Foo : 'Bar [none] .
143 none
144 endfm,
145 'X:Bar <- 'true.Bool) .
146 rewrites: 1
147 result Bool: false
148 ==========================================
149 reduce in META-LEVEL : wellFormed(fmod 'FOO is
150 protecting 'BOOL .
151 sorts 'Bar ; 'Foo .
152 subsort 'Bar < 'Foo .
153 op 'a : nil -> 'Foo [none] .
154 op 'b : nil -> 'Foo [none] .
155 mb 'a.Foo : 'Bar [none] .
156 none
157 endfm,
158 'X:Bool <- 'true.Bool) .
159 rewrites: 1
160 result Bool: true
161 ==========================================
162 reduce in META-LEVEL : wellFormed(mod 'FOO is
163 protecting 'BOOL .
164 sorts 'Bar ; 'Foo .
165 subsort 'Bar < 'Foo .
166 op 'a : nil -> 'Foo [none] .
167 op 'b : nil -> 'Foo [none] .
168 none
169 none
170 rl 'a.Foo => 'b.Foo [label('k)] .
171 endm,
172 'X:Bar <- 'true.Bool) .
173 rewrites: 1
174 result Bool: false
175 Bye.