Repository navigation
Expand file tree
/
Copy pathBytecode.lean
More file actions
53 lines (41 loc) · 1.81 KB
/
Copy pathBytecode.lean
File metadata and controls
53 lines (41 loc) · 1.81 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
import Ethereum.Semantics
import Reasoning.JumpDest
/-!
# FeConstant bytecode
Generated by `scripts/scaffold.py lean` from `runtime.hex` and `creation.hex`; do not edit.
Runtime: 45 bytes (45 executable, 0 metadata); creation: 64 bytes.
-/
open Ethereum Ethereum.EVM
namespace FeProofs.Constant
set_option maxRecDepth 50000000
set_option maxHeartbeats 0
private def feConstantRuntimeChunk0 : ByteArray :=
⟨#[
0x36, 0x60, 0x04, 0x90, 0x10, 0x60, 0x20, 0x57, 0x5f, 0x35, 0x60, 0xe0, 0x1c, 0x63, 0x85, 0xbb, 0x7d, 0x69, 0x81, 0x14, 0x60, 0x1a, 0x57, 0x60,
0x20, 0x56, 0x5b, 0x34, 0x15, 0x60, 0x24, 0x57, 0x5b, 0x5f, 0x5f, 0xfd, 0x5b, 0x60, 0x2a, 0x5f, 0x52, 0x60, 0x20, 0x5f, 0xf3
]⟩
def feConstantBytecode : ByteArray :=
feConstantRuntimeChunk0
/-- The `JUMPDEST` set of `feConstantBytecode`, computed from the deployed runtime bytecode. -/
@[valid_jumps] theorem validJumps :
Ethereum.EVM.D_J feConstantBytecode 0
= #[
⟨26⟩, ⟨32⟩, ⟨36⟩
] := by
native_decide
private def feConstantCreationChunk0 : ByteArray :=
⟨#[
0x34, 0x15, 0x60, 0x08, 0x57, 0x5f, 0x5f, 0xfd, 0x5b, 0x60, 0x13, 0x60, 0x2d, 0x80, 0x91, 0x5f, 0x39, 0x5f, 0xf3, 0x36, 0x60, 0x04, 0x90, 0x10,
0x60, 0x20, 0x57, 0x5f, 0x35, 0x60, 0xe0, 0x1c, 0x63, 0x85, 0xbb, 0x7d, 0x69, 0x81, 0x14, 0x60, 0x1a, 0x57, 0x60, 0x20, 0x56, 0x5b, 0x34, 0x15,
0x60, 0x24, 0x57, 0x5b, 0x5f, 0x5f, 0xfd, 0x5b, 0x60, 0x2a, 0x5f, 0x52, 0x60, 0x20, 0x5f, 0xf3
]⟩
def feConstantCreationBytecode : ByteArray :=
feConstantCreationChunk0
/-- The `JUMPDEST` set of `feConstantCreationBytecode`, computed from the creation bytecode. -/
@[valid_jumps] theorem creationValidJumps :
Ethereum.EVM.D_J feConstantCreationBytecode 0
= #[
⟨8⟩, ⟨45⟩, ⟨51⟩, ⟨55⟩
] := by
native_decide
end FeProofs.Constant