¬(thiss.mask ≠ IndexMask || thiss._values.size ≠ thiss.mask + 1 || thiss._keys.size ≠ thiss._values.size || thiss.mask < 0 || thiss._size < 0 || thiss._size >= thiss.mask + 1 || size(thiss) < thiss._size || thiss.extraKeys < 0 || thiss.extraKeys > 3 || arrayCountValidKeysTailRec(thiss._keys, 0, thiss._keys.size) ≠ thiss._size || from ≠ 0 || res ≠ {
val cond: Boolean = (thiss.mask == IndexMask && thiss._values.size == thiss.mask + 1 && thiss._keys.size == thiss._values.size && thiss.mask >= 0 && thiss._size >= 0 && thiss._size < thiss.mask + 1 && size(thiss) >= thiss._size && thiss.extraKeys >= 0 && thiss.extraKeys <= 3 && arrayCountValidKeysTailRec(thiss._keys, 0, thiss._keys.size) == thiss._size && from >= 0) && from <= thiss._keys.size
val res: ListMapLongKey[Long] = {
val t: ListMapLongKey[Long] = if ((thiss.extraKeys & 1) ≠ 0 && (thiss.extraKeys & 2) ≠ 0) {
val inlined: ListMapLongKey[Long] = {
val newList: List[(Long, Long)] = insertStrictlySorted[Long](getCurrentListMapNoExtraKeys(thiss, from).toList, 0, thiss.zeroValue)
assume({
val res: Boolean = choose((empty$140: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](newList, 0)))
res
} && getValueByKey[Long](newList, 0) == Some[Long](thiss.zeroValue))
ListMapLongKey[Long](newList)
}
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue))
assume({
val res: Boolean = choose((empty$141: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue), -9223372036854775808)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue), -9223372036854775808) == Some[Long](thiss.minValue))
res
} else if ((thiss.extraKeys & 1) ≠ 0 && (thiss.extraKeys & 2) == 0) {
val thiss: ListMapLongKey[Long] = getCurrentListMapNoExtraKeys(thiss, from)
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue))
assume({
val res: Boolean = choose((empty$142: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue), 0)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue), 0) == Some[Long](thiss.zeroValue))
res
} else if ((thiss.extraKeys & 2) ≠ 0 && (thiss.extraKeys & 1) == 0) {
val thiss: ListMapLongKey[Long] = getCurrentListMapNoExtraKeys(thiss, from)
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue))
assume({
val res: Boolean = choose((empty$143: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue), -9223372036854775808)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue), -9223372036854775808) == Some[Long](thiss.minValue))
res
} else {
getCurrentListMapNoExtraKeys(thiss, from)
}
val t: Unit = if (from < thiss._keys.size && {
val l: Long = thiss._keys.arr(from)
l ≠ 0.toLong && l ≠ -9223372036854775808
}) {
val tmp: Unit = addStillContains[Long](getCurrentListMapNoExtraKeys(thiss, from), 0, thiss.zeroValue, thiss._keys.arr(from))
val tmp: Unit = addStillContains[Long](getCurrentListMapNoExtraKeys(thiss, from), -9223372036854775808, thiss.minValue, thiss._keys.arr(from))
val tmp: Unit = addApplyDifferent[Long](getCurrentListMapNoExtraKeys(thiss, from), 0, thiss.zeroValue, thiss._keys.arr(from))
addApplyDifferent[Long](getCurrentListMapNoExtraKeys(thiss, from), -9223372036854775808, thiss.minValue, thiss._keys.arr(from))
} else {
()
}
t
}
assume(((thiss.mask == IndexMask && thiss._values.size == thiss.mask + 1 && thiss._keys.size == thiss._values.size && thiss.mask >= 0 && thiss._size >= 0 && thiss._size < thiss.mask + 1 && size(thiss) >= thiss._size && thiss.extraKeys >= 0 && thiss.extraKeys <= 3 && arrayCountValidKeysTailRec(thiss._keys, 0, thiss._keys.size) == thiss._size && (¬(from < thiss._keys.size && {
val l: Long = thiss._keys.arr(from)
l ≠ 0.toLong && l ≠ -9223372036854775808
}) || {
val res: Boolean = choose((empty$144: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, thiss._keys.arr(from))))
res
} && {
val key: Long = thiss._keys.arr(from)
val cond: Boolean = {
val res: Boolean = choose((empty$145: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss._values.arr(from))) && (if ((thiss.extraKeys & 1) ≠ 0) {
{
val res: Boolean = choose((empty$146: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, 0)))
res
} && {
val key: Long = 0
val cond: Boolean = {
val res: Boolean = choose((empty$147: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss.zeroValue
} else {
val res: Boolean = choose((empty$148: Boolean) => true)
¬{
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, 0)))
res
}
})) && (if ((thiss.extraKeys & 2) ≠ 0) {
{
val res: Boolean = choose((empty$149: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, -9223372036854775808)))
res
} && {
val key: Long = -9223372036854775808
val cond: Boolean = {
val res: Boolean = choose((empty$150: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss.minValue
} else {
val res: Boolean = choose((empty$151: Boolean) => true)
¬{
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, -9223372036854775808)))
res
}
}))
res
} || x$2 ≠ () || thiss.mask == IndexMask && thiss._values.size == thiss.mask + 1 && thiss._keys.size == thiss._values.size && thiss.mask >= 0 && thiss._size >= 0 && thiss._size < thiss.mask + 1 && size(thiss) >= thiss._size && thiss.extraKeys >= 0 && thiss.extraKeys <= 3 && arrayCountValidKeysTailRec(thiss._keys, 0, thiss._keys.size) == thiss._size && (if ((thiss.extraKeys & 1) ≠ 0) {
val from: Int = 0
val inlined: ListMapLongKey[Long] = {
val t: Boolean = thiss.mask == IndexMask && thiss._values.size == thiss.mask + 1 && thiss._keys.size == thiss._values.size && thiss.mask >= 0 && thiss._size >= 0 && thiss._size < thiss.mask + 1 && size(thiss) >= thiss._size && thiss.extraKeys >= 0 && thiss.extraKeys <= 3 && arrayCountValidKeysTailRec(thiss._keys, 0, thiss._keys.size) == thiss._size && from >= 0
val res: ListMapLongKey[Long] = {
val t: ListMapLongKey[Long] = if ((thiss.extraKeys & 2) ≠ 0) {
val inlined: ListMapLongKey[Long] = {
val newList: List[(Long, Long)] = insertStrictlySorted[Long](getCurrentListMapNoExtraKeys(thiss, from).toList, 0, thiss.zeroValue)
assume({
val res: Boolean = choose((empty$152: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](newList, 0)))
res
} && getValueByKey[Long](newList, 0) == Some[Long](thiss.zeroValue))
ListMapLongKey[Long](newList)
}
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue))
assume({
val res: Boolean = choose((empty$153: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue), -9223372036854775808)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue), -9223372036854775808) == Some[Long](thiss.minValue))
res
} else if ((thiss.extraKeys & 2) == 0) {
val thiss: ListMapLongKey[Long] = getCurrentListMapNoExtraKeys(thiss, from)
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue))
assume({
val res: Boolean = choose((empty$154: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue), 0)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue), 0) == Some[Long](thiss.zeroValue))
res
} else if (false) {
val thiss: ListMapLongKey[Long] = getCurrentListMapNoExtraKeys(thiss, from)
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue))
assume({
val res: Boolean = choose((empty$155: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue), -9223372036854775808)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue), -9223372036854775808) == Some[Long](thiss.minValue))
res
} else {
getCurrentListMapNoExtraKeys(thiss, from)
}
val t: Unit = if (from < thiss._keys.size && {
val l: Long = thiss._keys.arr(from)
l ≠ 0.toLong && l ≠ -9223372036854775808
}) {
val tmp: Unit = addStillContains[Long](getCurrentListMapNoExtraKeys(thiss, from), 0, thiss.zeroValue, thiss._keys.arr(from))
val tmp: Unit = addStillContains[Long](getCurrentListMapNoExtraKeys(thiss, from), -9223372036854775808, thiss.minValue, thiss._keys.arr(from))
val tmp: Unit = addApplyDifferent[Long](getCurrentListMapNoExtraKeys(thiss, from), 0, thiss.zeroValue, thiss._keys.arr(from))
addApplyDifferent[Long](getCurrentListMapNoExtraKeys(thiss, from), -9223372036854775808, thiss.minValue, thiss._keys.arr(from))
} else {
()
}
t
}
assume(((thiss.mask == IndexMask && thiss._values.size == thiss.mask + 1 && thiss._keys.size == thiss._values.size && thiss.mask >= 0 && thiss._size >= 0 && thiss._size < thiss.mask + 1 && size(thiss) >= thiss._size && thiss.extraKeys >= 0 && thiss.extraKeys <= 3 && arrayCountValidKeysTailRec(thiss._keys, 0, thiss._keys.size) == thiss._size && (¬(from < thiss._keys.size && {
val l: Long = thiss._keys.arr(from)
l ≠ 0.toLong && l ≠ -9223372036854775808
}) || {
val res: Boolean = choose((empty$156: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, thiss._keys.arr(from))))
res
} && {
val key: Long = thiss._keys.arr(from)
val cond: Boolean = {
val res: Boolean = choose((empty$157: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss._values.arr(from))) && {
val res: Boolean = choose((empty$158: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, 0)))
res
} && {
val key: Long = 0
val cond: Boolean = {
val res: Boolean = choose((empty$159: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss.zeroValue) && (if ((thiss.extraKeys & 2) ≠ 0) {
{
val res: Boolean = choose((empty$160: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, -9223372036854775808)))
res
} && {
val key: Long = -9223372036854775808
val cond: Boolean = {
val res: Boolean = choose((empty$161: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss.minValue
} else {
val res: Boolean = choose((empty$162: Boolean) => true)
¬{
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, -9223372036854775808)))
res
}
}))
res
}
val res: Boolean = choose((empty$163: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](inlined.toList, 0)))
res
} else {
val from: Int = 0
val inlined: ListMapLongKey[Long] = {
val t: Boolean = thiss.mask == IndexMask && thiss._values.size == thiss.mask + 1 && thiss._keys.size == thiss._values.size && thiss.mask >= 0 && thiss._size >= 0 && thiss._size < thiss.mask + 1 && size(thiss) >= thiss._size && thiss.extraKeys >= 0 && thiss.extraKeys <= 3 && arrayCountValidKeysTailRec(thiss._keys, 0, thiss._keys.size) == thiss._size && from >= 0
val res: ListMapLongKey[Long] = {
val t: ListMapLongKey[Long] = if ((thiss.extraKeys & 1) ≠ 0 && (thiss.extraKeys & 2) ≠ 0) {
val inlined: ListMapLongKey[Long] = {
val newList: List[(Long, Long)] = insertStrictlySorted[Long](getCurrentListMapNoExtraKeys(thiss, from).toList, 0, thiss.zeroValue)
assume({
val res: Boolean = choose((empty$164: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](newList, 0)))
res
} && getValueByKey[Long](newList, 0) == Some[Long](thiss.zeroValue))
ListMapLongKey[Long](newList)
}
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue))
assume({
val res: Boolean = choose((empty$165: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue), -9223372036854775808)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](inlined.toList, -9223372036854775808, thiss.minValue), -9223372036854775808) == Some[Long](thiss.minValue))
res
} else if ((thiss.extraKeys & 1) ≠ 0 && (thiss.extraKeys & 2) == 0) {
val thiss: ListMapLongKey[Long] = getCurrentListMapNoExtraKeys(thiss, from)
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue))
assume({
val res: Boolean = choose((empty$166: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue), 0)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, 0, thiss.zeroValue), 0) == Some[Long](thiss.zeroValue))
res
} else if ((thiss.extraKeys & 2) ≠ 0 && (thiss.extraKeys & 1) == 0) {
val thiss: ListMapLongKey[Long] = getCurrentListMapNoExtraKeys(thiss, from)
val res: ListMapLongKey[Long] = ListMapLongKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue))
assume({
val res: Boolean = choose((empty$167: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue), -9223372036854775808)))
res
} && getValueByKey[Long](insertStrictlySorted[Long](thiss.toList, -9223372036854775808, thiss.minValue), -9223372036854775808) == Some[Long](thiss.minValue))
res
} else {
getCurrentListMapNoExtraKeys(thiss, from)
}
val t: Unit = if (from < thiss._keys.size && {
val l: Long = thiss._keys.arr(from)
l ≠ 0.toLong && l ≠ -9223372036854775808
}) {
val tmp: Unit = addStillContains[Long](getCurrentListMapNoExtraKeys(thiss, from), 0, thiss.zeroValue, thiss._keys.arr(from))
val tmp: Unit = addStillContains[Long](getCurrentListMapNoExtraKeys(thiss, from), -9223372036854775808, thiss.minValue, thiss._keys.arr(from))
val tmp: Unit = addApplyDifferent[Long](getCurrentListMapNoExtraKeys(thiss, from), 0, thiss.zeroValue, thiss._keys.arr(from))
addApplyDifferent[Long](getCurrentListMapNoExtraKeys(thiss, from), -9223372036854775808, thiss.minValue, thiss._keys.arr(from))
} else {
()
}
t
}
assume(((thiss.mask == IndexMask && thiss._values.size == thiss.mask + 1 && thiss._keys.size == thiss._values.size && thiss.mask >= 0 && thiss._size >= 0 && thiss._size < thiss.mask + 1 && size(thiss) >= thiss._size && thiss.extraKeys >= 0 && thiss.extraKeys <= 3 && arrayCountValidKeysTailRec(thiss._keys, 0, thiss._keys.size) == thiss._size && (¬(from < thiss._keys.size && {
val l: Long = thiss._keys.arr(from)
l ≠ 0.toLong && l ≠ -9223372036854775808
}) || {
val res: Boolean = choose((empty$168: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, thiss._keys.arr(from))))
res
} && {
val key: Long = thiss._keys.arr(from)
val cond: Boolean = {
val res: Boolean = choose((empty$169: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss._values.arr(from))) && (if ((thiss.extraKeys & 1) ≠ 0) {
{
val res: Boolean = choose((empty$170: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, 0)))
res
} && {
val key: Long = 0
val cond: Boolean = {
val res: Boolean = choose((empty$171: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss.zeroValue
} else {
val res: Boolean = choose((empty$172: Boolean) => true)
¬{
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, 0)))
res
}
})) && (if ((thiss.extraKeys & 2) ≠ 0) {
{
val res: Boolean = choose((empty$173: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, -9223372036854775808)))
res
} && {
val key: Long = -9223372036854775808
val cond: Boolean = {
val res: Boolean = choose((empty$174: Boolean) => true)
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, key)))
res
}
get[Long](getValueByKey[Long](res.toList, key))
} == thiss.minValue
} else {
val res: Boolean = choose((empty$175: Boolean) => true)
¬{
assume(¬res || isDefined[Long](getValueByKey[Long](res.toList, -9223372036854775808)))
res
}
}))
res
}
val res: Boolean = choose((empty$176: Boolean) => true)
¬{
assume(¬res || isDefined[Long](getValueByKey[Long](inlined.toList, 0)))
res
}
}))