| 1 |
========================================== |
| 2 |
reduce in META-LEVEL : sortLeq(fmod 'FOO is |
| 3 |
nil |
| 4 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 5 |
subsort 'NzNat < 'Nat . |
| 6 |
subsort 'NzNat < 'NzInt . |
| 7 |
subsort 'Nat < 'Int . |
| 8 |
subsort 'NzInt < 'Int . |
| 9 |
none |
| 10 |
none |
| 11 |
none |
| 12 |
endfm, 'NzNat, 'Int) . |
| 13 |
rewrites: 1 |
| 14 |
result Bool: true |
| 15 |
========================================== |
| 16 |
reduce in META-LEVEL : sortLeq(fmod 'FOO is |
| 17 |
nil |
| 18 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 19 |
subsort 'NzNat < 'Nat . |
| 20 |
subsort 'NzNat < 'NzInt . |
| 21 |
subsort 'Nat < 'Int . |
| 22 |
subsort 'NzInt < 'Int . |
| 23 |
none |
| 24 |
none |
| 25 |
none |
| 26 |
endfm, 'Int, 'NzInt) . |
| 27 |
rewrites: 1 |
| 28 |
result Bool: false |
| 29 |
========================================== |
| 30 |
reduce in META-LEVEL : sameKind(fmod 'FOO is |
| 31 |
nil |
| 32 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 33 |
subsort 'NzNat < 'Nat . |
| 34 |
subsort 'NzNat < 'NzInt . |
| 35 |
subsort 'Nat < 'Int . |
| 36 |
subsort 'NzInt < 'Int . |
| 37 |
none |
| 38 |
none |
| 39 |
none |
| 40 |
endfm, '`[Int`], 'NzInt) . |
| 41 |
rewrites: 1 |
| 42 |
result Bool: true |
| 43 |
========================================== |
| 44 |
reduce in META-LEVEL : sameKind(fmod 'FOO is |
| 45 |
protecting 'BOOL . |
| 46 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 47 |
subsort 'NzNat < 'Nat . |
| 48 |
subsort 'NzNat < 'NzInt . |
| 49 |
subsort 'Nat < 'Int . |
| 50 |
subsort 'NzInt < 'Int . |
| 51 |
none |
| 52 |
none |
| 53 |
none |
| 54 |
endfm, '`[Int`], 'Bool) . |
| 55 |
rewrites: 1 |
| 56 |
result Bool: false |
| 57 |
========================================== |
| 58 |
reduce in META-LEVEL : leastSort(fmod 'FOO is |
| 59 |
protecting 'FLOAT . |
| 60 |
sorts none . |
| 61 |
none |
| 62 |
none |
| 63 |
none |
| 64 |
none |
| 65 |
endfm, 'pi.Float) . |
| 66 |
rewrites: 1 |
| 67 |
result Sort: 'FiniteFloat |
| 68 |
========================================== |
| 69 |
reduce in META-LEVEL : completeName(fmod 'FOO is |
| 70 |
protecting 'BOOL . |
| 71 |
sorts 'NzNat ; 'Nat ; 'NzInt . |
| 72 |
subsort 'NzNat < 'Nat . |
| 73 |
subsort 'NzNat < 'NzInt . |
| 74 |
none |
| 75 |
none |
| 76 |
none |
| 77 |
endfm, '`[NzInt`]) . |
| 78 |
rewrites: 1 |
| 79 |
result Kind: '`[NzInt`,Nat`] |
| 80 |
========================================== |
| 81 |
reduce in META-LEVEL : completeName(fmod 'FOO is |
| 82 |
protecting 'BOOL . |
| 83 |
sorts 'NzNat ; 'Nat ; 'NzInt . |
| 84 |
subsort 'NzNat < 'Nat . |
| 85 |
subsort 'NzNat < 'NzInt . |
| 86 |
none |
| 87 |
none |
| 88 |
none |
| 89 |
endfm, '`[NzInt`,Nat`]) . |
| 90 |
rewrites: 1 |
| 91 |
result Kind: '`[NzInt`,Nat`] |
| 92 |
========================================== |
| 93 |
reduce in META-LEVEL : lesserSorts(fmod 'FOO is |
| 94 |
protecting 'BOOL . |
| 95 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 96 |
subsort 'NzNat < 'Nat . |
| 97 |
subsort 'NzNat < 'NzInt . |
| 98 |
subsort 'Nat < 'Int . |
| 99 |
subsort 'NzInt < 'Int . |
| 100 |
none |
| 101 |
none |
| 102 |
none |
| 103 |
endfm, 'Int) . |
| 104 |
rewrites: 1 |
| 105 |
result NeSortSet: 'Nat ; 'NzInt ; 'NzNat |
| 106 |
========================================== |
| 107 |
reduce in META-LEVEL : lesserSorts(fmod 'FOO is |
| 108 |
protecting 'BOOL . |
| 109 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 110 |
subsort 'NzNat < 'Nat . |
| 111 |
subsort 'NzNat < 'NzInt . |
| 112 |
subsort 'Nat < 'Int . |
| 113 |
subsort 'NzInt < 'Int . |
| 114 |
none |
| 115 |
none |
| 116 |
none |
| 117 |
endfm, 'NzNat) . |
| 118 |
rewrites: 1 |
| 119 |
result EmptyQidSet: (none).EmptyQidSet |
| 120 |
========================================== |
| 121 |
reduce in META-LEVEL : lesserSorts(fmod 'FOO is |
| 122 |
protecting 'BOOL . |
| 123 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 124 |
subsort 'NzNat < 'Nat . |
| 125 |
subsort 'NzNat < 'NzInt . |
| 126 |
subsort 'Nat < 'Int . |
| 127 |
subsort 'NzInt < 'Int . |
| 128 |
none |
| 129 |
none |
| 130 |
none |
| 131 |
endfm, 'Nat) . |
| 132 |
rewrites: 1 |
| 133 |
result Sort: 'NzNat |
| 134 |
========================================== |
| 135 |
reduce in META-LEVEL : glbSorts(fmod 'FOO is |
| 136 |
protecting 'BOOL . |
| 137 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 138 |
subsort 'NzNat < 'Nat . |
| 139 |
subsort 'NzNat < 'NzInt . |
| 140 |
subsort 'Nat < 'Int . |
| 141 |
subsort 'NzInt < 'Int . |
| 142 |
none |
| 143 |
none |
| 144 |
none |
| 145 |
endfm, 'Nat, 'NzInt) . |
| 146 |
rewrites: 1 |
| 147 |
result Sort: 'NzNat |
| 148 |
========================================== |
| 149 |
reduce in META-LEVEL : glbSorts(fmod 'FOO is |
| 150 |
protecting 'BOOL . |
| 151 |
sorts 'NzNat ; 'Nat ; 'Int ; 'NzInt . |
| 152 |
subsort 'NzNat < 'Nat . |
| 153 |
subsort 'NzNat < 'NzInt . |
| 154 |
subsort 'Nat < 'Int . |
| 155 |
subsort 'NzInt < 'Int . |
| 156 |
none |
| 157 |
none |
| 158 |
none |
| 159 |
endfm, 'Nat, 'Int) . |
| 160 |
rewrites: 1 |
| 161 |
result Sort: 'Nat |
| 162 |
========================================== |
| 163 |
reduce in META-LEVEL : glbSorts(fmod 'FOO is |
| 164 |
protecting 'BOOL . |
| 165 |
sorts 'Nat ; 'Int ; 'NzInt . |
| 166 |
subsort 'Nat < 'Int . |
| 167 |
subsort 'NzInt < 'Int . |
| 168 |
none |
| 169 |
none |
| 170 |
none |
| 171 |
endfm, 'Nat, 'NzInt) . |
| 172 |
rewrites: 1 |
| 173 |
result EmptyQidSet: (none).EmptyQidSet |
| 174 |
========================================== |
| 175 |
reduce in META-LEVEL : getKind(fmod 'FOO is |
| 176 |
protecting 'FLOAT . |
| 177 |
sorts 'Bar ; 'Foo . |
| 178 |
subsort 'Bar < 'Foo . |
| 179 |
op 'a : nil -> 'Foo [none] . |
| 180 |
mb 'a.Foo : 'Bar [none] . |
| 181 |
none |
| 182 |
endfm, 'Foo) . |
| 183 |
rewrites: 1 |
| 184 |
result Kind: '`[Foo`] |
| 185 |
========================================== |
| 186 |
reduce in META-LEVEL : getKind(fmod 'FOO is |
| 187 |
protecting 'FLOAT . |
| 188 |
sorts 'Bar ; 'Foo . |
| 189 |
subsort 'Bar < 'Foo . |
| 190 |
op 'a : nil -> 'Foo [none] . |
| 191 |
mb 'a.Foo : 'Bar [none] . |
| 192 |
none |
| 193 |
endfm, 'Bar) . |
| 194 |
rewrites: 1 |
| 195 |
result Kind: '`[Foo`] |
| 196 |
========================================== |
| 197 |
reduce in META-LEVEL : getKind(fmod 'FOO is |
| 198 |
protecting 'FLOAT . |
| 199 |
sorts 'Bar ; 'Foo . |
| 200 |
subsort 'Bar < 'Foo . |
| 201 |
op 'a : nil -> 'Foo [none] . |
| 202 |
mb 'a.Foo : 'Bar [none] . |
| 203 |
none |
| 204 |
endfm, '`[Bar`]) . |
| 205 |
rewrites: 1 |
| 206 |
result Kind: '`[Foo`] |
| 207 |
========================================== |
| 208 |
reduce in META-LEVEL : getKinds(fmod 'FOO is |
| 209 |
nil |
| 210 |
sorts none . |
| 211 |
none |
| 212 |
none |
| 213 |
none |
| 214 |
none |
| 215 |
endfm) . |
| 216 |
rewrites: 1 |
| 217 |
result EmptyQidSet: (none).EmptyQidSet |
| 218 |
========================================== |
| 219 |
reduce in META-LEVEL : getKinds(fmod 'FOO is |
| 220 |
protecting 'BOOL . |
| 221 |
sorts none . |
| 222 |
none |
| 223 |
none |
| 224 |
none |
| 225 |
none |
| 226 |
endfm) . |
| 227 |
rewrites: 1 |
| 228 |
result Kind: '`[Bool`] |
| 229 |
========================================== |
| 230 |
reduce in META-LEVEL : getKinds(fmod 'FOO is |
| 231 |
protecting 'META-LEVEL . |
| 232 |
sorts none . |
| 233 |
none |
| 234 |
none |
| 235 |
none |
| 236 |
none |
| 237 |
endfm) . |
| 238 |
rewrites: 1 |
| 239 |
result NeKindSet: '`[AttrSet`] ; '`[Bool`] ; '`[Condition`] ; '`[EquationSet`] |
| 240 |
; '`[FindResult`,NatList`,Bound`,Parent`] ; '`[HookList`] ; '`[ImportList`] |
| 241 |
; '`[MatchingProblem`] ; '`[MembAxSet`] ; '`[ModuleExpression`,ParameterList`,GTermList`,QidSet`,QidList`,TypeListSet`,Type?`,Header`] ; '`[Module`] ; |
| 242 |
'`[NarrowingApplyResult?`] ; '`[NarrowingSearchPathResult?`] ; |
| 243 |
'`[NarrowingSearchResult?`] ; '`[NarrowingTrace`] ; '`[OpDeclSet`] ; |
| 244 |
'`[OpMappingSet`] ; '`[ParameterDeclList`] ; '`[PrintOptionSet`] ; |
| 245 |
'`[RenamingSet`] ; '`[Result4Tuple?`] ; '`[ResultPair?`] ; |
| 246 |
'`[ResultTriple?`] ; '`[RuleSet`] ; '`[SmtResult?`] ; '`[SortMappingSet`] ; |
| 247 |
'`[SrewriteOption`] ; '`[StratDeclSet`] ; '`[StratDefSet`] ; |
| 248 |
'`[StratMappingSet`] ; '`[StrategyList`,Strategy?`] ; '`[String`] ; |
| 249 |
'`[SubsortDeclSet`] ; '`[Substitution?`] ; '`[Trace?`] ; |
| 250 |
'`[UnificationPair?`,MatchOrUnificationPair`,MatchPair?`] ; |
| 251 |
'`[UnificationProblem`] ; '`[UnificationTriple?`] ; '`[UsingPairSet`] ; |
| 252 |
'`[Variant?`] ; '`[VariantOptionSet`] ; '`[View`] |
| 253 |
========================================== |
| 254 |
reduce in META-LEVEL : maximalSorts(fmod 'FOO is |
| 255 |
protecting 'META-LEVEL . |
| 256 |
sorts none . |
| 257 |
none |
| 258 |
none |
| 259 |
none |
| 260 |
none |
| 261 |
endfm, '`[Qid`]) . |
| 262 |
rewrites: 1 |
| 263 |
result NeSortSet: 'GTermList ; 'Header ; 'ModuleExpression ; 'ParameterList ; |
| 264 |
'QidList ; 'QidSet ; 'Type? ; 'TypeListSet |
| 265 |
========================================== |
| 266 |
reduce in META-LEVEL : minimalSorts(fmod 'FOO is |
| 267 |
protecting 'META-LEVEL . |
| 268 |
sorts none . |
| 269 |
none |
| 270 |
none |
| 271 |
none |
| 272 |
none |
| 273 |
endfm, '`[Qid`]) . |
| 274 |
rewrites: 1 |
| 275 |
result NeSortSet: 'Constant ; 'Context ; 'EmptyCommaList ; 'EmptyQidSet ; 'Kind |
| 276 |
; 'Sort ; 'Variable |
| 277 |
========================================== |
| 278 |
reduce in META-LEVEL : maximalSorts(fmod 'FOO is |
| 279 |
protecting 'META-LEVEL . |
| 280 |
sorts none . |
| 281 |
none |
| 282 |
none |
| 283 |
none |
| 284 |
none |
| 285 |
endfm, 'Qid) . |
| 286 |
rewrites: 0 |
| 287 |
result [ModuleExpression,ParameterList,GTermList,QidSet,QidList,TypeListSet, |
| 288 |
Type?,Header]: maximalSorts(fmod 'FOO is |
| 289 |
protecting 'META-LEVEL . |
| 290 |
sorts none . |
| 291 |
none |
| 292 |
none |
| 293 |
none |
| 294 |
none |
| 295 |
endfm, 'Qid) |
| 296 |
========================================== |
| 297 |
reduce in META-LEVEL : minimalSorts(fmod 'FOO is |
| 298 |
protecting 'META-LEVEL . |
| 299 |
sorts none . |
| 300 |
none |
| 301 |
none |
| 302 |
none |
| 303 |
none |
| 304 |
endfm, 'Qid) . |
| 305 |
rewrites: 0 |
| 306 |
result [ModuleExpression,ParameterList,GTermList,QidSet,QidList,TypeListSet, |
| 307 |
Type?,Header]: minimalSorts(fmod 'FOO is |
| 308 |
protecting 'META-LEVEL . |
| 309 |
sorts none . |
| 310 |
none |
| 311 |
none |
| 312 |
none |
| 313 |
none |
| 314 |
endfm, 'Qid) |
| 315 |
========================================== |
| 316 |
reduce in META-LEVEL : maximalAritySet(['RAT], '_+_, 'Nat 'Nat, 'PosRat) . |
| 317 |
rewrites: 2 |
| 318 |
result TypeListSet: 'Nat 'PosRat ; 'PosRat 'Nat ; 'PosRat 'PosRat |
| 319 |
========================================== |
| 320 |
reduce in META-LEVEL : maximalAritySet(['RAT], '_+_, 'Nat 'Nat, 'Rat) . |
| 321 |
rewrites: 2 |
| 322 |
result NeTypeList: 'Rat 'Rat |
| 323 |
========================================== |
| 324 |
reduce in META-LEVEL : maximalAritySet(['RAT], '_/_, 'Nat 'Nat, 'Nat) . |
| 325 |
rewrites: 2 |
| 326 |
result EmptyQidSet: (none).EmptyQidSet |
| 327 |
========================================== |
| 328 |
reduce in META-LEVEL : maximalAritySet(['META-LEVEL], '_;_, 'TypeSet 'TypeSet, |
| 329 |
'KindSet) . |
| 330 |
rewrites: 2 |
| 331 |
result NeTypeList: 'KindSet 'KindSet |
| 332 |
========================================== |
| 333 |
reduce in META-LEVEL : maximalAritySet(['NAT], '0, nil, 'Nat) . |
| 334 |
rewrites: 2 |
| 335 |
result TypeList: (nil).TypeList |
| 336 |
========================================== |
| 337 |
reduce in META-LEVEL : glbSorts(['RAT], '`[Int`], 'Int) . |
| 338 |
rewrites: 2 |
| 339 |
result Sort: 'Int |
| 340 |
Bye. |