Repository navigation
Expand file tree
/
Copy pathBytecode.lean
More file actions
76 lines (64 loc) · 5.22 KB
/
Copy pathBytecode.lean
File metadata and controls
76 lines (64 loc) · 5.22 KB
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
import Ethereum.Semantics
import Reasoning.JumpDest
/-!
# FePackedStore bytecode
Generated by `scripts/scaffold.py lean` from `runtime.hex` and `creation.hex`; do not edit.
Runtime: 315 bytes (315 executable, 0 metadata); creation: 335 bytes.
-/
open Ethereum Ethereum.EVM
namespace FeProofs.PackedStore
set_option maxRecDepth 50000000
set_option maxHeartbeats 0
private def fePackedStoreRuntimeChunk0 : ByteArray :=
⟨#[
0x36, 0x60, 0x04, 0x90, 0x10, 0x60, 0x3e, 0x57, 0x5f, 0x35, 0x60, 0xe0, 0x1c, 0x63, 0x92, 0xcf, 0x1e, 0xf5, 0x81, 0x10, 0x60, 0xea, 0x57, 0x63,
0x92, 0xcf, 0x1e, 0xf5, 0x81, 0x14, 0x60, 0x38, 0x57, 0x63, 0x9b, 0xc3, 0x9d, 0x3c, 0x81, 0x14, 0x60, 0x8a, 0x57, 0x63, 0xf2, 0x6f, 0xee, 0xc9,
0x81, 0x14, 0x60, 0xbc, 0x57, 0x60, 0x3e, 0x56, 0x5b, 0x34, 0x15, 0x60, 0x42, 0x57, 0x5b, 0x5f, 0x5f, 0xfd, 0x5b, 0x36, 0x60, 0x04, 0x90, 0x03,
0x60, 0x40, 0x90, 0x12, 0x60, 0x3e, 0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x80, 0x54, 0x60, 0xff, 0x19, 0x16,
0x60, 0x04, 0x35, 0x60, 0xff, 0x16, 0x17, 0x90, 0x55, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x80, 0x54, 0x61, 0xff,
0x00, 0x19, 0x16, 0x60, 0x24, 0x35, 0x60, 0xff, 0x16, 0x60, 0x08, 0x1b, 0x17, 0x90, 0x55, 0x5f, 0x5f, 0xf3, 0x5b, 0x34, 0x60, 0x3e, 0x57, 0x36,
0x60, 0x04, 0x90, 0x03, 0x60, 0x20, 0x90, 0x12, 0x60, 0x3e, 0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x80, 0x54,
0x61, 0xff, 0x00, 0x19, 0x16, 0x60, 0x04, 0x35, 0x60, 0xff, 0x16, 0x60, 0x08, 0x1b, 0x17, 0x90, 0x55, 0x5f, 0x5f, 0xf3, 0x5b, 0x34, 0x60, 0x3e,
0x57, 0x36, 0x60, 0x04, 0x90, 0x03, 0x60, 0x20, 0x90, 0x12, 0x60, 0x3e, 0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20,
0x80, 0x54, 0x60, 0xff, 0x19, 0x16, 0x60, 0x04, 0x35, 0x60, 0xff, 0x16, 0x17, 0x90, 0x55, 0x5f, 0x5f, 0xf3, 0x5b, 0x63, 0x05, 0x4c, 0x1a, 0x75,
0x81, 0x14, 0x61, 0x01, 0x04, 0x57, 0x63, 0x90, 0xbb, 0x7b, 0x44, 0x81, 0x14, 0x61, 0x01, 0x21, 0x57, 0x60, 0x3e, 0x56, 0x5b, 0x34, 0x60, 0x3e,
0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x54, 0x60, 0x08, 0x1c, 0x60, 0xff, 0x16, 0x5f, 0x52, 0x60, 0x20, 0x5f,
0xf3, 0x5b, 0x34, 0x60, 0x3e, 0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x54, 0x60, 0xff, 0x16, 0x5f, 0x52, 0x60,
0x20, 0x5f, 0xf3
]⟩
def fePackedStoreBytecode : ByteArray :=
fePackedStoreRuntimeChunk0
/-- The `JUMPDEST` set of `fePackedStoreBytecode`, computed from the deployed runtime bytecode. -/
@[valid_jumps] theorem validJumps :
Ethereum.EVM.D_J fePackedStoreBytecode 0
= #[
⟨56⟩, ⟨62⟩, ⟨66⟩, ⟨138⟩, ⟨188⟩, ⟨234⟩, ⟨260⟩, ⟨289⟩
] := by
native_decide
private def fePackedStoreCreationChunk0 : ByteArray :=
⟨#[
0x34, 0x15, 0x60, 0x08, 0x57, 0x5f, 0x5f, 0xfd, 0x5b, 0x60, 0x14, 0x61, 0x01, 0x3b, 0x80, 0x91, 0x5f, 0x39, 0x5f, 0xf3, 0x36, 0x60, 0x04, 0x90,
0x10, 0x60, 0x3e, 0x57, 0x5f, 0x35, 0x60, 0xe0, 0x1c, 0x63, 0x92, 0xcf, 0x1e, 0xf5, 0x81, 0x10, 0x60, 0xea, 0x57, 0x63, 0x92, 0xcf, 0x1e, 0xf5,
0x81, 0x14, 0x60, 0x38, 0x57, 0x63, 0x9b, 0xc3, 0x9d, 0x3c, 0x81, 0x14, 0x60, 0x8a, 0x57, 0x63, 0xf2, 0x6f, 0xee, 0xc9, 0x81, 0x14, 0x60, 0xbc,
0x57, 0x60, 0x3e, 0x56, 0x5b, 0x34, 0x15, 0x60, 0x42, 0x57, 0x5b, 0x5f, 0x5f, 0xfd, 0x5b, 0x36, 0x60, 0x04, 0x90, 0x03, 0x60, 0x40, 0x90, 0x12,
0x60, 0x3e, 0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x80, 0x54, 0x60, 0xff, 0x19, 0x16, 0x60, 0x04, 0x35, 0x60,
0xff, 0x16, 0x17, 0x90, 0x55, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x80, 0x54, 0x61, 0xff, 0x00, 0x19, 0x16, 0x60,
0x24, 0x35, 0x60, 0xff, 0x16, 0x60, 0x08, 0x1b, 0x17, 0x90, 0x55, 0x5f, 0x5f, 0xf3, 0x5b, 0x34, 0x60, 0x3e, 0x57, 0x36, 0x60, 0x04, 0x90, 0x03,
0x60, 0x20, 0x90, 0x12, 0x60, 0x3e, 0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x80, 0x54, 0x61, 0xff, 0x00, 0x19,
0x16, 0x60, 0x04, 0x35, 0x60, 0xff, 0x16, 0x60, 0x08, 0x1b, 0x17, 0x90, 0x55, 0x5f, 0x5f, 0xf3, 0x5b, 0x34, 0x60, 0x3e, 0x57, 0x36, 0x60, 0x04,
0x90, 0x03, 0x60, 0x20, 0x90, 0x12, 0x60, 0x3e, 0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x80, 0x54, 0x60, 0xff,
0x19, 0x16, 0x60, 0x04, 0x35, 0x60, 0xff, 0x16, 0x17, 0x90, 0x55, 0x5f, 0x5f, 0xf3, 0x5b, 0x63, 0x05, 0x4c, 0x1a, 0x75, 0x81, 0x14, 0x61, 0x01,
0x04, 0x57, 0x63, 0x90, 0xbb, 0x7b, 0x44, 0x81, 0x14, 0x61, 0x01, 0x21, 0x57, 0x60, 0x3e, 0x56, 0x5b, 0x34, 0x60, 0x3e, 0x57, 0x5f, 0x5f, 0x52,
0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x54, 0x60, 0x08, 0x1c, 0x60, 0xff, 0x16, 0x5f, 0x52, 0x60, 0x20, 0x5f, 0xf3, 0x5b, 0x34, 0x60,
0x3e, 0x57, 0x5f, 0x5f, 0x52, 0x5f, 0x60, 0x20, 0x52, 0x60, 0x40, 0x5f, 0x20, 0x54, 0x60, 0xff, 0x16, 0x5f, 0x52, 0x60, 0x20, 0x5f, 0xf3
]⟩
def fePackedStoreCreationBytecode : ByteArray :=
fePackedStoreCreationChunk0
/-- The `JUMPDEST` set of `fePackedStoreCreationBytecode`, computed from the creation bytecode. -/
@[valid_jumps] theorem creationValidJumps :
Ethereum.EVM.D_J fePackedStoreCreationBytecode 0
= #[
⟨8⟩, ⟨76⟩, ⟨82⟩, ⟨86⟩, ⟨158⟩, ⟨208⟩, ⟨254⟩, ⟨280⟩, ⟨309⟩
] := by
native_decide
end FeProofs.PackedStore