Repository navigation
Expand file tree
/
Copy pathBytecode.lean
More file actions
58 lines (46 loc) · 2.51 KB
/
Copy pathBytecode.lean
File metadata and controls
58 lines (46 loc) · 2.51 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
import Ethereum.Semantics
import Reasoning.JumpDest
/-!
# FeScalarStore bytecode
Generated by `scripts/scaffold.py lean` from `runtime.hex` and `creation.hex`; do not edit.
Runtime: 80 bytes (80 executable, 0 metadata); creation: 133 bytes.
-/
open Ethereum Ethereum.EVM
namespace FeProofs.ScalarStore
set_option maxRecDepth 50000000
set_option maxHeartbeats 0
private def feScalarStoreRuntimeChunk0 : ByteArray :=
⟨#[
0x36, 0x60, 0x04, 0x90, 0x10, 0x60, 0x2a, 0x57, 0x5f, 0x35, 0x60, 0xe0, 0x1c, 0x63, 0x60, 0xfe, 0x47, 0xb1, 0x81, 0x14, 0x60, 0x24, 0x57, 0x63,
0x6d, 0x4c, 0xe6, 0x3c, 0x81, 0x14, 0x60, 0x43, 0x57, 0x60, 0x2a, 0x56, 0x5b, 0x34, 0x15, 0x60, 0x2e, 0x57, 0x5b, 0x5f, 0x5f, 0xfd, 0x5b, 0x36,
0x60, 0x04, 0x90, 0x03, 0x60, 0x20, 0x90, 0x12, 0x60, 0x2a, 0x57, 0x60, 0x04, 0x35, 0x5f, 0x55, 0x5f, 0x5f, 0xf3, 0x5b, 0x34, 0x60, 0x2a, 0x57,
0x5f, 0x54, 0x5f, 0x52, 0x60, 0x20, 0x5f, 0xf3
]⟩
def feScalarStoreBytecode : ByteArray :=
feScalarStoreRuntimeChunk0
/-- The `JUMPDEST` set of `feScalarStoreBytecode`, computed from the deployed runtime bytecode. -/
@[valid_jumps] theorem validJumps :
Ethereum.EVM.D_J feScalarStoreBytecode 0
= #[
⟨36⟩, ⟨42⟩, ⟨46⟩, ⟨67⟩
] := by
native_decide
private def feScalarStoreCreationChunk0 : ByteArray :=
⟨#[
0x60, 0x60, 0x60, 0x40, 0x52, 0x34, 0x15, 0x60, 0x0e, 0x57, 0x5b, 0x5f, 0x5f, 0xfd, 0x5b, 0x60, 0x85, 0x38, 0x81, 0x81, 0x10, 0x60, 0x0a, 0x57,
0x81, 0x90, 0x03, 0x80, 0x91, 0x60, 0x60, 0x39, 0x60, 0x20, 0x11, 0x60, 0x0a, 0x57, 0x60, 0x60, 0x51, 0x5f, 0x55, 0x60, 0x35, 0x60, 0x50, 0x80,
0x91, 0x5f, 0x39, 0x5f, 0xf3, 0x36, 0x60, 0x04, 0x90, 0x10, 0x60, 0x2a, 0x57, 0x5f, 0x35, 0x60, 0xe0, 0x1c, 0x63, 0x60, 0xfe, 0x47, 0xb1, 0x81,
0x14, 0x60, 0x24, 0x57, 0x63, 0x6d, 0x4c, 0xe6, 0x3c, 0x81, 0x14, 0x60, 0x43, 0x57, 0x60, 0x2a, 0x56, 0x5b, 0x34, 0x15, 0x60, 0x2e, 0x57, 0x5b,
0x5f, 0x5f, 0xfd, 0x5b, 0x36, 0x60, 0x04, 0x90, 0x03, 0x60, 0x20, 0x90, 0x12, 0x60, 0x2a, 0x57, 0x60, 0x04, 0x35, 0x5f, 0x55, 0x5f, 0x5f, 0xf3,
0x5b, 0x34, 0x60, 0x2a, 0x57, 0x5f, 0x54, 0x5f, 0x52, 0x60, 0x20, 0x5f, 0xf3
]⟩
def feScalarStoreCreationBytecode : ByteArray :=
feScalarStoreCreationChunk0
/-- The `JUMPDEST` set of `feScalarStoreCreationBytecode`, computed from the creation bytecode. -/
@[valid_jumps] theorem creationValidJumps :
Ethereum.EVM.D_J feScalarStoreCreationBytecode 0
= #[
⟨10⟩, ⟨14⟩, ⟨89⟩, ⟨95⟩, ⟨99⟩, ⟨120⟩
] := by
native_decide
end FeProofs.ScalarStore