• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Riscv
        • Bitcoin
        • Ethereum
          • Mmp-trees
            • Mmp-encode-n/c
              • Mmp-encode-c
                • Mmp-encode-u
                • Mmp-encode-n
              • Mmp-encode-c-max
              • Mmp-encode
              • Mmp-write
              • Mmp-decode
              • Mmp-encode-u-map
              • Nibblelist-bytelist-map-sup-len-key
              • Mmp-encode-c-forall
              • Mmp-read
              • Mmp-encoding-p
              • Bytelist-to-nibblelist-keys
              • Mmp-encode-c-exists
              • Bytelist-bytelist-map
              • Nibblelist-bytelist-map
            • Semaphore
            • Database
            • Cryptography
            • Rlp
            • Transactions
            • Hex-prefix
            • Basics
            • Addresses
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Mmp-encode-n/c

    Mmp-encode-c

    Signature
    (mmp-encode-c map i) → (mv error? root database)
    Arguments
    map — Guard (nibblelist-bytelist-mapp map).
    i — Guard (natp i).
    Returns
    error? — Type (member-eq error? '(nil :collision :rlp)).
    root — Type (byte-listp root).
    database — Type (databasep database).