Use Vector type for AES-GCM specification

Open
#146 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Domain
backend

Research direction

Read the AES-GCM functional specification and trace where lists of BitVec are used. Rework those definitions to use vectors, then check whether length information simplifies type inference and removes the need for manually defined length theorems; the issue does not name files or tests.

Written by the indexing model from the issue text.

Description

Currently, List type is used when we refer to a list of BitVec in functional specification of AES-GCM. This means information on the length of the list of BitVecs are lost. This can cause trouble when type inference requires knowing the length of the lists -- theorems would have to be defined manually for the length of lists. Rework the AES-GCM specification to use Vector type to see if it can simplify definitions.

Dominant language
Lean
Stars
128
Forks
31
Avg merge
1d 15h
Merged PRs (30d)
10

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from leanprover/LNSym

All issues in leanprover/LNSym

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.