A message reads back as written #
decode_encode: every message this client writes, read back, is the message it wrote.
A field this client writes and reads back.
Equations
- One or more equations did not get rendered due to their size.
- Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.FieldWF (Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.Field.version n) = (n < 2 ^ 64)
- Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.FieldWF (Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.Field.hash b) = (b.size < 2 ^ 64)
- Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.FieldWF (Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.Field.msgType n) = (n < 2 ^ 64)
- Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.FieldWF (Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.Field.text s) = (s.utf8ByteSize < 2 ^ 64)
- Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.FieldWF (Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.Field.other key raw) = False
- Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.FieldWF (Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.Field.acks b) = (b.size < 2 ^ 64)
- Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.FieldWF (Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.Field.numbers b) = (b.size < 2 ^ 64)
- Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.FieldWF (Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.Field.introducedAt b) = (b.size < 2 ^ 64)
Instances For
theorem
Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.isNull_header
(m n : ℕ)
(rest : List UInt8)
(hm : m < 7)
:
theorem
Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.readIntro_encodeIntro
(i : Introduction)
(rest : List UInt8)
(hn : 1 ≤ i.name.length ∧ i.name.length ≤ maxNameChars ∧ i.readCap.size = readCapSize ∧ i.name.utf8ByteSize < 2 ^ 64)
:
theorem
Cryptlib.Protocols.GroupComm.GroupChatKatzenqt1.Member.Gcm.readFields_flatMap
(fs : List Field)
(acc : Acc)
(rest : List UInt8)
:
(∀ f ∈ fs, FieldWF f) →
readFields fs.length acc (List.flatMap encodeField fs ++ rest) = some (List.foldl Acc.add acc fs, rest)
A message this client writes and reads back as it was.
- intro (i : Introduction) : i ∈ g.introduction → 1 ≤ i.name.length ∧ i.name.length ≤ maxNameChars ∧ i.readCap.size = readCapSize ∧ i.name.utf8ByteSize < 2 ^ 64