-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate
structure
-s where possible (#4731)
Closes #4723 Closes #4732 For cells, if the cell is a leaf, a `structure` with a single field is generated: ```lean structure SortGasCell : Type where val : SortGas ``` If the cell is non-leaf, a `structure` with fields corresponding to subcell names is generated: ```lean structure SortGeneratedTopCell : Type where kevm : SortKevmCell generatedCounter : SortGeneratedCounterCell ``` Additionally, collections have also been changed to `structure`-s: ```lean structure SortMessageCellMap : Type where coll : List (SortMsgIDCell × SortMessageCell) ```
- Loading branch information
1 parent
80ff6f9
commit 57a3bfa
Showing
2 changed files
with
130 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters