GeneralNewtypeResolution.dfy(28,10): Error: a newtype ('NotNumeric0') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(29,10): Error: a newtype ('NotNumeric1') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(30,10): Error: a newtype ('NotNumeric2') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(34,10): Error: a newtype ('MyOrdinal') must be based on some numeric type (got ORDINAL)
GeneralNewtypeResolution.dfy(40,10): Error: a newtype ('MyObject') must be based on some numeric type (got object)
GeneralNewtypeResolution.dfy(41,10): Error: a newtype ('MyTrait') must be based on some numeric type (got Trait)
GeneralNewtypeResolution.dfy(42,10): Error: a newtype ('MyReferenceTrait') must be based on some numeric type (got ReferenceTrait)
GeneralNewtypeResolution.dfy(43,10): Error: a newtype ('MyCell?') must be based on some numeric type (got Cell?)
GeneralNewtypeResolution.dfy(44,10): Error: a newtype ('MyCell') must be based on some numeric type (got Cell)
GeneralNewtypeResolution.dfy(69,10): Error: a newtype ('NotNumeric') must be based on some numeric type (got True)
GeneralNewtypeResolution.dfy(70,10): Error: a newtype ('NotNumeric'') must be based on some numeric type (got True)
GeneralNewtypeResolution.dfy(75,10): Error: a newtype ('MyOrdinal') must be based on some numeric type (got NonFiveOrdinal)
GeneralNewtypeResolution.dfy(85,10): Error: a newtype ('MyTrait') must be based on some numeric type (got NonFiveTrait)
GeneralNewtypeResolution.dfy(86,10): Error: a newtype ('MyReferenceTrait') must be based on some numeric type (got NonFiveReferenceTrait)
GeneralNewtypeResolution.dfy(87,10): Error: a newtype ('MyCell?') must be based on some numeric type (got NonFiveCell?)
GeneralNewtypeResolution.dfy(88,10): Error: a newtype ('MyCell') must be based on some numeric type (got NonFiveCell)
GeneralNewtypeResolution.dfy(92,10): Error: a newtype ('TrueBool') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(93,10): Error: a newtype ('FalseBool') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(106,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(107,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(110,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(111,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(114,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(115,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(118,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(119,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(122,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(123,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(133,10): Error: a newtype ('MyBool') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(134,10): Error: a newtype ('AnyBool') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(135,10): Error: a newtype ('TrueBool') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(140,10): Error: a newtype ('FermatBool') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(145,10): Error: a newtype ('GhostBool') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(189,10): Error: a newtype ('TrueAsCanBe') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(197,10): Error: a newtype ('MyChar') must be based on some numeric type (got char)
GeneralNewtypeResolution.dfy(198,10): Error: a newtype ('UpperCase') must be based on some numeric type (got char)
GeneralNewtypeResolution.dfy(215,11): Error: arguments to <= must have a common supertype (got UpperCase and MyChar)
GeneralNewtypeResolution.dfy(216,11): Error: arguments to >= must have a common supertype (got UpperCase and MyChar)
GeneralNewtypeResolution.dfy(214,11): Error: arguments to < must have a common supertype (got UpperCase and MyChar)
GeneralNewtypeResolution.dfy(217,11): Error: arguments to > must have a common supertype (got UpperCase and MyChar)
GeneralNewtypeResolution.dfy(206,11): Error: arguments must have comparable types (got MyChar and UpperCase)
GeneralNewtypeResolution.dfy(231,8): Error: Duplicate local-variable name: d
GeneralNewtypeResolution.dfy(233,8): Error: Duplicate local-variable name: v
GeneralNewtypeResolution.dfy(228,16): Error: type of right argument to + (UpperCase) must agree with the result type (MyChar)
GeneralNewtypeResolution.dfy(229,17): Error: type of right argument to + (MyChar) must agree with the result type (char)
GeneralNewtypeResolution.dfy(245,10): Error: a newtype ('BV') must be based on some numeric type (got bv17)
GeneralNewtypeResolution.dfy(246,10): Error: a newtype ('Word') must be based on some numeric type (got bv32)
GeneralNewtypeResolution.dfy(247,10): Error: a newtype ('Big') must be based on some numeric type (got bv1024)
GeneralNewtypeResolution.dfy(266,11): Error: type of right argument to + (Word) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(268,11): Error: type of right argument to * (bv17) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(269,11): Error: type of right argument to / (bv32) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(270,11): Error: type of right argument to % (bv1024) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(275,11): Error: type of right argument to & (BV) must agree with the result type (bv17)
GeneralNewtypeResolution.dfy(275,6): Error: RHS (of type bv17) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(276,11): Error: type of right argument to | (BV) must agree with the result type (bv32)
GeneralNewtypeResolution.dfy(276,6): Error: RHS (of type bv32) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(277,11): Error: type of right argument to ^ (BV) must agree with the result type (Big)
GeneralNewtypeResolution.dfy(277,6): Error: RHS (of type Big) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(282,16): Error: type of left argument to << (bv32) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(283,16): Error: type of left argument to >> (bv32) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(267,11): Error: type of right argument to - (BV) must agree with the result type (Big)
GeneralNewtypeResolution.dfy(286,11): Error: member 'RotateLeft' does not exist in newtype 'BV'
GeneralNewtypeResolution.dfy(287,11): Error: member 'RotateRight' does not exist in newtype 'BV'
GeneralNewtypeResolution.dfy(288,11): Error: member 'RotateLeft' does not exist in newtype 'BV'
GeneralNewtypeResolution.dfy(289,6): Error: RHS (of type bv32) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(294,11): Error: arguments to <= must have a common supertype (got BV and bv32)
GeneralNewtypeResolution.dfy(295,11): Error: arguments to >= must have a common supertype (got BV and bv1024)
GeneralNewtypeResolution.dfy(293,11): Error: arguments to < must have a common supertype (got BV and bv17)
GeneralNewtypeResolution.dfy(296,11): Error: arguments to > must have a common supertype (got BV and Big)
GeneralNewtypeResolution.dfy(256,11): Error: arguments must have comparable types (got BV and Word)
GeneralNewtypeResolution.dfy(257,11): Error: arguments must have comparable types (got BV and bv17)
GeneralNewtypeResolution.dfy(258,11): Error: arguments must have comparable types (got BV and bv32)
GeneralNewtypeResolution.dfy(259,11): Error: arguments must have comparable types (got BV and int)
GeneralNewtypeResolution.dfy(260,11): Error: arguments must have comparable types (got BV and int32)
GeneralNewtypeResolution.dfy(302,6): Error: RHS (of type Word) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(303,6): Error: RHS (of type Big) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(304,6): Error: RHS (of type bv17) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(305,6): Error: RHS (of type bv32) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(306,6): Error: RHS (of type bv1024) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(307,6): Error: RHS (of type int) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(308,6): Error: RHS (of type int32) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(343,10): Error: a newtype ('BV') must be based on some numeric type (got bv17)
GeneralNewtypeResolution.dfy(344,10): Error: a newtype ('Word') must be based on some numeric type (got bv32)
GeneralNewtypeResolution.dfy(345,10): Error: a newtype ('Big') must be based on some numeric type (got bv1024)
GeneralNewtypeResolution.dfy(369,11): Error: member 'RotateLeft' does not exist in newtype 'BV'
GeneralNewtypeResolution.dfy(370,11): Error: member 'RotateRight' does not exist in newtype 'BV'
GeneralNewtypeResolution.dfy(369,25): Error: type conversion to a bitvector-based type is allowed only from numeric and bitvector types, char, and ORDINAL (got ?65)
GeneralNewtypeResolution.dfy(370,33): Error: type conversion to a bitvector-based type is allowed only from numeric and bitvector types, char, and ORDINAL (got ?67)
GeneralNewtypeResolution.dfy(395,10): Error: a newtype ('BV') must be based on some numeric type (got bv17)
GeneralNewtypeResolution.dfy(399,11): Error: member 'RotateLeft' does not exist in newtype 'BV'
GeneralNewtypeResolution.dfy(403,11): Error: member 'RotateRight' does not exist in newtype 'BV'
GeneralNewtypeResolution.dfy(408,10): Error: a newtype ('BV') must be based on some numeric type (got bv17)
GeneralNewtypeResolution.dfy(409,10): Error: a newtype ('Word') must be based on some numeric type (got bv32)
GeneralNewtypeResolution.dfy(411,10): Error: a newtype ('GhostBits') must be based on some numeric type (got bv109)
GeneralNewtypeResolution.dfy(443,31): Error: a newtype ('BB0') must be based on some numeric type (got bv325)
GeneralNewtypeResolution.dfy(444,31): Error: a newtype ('BB1') must be based on some numeric type (got bv325)
GeneralNewtypeResolution.dfy(452,31): Error: a newtype ('ZZ0') must be based on some numeric type (got bv0)
GeneralNewtypeResolution.dfy(453,32): Error: a newtype ('ZZ1') must be based on some numeric type (got bv0)
GeneralNewtypeResolution.dfy(454,33): Error: a newtype ('ZZ2') must be based on some numeric type (got bv0)
GeneralNewtypeResolution.dfy(456,32): Error: a newtype ('WW0') must be based on some numeric type (got bv7)
GeneralNewtypeResolution.dfy(457,33): Error: a newtype ('WW1') must be based on some numeric type (got bv7)
GeneralNewtypeResolution.dfy(458,33): Error: a newtype ('WW2') must be based on some numeric type (got bv7)
GeneralNewtypeResolution.dfy(460,32): Error: a newtype ('D0') must be based on some numeric type (got bv13)
GeneralNewtypeResolution.dfy(512,12): Error: an expression of type 'int' is not run-time checkable to be a 'QUp'
GeneralNewtypeResolution.dfy(513,12): Error: an expression of type 'int' is not run-time checkable to be a 'QDown'
GeneralNewtypeResolution.dfy(514,12): Error: an expression of type 'set<int>' is not run-time checkable to be a 'QQUp'
GeneralNewtypeResolution.dfy(515,12): Error: an expression of type 'set<int>' is not run-time checkable to be a 'QQDown'
GeneralNewtypeResolution.dfy(516,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral0'
GeneralNewtypeResolution.dfy(517,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral1'
GeneralNewtypeResolution.dfy(518,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral2'
GeneralNewtypeResolution.dfy(519,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral3'
GeneralNewtypeResolution.dfy(520,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral4'
GeneralNewtypeResolution.dfy(533,4): Error: forall statements in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce or compile a bounded set of values for 'i'
GeneralNewtypeResolution.dfy(541,10): Error: a newtype ('IntSet') must be based on some numeric type (got set<int>)
GeneralNewtypeResolution.dfy(546,6): Error: RHS (of type IntSet) not assignable to LHS (of type set<int>)
GeneralNewtypeResolution.dfy(547,6): Error: RHS (of type set<int>) not assignable to LHS (of type IntSet)
GeneralNewtypeResolution.dfy(554,10): Error: a newtype ('GeneralArrow') must be based on some numeric type (got int ~> real)
GeneralNewtypeResolution.dfy(555,10): Error: a newtype ('PartialArrow') must be based on some numeric type (got (bv8, bv9, char) ~> (ghost int, ghost bv2))
GeneralNewtypeResolution.dfy(556,10): Error: a newtype ('TotalArrow') must be based on some numeric type (got () -> bool)
GeneralNewtypeResolution.dfy(559,10): Error: a newtype ('NewtypeOnArrowSubsetType') must be based on some numeric type (got ArrowSubsetType)
GeneralNewtypeResolution.dfy(563,10): Error: a newtype ('NewSmallTrait') must be based on some numeric type (got SmallTrait)
GeneralNewtypeResolution.dfy(566,10): Error: a newtype ('NewRestrictedOrdinal') must be based on some numeric type (got SmallTrait)
GeneralNewtypeResolution.dfy(570,10): Error: a newtype ('MySequence') must be based on some numeric type (got seq<int>)
GeneralNewtypeResolution.dfy(571,10): Error: a newtype ('AnotherSequence') must be based on some numeric type (got seq<int>)
GeneralNewtypeResolution.dfy(576,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (seq<int>)
GeneralNewtypeResolution.dfy(577,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (seq<int>)
GeneralNewtypeResolution.dfy(578,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (seq<int>)
GeneralNewtypeResolution.dfy(579,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (seq<int>)
GeneralNewtypeResolution.dfy(594,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (AnotherSequence)
GeneralNewtypeResolution.dfy(595,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (AnotherSequence)
GeneralNewtypeResolution.dfy(596,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (AnotherSequence)
GeneralNewtypeResolution.dfy(597,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (AnotherSequence)
GeneralNewtypeResolution.dfy(621,10): Error: resulting sequence (seq<?94>) type does not agree with source sequence type (MySequence)
GeneralNewtypeResolution.dfy(622,10): Error: resulting sequence (seq<?95>) type does not agree with source sequence type (MySequence)
GeneralNewtypeResolution.dfy(623,10): Error: resulting sequence (seq<?96>) type does not agree with source sequence type (MySequence)
GeneralNewtypeResolution.dfy(624,10): Error: resulting sequence (seq<?97>) type does not agree with source sequence type (MySequence)
GeneralNewtypeResolution.dfy(647,10): Error: a newtype ('MyBool') must be based on some numeric type (got bool)
GeneralNewtypeResolution.dfy(657,11): Error: Function body type mismatch (expected MyBool, got bool)
GeneralNewtypeResolution.dfy(661,11): Error: Function body type mismatch (expected MyBool, got int)
GeneralNewtypeResolution.dfy(662,4): Error: boolean literal used as if it had type int
GeneralNewtypeResolution.dfy(662,4): Error: type of && must be a boolean (got int)
GeneralNewtypeResolution.dfy(670,11): Error: Function body type mismatch (expected MyBool, got bool)
GeneralNewtypeResolution.dfy(675,12): Error: Function body type mismatch (expected bool, got MyBool)
GeneralNewtypeResolution.dfy(679,12): Error: Function body type mismatch (expected bool, got MyBool)
GeneralNewtypeResolution.dfy(683,12): Error: Function body type mismatch (expected bool, got MyBool)
GeneralNewtypeResolution.dfy(701,10): Error: a newtype ('Wrapper') must be based on some numeric type (got G)
GeneralNewtypeResolution.dfy(705,10): Error: boolean literal used as if it had type Wrapper<?0>
GeneralNewtypeResolution.dfy(710,7): Error: RHS (of type bool) not assignable to LHS (of type Wrapper<?2>)
GeneralNewtypeResolution.dfy(715,7): Error: RHS (of type bool) not assignable to LHS (of type Wrapper<bool>)
GeneralNewtypeResolution.dfy(720,12): Error: type conversion target type not determined (got 'Wrapper<?4>')
GeneralNewtypeResolution.dfy(759,12): Error: type conversion target type not determined (got '?4')
GeneralNewtypeResolution.dfy(798,12): Error: type conversion target type not determined (got '?4')
GeneralNewtypeResolution.dfy(830,10): Error: a newtype ('Co0') must be based on some numeric type (got seq<int -> X>)
GeneralNewtypeResolution.dfy(831,10): Error: a newtype ('Co1') must be based on some numeric type (got seq<int -> X>)
GeneralNewtypeResolution.dfy(832,10): Error: a newtype ('Co2') must be based on some numeric type (got seq<int -> X>)
GeneralNewtypeResolution.dfy(833,10): Error: a newtype ('Co3') must be based on some numeric type (got seq<int -> X>)
GeneralNewtypeResolution.dfy(834,10): Error: a newtype ('Co4') must be based on some numeric type (got seq<int -> X>)
GeneralNewtypeResolution.dfy(836,10): Error: a newtype ('Contra0') must be based on some numeric type (got seq<X -> int>)
GeneralNewtypeResolution.dfy(837,10): Error: a newtype ('Contra1') must be based on some numeric type (got seq<X -> int>)
GeneralNewtypeResolution.dfy(838,10): Error: a newtype ('Contra2') must be based on some numeric type (got seq<X -> int>)
GeneralNewtypeResolution.dfy(839,10): Error: a newtype ('Contra3') must be based on some numeric type (got seq<X -> int>)
GeneralNewtypeResolution.dfy(840,10): Error: a newtype ('Contra4') must be based on some numeric type (got seq<X -> int>)
GeneralNewtypeResolution.dfy(853,10): Error: a newtype ('A0') must be based on some numeric type (got NeedsEq<Y>)
GeneralNewtypeResolution.dfy(854,10): Error: a newtype ('A1') must be based on some numeric type (got NeedsAutoInit<Y>)
GeneralNewtypeResolution.dfy(855,10): Error: a newtype ('A2') must be based on some numeric type (got NeedsNonempty<Y>)
GeneralNewtypeResolution.dfy(856,10): Error: a newtype ('A3') must be based on some numeric type (got NeedsNoReferences<Y>)
GeneralNewtypeResolution.dfy(858,10): Error: a newtype ('B0') must be based on some numeric type (got NeedsEq<Z>)
GeneralNewtypeResolution.dfy(859,10): Error: a newtype ('B1') must be based on some numeric type (got NeedsAutoInit<Z>)
GeneralNewtypeResolution.dfy(860,10): Error: a newtype ('B2') must be based on some numeric type (got NeedsNonempty<Z>)
GeneralNewtypeResolution.dfy(861,10): Error: a newtype ('B3') must be based on some numeric type (got NeedsNoReferences<Z>)
GeneralNewtypeResolution.dfy(881,10): Error: a newtype ('A0') must be based on some numeric type (got NeedsEq<Y>)
GeneralNewtypeResolution.dfy(895,9): Error: type parameters are not allowed to be renamed from the names given in the type in the module being refined (expected 'T', found 'U')
GeneralNewtypeResolution.dfy(899,4): Error: type parameter 'V' is not allowed to change the requirement of supporting auto-initialization
GeneralNewtypeResolution.dfy(900,4): Error: type parameter 'W' is not allowed to change the requirement of supporting auto-initialization
GeneralNewtypeResolution.dfy(901,4): Error: type parameter 'X' is not allowed to change the requirement of being nonempty
GeneralNewtypeResolution.dfy(902,4): Error: type parameter 'Y' is not allowed to change the requirement of supporting equality
GeneralNewtypeResolution.dfy(903,4): Error: type parameter 'YY' is not allowed to change the requirement of supporting equality
GeneralNewtypeResolution.dfy(904,4): Error: type parameter 'Z' is not allowed to change the no-reference-type requirement
GeneralNewtypeResolution.dfy(905,4): Error: type parameter 'ZZ' is not allowed to change the no-reference-type requirement
GeneralNewtypeResolution.dfy(910,5): Error: type parameter 'A' is not allowed to change variance (here, from '+' to '-')
GeneralNewtypeResolution.dfy(911,5): Error: type parameter 'B' is not allowed to change variance (here, from '=' to '+')
GeneralNewtypeResolution.dfy(912,4): Error: type parameter 'C' is not allowed to change variance (here, from '-' to '=')
GeneralNewtypeResolution.dfy(917,12): Error: type parameters are not allowed to be renamed from the names given in the newtype in the module being refined (expected 'T', found 'U')
GeneralNewtypeResolution.dfy(921,4): Error: type parameter 'V' is not allowed to change the requirement of supporting auto-initialization
GeneralNewtypeResolution.dfy(922,4): Error: type parameter 'W' is not allowed to change the requirement of supporting auto-initialization
GeneralNewtypeResolution.dfy(923,4): Error: type parameter 'X' is not allowed to change the requirement of being nonempty
GeneralNewtypeResolution.dfy(924,4): Error: type parameter 'Y' is not allowed to change the requirement of supporting equality
GeneralNewtypeResolution.dfy(925,4): Error: type parameter 'YY' is not allowed to change the requirement of supporting equality
GeneralNewtypeResolution.dfy(926,4): Error: type parameter 'Z' is not allowed to change the no-reference-type requirement
GeneralNewtypeResolution.dfy(927,4): Error: type parameter 'ZZ' is not allowed to change the no-reference-type requirement
GeneralNewtypeResolution.dfy(932,5): Error: type parameter 'A' is not allowed to change variance (here, from '+' to '-')
GeneralNewtypeResolution.dfy(933,5): Error: type parameter 'B' is not allowed to change variance (here, from '=' to '+')
GeneralNewtypeResolution.dfy(934,4): Error: type parameter 'C' is not allowed to change variance (here, from '-' to '=')
GeneralNewtypeResolution.dfy(940,10): Error: recursive constraint dependency involving a newtype: A -> A
GeneralNewtypeResolution.dfy(945,10): Error: recursive constraint dependency involving a newtype: A -> A
GeneralNewtypeResolution.dfy(950,7): Error: type-synonym cycle: A -> A
GeneralNewtypeResolution.dfy(955,10): Error: recursive constraint dependency involving a newtype: A -> A
197 resolution/type errors detected in GeneralNewtypeResolution.dfy
GeneralNewtypeResolution.dfy(34,10): Error: a newtype ('MyOrdinal') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got ORDINAL)
GeneralNewtypeResolution.dfy(40,10): Error: a newtype ('MyObject') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got object)
GeneralNewtypeResolution.dfy(41,10): Error: a newtype ('MyTrait') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got Trait)
GeneralNewtypeResolution.dfy(42,10): Error: a newtype ('MyReferenceTrait') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got ReferenceTrait)
GeneralNewtypeResolution.dfy(43,10): Error: a newtype ('MyCell?') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got Cell?)
GeneralNewtypeResolution.dfy(44,10): Error: a newtype ('MyCell') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got Cell)
GeneralNewtypeResolution.dfy(75,10): Error: a newtype ('MyOrdinal') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got NonFiveOrdinal)
GeneralNewtypeResolution.dfy(85,10): Error: a newtype ('MyTrait') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got NonFiveTrait)
GeneralNewtypeResolution.dfy(86,10): Error: a newtype ('MyReferenceTrait') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got NonFiveReferenceTrait)
GeneralNewtypeResolution.dfy(87,10): Error: a newtype ('MyCell?') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got NonFiveCell?)
GeneralNewtypeResolution.dfy(88,10): Error: a newtype ('MyCell') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got NonFiveCell)
GeneralNewtypeResolution.dfy(106,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(107,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(110,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(111,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(114,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(115,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(118,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(119,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(122,6): Error: RHS (of type FalseBool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(123,6): Error: RHS (of type bool) not assignable to LHS (of type TrueBool)
GeneralNewtypeResolution.dfy(180,13): Error: an expression of type 'bool' is not run-time checkable to be a 'FermatBool'
GeneralNewtypeResolution.dfy(182,13): Error: an expression of type 'bool' is not run-time checkable to be a 'GhostBool'
GeneralNewtypeResolution.dfy(184,13): Error: an expression of type 'bool' is not run-time checkable to be a 'OnTopOfGhostBool'
GeneralNewtypeResolution.dfy(215,11): Error: arguments to <= must have a common supertype (got UpperCase and MyChar)
GeneralNewtypeResolution.dfy(216,11): Error: arguments to >= must have a common supertype (got UpperCase and MyChar)
GeneralNewtypeResolution.dfy(214,11): Error: arguments to < must have a common supertype (got UpperCase and MyChar)
GeneralNewtypeResolution.dfy(217,11): Error: arguments to > must have a common supertype (got UpperCase and MyChar)
GeneralNewtypeResolution.dfy(206,11): Error: arguments must have comparable types (got MyChar and UpperCase)
GeneralNewtypeResolution.dfy(231,8): Error: Duplicate local-variable name: d
GeneralNewtypeResolution.dfy(233,8): Error: Duplicate local-variable name: v
GeneralNewtypeResolution.dfy(228,16): Error: type of right argument to + (UpperCase) must agree with the result type (MyChar)
GeneralNewtypeResolution.dfy(229,17): Error: type of right argument to + (MyChar) must agree with the result type (char)
GeneralNewtypeResolution.dfy(239,11): Error: type conversion to an int-based type is allowed only from numeric and bitvector types, char, and ORDINAL (got MyChar)
GeneralNewtypeResolution.dfy(240,11): Error: type conversion to an int-based type is allowed only from numeric and bitvector types, char, and ORDINAL (got UpperCase)
GeneralNewtypeResolution.dfy(266,11): Error: type of right argument to + (Word) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(268,11): Error: type of right argument to * (bv17) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(269,11): Error: type of right argument to / (bv32) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(270,11): Error: type of right argument to % (bv1024) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(275,11): Error: type of right argument to & (BV) must agree with the result type (bv17)
GeneralNewtypeResolution.dfy(275,6): Error: RHS (of type bv17) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(276,11): Error: type of right argument to | (BV) must agree with the result type (bv32)
GeneralNewtypeResolution.dfy(276,6): Error: RHS (of type bv32) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(277,11): Error: type of right argument to ^ (BV) must agree with the result type (Big)
GeneralNewtypeResolution.dfy(277,6): Error: RHS (of type Big) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(282,16): Error: type of left argument to << (bv32) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(283,16): Error: type of left argument to >> (bv32) must agree with the result type (BV)
GeneralNewtypeResolution.dfy(267,11): Error: type of right argument to - (BV) must agree with the result type (Big)
GeneralNewtypeResolution.dfy(286,36): Error: incorrect argument type for function parameter 'w' (expected nat, found int32)
GeneralNewtypeResolution.dfy(287,22): Error: incorrect argument type for function parameter 'w' (expected nat, found int32)
GeneralNewtypeResolution.dfy(289,6): Error: RHS (of type bv32) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(294,11): Error: arguments to <= must have a common supertype (got BV and bv32)
GeneralNewtypeResolution.dfy(295,11): Error: arguments to >= must have a common supertype (got BV and bv1024)
GeneralNewtypeResolution.dfy(293,11): Error: arguments to < must have a common supertype (got BV and bv17)
GeneralNewtypeResolution.dfy(296,11): Error: arguments to > must have a common supertype (got BV and Big)
GeneralNewtypeResolution.dfy(256,11): Error: arguments must have comparable types (got BV and Word)
GeneralNewtypeResolution.dfy(257,11): Error: arguments must have comparable types (got BV and bv17)
GeneralNewtypeResolution.dfy(258,11): Error: arguments must have comparable types (got BV and bv32)
GeneralNewtypeResolution.dfy(259,11): Error: arguments must have comparable types (got BV and int)
GeneralNewtypeResolution.dfy(260,11): Error: arguments must have comparable types (got BV and int32)
GeneralNewtypeResolution.dfy(302,6): Error: RHS (of type Word) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(303,6): Error: RHS (of type Big) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(304,6): Error: RHS (of type bv17) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(305,6): Error: RHS (of type bv32) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(306,6): Error: RHS (of type bv1024) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(307,6): Error: RHS (of type int) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(308,6): Error: RHS (of type int32) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(399,6): Error: RHS (of type bv17) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(403,6): Error: RHS (of type bv17) not assignable to LHS (of type BV)
GeneralNewtypeResolution.dfy(422,15): Error: GhostBits is a newtype and its constraint is not compilable, hence it cannot yet be used as the type of a bound variable in set comprehension.
GeneralNewtypeResolution.dfy(411,33): Related location: The constraint is not compilable because a call to a ghost predicate is allowed only in specification contexts (consider declaring the predicate without the 'ghost' keyword)
GeneralNewtypeResolution.dfy(434,13): Error: type conversion to a char type is allowed only from numeric and bitvector types, char, and ORDINAL (got bv5)
GeneralNewtypeResolution.dfy(441,30): Error: :nativeType can only be used on a newtype based on integers or bitvectors
GeneralNewtypeResolution.dfy(443,31): Error: The width of bitvector type bv325 cannot fit into native type 'uint'. Note: constraints of bitvector-based newtypes are not considered when determining native types.
GeneralNewtypeResolution.dfy(444,31): Error: The width of bitvector type bv325 cannot fit into native type 'uint'.
GeneralNewtypeResolution.dfy(452,31): Error: A newtype based on a bitvector type (bv0) cannot use a native type that admits negative values ('long'). Hint: Try using the unsigned native type 'ulong'.
GeneralNewtypeResolution.dfy(454,33): Error: A newtype based on a bitvector type (bv0) cannot use a native type that admits negative values ('number').
GeneralNewtypeResolution.dfy(456,32): Error: A newtype based on a bitvector type (bv7) cannot use a native type that admits negative values ('short'). Hint: Try using the unsigned native type 'ushort'.
GeneralNewtypeResolution.dfy(458,33): Error: A newtype based on a bitvector type (bv7) cannot use a native type that admits negative values ('number').
GeneralNewtypeResolution.dfy(466,31): Error: The width of bitvector type bv13 cannot fit into native type 'byte'. Note: constraints of bitvector-based newtypes are not considered when determining native types.
GeneralNewtypeResolution.dfy(512,12): Error: an expression of type 'int' is not run-time checkable to be a 'QUp'
GeneralNewtypeResolution.dfy(513,12): Error: an expression of type 'int' is not run-time checkable to be a 'QDown'
GeneralNewtypeResolution.dfy(514,12): Error: an expression of type 'set<int>' is not run-time checkable to be a 'QQUp'
GeneralNewtypeResolution.dfy(515,12): Error: an expression of type 'set<int>' is not run-time checkable to be a 'QQDown'
GeneralNewtypeResolution.dfy(516,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral0'
GeneralNewtypeResolution.dfy(517,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral1'
GeneralNewtypeResolution.dfy(518,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral2'
GeneralNewtypeResolution.dfy(519,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral3'
GeneralNewtypeResolution.dfy(520,12): Error: an expression of type 'int' is not run-time checkable to be a 'QSpiral4'
GeneralNewtypeResolution.dfy(533,4): Error: forall statements in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce or compile a bounded set of values for 'i'
GeneralNewtypeResolution.dfy(546,6): Error: RHS (of type IntSet) not assignable to LHS (of type set<int>)
GeneralNewtypeResolution.dfy(547,6): Error: RHS (of type set<int>) not assignable to LHS (of type IntSet)
GeneralNewtypeResolution.dfy(554,10): Error: a newtype ('GeneralArrow') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got int ~> real)
GeneralNewtypeResolution.dfy(555,10): Error: a newtype ('PartialArrow') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got (bv8, bv9, char) ~> (ghost int, ghost bv2))
GeneralNewtypeResolution.dfy(556,10): Error: a newtype ('TotalArrow') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got () -> bool)
GeneralNewtypeResolution.dfy(559,10): Error: a newtype ('NewtypeOnArrowSubsetType') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got ArrowSubsetType)
GeneralNewtypeResolution.dfy(563,10): Error: a newtype ('NewSmallTrait') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got SmallTrait)
GeneralNewtypeResolution.dfy(566,10): Error: a newtype ('NewRestrictedOrdinal') must be based on some non-reference, non-trait, non-arrow, non-ORDINAL, non-datatype type (got SmallTrait)
GeneralNewtypeResolution.dfy(576,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (seq<int>)
GeneralNewtypeResolution.dfy(577,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (seq<int>)
GeneralNewtypeResolution.dfy(578,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (seq<int>)
GeneralNewtypeResolution.dfy(579,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (seq<int>)
GeneralNewtypeResolution.dfy(594,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (AnotherSequence)
GeneralNewtypeResolution.dfy(595,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (AnotherSequence)
GeneralNewtypeResolution.dfy(596,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (AnotherSequence)
GeneralNewtypeResolution.dfy(597,10): Error: resulting sequence (MySequence) type does not agree with source sequence type (AnotherSequence)
GeneralNewtypeResolution.dfy(621,10): Error: resulting sequence (seq<?94>) type does not agree with source sequence type (MySequence)
GeneralNewtypeResolution.dfy(622,10): Error: resulting sequence (seq<?95>) type does not agree with source sequence type (MySequence)
GeneralNewtypeResolution.dfy(623,10): Error: resulting sequence (seq<?96>) type does not agree with source sequence type (MySequence)
GeneralNewtypeResolution.dfy(624,10): Error: resulting sequence (seq<?97>) type does not agree with source sequence type (MySequence)
GeneralNewtypeResolution.dfy(657,11): Error: Function body type mismatch (expected MyBool, got bool)
GeneralNewtypeResolution.dfy(661,11): Error: Function body type mismatch (expected MyBool, got int)
GeneralNewtypeResolution.dfy(662,4): Error: boolean literal used as if it had type int
GeneralNewtypeResolution.dfy(662,4): Error: type of && must be a boolean (got int)
GeneralNewtypeResolution.dfy(670,11): Error: Function body type mismatch (expected MyBool, got bool)
GeneralNewtypeResolution.dfy(675,12): Error: Function body type mismatch (expected bool, got MyBool)
GeneralNewtypeResolution.dfy(679,12): Error: Function body type mismatch (expected bool, got MyBool)
GeneralNewtypeResolution.dfy(683,12): Error: Function body type mismatch (expected bool, got MyBool)
GeneralNewtypeResolution.dfy(705,10): Error: boolean literal used as if it had type Wrapper<?0>
GeneralNewtypeResolution.dfy(710,7): Error: RHS (of type bool) not assignable to LHS (of type Wrapper<?2>)
GeneralNewtypeResolution.dfy(715,7): Error: RHS (of type bool) not assignable to LHS (of type Wrapper<bool>)
GeneralNewtypeResolution.dfy(720,12): Error: type conversion target type not determined (got 'Wrapper<?4>')
GeneralNewtypeResolution.dfy(759,12): Error: type conversion target type not determined (got '?4')
GeneralNewtypeResolution.dfy(798,12): Error: type conversion target type not determined (got '?4')
GeneralNewtypeResolution.dfy(822,32): Error: formal type parameter 'X' is not used according to its variance specification
GeneralNewtypeResolution.dfy(824,24): Error: formal type parameter 'X' is not used according to its variance specification (it is used left of an arrow) (perhaps try declaring 'X' as '-X' or '!X')
GeneralNewtypeResolution.dfy(826,25): Error: formal type parameter 'X' is not used according to its variance specification
GeneralNewtypeResolution.dfy(827,25): Error: formal type parameter 'X' is not used according to its variance specification
GeneralNewtypeResolution.dfy(834,34): Error: formal type parameter 'X' is not used according to its variance specification
GeneralNewtypeResolution.dfy(836,30): Error: formal type parameter 'X' is not used according to its variance specification (it is used left of an arrow) (perhaps try declaring 'X' as '-X' or '!X')
GeneralNewtypeResolution.dfy(838,31): Error: formal type parameter 'X' is not used according to its variance specification
GeneralNewtypeResolution.dfy(839,31): Error: formal type parameter 'X' is not used according to its variance specification
GeneralNewtypeResolution.dfy(853,18): Error: type parameter (X) passed to type NeedsEq must support equality (got Y) (perhaps try declaring type parameter 'Y' on line 853 as 'Y(==)', which says it can only be instantiated with a type that supports equality)
GeneralNewtypeResolution.dfy(854,18): Error: type parameter (X) passed to type NeedsAutoInit must support auto-initialization (got Y) (perhaps try declaring type parameter 'Y' on line 854 as 'Y(0)', which says it can only be instantiated with a type that supports auto-initialization)
GeneralNewtypeResolution.dfy(855,18): Error: type parameter (X) passed to type NeedsNonempty must be nonempty (got Y) (perhaps try declaring type parameter 'Y' on line 855 as 'Y(00)', which says it can only be instantiated with a nonempty type)
GeneralNewtypeResolution.dfy(856,18): Error: type parameter (X) passed to type NeedsNoReferences must contain no references (got Y) (perhaps try declaring type parameter 'Y' on line 856 as 'Y(!new)', which says it can only be instantiated with a type that contains no references)
GeneralNewtypeResolution.dfy(863,15): Error: type parameter (X) passed to type NeedsEq must support equality (got Y) (perhaps try declaring type parameter 'Y' on line 863 as 'Y(==)', which says it can only be instantiated with a type that supports equality)
GeneralNewtypeResolution.dfy(864,15): Error: type parameter (X) passed to type NeedsAutoInit must support auto-initialization (got Y) (perhaps try declaring type parameter 'Y' on line 864 as 'Y(0)', which says it can only be instantiated with a type that supports auto-initialization)
GeneralNewtypeResolution.dfy(865,15): Error: type parameter (X) passed to type NeedsNonempty must be nonempty (got Y) (perhaps try declaring type parameter 'Y' on line 865 as 'Y(00)', which says it can only be instantiated with a nonempty type)
GeneralNewtypeResolution.dfy(866,15): Error: type parameter (X) passed to type NeedsNoReferences must contain no references (got Y) (perhaps try declaring type parameter 'Y' on line 866 as 'Y(!new)', which says it can only be instantiated with a type that contains no references)
GeneralNewtypeResolution.dfy(895,9): Error: type parameters are not allowed to be renamed from the names given in the type in the module being refined (expected 'T', found 'U')
GeneralNewtypeResolution.dfy(899,4): Error: type parameter 'V' is not allowed to change the requirement of supporting auto-initialization
GeneralNewtypeResolution.dfy(900,4): Error: type parameter 'W' is not allowed to change the requirement of supporting auto-initialization
GeneralNewtypeResolution.dfy(901,4): Error: type parameter 'X' is not allowed to change the requirement of being nonempty
GeneralNewtypeResolution.dfy(902,4): Error: type parameter 'Y' is not allowed to change the requirement of supporting equality
GeneralNewtypeResolution.dfy(903,4): Error: type parameter 'YY' is not allowed to change the requirement of supporting equality
GeneralNewtypeResolution.dfy(904,4): Error: type parameter 'Z' is not allowed to change the no-reference-type requirement
GeneralNewtypeResolution.dfy(905,4): Error: type parameter 'ZZ' is not allowed to change the no-reference-type requirement
GeneralNewtypeResolution.dfy(910,5): Error: type parameter 'A' is not allowed to change variance (here, from '+' to '-')
GeneralNewtypeResolution.dfy(911,5): Error: type parameter 'B' is not allowed to change variance (here, from '=' to '+')
GeneralNewtypeResolution.dfy(912,4): Error: type parameter 'C' is not allowed to change variance (here, from '-' to '=')
GeneralNewtypeResolution.dfy(917,12): Error: type parameters are not allowed to be renamed from the names given in the newtype in the module being refined (expected 'T', found 'U')
GeneralNewtypeResolution.dfy(921,4): Error: type parameter 'V' is not allowed to change the requirement of supporting auto-initialization
GeneralNewtypeResolution.dfy(922,4): Error: type parameter 'W' is not allowed to change the requirement of supporting auto-initialization
GeneralNewtypeResolution.dfy(923,4): Error: type parameter 'X' is not allowed to change the requirement of being nonempty
GeneralNewtypeResolution.dfy(924,4): Error: type parameter 'Y' is not allowed to change the requirement of supporting equality
GeneralNewtypeResolution.dfy(925,4): Error: type parameter 'YY' is not allowed to change the requirement of supporting equality
GeneralNewtypeResolution.dfy(926,4): Error: type parameter 'Z' is not allowed to change the no-reference-type requirement
GeneralNewtypeResolution.dfy(927,4): Error: type parameter 'ZZ' is not allowed to change the no-reference-type requirement
GeneralNewtypeResolution.dfy(932,5): Error: type parameter 'A' is not allowed to change variance (here, from '+' to '-')
GeneralNewtypeResolution.dfy(933,5): Error: type parameter 'B' is not allowed to change variance (here, from '=' to '+')
GeneralNewtypeResolution.dfy(934,4): Error: type parameter 'C' is not allowed to change variance (here, from '-' to '=')
GeneralNewtypeResolution.dfy(940,10): Error: recursive constraint dependency involving a newtype: A -> A
GeneralNewtypeResolution.dfy(945,10): Error: recursive constraint dependency involving a newtype: A -> A
GeneralNewtypeResolution.dfy(950,7): Error: type-synonym cycle: A -> A
GeneralNewtypeResolution.dfy(955,10): Error: recursive constraint dependency involving a newtype: A -> A
165 resolution/type errors detected in GeneralNewtypeResolution.dfy
