-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSorts.lean
844 lines (716 loc) · 28 KB
/
Sorts.lean
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
import EvmEquivalence.KEVM2Lean.Prelude
inductive SortStatusCode : Type where
| «.StatusCode_NETWORK_StatusCode» : SortStatusCode
| EVMC_INTERNAL_ERROR_NETWORK_StatusCode : SortStatusCode
| EVMC_REJECTED_NETWORK_StatusCode : SortStatusCode
deriving BEq, DecidableEq
inductive SortScheduleConst : Type where
| Gaccesslistaddress_SCHEDULE_ScheduleConst : SortScheduleConst
| Gaccessliststoragekey_SCHEDULE_ScheduleConst : SortScheduleConst
| Gbalance_SCHEDULE_ScheduleConst : SortScheduleConst
| Gbase_SCHEDULE_ScheduleConst : SortScheduleConst
| Gblockhash_SCHEDULE_ScheduleConst : SortScheduleConst
| Gcall_SCHEDULE_ScheduleConst : SortScheduleConst
| Gcallstipend_SCHEDULE_ScheduleConst : SortScheduleConst
| Gcallvalue_SCHEDULE_ScheduleConst : SortScheduleConst
| Gcodedeposit_SCHEDULE_ScheduleConst : SortScheduleConst
| Gcoldaccountaccess_SCHEDULE_ScheduleConst : SortScheduleConst
| Gcoldsload_SCHEDULE_ScheduleConst : SortScheduleConst
| Gcopy_SCHEDULE_ScheduleConst : SortScheduleConst
| Gcreate_SCHEDULE_ScheduleConst : SortScheduleConst
| Gecadd_SCHEDULE_ScheduleConst : SortScheduleConst
| Gecmul_SCHEDULE_ScheduleConst : SortScheduleConst
| Gecpaircoeff_SCHEDULE_ScheduleConst : SortScheduleConst
| Gecpairconst_SCHEDULE_ScheduleConst : SortScheduleConst
| Gexp_SCHEDULE_ScheduleConst : SortScheduleConst
| Gexpbyte_SCHEDULE_ScheduleConst : SortScheduleConst
| Gextcodecopy_SCHEDULE_ScheduleConst : SortScheduleConst
| Gextcodesize_SCHEDULE_ScheduleConst : SortScheduleConst
| Gfround_SCHEDULE_ScheduleConst : SortScheduleConst
| Ghigh_SCHEDULE_ScheduleConst : SortScheduleConst
| Ginitcodewordcost_SCHEDULE_ScheduleConst : SortScheduleConst
| Gjumpdest_SCHEDULE_ScheduleConst : SortScheduleConst
| Glog_SCHEDULE_ScheduleConst : SortScheduleConst
| Glogdata_SCHEDULE_ScheduleConst : SortScheduleConst
| Glogtopic_SCHEDULE_ScheduleConst : SortScheduleConst
| Glow_SCHEDULE_ScheduleConst : SortScheduleConst
| Gmemory_SCHEDULE_ScheduleConst : SortScheduleConst
| Gmid_SCHEDULE_ScheduleConst : SortScheduleConst
| Gnewaccount_SCHEDULE_ScheduleConst : SortScheduleConst
| Gpointeval_SCHEDULE_ScheduleConst : SortScheduleConst
| Gquadcoeff_SCHEDULE_ScheduleConst : SortScheduleConst
| Gquaddivisor_SCHEDULE_ScheduleConst : SortScheduleConst
| Gselfdestruct_SCHEDULE_ScheduleConst : SortScheduleConst
| Gsha3_SCHEDULE_ScheduleConst : SortScheduleConst
| Gsha3word_SCHEDULE_ScheduleConst : SortScheduleConst
| Gsload_SCHEDULE_ScheduleConst : SortScheduleConst
| Gsstorereset_SCHEDULE_ScheduleConst : SortScheduleConst
| Gsstoreset_SCHEDULE_ScheduleConst : SortScheduleConst
| Gtransaction_SCHEDULE_ScheduleConst : SortScheduleConst
| Gtxcreate_SCHEDULE_ScheduleConst : SortScheduleConst
| Gtxdatanonzero_SCHEDULE_ScheduleConst : SortScheduleConst
| Gtxdatazero_SCHEDULE_ScheduleConst : SortScheduleConst
| Gverylow_SCHEDULE_ScheduleConst : SortScheduleConst
| Gwarmstoragedirtystore_SCHEDULE_ScheduleConst : SortScheduleConst
| Gwarmstorageread_SCHEDULE_ScheduleConst : SortScheduleConst
| Gzero_SCHEDULE_ScheduleConst : SortScheduleConst
| Rb_SCHEDULE_ScheduleConst : SortScheduleConst
| Rmaxquotient_SCHEDULE_ScheduleConst : SortScheduleConst
| Rselfdestruct_SCHEDULE_ScheduleConst : SortScheduleConst
| Rsstoreclear_SCHEDULE_ScheduleConst : SortScheduleConst
| maxCodeSize_SCHEDULE_ScheduleConst : SortScheduleConst
| maxInitCodeSize_SCHEDULE_ScheduleConst : SortScheduleConst
deriving BEq, DecidableEq
inductive SortPushOp : Type where
| PUSHZERO_EVM_PushOp : SortPushOp
deriving BEq, DecidableEq
inductive SortSchedule : Type where
| BERLIN_EVM : SortSchedule
| BYZANTIUM_EVM : SortSchedule
| CANCUN_EVM : SortSchedule
| CONSTANTINOPLE_EVM : SortSchedule
| DEFAULT_EVM : SortSchedule
| FRONTIER_EVM : SortSchedule
| HOMESTEAD_EVM : SortSchedule
| ISTANBUL_EVM : SortSchedule
| LONDON_EVM : SortSchedule
| MERGE_EVM : SortSchedule
| PETERSBURG_EVM : SortSchedule
| SHANGHAI_EVM : SortSchedule
| SPURIOUS_DRAGON_EVM : SortSchedule
| TANGERINE_WHISTLE_EVM : SortSchedule
deriving BEq, DecidableEq
inductive SortTxType : Type where
| «.TxType_EVM-TYPES_TxType» : SortTxType
| «AccessList_EVM-TYPES_TxType» : SortTxType
| «Blob_EVM-TYPES_TxType» : SortTxType
| «DynamicFee_EVM-TYPES_TxType» : SortTxType
| «Legacy_EVM-TYPES_TxType» : SortTxType
deriving BEq, DecidableEq
inductive SortBinStackOp : Type where
| ADD_EVM_BinStackOp : SortBinStackOp
deriving BEq, DecidableEq
inductive SortMode : Type where
| NORMAL : SortMode
| «SUCCESS_ETHEREUM-SIMULATION-PURE_Mode» : SortMode
| VMTESTS : SortMode
deriving BEq, DecidableEq
structure SortStatusCodeCell : Type where
val : SortStatusCode
deriving BEq, DecidableEq
structure SortScheduleCell : Type where
val : SortSchedule
deriving BEq, DecidableEq
structure SortTxTypeCell : Type where
val : SortTxType
deriving BEq, DecidableEq
structure SortBalanceCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortCoinbaseCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortBlockNonceCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortTimestampCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortPreviousHashCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortValueCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortRefundCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortCallDepthCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortBlobGasUsedCell : Type where
val : SortInt
deriving BEq, DecidableEq
inductive SortJSONKey : Type where
| inj_SortInt (x : SortInt) : SortJSONKey
deriving BEq, DecidableEq
structure SortTxChainIDCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortAcctIDCell : Type where
val : SortInt
deriving BEq, DecidableEq
inductive SortWordStack : Type where
| «.WordStack_EVM-TYPES_WordStack» : SortWordStack
| «_:__EVM-TYPES_WordStack_Int_WordStack» (x0 : SortInt) (x1 : SortWordStack) : SortWordStack
deriving BEq, DecidableEq
structure SortGeneratedCounterCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortNumberCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortTxMaxFeeCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortTxGasLimitCell : Type where
val : SortInt
deriving BEq, DecidableEq
inductive SortGas : Type where
| inj_SortInt (x : SortInt) : SortGas
deriving BEq, DecidableEq
structure SortExcessBlobGasCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortTxNonceCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortPcCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortAmountCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortGasLimitCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortTxGasPriceCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortGasPriceCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortMemoryUsedCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortMsgIDCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortWithdrawalIDCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortBeaconRootCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortBaseFeeCell : Type where
val : SortInt
deriving BEq, DecidableEq
inductive SortAccount : Type where
| inj_SortInt (x : SortInt) : SortAccount
| «.Account_EVM-TYPES_Account» : SortAccount
deriving BEq, DecidableEq
structure SortIndexCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortTransactionsRootCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortOmmersHashCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortMixHashCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortCallValueCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortNonceCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortWithdrawalsRootCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortStateRootCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortSigVCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortExitCodeCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortValidatorIndexCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortTxMaxBlobFeeCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortReceiptsRootCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortTxPriorityFeeCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortDifficultyCell : Type where
val : SortInt
deriving BEq, DecidableEq
structure SortChainIDCell : Type where
val : SortInt
deriving BEq, DecidableEq
inductive SortAccountCode : Type where
| inj_SortBytes (x : SortBytes) : SortAccountCode
deriving BEq, DecidableEq
structure SortExtraDataCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortProgramCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortJumpDestsCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortSigSCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortOutputCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortDataCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortCallDataCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortSigRCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortLocalMemCell : Type where
val : SortBytes
deriving BEq, DecidableEq
structure SortLogsBloomCell : Type where
val : SortBytes
deriving BEq, DecidableEq
mutual
inductive SortInternalOp : Type where
| «#next[_]_EVM_InternalOp_MaybeOpCode» (x0 : SortMaybeOpCode) : SortInternalOp
deriving BEq, DecidableEq
inductive SortMaybeOpCode : Type where
| inj_SortBinStackOp (x : SortBinStackOp) : SortMaybeOpCode
| inj_SortInternalOp (x : SortInternalOp) : SortMaybeOpCode
| inj_SortPushOp (x : SortPushOp) : SortMaybeOpCode
deriving BEq, DecidableEq
end
structure SortStaticCell : Type where
val : SortBool
deriving BEq, DecidableEq
structure SortUseGasCell : Type where
val : SortBool
deriving BEq, DecidableEq
structure SortModeCell : Type where
val : SortMode
deriving BEq, DecidableEq
structure SortWordStackCell : Type where
val : SortWordStack
deriving BEq, DecidableEq
structure SortGasCell : Type where
val : SortGas
deriving BEq, DecidableEq
structure SortCallGasCell : Type where
val : SortGas
deriving BEq, DecidableEq
structure SortGasUsedCell : Type where
val : SortGas
deriving BEq, DecidableEq
structure SortIdCell : Type where
val : SortAccount
deriving BEq, DecidableEq
structure SortToCell : Type where
val : SortAccount
deriving BEq, DecidableEq
structure SortAddressCell : Type where
val : SortAccount
deriving BEq, DecidableEq
structure SortOriginCell : Type where
val : SortAccount
deriving BEq, DecidableEq
structure SortCallerCell : Type where
val : SortAccount
deriving BEq, DecidableEq
structure SortCodeCell : Type where
val : SortAccountCode
deriving BEq, DecidableEq
structure SortWithdrawalCell : Type where
withdrawalID : SortWithdrawalIDCell
index : SortIndexCell
validatorIndex : SortValidatorIndexCell
address : SortAddressCell
amount : SortAmountCell
deriving BEq, DecidableEq
structure SortCallStateCell : Type where
program : SortProgramCell
jumpDests : SortJumpDestsCell
id : SortIdCell
caller : SortCallerCell
callData : SortCallDataCell
callValue : SortCallValueCell
wordStack : SortWordStackCell
localMem : SortLocalMemCell
pc : SortPcCell
gas : SortGasCell
memoryUsed : SortMemoryUsedCell
callGas : SortCallGasCell
static : SortStaticCell
callDepth : SortCallDepthCell
deriving BEq, DecidableEq
structure SortWithdrawalCellMap : Type where
coll : List (SortWithdrawalIDCell × SortWithdrawalCell)
deriving BEq, DecidableEq
structure SortWithdrawalsCell : Type where
val : SortWithdrawalCellMap
deriving BEq, DecidableEq
mutual
structure SortAccessedAccountsCell : Type where
val : SortSet
deriving BEq
structure SortAccessedStorageCell : Type where
val : SortMap
deriving BEq
structure SortAccountCell : Type where
acctID : SortAcctIDCell
balance : SortBalanceCell
code : SortCodeCell
storage : SortStorageCell
origStorage : SortOrigStorageCell
transientStorage : SortTransientStorageCell
nonce : SortNonceCell
deriving BEq
structure SortAccountCellMap : Type where
coll : List (SortAcctIDCell × SortAccountCell)
deriving BEq
structure SortAccountsCell : Type where
val : SortAccountCellMap
deriving BEq
structure SortBlockCell : Type where
previousHash : SortPreviousHashCell
ommersHash : SortOmmersHashCell
coinbase : SortCoinbaseCell
stateRoot : SortStateRootCell
transactionsRoot : SortTransactionsRootCell
receiptsRoot : SortReceiptsRootCell
logsBloom : SortLogsBloomCell
difficulty : SortDifficultyCell
number : SortNumberCell
gasLimit : SortGasLimitCell
gasUsed : SortGasUsedCell
timestamp : SortTimestampCell
extraData : SortExtraDataCell
mixHash : SortMixHashCell
blockNonce : SortBlockNonceCell
baseFee : SortBaseFeeCell
withdrawalsRoot : SortWithdrawalsRootCell
blobGasUsed : SortBlobGasUsedCell
excessBlobGas : SortExcessBlobGasCell
beaconRoot : SortBeaconRootCell
ommerBlockHeaders : SortOmmerBlockHeadersCell
deriving BEq
structure SortBlockhashesCell : Type where
val : SortList
deriving BEq
structure SortCallStackCell : Type where
val : SortList
deriving BEq
structure SortCreatedAccountsCell : Type where
val : SortSet
deriving BEq
structure SortEthereumCell : Type where
evm : SortEvmCell
network : SortNetworkCell
deriving BEq
structure SortEvmCell : Type where
output : SortOutputCell
statusCode : SortStatusCodeCell
callStack : SortCallStackCell
interimStates : SortInterimStatesCell
touchedAccounts : SortTouchedAccountsCell
callState : SortCallStateCell
versionedHashes : SortVersionedHashesCell
substate : SortSubstateCell
gasPrice : SortGasPriceCell
origin : SortOriginCell
blockhashes : SortBlockhashesCell
block : SortBlockCell
deriving BEq
structure SortGeneratedTopCell : Type where
kevm : SortKevmCell
generatedCounter : SortGeneratedCounterCell
deriving BEq
structure SortInterimStatesCell : Type where
val : SortList
deriving BEq
inductive SortJSON : Type where
| inj_SortAccount (x : SortAccount) : SortJSON
| inj_SortBool (x : SortBool) : SortJSON
| inj_SortBytes (x : SortBytes) : SortJSON
| inj_SortInt (x : SortInt) : SortJSON
| inj_SortMap (x : SortMap) : SortJSON
| inj_SortTxType (x : SortTxType) : SortJSON
| JSONEntry (x0 : SortJSONKey) (x1 : SortJSON) : SortJSON
| JSONList (x0 : SortJSONs) : SortJSON
| JSONObject (x0 : SortJSONs) : SortJSON
| JSONnull : SortJSON
deriving BEq
inductive SortJSONs : Type where
| «.List{"JSONs"}» : SortJSONs
| JSONs (x0 : SortJSON) (x1 : SortJSONs) : SortJSONs
deriving BEq
inductive SortK : Type where
| dotk : SortK
| kseq (x0 : SortKItem) (x1 : SortK) : SortK
deriving BEq
structure SortKCell : Type where
val : SortK
deriving BEq
inductive SortKItem : Type where
| inj_SortAccessedAccountsCell (x : SortAccessedAccountsCell) : SortKItem
| inj_SortAccessedStorageCell (x : SortAccessedStorageCell) : SortKItem
| inj_SortAccount (x : SortAccount) : SortKItem
| inj_SortAccountCell (x : SortAccountCell) : SortKItem
| inj_SortAccountCellMap (x : SortAccountCellMap) : SortKItem
| inj_SortAccountCode (x : SortAccountCode) : SortKItem
| inj_SortAccountsCell (x : SortAccountsCell) : SortKItem
| inj_SortAcctIDCell (x : SortAcctIDCell) : SortKItem
| inj_SortAddressCell (x : SortAddressCell) : SortKItem
| inj_SortAmountCell (x : SortAmountCell) : SortKItem
| inj_SortBalanceCell (x : SortBalanceCell) : SortKItem
| inj_SortBaseFeeCell (x : SortBaseFeeCell) : SortKItem
| inj_SortBeaconRootCell (x : SortBeaconRootCell) : SortKItem
| inj_SortBinStackOp (x : SortBinStackOp) : SortKItem
| inj_SortBlobGasUsedCell (x : SortBlobGasUsedCell) : SortKItem
| inj_SortBlockCell (x : SortBlockCell) : SortKItem
| inj_SortBlockNonceCell (x : SortBlockNonceCell) : SortKItem
| inj_SortBlockhashesCell (x : SortBlockhashesCell) : SortKItem
| inj_SortBool (x : SortBool) : SortKItem
| inj_SortBytes (x : SortBytes) : SortKItem
| inj_SortCallDataCell (x : SortCallDataCell) : SortKItem
| inj_SortCallDepthCell (x : SortCallDepthCell) : SortKItem
| inj_SortCallGasCell (x : SortCallGasCell) : SortKItem
| inj_SortCallStackCell (x : SortCallStackCell) : SortKItem
| inj_SortCallStateCell (x : SortCallStateCell) : SortKItem
| inj_SortCallValueCell (x : SortCallValueCell) : SortKItem
| inj_SortCallerCell (x : SortCallerCell) : SortKItem
| inj_SortChainIDCell (x : SortChainIDCell) : SortKItem
| inj_SortCodeCell (x : SortCodeCell) : SortKItem
| inj_SortCoinbaseCell (x : SortCoinbaseCell) : SortKItem
| inj_SortCreatedAccountsCell (x : SortCreatedAccountsCell) : SortKItem
| inj_SortDataCell (x : SortDataCell) : SortKItem
| inj_SortDifficultyCell (x : SortDifficultyCell) : SortKItem
| inj_SortEthereumCell (x : SortEthereumCell) : SortKItem
| inj_SortEvmCell (x : SortEvmCell) : SortKItem
| inj_SortExcessBlobGasCell (x : SortExcessBlobGasCell) : SortKItem
| inj_SortExitCodeCell (x : SortExitCodeCell) : SortKItem
| inj_SortExtraDataCell (x : SortExtraDataCell) : SortKItem
| inj_SortGas (x : SortGas) : SortKItem
| inj_SortGasCell (x : SortGasCell) : SortKItem
| inj_SortGasLimitCell (x : SortGasLimitCell) : SortKItem
| inj_SortGasPriceCell (x : SortGasPriceCell) : SortKItem
| inj_SortGasUsedCell (x : SortGasUsedCell) : SortKItem
| inj_SortGeneratedCounterCell (x : SortGeneratedCounterCell) : SortKItem
| inj_SortGeneratedTopCell (x : SortGeneratedTopCell) : SortKItem
| inj_SortIdCell (x : SortIdCell) : SortKItem
| inj_SortIndexCell (x : SortIndexCell) : SortKItem
| inj_SortInt (x : SortInt) : SortKItem
| inj_SortInterimStatesCell (x : SortInterimStatesCell) : SortKItem
| inj_SortInternalOp (x : SortInternalOp) : SortKItem
| inj_SortJSON (x : SortJSON) : SortKItem
| inj_SortJSONKey (x : SortJSONKey) : SortKItem
| inj_SortJSONs (x : SortJSONs) : SortKItem
| inj_SortJumpDestsCell (x : SortJumpDestsCell) : SortKItem
| inj_SortKCell (x : SortKCell) : SortKItem
| inj_SortKevmCell (x : SortKevmCell) : SortKItem
| inj_SortList (x : SortList) : SortKItem
| inj_SortLocalMemCell (x : SortLocalMemCell) : SortKItem
| inj_SortLogCell (x : SortLogCell) : SortKItem
| inj_SortLogsBloomCell (x : SortLogsBloomCell) : SortKItem
| inj_SortMap (x : SortMap) : SortKItem
| inj_SortMaybeOpCode (x : SortMaybeOpCode) : SortKItem
| inj_SortMemoryUsedCell (x : SortMemoryUsedCell) : SortKItem
| inj_SortMessageCell (x : SortMessageCell) : SortKItem
| inj_SortMessageCellMap (x : SortMessageCellMap) : SortKItem
| inj_SortMessagesCell (x : SortMessagesCell) : SortKItem
| inj_SortMixHashCell (x : SortMixHashCell) : SortKItem
| inj_SortMode (x : SortMode) : SortKItem
| inj_SortModeCell (x : SortModeCell) : SortKItem
| inj_SortMsgIDCell (x : SortMsgIDCell) : SortKItem
| inj_SortNetworkCell (x : SortNetworkCell) : SortKItem
| inj_SortNonceCell (x : SortNonceCell) : SortKItem
| inj_SortNumberCell (x : SortNumberCell) : SortKItem
| inj_SortOmmerBlockHeadersCell (x : SortOmmerBlockHeadersCell) : SortKItem
| inj_SortOmmersHashCell (x : SortOmmersHashCell) : SortKItem
| inj_SortOrigStorageCell (x : SortOrigStorageCell) : SortKItem
| inj_SortOriginCell (x : SortOriginCell) : SortKItem
| inj_SortOutputCell (x : SortOutputCell) : SortKItem
| inj_SortPcCell (x : SortPcCell) : SortKItem
| inj_SortPreviousHashCell (x : SortPreviousHashCell) : SortKItem
| inj_SortProgramCell (x : SortProgramCell) : SortKItem
| inj_SortPushOp (x : SortPushOp) : SortKItem
| inj_SortReceiptsRootCell (x : SortReceiptsRootCell) : SortKItem
| inj_SortRefundCell (x : SortRefundCell) : SortKItem
| inj_SortSchedule (x : SortSchedule) : SortKItem
| inj_SortScheduleCell (x : SortScheduleCell) : SortKItem
| inj_SortScheduleConst (x : SortScheduleConst) : SortKItem
| inj_SortSelfDestructCell (x : SortSelfDestructCell) : SortKItem
| inj_SortSet (x : SortSet) : SortKItem
| inj_SortSigRCell (x : SortSigRCell) : SortKItem
| inj_SortSigSCell (x : SortSigSCell) : SortKItem
| inj_SortSigVCell (x : SortSigVCell) : SortKItem
| inj_SortStateRootCell (x : SortStateRootCell) : SortKItem
| inj_SortStaticCell (x : SortStaticCell) : SortKItem
| inj_SortStatusCode (x : SortStatusCode) : SortKItem
| inj_SortStatusCodeCell (x : SortStatusCodeCell) : SortKItem
| inj_SortStorageCell (x : SortStorageCell) : SortKItem
| inj_SortSubstateCell (x : SortSubstateCell) : SortKItem
| inj_SortTimestampCell (x : SortTimestampCell) : SortKItem
| inj_SortToCell (x : SortToCell) : SortKItem
| inj_SortTouchedAccountsCell (x : SortTouchedAccountsCell) : SortKItem
| inj_SortTransactionsRootCell (x : SortTransactionsRootCell) : SortKItem
| inj_SortTransientStorageCell (x : SortTransientStorageCell) : SortKItem
| inj_SortTxAccessCell (x : SortTxAccessCell) : SortKItem
| inj_SortTxChainIDCell (x : SortTxChainIDCell) : SortKItem
| inj_SortTxGasLimitCell (x : SortTxGasLimitCell) : SortKItem
| inj_SortTxGasPriceCell (x : SortTxGasPriceCell) : SortKItem
| inj_SortTxMaxBlobFeeCell (x : SortTxMaxBlobFeeCell) : SortKItem
| inj_SortTxMaxFeeCell (x : SortTxMaxFeeCell) : SortKItem
| inj_SortTxNonceCell (x : SortTxNonceCell) : SortKItem
| inj_SortTxOrderCell (x : SortTxOrderCell) : SortKItem
| inj_SortTxPendingCell (x : SortTxPendingCell) : SortKItem
| inj_SortTxPriorityFeeCell (x : SortTxPriorityFeeCell) : SortKItem
| inj_SortTxType (x : SortTxType) : SortKItem
| inj_SortTxTypeCell (x : SortTxTypeCell) : SortKItem
| inj_SortTxVersionedHashesCell (x : SortTxVersionedHashesCell) : SortKItem
| inj_SortUseGasCell (x : SortUseGasCell) : SortKItem
| inj_SortValidatorIndexCell (x : SortValidatorIndexCell) : SortKItem
| inj_SortValueCell (x : SortValueCell) : SortKItem
| inj_SortVersionedHashesCell (x : SortVersionedHashesCell) : SortKItem
| inj_SortWithdrawalCell (x : SortWithdrawalCell) : SortKItem
| inj_SortWithdrawalCellMap (x : SortWithdrawalCellMap) : SortKItem
| inj_SortWithdrawalIDCell (x : SortWithdrawalIDCell) : SortKItem
| inj_SortWithdrawalsCell (x : SortWithdrawalsCell) : SortKItem
| inj_SortWithdrawalsOrderCell (x : SortWithdrawalsOrderCell) : SortKItem
| inj_SortWithdrawalsPendingCell (x : SortWithdrawalsPendingCell) : SortKItem
| inj_SortWithdrawalsRootCell (x : SortWithdrawalsRootCell) : SortKItem
| inj_SortWordStack (x : SortWordStack) : SortKItem
| inj_SortWordStackCell (x : SortWordStackCell) : SortKItem
| «#accessAccounts__EVM_KItem_Account» (x0 : SortAccount) : SortKItem
| «#accessAccounts__EVM_KItem_Set» (x0 : SortSet) : SortKItem
| «#accessAccounts___EVM_KItem_Account_Account» (x0 : SortAccount) (x1 : SortAccount) : SortKItem
| «#accessAccounts____EVM_KItem_Account_Account_Set» (x0 : SortAccount) (x1 : SortAccount) (x2 : SortSet) : SortKItem
| «#accessStorage___EVM_KItem_Account_Int» (x0 : SortAccount) (x1 : SortInt) : SortKItem
| «#codeDeposit__EVM_KItem_Int» (x0 : SortInt) : SortKItem
| «#finishCodeDeposit___EVM_KItem_Int_Bytes» (x0 : SortInt) (x1 : SortBytes) : SortKItem
| «#freezerCcall1_» (x0 : SortK) (x1 : SortK) (x2 : SortK) (x3 : SortK) (x4 : SortK) : SortKItem
| «#freezerCcallgas1_» (x0 : SortK) (x1 : SortK) (x2 : SortK) (x3 : SortK) (x4 : SortK) : SortKItem
| «#freezerCselfdestruct1_» (x0 : SortK) (x1 : SortK) : SortKItem
| «#initVM_EVM_KItem» : SortKItem
| «#mkCodeDeposit__EVM_KItem_Int» (x0 : SortInt) : SortKItem
| «#return___EVM_KItem_Int_Int» (x0 : SortInt) (x1 : SortInt) : SortKItem
| «#touchAccounts__EVM_KItem_Account» (x0 : SortAccount) : SortKItem
| «#touchAccounts___EVM_KItem_Account_Account» (x0 : SortAccount) (x1 : SortAccount) : SortKItem
| end (x0 : SortStatusCode) : SortKItem
| execute : SortKItem
| halt : SortKItem
| «loadCallState__STATE-UTILS_KItem_JSON» (x0 : SortJSON) : SortKItem
| loadProgram (x0 : SortBytes) : SortKItem
deriving BEq
structure SortKevmCell : Type where
k : SortKCell
exitCode : SortExitCodeCell
mode : SortModeCell
schedule : SortScheduleCell
useGas : SortUseGasCell
ethereum : SortEthereumCell
deriving BEq
structure SortList : Type where
coll : List SortKItem
deriving BEq
structure SortLogCell : Type where
val : SortList
deriving BEq
structure SortMap : Type where
coll : List (SortKItem × SortKItem)
deriving BEq
structure SortMessageCell : Type where
msgID : SortMsgIDCell
txNonce : SortTxNonceCell
txGasPrice : SortTxGasPriceCell
txGasLimit : SortTxGasLimitCell
to : SortToCell
value : SortValueCell
sigV : SortSigVCell
sigR : SortSigRCell
sigS : SortSigSCell
data : SortDataCell
txAccess : SortTxAccessCell
txChainID : SortTxChainIDCell
txPriorityFee : SortTxPriorityFeeCell
txMaxFee : SortTxMaxFeeCell
txType : SortTxTypeCell
txMaxBlobFee : SortTxMaxBlobFeeCell
txVersionedHashes : SortTxVersionedHashesCell
deriving BEq
structure SortMessageCellMap : Type where
coll : List (SortMsgIDCell × SortMessageCell)
deriving BEq
structure SortMessagesCell : Type where
val : SortMessageCellMap
deriving BEq
structure SortNetworkCell : Type where
chainID : SortChainIDCell
accounts : SortAccountsCell
txOrder : SortTxOrderCell
txPending : SortTxPendingCell
messages : SortMessagesCell
withdrawalsPending : SortWithdrawalsPendingCell
withdrawalsOrder : SortWithdrawalsOrderCell
withdrawals : SortWithdrawalsCell
deriving BEq
structure SortOmmerBlockHeadersCell : Type where
val : SortJSON
deriving BEq
structure SortOrigStorageCell : Type where
val : SortMap
deriving BEq
structure SortSelfDestructCell : Type where
val : SortSet
deriving BEq
structure SortSet : Type where
coll : List SortKItem
deriving BEq
structure SortStorageCell : Type where
val : SortMap
deriving BEq
structure SortSubstateCell : Type where
selfDestruct : SortSelfDestructCell
log : SortLogCell
refund : SortRefundCell
accessedAccounts : SortAccessedAccountsCell
accessedStorage : SortAccessedStorageCell
createdAccounts : SortCreatedAccountsCell
deriving BEq
structure SortTouchedAccountsCell : Type where
val : SortSet
deriving BEq
structure SortTransientStorageCell : Type where
val : SortMap
deriving BEq
structure SortTxAccessCell : Type where
val : SortJSON
deriving BEq
structure SortTxOrderCell : Type where
val : SortList
deriving BEq
structure SortTxPendingCell : Type where
val : SortList
deriving BEq
structure SortTxVersionedHashesCell : Type where
val : SortList
deriving BEq
structure SortVersionedHashesCell : Type where
val : SortList
deriving BEq
structure SortWithdrawalsOrderCell : Type where
val : SortList
deriving BEq
structure SortWithdrawalsPendingCell : Type where
val : SortList
deriving BEq
end