task_id
stringlengths
21
23
challenge_id
stringlengths
16
16
proof_assistant
stringclasses
1 value
session
stringclasses
1 value
repo
stringclasses
57 values
revision
stringclasses
57 values
file_path
stringlengths
13
92
theory
stringlengths
1
48
variant
int64
0
132
challenge_type
stringclasses
1 value
difficulty
null
count
null
by_centrality
bool
1 class
ablation_prob
float64
0.5
0.5
min_depth
int64
1
1
max_depth
int64
1
1
leaves_only
bool
1 class
min_size
int64
0
0
max_size
stringclasses
1 value
min_centrality
int64
0
0
max_centrality
stringclasses
1 value
seed
int64
42
42
n_proofs
int64
1
173
n_ablated
int64
1
60
holes_filled
listlengths
1
60
deleted_lemmas
listlengths
1
1
corollaries
listlengths
1
1
closure_size
int64
1
172
challenge_file_content
stringlengths
133
350k
solution_file_content
stringlengths
394
351k
solution_diff
stringlengths
243
134k
manifest
dict
ablate_84b2beb29453_1
06d606aff2e29578
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Compose/FullPathV5BzeroMod.lean
FullPathV5BzeroMod
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "evm_mod_bzero_spec_within_noNop_v5", "depth": 1, "n_commands": 0, "n_lines": 31, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hbody := cpsTripleWithin_extend_code divK_phaseA_code_sub_modCode_noNop_v5\n (divK_phaseA_body_...
[ { "name": "beq_singleton_sub_modCode_noNop_v5", "text": "private theorem beq_singleton_sub_modCode_noNop_v5 {base : Word} :\n ∀ a i, (CodeReq.singleton (base + phaseABeqOff) (.BEQ .x5 .x0 1020)) a = some i →\n (modCode_noNop_v5 base) a = some i := by\n intro a i h\n exact sharedNoNop_v5_b0_mod a i...
[ { "name": "evm_mod_bzero_stack_spec_within_noNop_v5", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 47, "n_chars": 2359, "n_subproofs": 12, "n_tactics": 37, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 5, "n_structural": 2, "automation_o...
4
/- EvmAsm.Evm64.DivMod.Compose.FullPathV5BzeroMod v5 bzero MOD code path (b = 0 → remainder 0), over `modCode_noNop_v5`: phaseA detects b=0, the BEQ at phaseABeqOff is taken to zeroPath, which writes 0 to the output slots. MOD mirror of `evm_div_bzero_lane_v5` (Compose/FullPathN1V5Bzero.lean) with the phase...
/- EvmAsm.Evm64.DivMod.Compose.FullPathV5BzeroMod v5 bzero MOD code path (b = 0 → remainder 0), over `modCode_noNop_v5`: phaseA detects b=0, the BEQ at phaseABeqOff is taken to zeroPath, which writes 0 to the output slots. MOD mirror of `evm_div_bzero_lane_v5` (Compose/FullPathN1V5Bzero.lean) with the phase...
@@ -29,6 +29,14 @@ intro a i h exact sharedNoNop_v5_b10_mod a i (by unfold divK_zeroPath_code at h; exact h) +private theorem beq_singleton_sub_modCode_noNop_v5 {base : Word} : + ∀ a i, (CodeReq.singleton (base + phaseABeqOff) (.BEQ .x5 .x0 1020)) a = some i → + (modCode_noNop_v5 base) a = some i := by ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_84b2beb29453_2
6825c06466e7fa9f
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Compose/FullPathV5BzeroMod.lean
FullPathV5BzeroMod
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "evm_mod_bzero_stack_spec_within_noNop_v5", "depth": 1, "n_commands": 0, "n_lines": 37, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n subst hbz\n have hg0 := EvmWord.getLimbN_zero 0\n have hg1 := EvmWord.getLimbN_zero 1\n have h...
[ { "name": "evm_mod_bzero_spec_within_noNop_v5", "text": "theorem evm_mod_bzero_spec_within_noNop_v5 (sp base : Word)\n (b0 b1 b2 b3 v5 v10 : Word)\n (hbz : b0 ||| b1 ||| b2 ||| b3 = 0) :\n cpsTripleWithin (8 + 5) base (base + nopOff) (modCode_noNop_v5 base)\n ((.x12 ↦ᵣ sp) ** (.x5 ↦ᵣ v5) ** (....
[ { "name": "evm_mod_bzero_stack_spec_within_dispatch_noNop_v5_uni", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 51, "n_chars": 2375, "n_subproofs": 2, "n_tactics": 38, "cyclomatic": 1, "n_automation": 3, "n_rewrites": 2, "n_structural": 4, "...
5
/- EvmAsm.Evm64.DivMod.Compose.FullPathV5BzeroMod v5 bzero MOD code path (b = 0 → remainder 0), over `modCode_noNop_v5`: phaseA detects b=0, the BEQ at phaseABeqOff is taken to zeroPath, which writes 0 to the output slots. MOD mirror of `evm_div_bzero_lane_v5` (Compose/FullPathN1V5Bzero.lean) with the phase...
/- EvmAsm.Evm64.DivMod.Compose.FullPathV5BzeroMod v5 bzero MOD code path (b = 0 → remainder 0), over `modCode_noNop_v5`: phaseA detects b=0, the BEQ at phaseABeqOff is taken to zeroPath, which writes 0 to the output slots. MOD mirror of `evm_div_bzero_lane_v5` (Compose/FullPathN1V5Bzero.lean) with the phase...
@@ -37,6 +37,47 @@ (CodeReq.singleton_mono (CodeReq.ofProg_lookup base (divK_phaseA 1020) 7 (by decide) (by decide)) a i h) +theorem evm_mod_bzero_spec_within_noNop_v5 (sp base : Word) + (b0 b1 b2 b3 v5 v10 : Word) + (hbz : b0 ||| b1 ||| b2 ||| b3 = 0) : + cpsTripleWithin (8 + 5) base (base + nop...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_84b2beb29453_3
05ae2c1b245a1d81
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Compose/FullPathV5BzeroMod.lean
FullPathV5BzeroMod
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "evm_mod_bzero_stack_spec_within_dispatch_noNop_v5_uni", "depth": 1, "n_commands": 0, "n_lines": 38, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let frame : Assertion :=\n (.x9 ↦ᵣ v1) ** (.x2 ↦ᵣ v2) ** (.x6 ↦ᵣ v6) ** (.x7 ↦ᵣ v...
[ { "name": "evm_mod_bzero_stack_spec_within_noNop_v5", "text": "/-- v5 no-NOP bzero MOD stack wrapper (evmWordIs form), over `modCode_noNop_v5`. -/\ntheorem evm_mod_bzero_stack_spec_within_noNop_v5 (sp base : Word)\n (a b : EvmWord) (v5 v10 : Word)\n (hbz : b = 0) :\n cpsTripleWithin (8 + 5) base (b...
[ { "name": "evm_mod_bzero_lane_v5", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 35, "n_chars": 1841, "n_subproofs": 1, "n_tactics": 18, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 3, "n_structural": 4, "automation_only": false, "ma...
6
/- EvmAsm.Evm64.DivMod.Compose.FullPathV5BzeroMod v5 bzero MOD code path (b = 0 → remainder 0), over `modCode_noNop_v5`: phaseA detects b=0, the BEQ at phaseABeqOff is taken to zeroPath, which writes 0 to the output slots. MOD mirror of `evm_div_bzero_lane_v5` (Compose/FullPathN1V5Bzero.lean) with the phase...
/- EvmAsm.Evm64.DivMod.Compose.FullPathV5BzeroMod v5 bzero MOD code path (b = 0 → remainder 0), over `modCode_noNop_v5`: phaseA detects b=0, the BEQ at phaseABeqOff is taken to zeroPath, which writes 0 to the output slots. MOD mirror of `evm_div_bzero_lane_v5` (Compose/FullPathN1V5Bzero.lean) with the phase...
@@ -78,6 +78,52 @@ (fun h hq => by rw [hbz] at hq; xperm_hyp hq) hABZ +/-- v5 no-NOP bzero MOD stack wrapper (evmWordIs form), over `modCode_noNop_v5`. -/ +theorem evm_mod_bzero_stack_spec_within_noNop_v5 (sp base : Word) + (a b : EvmWord) (v5 v10 : Word) + (hbz : b = 0) : + cpsTripleWithin (8 + 5)...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_35ea60a53bd6_0
bdff8d0c2469ba4d
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Spec/N2SelectedQuotientHdivs.lean
N2SelectedQuotientHdivs
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
1
[ { "theorem_name": "FullDivN2SelectedQuotientHdivs.of_shape_evidence", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact FullDivN2SelectedQuotientHdivs.of_evidence\n ((EvmWord.ne_zero_iff_getLimbN_or).m...
[ { "name": "FullDivN2SelectedQuotientHdivs.of_evidence", "text": "/-- Build the selected N2 quotient/hdiv package from the bundled selected\n evidence surface used by the final public route. -/\ntheorem FullDivN2SelectedQuotientHdivs.of_evidence\n {a b : EvmWord}\n (hbnz : b ≠ 0)\n (hevidence : N...
[ { "name": "FullDivN2SelectedQuotientHdivs.of_shape_evidence", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 14, "n_chars": 550, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, "automat...
1
/- EvmAsm.Evm64.DivMod.Spec.N2SelectedQuotientHdivs Private quotient-word and hdiv package for the selected N2 DIV v4 route. -/ import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence namespace EvmAsm.Evm64 open EvmAsm.Rv64 /-- Selected N2 quotient package for the final public wrapper. The package...
/- EvmAsm.Evm64.DivMod.Spec.N2SelectedQuotientHdivs Private quotient-word and hdiv package for the selected N2 DIV v4 route. -/ import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence namespace EvmAsm.Evm64 open EvmAsm.Rv64 /-- Selected N2 quotient package for the final public wrapper. The package...
@@ -43,6 +43,28 @@ (b.getLimbN 0) (b.getLimbN 1) (b.getLimbN 2) (b.getLimbN 3)).1) (hdiv3 : (EvmWord.div a b).getLimbN 3 = (0 : Word)) +/-- Build the selected N2 quotient/hdiv package from the bundled selected + evidence surface used by the final public route. -/ +theorem FullDivN2SelectedQuotien...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_5af2137f4a0d_0
77d1d87c3cc5d02b
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/SavedBitEntryIterPreBridge.lean
SavedBitEntryIterPreBridge
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
2
[ { "theorem_name": "expTwoMulEntryIterPreResidual_pcFree", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [expTwoMulEntryIterPreResidual_unfold]\n exact pcFree_sepConj pcFree_evmWordIs pcFree_evmStackIs",...
[ { "name": "expTwoMulEntryIterPreResidual_unfold", "text": "theorem expTwoMulEntryIterPreResidual_unfold\n {evmSp : Word} {exponentWord : EvmWord} {rest : List EvmWord} :\n expTwoMulEntryIterPreResidual evmSp exponentWord rest =\n (evmWordIs (evmSp + 32) exponentWord ** evmStackIs (evmSp + 128) re...
[ { "name": "expTwoMulEntryIterPreResidual_pcFree", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 7, "n_chars": 289, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 1, "n_structural": 1, "automation_only": fa...
1
/- EvmAsm.Evm64.Exp.Compose.SavedBitEntryIterPreBridge Non-fixed loop-entry bridge: the prologue's `expTwoMulLoopEntryPost` implies the first-iteration loop-entry precondition `expTwoMulIterPre` (counter 256), plus a residual frame holding the live exponent word and the deeper stack. This is the separation-...
/- EvmAsm.Evm64.Exp.Compose.SavedBitEntryIterPreBridge Non-fixed loop-entry bridge: the prologue's `expTwoMulLoopEntryPost` implies the first-iteration loop-entry precondition `expTwoMulIterPre` (counter 256), plus a residual frame holding the live exponent word and the deeper stack. This is the separation-...
@@ -28,9 +28,18 @@ (evmSp : Word) (exponentWord : EvmWord) (rest : List EvmWord) : Assertion := evmWordIs (evmSp + 32) exponentWord ** evmStackIs (evmSp + 128) rest +theorem expTwoMulEntryIterPreResidual_unfold + {evmSp : Word} {exponentWord : EvmWord} {rest : List EvmWord} : + expTwoMulEntryIterPreResi...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_5af2137f4a0d_1
498dc59fd058fd6f
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/SavedBitEntryIterPreBridge.lean
SavedBitEntryIterPreBridge
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
2
[ { "theorem_name": "expTwoMulEntryIterPreResidual_pcFree", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [expTwoMulEntryIterPreResidual_unfold]\n exact pcFree_sepConj pcFree_evmWordIs pcFree_evmStackIs",...
[ { "name": "expTwoMulEntryIterPreResidual_unfold", "text": "theorem expTwoMulEntryIterPreResidual_unfold\n {evmSp : Word} {exponentWord : EvmWord} {rest : List EvmWord} :\n expTwoMulEntryIterPreResidual evmSp exponentWord rest =\n (evmWordIs (evmSp + 32) exponentWord ** evmStackIs (evmSp + 128) re...
[ { "name": "expTwoMulLoopEntryPost_to_iterPre_frame", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 55, "n_chars": 2966, "n_subproofs": 0, "n_tactics": 26, "cyclomatic": 1, "n_automation": 18, "n_rewrites": 20, "n_structural": 0, "automation_o...
1
/- EvmAsm.Evm64.Exp.Compose.SavedBitEntryIterPreBridge Non-fixed loop-entry bridge: the prologue's `expTwoMulLoopEntryPost` implies the first-iteration loop-entry precondition `expTwoMulIterPre` (counter 256), plus a residual frame holding the live exponent word and the deeper stack. This is the separation-...
/- EvmAsm.Evm64.Exp.Compose.SavedBitEntryIterPreBridge Non-fixed loop-entry bridge: the prologue's `expTwoMulLoopEntryPost` implies the first-iteration loop-entry precondition `expTwoMulIterPre` (counter 256), plus a residual frame holding the live exponent word and the deeper stack. This is the separation-...
@@ -28,9 +28,18 @@ (evmSp : Word) (exponentWord : EvmWord) (rest : List EvmWord) : Assertion := evmWordIs (evmSp + 32) exponentWord ** evmStackIs (evmSp + 128) rest +theorem expTwoMulEntryIterPreResidual_unfold + {evmSp : Word} {exponentWord : EvmWord} {rest : List EvmWord} : + expTwoMulEntryIterPreResi...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_44403f25b75c_0
250d91cece01811c
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/SailEquiv/MemReduce.lean
MemReduce
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
1
[ { "theorem_name": "packDword_extractByte", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n apply byte_ext\n intro i\n exact extractByte_packDword", "n_chars": 60, "n_subproofs": 0, "n_tactics": ...
[ { "name": "byte_ext", "text": "/-- **Byte extensionality** for 64-bit words: two words agreeing on all eight\n bytes are equal. -/\ntheorem byte_ext {x y : Word} (h : ∀ i : Fin 8, extractByte x i.val = extractByte y i.val) :\n x = y := by\n apply BitVec.eq_of_getLsbD_eq\n intro j hj\n have hlt : j ...
[ { "name": "packDword_extractByte", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 8, "n_chars": 225, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 3, "automation_only": false, "max_n...
1
/- EvmAsm.Rv64.SailEquiv.MemReduce Bare-mode memory reduction for the Sail golden-model equivalence (Phase 2). Develops the lemmas to discharge the `MemProofs.lean` load/store stubs in the **forward** (evm-asm ⇒ Sail) direction, under bare translation mode (Machine privilege, `satp = 0`) and an aligned acce...
/- EvmAsm.Rv64.SailEquiv.MemReduce Bare-mode memory reduction for the Sail golden-model equivalence (Phase 2). Develops the lemmas to discharge the `MemProofs.lean` load/store stubs in the **forward** (evm-asm ⇒ Sail) direction, under bare translation mode (Machine privilege, `satp = 0`) and an aligned acce...
@@ -21,9 +21,24 @@ open EvmAsm.Rv64 +/-- **Byte extensionality** for 64-bit words: two words agreeing on all eight + bytes are equal. -/ +theorem byte_ext {x y : Word} (h : ∀ i : Fin 8, extractByte x i.val = extractByte y i.val) : + x = y := by + apply BitVec.eq_of_getLsbD_eq + intro j hj + have hlt : j /...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_44403f25b75c_1
8685bee332c8270e
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/SailEquiv/MemReduce.lean
MemReduce
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
1
[ { "theorem_name": "packDword_extractByte", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n apply byte_ext\n intro i\n exact extractByte_packDword", "n_chars": 60, "n_subproofs": 0, "n_tactics": ...
[ { "name": "byte_ext", "text": "/-- **Byte extensionality** for 64-bit words: two words agreeing on all eight\n bytes are equal. -/\ntheorem byte_ext {x y : Word} (h : ∀ i : Fin 8, extractByte x i.val = extractByte y i.val) :\n x = y := by\n apply BitVec.eq_of_getLsbD_eq\n intro j hj\n have hlt : j ...
[ { "name": "reconstructDword_of_bytes", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 3, "n_lines": 16, "n_chars": 756, "n_subproofs": 1, "n_tactics": 7, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 2, "automation_only": false, "...
3
/- EvmAsm.Rv64.SailEquiv.MemReduce Bare-mode memory reduction for the Sail golden-model equivalence (Phase 2). Develops the lemmas to discharge the `MemProofs.lean` load/store stubs in the **forward** (evm-asm ⇒ Sail) direction, under bare translation mode (Machine privilege, `satp = 0`) and an aligned acce...
/- EvmAsm.Rv64.SailEquiv.MemReduce Bare-mode memory reduction for the Sail golden-model equivalence (Phase 2). Develops the lemmas to discharge the `MemProofs.lean` load/store stubs in the **forward** (evm-asm ⇒ Sail) direction, under bare translation mode (Machine privilege, `satp = 0`) and an aligned acce...
@@ -21,9 +21,24 @@ open EvmAsm.Rv64 +/-- **Byte extensionality** for 64-bit words: two words agreeing on all eight + bytes are equal. -/ +theorem byte_ext {x y : Word} (h : ∀ i : Fin 8, extractByte x i.val = extractByte y i.val) : + x = y := by + apply BitVec.eq_of_getLsbD_eq + intro j hj + have hlt : j /...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_44403f25b75c_2
4b78768e4e1ddeaf
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/SailEquiv/MemReduce.lean
MemReduce
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
2
[ { "theorem_name": "reconstructDword_of_bytes", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [reconstructDword_eq_packDword]\n have hfun : (fun i : Fin 8 => mem.getD (addr + i.val) 0)\n = (fun i : ...
[ { "name": "reconstructDword_eq_packDword", "text": "/-- `reconstructDword` is `packDword` over the eight bytes read from the map. -/\ntheorem reconstructDword_eq_packDword (mem : Std.ExtHashMap Nat (BitVec 8)) (addr : Nat) :\n reconstructDword mem addr = packDword (fun i : Fin 8 => mem.getD (addr + i.val...
[ { "name": "reconstructDword_congr", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 14, "n_chars": 618, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 2, "automation_only": false, "max...
1
/- EvmAsm.Rv64.SailEquiv.MemReduce Bare-mode memory reduction for the Sail golden-model equivalence (Phase 2). Develops the lemmas to discharge the `MemProofs.lean` load/store stubs in the **forward** (evm-asm ⇒ Sail) direction, under bare translation mode (Machine privilege, `satp = 0`) and an aligned acce...
/- EvmAsm.Rv64.SailEquiv.MemReduce Bare-mode memory reduction for the Sail golden-model equivalence (Phase 2). Develops the lemmas to discharge the `MemProofs.lean` load/store stubs in the **forward** (evm-asm ⇒ Sail) direction, under bare translation mode (Machine privilege, `satp = 0`) and an aligned acce...
@@ -21,6 +21,10 @@ open EvmAsm.Rv64 +/-- `reconstructDword` is `packDword` over the eight bytes read from the map. -/ +theorem reconstructDword_eq_packDword (mem : Std.ExtHashMap Nat (BitVec 8)) (addr : Nat) : + reconstructDword mem addr = packDword (fun i : Fin 8 => mem.getD (addr + i.val) 0) := rfl + /-- `re...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_ecb256af64dc_0
7fcc947224e3d023
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/LimbSpec/Div128Phase2bV5.lean
Div128Phase2bV5
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
1
[ { "theorem_name": "divK_div128_phase2b_body_v5_spec_within", "depth": 1, "n_commands": 0, "n_lines": 22, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro q0Dlo1 rhat2Un0 q0' rhat2' cr\n -- Block 1: spill 1st-D3 [59..70] (cpsTriple base → base+48...
[ { "name": "divKDiv128Phase2bBody_spill_prodcheck2b_disjoint", "text": "/-- Disjointness of the spill block's CodeReq [59..70] and the 2nd-D3 block's\n CodeReq [71..80] (at base+48). Top-level (fresh heartbeat budget): the\n 120 singleton pairs would overflow `crDisjoint`'s inline simp. -/\ntheorem div...
[ { "name": "divK_div128_phase2b_body_v5_spec_within", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 62, "n_chars": 3467, "n_subproofs": 5, "n_tactics": 20, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 2, "automation_onl...
3
/- EvmAsm.Evm64.DivMod.LimbSpec.Div128Phase2bV5 v5 div128 Phase-2b 2nd-D3 block (instrs [71]-[80] of `divK_div128_v5`): the guarded second Knuth-D3 correction on `q0`. * Phase-2b 2nd-D3 guard — [71..72]: `SRLI x9 x11 32 ; BNE x9 x0 36`. When `rhat2' ≥ 2^32` the guard fires and skips the mul-check. ...
/- EvmAsm.Evm64.DivMod.LimbSpec.Div128Phase2bV5 v5 div128 Phase-2b 2nd-D3 block (instrs [71]-[80] of `divK_div128_v5`): the guarded second Knuth-D3 correction on `q0`. * Phase-2b 2nd-D3 guard — [71..72]: `SRLI x9 x11 32 ; BNE x9 x0 36`. When `rhat2' ≥ 2^32` the guard fires and skips the mul-check. ...
@@ -373,6 +373,29 @@ ntaken_clean hld_f) hjal_f) +/-- Disjointness of the spill block's CodeReq [59..70] and the 2nd-D3 block's + CodeReq [71..80] (at base+48). Top-level (fresh heartbeat budget): the + 120 singleton pairs would overflow `crDisjoint`'s inline simp. -/ +theorem divKDiv128Phas...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_42ec4679cdfc_0
683a1ca6f43d2cee
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Codegen/Programs/Blake2fStoreLe64SAsm.lean
Blake2fStoreLe64SAsm
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
9
1
[ { "theorem_name": "storeWin_step", "depth": 1, "n_commands": 0, "n_lines": 37, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have h_prefix_len : ((dwordBytes value).take i).length = i := by\n simp only [List.length_take, length_dwordBytes]\n o...
[ { "name": "byteOfShift_eq_dwordByte", "text": "private theorem byteOfShift_eq_dwordByte (value : Word) (i : Nat) (h_i : i < 8) :\n ((value >>> (8 * i)) &&& (255 : Word)).truncate 8 =\n (dwordBytes value).getD i 0 := by\n have h_mask (x : Word) : (x &&& (255 : Word)).truncate 8 = x.truncate 8 := by\...
[ { "name": "storeWin_step", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 43, "n_chars": 1804, "n_subproofs": 8, "n_tactics": 38, "cyclomatic": 2, "n_automation": 10, "n_rewrites": 14, "n_structural": 1, "automation_only": false, "max_nest...
1
import EvmAsm.Rv64.SAsm.MultiDword import EvmAsm.Rv64.SAsm.Tactic import EvmAsm.Codegen.Programs.Blake2f namespace EvmAsm.Codegen open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt namespace Blake2fStoreLe64SAsm def storeWin (value : Word) (orig : List (BitVec 8)) (i : Nat) : List (BitVec 8) := (dwordBytes v...
import EvmAsm.Rv64.SAsm.MultiDword import EvmAsm.Rv64.SAsm.Tactic import EvmAsm.Codegen.Programs.Blake2f namespace EvmAsm.Codegen open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt namespace Blake2fStoreLe64SAsm def storeWin (value : Word) (orig : List (BitVec 8)) (i : Nat) : List (BitVec 8) := (dwordBytes v...
@@ -11,6 +11,17 @@ def storeWin (value : Word) (orig : List (BitVec 8)) (i : Nat) : List (BitVec 8) := (dwordBytes value).take i ++ orig.drop i +private theorem byteOfShift_eq_dwordByte (value : Word) (i : Nat) (h_i : i < 8) : + ((value >>> (8 * i)) &&& (255 : Word)).truncate 8 = + (dwordBytes value).getD...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_42ec4679cdfc_1
9a379b44d4378d55
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Codegen/Programs/Blake2fStoreLe64SAsm.lean
Blake2fStoreLe64SAsm
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
9
1
[ { "theorem_name": "blk2StLe64Fn_spec", "depth": 1, "n_commands": 0, "n_lines": 94, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have h_base : (blk2StLe64Fn dst value orig).rw.base = dst := rfl\n vcgen\n case region => exact ⟨Region.empty_wf, h_wf...
[ { "name": "store_engine", "text": "theorem store_engine (reg : Region) (dst value : Word) (rf : RegFile)\n (ws : List (BitVec 8)) (i : Nat) (h_i : i < 8)\n (h_x5 : rf.get .x5 = value >>> (8 * i))\n (h_x6 : rf.get .x6 = dst + BitVec.ofNat 64 i) :\n execBlock reg dst rf ws storeStepBlock =\n ...
[ { "name": "blk2StLe64Fn_spec", "fan_in": 0, "n_deps_direct": 8, "n_deps_transitive": 9, "n_lines": 98, "n_chars": 5267, "n_subproofs": 12, "n_tactics": 98, "cyclomatic": 19, "n_automation": 51, "n_rewrites": 26, "n_structural": 20, "automation_only": false, "m...
9
import EvmAsm.Rv64.SAsm.MultiDword import EvmAsm.Rv64.SAsm.Tactic import EvmAsm.Codegen.Programs.Blake2f namespace EvmAsm.Codegen open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt namespace Blake2fStoreLe64SAsm def storeWin (value : Word) (orig : List (BitVec 8)) (i : Nat) : List (BitVec 8) := (dwordBytes v...
import EvmAsm.Rv64.SAsm.MultiDword import EvmAsm.Rv64.SAsm.Tactic import EvmAsm.Codegen.Programs.Blake2f namespace EvmAsm.Codegen open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt namespace Blake2fStoreLe64SAsm def storeWin (value : Word) (orig : List (BitVec 8)) (i : Nat) : List (BitVec 8) := (dwordBytes v...
@@ -114,6 +114,39 @@ simp only [RegFile.get_set_self, RegFile.get_set_ne, ne_eq, reduceCtorEq, not_false_eq_true] +theorem store_engine (reg : Region) (dst value : Word) (rf : RegFile) + (ws : List (BitVec 8)) (i : Nat) (h_i : i < 8) + (h_x5 : rf.get .x5 = value >>> (8 * i)) + (h_x6 : rf.get .x6 = ds...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_a10f8dfc0bea_0
31bb2d290122e2a6
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/LimbSpec/Div128ProdCheck1b.lean
Div128ProdCheck1b
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
2
1
[ { "theorem_name": "divK_div128_prodcheck1b_merged_spec_within", "depth": 1, "n_commands": 0, "n_lines": 103, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold divKDiv128Prodcheck1bMergedCode divKDiv128Prodcheck1bMergedPre\n divKDiv128Prodcheck...
[ { "name": "divK_div128_prodcheck1b_body_spec_within", "text": "/-- **Sub-stub B — body portion**: `[27..34]` LD/MUL/SLLI/OR/BLTU/JAL/ADDI/ADD.\n Identical structure to `divK_div128_prodcheck1_merged_spec_within` (the 1st\n D3 block); just at a different offset within `divK_div128_v2`.\n\n Reachable...
[ { "name": "divK_div128_prodcheck1b_merged_spec_within", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 138, "n_chars": 7747, "n_subproofs": 17, "n_tactics": 115, "cyclomatic": 11, "n_automation": 16, "n_rewrites": 25, "n_structural": 5, "autom...
2
/- EvmAsm.Evm64.DivMod.LimbSpec.Div128ProdCheck1b Block spec for the **2nd D3 correction iteration** added by `divK_div128_v2` (in `EvmAsm/Evm64/DivMod/Program.lean`). This is the Phase 1b 2nd correction block — instructions [25..34] of the fixed `divK_div128_v2` subroutine (10 instructions: SRLI guard + B...
/- EvmAsm.Evm64.DivMod.LimbSpec.Div128ProdCheck1b Block spec for the **2nd D3 correction iteration** added by `divK_div128_v2` (in `EvmAsm/Evm64/DivMod/Program.lean`). This is the Phase 1b 2nd correction block — instructions [25..34] of the fixed `divK_div128_v2` subroutine (10 instructions: SRLI guard + B...
@@ -125,6 +125,21 @@ (.x5 ↦ᵣ qDlo) ** (.x9 ↦ᵣ rhatUn1') ** (.x6 ↦ᵣ dHi) ** (sp + signExtend12 3952 ↦ₘ dlo) +/-- **Sub-stub B — body portion**: `[27..34]` LD/MUL/SLLI/OR/BLTU/JAL/ADDI/ADD. + Identical structure to `divK_div128_prodcheck1_merged_spec_within` (the 1st + D3 block); just at a different offset ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_5757f28aa462_0
25b2b665ff97ae40
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Codegen/Programs/Bls12G2EncodeSAsm.lean
Bls12G2EncodeSAsm
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
1
[ { "theorem_name": "blsgLeToBeFlat_spec", "depth": 1, "n_commands": 0, "n_lines": 57, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n -- Surface the scratch registers at concrete (peeled) valuations.\n refine cpsTripleWithin_weaken (fun _ hp => by xpe...
[ { "name": "x10_notin_leScratch", "text": "private theorem x10_notin_leScratch : (.x10 : Reg) ∉ leScratch := by decide\n", "fan_in": 1, "n_lines": 2, "n_chars": 78, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 0, ...
[ { "name": "blsgLeToBeFlat_spec", "fan_in": 2, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 81, "n_chars": 4541, "n_subproofs": 3, "n_tactics": 55, "cyclomatic": 1, "n_automation": 17, "n_rewrites": 20, "n_structural": 9, "automation_only": false, "ma...
3
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
@@ -104,6 +104,7 @@ simp only [leScratch, regAtomsOf_cons, regAtomsOf_nil] xperm +private theorem x10_notin_leScratch : (.x10 : Reg) ∉ leScratch := by decide private theorem x11_notin_leScratch : (.x11 : Reg) ∉ leScratch := by decide /-- **The flat whole-routine contract for `blsg_le_to_be`**, DERIVED from ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_5757f28aa462_1
a95bd22dd2302d68
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Codegen/Programs/Bls12G2EncodeSAsm.lean
Bls12G2EncodeSAsm
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
1
[ { "theorem_name": "blsgLeToBeFlat_spec", "depth": 1, "n_commands": 0, "n_lines": 57, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n -- Surface the scratch registers at concrete (peeled) valuations.\n refine cpsTripleWithin_weaken (fun _ hp => by xpe...
[ { "name": "exposedRegs_split2", "text": "/-- Split the full exposed file into the `a0`/`a1` atoms plus the scratch. -/\nprivate theorem exposedRegs_split2 (vf : Reg → Word) :\n regAtomsOf vf exposedRegs\n = ((.x10 ↦ᵣ vf .x10) ** (.x11 ↦ᵣ vf .x11) ** regAtomsOf vf leScratch) := by\n show regAtomsOf ...
[ { "name": "encStep_spec", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 6, "n_lines": 200, "n_chars": 11659, "n_subproofs": 34, "n_tactics": 162, "cyclomatic": 1, "n_automation": 36, "n_rewrites": 22, "n_structural": 3, "automation_only": false, "max_n...
6
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
@@ -114,6 +114,16 @@ def leScratch : List Reg := [.x5, .x6, .x7, .x28, .x29, .x30, .x31, .x12, .x13, .x14, .x15, .x16, .x17] +/-- Split the full exposed file into the `a0`/`a1` atoms plus the scratch. -/ +private theorem exposedRegs_split2 (vf : Reg → Word) : + regAtomsOf vf exposedRegs + = ((.x10 ↦ᵣ vf ....
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_5757f28aa462_2
caf506822afa3528
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Codegen/Programs/Bls12G2EncodeSAsm.lean
Bls12G2EncodeSAsm
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
2
[ { "theorem_name": "chunk_facts", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have ht := toNat_add_ofNat b n (by omega)\n refine ⟨by omega, by omega, fun k hk => ?_⟩\n rw [addr_fold]\n exact hv (n + k) ...
[ { "name": "toNat_add_ofNat", "text": "private theorem toNat_add_ofNat (b : Word) (i : Nat) (h : b.toNat + i < 2 ^ 64) :\n (b + BitVec.ofNat 64 i).toNat = b.toNat + i := by\n rw [BitVec.toNat_add, BitVec.toNat_ofNat]\n omega\n\n-- =========================================================================...
[ { "name": "chunk_facts", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 17, "n_chars": 777, "n_subproofs": 1, "n_tactics": 5, "cyclomatic": 1, "n_automation": 4, "n_rewrites": 1, "n_structural": 2, "automation_only": false, "max_nesting": ...
2
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
@@ -97,6 +97,15 @@ simp only [BitVec.toNat_add, BitVec.toNat_ofNat] omega +private theorem toNat_add_ofNat (b : Word) (i : Nat) (h : b.toNat + i < 2 ^ 64) : + (b + BitVec.ofNat 64 i).toNat = b.toNat + i := by + rw [BitVec.toNat_add, BitVec.toNat_ofNat] + omega + +-- ========================================...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_5757f28aa462_3
f1393796df3977f1
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Codegen/Programs/Bls12G2EncodeSAsm.lean
Bls12G2EncodeSAsm
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
2
[ { "theorem_name": "chunk_facts", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have ht := toNat_add_ofNat b n (by omega)\n refine ⟨by omega, by omega, fun k hk => ?_⟩\n rw [addr_fold]\n exact hv (n + k) ...
[ { "name": "toNat_add_ofNat", "text": "private theorem toNat_add_ofNat (b : Word) (i : Nat) (h : b.toNat + i < 2 ^ 64) :\n (b + BitVec.ofNat 64 i).toNat = b.toNat + i := by\n rw [BitVec.toNat_add, BitVec.toNat_ofNat]\n omega\n\n-- =========================================================================...
[ { "name": "encLoopBody_spec", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 11, "n_lines": 118, "n_chars": 5975, "n_subproofs": 14, "n_tactics": 98, "cyclomatic": 1, "n_automation": 31, "n_rewrites": 9, "n_structural": 11, "automation_only": false, "ma...
11
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
@@ -122,6 +122,15 @@ Nat.mod_eq_of_lt (by rw [Nat.mul_comm] at h; exact h), Nat.mod_eq_of_lt h, Nat.mul_comm] +private theorem toNat_add_ofNat (b : Word) (i : Nat) (h : b.toNat + i < 2 ^ 64) : + (b + BitVec.ofNat 64 i).toNat = b.toNat + i := by + rw [BitVec.toNat_add, BitVec.toNat_ofNat] + omega + ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_5757f28aa462_4
c87b00d128185a19
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Codegen/Programs/Bls12G2EncodeSAsm.lean
Bls12G2EncodeSAsm
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
2
[ { "theorem_name": "chunk_facts", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have ht := toNat_add_ofNat b n (by omega)\n refine ⟨by omega, by omega, fun k hk => ?_⟩\n rw [addr_fold]\n exact hv (n + k) ...
[ { "name": "toNat_add_ofNat", "text": "private theorem toNat_add_ofNat (b : Word) (i : Nat) (h : b.toNat + i < 2 ^ 64) :\n (b + BitVec.ofNat 64 i).toNat = b.toNat + i := by\n rw [BitVec.toNat_add, BitVec.toNat_ofNat]\n omega\n\n-- =========================================================================...
[ { "name": "blsg2Encode_spec", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 13, "n_lines": 206, "n_chars": 12208, "n_subproofs": 22, "n_tactics": 154, "cyclomatic": 1, "n_automation": 16, "n_rewrites": 10, "n_structural": 1, "automation_only": false, "...
13
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
/- EvmAsm.Codegen.Programs.Bls12G2EncodeSAsm **The first count-up call-loop port** (beads evm-asm-ipt7m + evm-asm-4ch8f.58.3.24.2): `blsg2_encode`, byte-TRANSPARENT — the emitted `blsg2Encode_prog` IS an `abiFrameProg (-40)/(+40)` flatten with frame `[(ra,0),(s0,8),(s1,16),(s2,24)]` and a 12-instruction body...
@@ -122,6 +122,15 @@ Nat.mod_eq_of_lt (by rw [Nat.mul_comm] at h; exact h), Nat.mod_eq_of_lt h, Nat.mul_comm] +private theorem toNat_add_ofNat (b : Word) (i : Nat) (h : b.toNat + i < 2 ^ 64) : + (b + BitVec.ofNat 64 i).toNat = b.toNat + i := by + rw [BitVec.toNat_add, BitVec.toNat_ofNat] + omega + ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_649ed2ae089c_0
e58d3baaa15778fd
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/EL/Conformance/ExpGas.lean
ExpGas
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "expGasZeroExponentVector_passed", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n checkVector_value_passed runExpGas\n \"exp-gas-zero-exponent\"\n { exponent := (0 : EvmWord) }\n 10\n...
[ { "name": "runExpGas_zero", "text": "theorem runExpGas_zero :\n runExpGas { exponent := (0 : EvmWord) } = 10 :=\n EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_zero\n\n", "fan_in": 1, "n_lines": 5, "n_chars": 129, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation...
[ { "name": "expGasZeroExponentVector_passed", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 9, "n_chars": 232, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, ...
1
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
@@ -54,8 +54,17 @@ input := { exponent := -1 } expected := .value 1610 } +theorem runExpGas_zero : + runExpGas { exponent := (0 : EvmWord) } = 10 := + EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_zero + theorem expGasZeroExponentVector_passed : - checkVector runExpGas expGasZeroExponentVector = .pass...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_649ed2ae089c_1
2e7f036d4a60819a
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/EL/Conformance/ExpGas.lean
ExpGas
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "expGasOneByteExponentVector_passed", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n checkVector_value_passed runExpGas\n \"exp-gas-one-byte-exponent\"\n { exponent := (1 : EvmWord) }\n ...
[ { "name": "runExpGas_one", "text": "theorem runExpGas_one :\n runExpGas { exponent := (1 : EvmWord) } = 60 :=\n EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_of_pos_lt_256\n (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 6, "n_chars": 165, "n_subproofs": 0, "n_tactics": 2, ...
[ { "name": "expGasOneByteExponentVector_passed", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 9, "n_chars": 241, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": fals...
1
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
@@ -54,8 +54,18 @@ input := { exponent := -1 } expected := .value 1610 } +theorem runExpGas_one : + runExpGas { exponent := (1 : EvmWord) } = 60 := + EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_of_pos_lt_256 + (by decide) (by decide) + theorem expGasOneByteExponentVector_passed : - checkVector ru...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_649ed2ae089c_2
ce703becf820b99e
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/EL/Conformance/ExpGas.lean
ExpGas
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "expGasOneByteUpperVector_passed", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n checkVector_value_passed runExpGas\n \"exp-gas-one-byte-upper\"\n { exponent := (255 : EvmWord) }\n 6...
[ { "name": "runExpGas_255", "text": "theorem runExpGas_255 :\n runExpGas { exponent := (255 : EvmWord) } = 60 :=\n EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_of_pos_lt_256\n (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 6, "n_chars": 167, "n_subproofs": 0, "n_tactics": 2, ...
[ { "name": "expGasOneByteUpperVector_passed", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 9, "n_chars": 234, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, ...
1
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
@@ -54,8 +54,18 @@ input := { exponent := -1 } expected := .value 1610 } +theorem runExpGas_255 : + runExpGas { exponent := (255 : EvmWord) } = 60 := + EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_of_pos_lt_256 + (by decide) (by decide) + theorem expGasOneByteUpperVector_passed : - checkVector run...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_649ed2ae089c_3
bb96df8a32b8eb6d
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/EL/Conformance/ExpGas.lean
ExpGas
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "expGasTwoByteThresholdVector_passed", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n checkVector_value_passed runExpGas\n \"exp-gas-two-byte-threshold\"\n { exponent := (256 : EvmWord) ...
[ { "name": "runExpGas_256", "text": "theorem runExpGas_256 :\n runExpGas { exponent := (256 : EvmWord) } = 110 :=\n EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_256\n\n", "fan_in": 1, "n_lines": 5, "n_chars": 130, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation...
[ { "name": "expGasTwoByteThresholdVector_passed", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 9, "n_chars": 247, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": fal...
1
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
@@ -54,8 +54,17 @@ input := { exponent := -1 } expected := .value 1610 } +theorem runExpGas_256 : + runExpGas { exponent := (256 : EvmWord) } = 110 := + EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_256 + theorem expGasTwoByteThresholdVector_passed : - checkVector runExpGas expGasTwoByteThresholdVecto...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_649ed2ae089c_4
21831ba5783ccedb
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/EL/Conformance/ExpGas.lean
ExpGas
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "expGasMaxExponentVector_passed", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n checkVector_value_passed runExpGas\n \"exp-gas-max-exponent\"\n { exponent := (-1 : EvmWord) }\n 1610\...
[ { "name": "runExpGas_max", "text": "theorem runExpGas_max :\n runExpGas { exponent := (-1 : EvmWord) } = 1610 :=\n EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_max\n\n", "fan_in": 1, "n_lines": 5, "n_chars": 130, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation...
[ { "name": "expGasMaxExponentVector_passed", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 9, "n_chars": 231, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, ...
1
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
@@ -54,8 +54,17 @@ input := { exponent := -1 } expected := .value 1610 } +theorem runExpGas_max : + runExpGas { exponent := (-1 : EvmWord) } = 1610 := + EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_max + theorem expGasMaxExponentVector_passed : - checkVector runExpGas expGasMaxExponentVector = .passe...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_649ed2ae089c_5
d6d7369b676a0409
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/EL/Conformance/ExpGas.lean
ExpGas
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "expGasOneByteExponentVector_passed", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n checkVector_value_passed runExpGas\n \"exp-gas-one-byte-exponent\"\n { exponent := (1 : EvmWord) }\n ...
[ { "name": "runExpGas_one", "text": "theorem runExpGas_one :\n runExpGas { exponent := (1 : EvmWord) } = 60 :=\n EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_of_pos_lt_256\n (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 6, "n_chars": 165, "n_subproofs": 0, "n_tactics": 2, ...
[ { "name": "expGasConformanceVectors_passed", "fan_in": 0, "n_deps_direct": 5, "n_deps_transitive": 10, "n_lines": 7, "n_chars": 339, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 0, "automation_only": true, ...
10
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
/- EvmAsm.EL.Conformance.ExpGas Lean-side conformance vectors for EXP exponent-byte gas accounting (GH #125, exercising the GH #92 executable helper). -/ import EvmAsm.EL.Conformance import EvmAsm.Evm64.Exp.Gas namespace EvmAsm.EL namespace Conformance namespace ExpGas abbrev EvmWord := EvmAsm.Evm64.EvmWord ...
@@ -58,6 +58,11 @@ runExpGas { exponent := (0 : EvmWord) } = 10 := EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_zero +theorem runExpGas_one : + runExpGas { exponent := (1 : EvmWord) } = 60 := + EvmAsm.Evm64.ExpGas.expTotalGasFromExponent_of_pos_lt_256 + (by decide) (by decide) + theorem runExpGas_255 :...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_a79e35861501_0
3bc97f00a3cb1796
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/MulMod/ReduceBitLoop.lean
ReduceBitLoop
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
7
2
[ { "theorem_name": "evm_mulmod_reduce512_bit_loop_step_loop_path", "depth": 1, "n_commands": 0, "n_lines": 9, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine cpsBranchWithin_takenPath\n (evm_mulmod_reduce512_bit_loop_step_spec_within\n s...
[ { "name": "evm_mulmod_reduce512_bit_loop_step_spec_within", "text": "/-- One reducer bit step restated over the loop-carried precondition that owns\n the six clobbered scratch registers, ready for the bit-loop induction. -/\ntheorem evm_mulmod_reduce512_bit_loop_step_spec_within\n (sp base x17Old x15 ...
[ { "name": "evm_mulmod_reduce512_bit_loop_step_loop_path", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 19, "n_chars": 879, "n_subproofs": 1, "n_tactics": 9, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 1, "n_structural": 4, "automation_...
1
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
@@ -42,6 +42,104 @@ regOwn .x5 ** regOwn .x6 ** regOwn .x7 ** regOwn .x8 ** regOwn .x10 ** regOwn .x11 ** regOwn .x13 +/-- One reducer bit step restated over the loop-carried precondition that owns + the six clobbered scratch registers, ready for the bit-loop induction. -/ +theorem evm_mulmod_reduce512_bit_l...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_a79e35861501_1
2e7fe90947273044
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/MulMod/ReduceBitLoop.lean
ReduceBitLoop
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
7
2
[ { "theorem_name": "evm_mulmod_reduce512_bit_loop_step_loop_path", "depth": 1, "n_commands": 0, "n_lines": 9, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine cpsBranchWithin_takenPath\n (evm_mulmod_reduce512_bit_loop_step_spec_within\n s...
[ { "name": "evm_mulmod_reduce512_bit_loop_step_spec_within", "text": "/-- One reducer bit step restated over the loop-carried precondition that owns\n the six clobbered scratch registers, ready for the bit-loop induction. -/\ntheorem evm_mulmod_reduce512_bit_loop_step_spec_within\n (sp base x17Old x15 ...
[ { "name": "evm_mulmod_reduce512_bit_loop_step_done_path", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 19, "n_chars": 897, "n_subproofs": 1, "n_tactics": 9, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 1, "n_structural": 4, "automation_...
1
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
@@ -42,6 +42,104 @@ regOwn .x5 ** regOwn .x6 ** regOwn .x7 ** regOwn .x8 ** regOwn .x10 ** regOwn .x11 ** regOwn .x13 +/-- One reducer bit step restated over the loop-carried precondition that owns + the six clobbered scratch registers, ready for the bit-loop induction. -/ +theorem evm_mulmod_reduce512_bit_l...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_a79e35861501_2
d05178533ad66833
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/MulMod/ReduceBitLoop.lean
ReduceBitLoop
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
7
1
[ { "theorem_name": "mulModReduceInnerStepPost_true_to_bitLoopPost", "depth": 1, "n_commands": 0, "n_lines": 17, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro h hp\n unfold mulModReduceInnerStepPost at hp\n have hp1 := sepConj_mono_left (tailP...
[ { "name": "tailPost_true_regs_zero", "text": "/-- The done-exit tail post pins the bit counter to zero. -/\ntheorem tailPost_true_regs_zero (x15 : Word) :\n ∀ h, mulModReduceTailPost x15 true h →\n ((Reg.x15 ↦ᵣ (0 : Word)) ** (Reg.x0 ↦ᵣ (0 : Word))) h := by\n intro h hq\n unfold mulModReduceTailPo...
[ { "name": "mulModReduceInnerStepPost_true_to_bitLoopPost", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 24, "n_chars": 1227, "n_subproofs": 5, "n_tactics": 17, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 3, "automati...
1
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
@@ -52,12 +52,39 @@ regOwn .x13 ** regOwn .x17 ** regOwn .x19 ** regOwn .x20 ** mulModReduceCompareMem sp result n +/-- The done-exit tail post pins the bit counter to zero. -/ +theorem tailPost_true_regs_zero (x15 : Word) : + ∀ h, mulModReduceTailPost x15 true h → + ((Reg.x15 ↦ᵣ (0 : Word)) ** (Reg.x0 ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_a79e35861501_3
1fdf5a3589987244
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/MulMod/ReduceBitLoop.lean
ReduceBitLoop
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
7
1
[ { "theorem_name": "mulModReduceInnerStepPost_true_to_bitLoopPost", "depth": 1, "n_commands": 0, "n_lines": 17, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro h hp\n unfold mulModReduceInnerStepPost at hp\n have hp1 := sepConj_mono_left (tailP...
[ { "name": "tailPost_true_regs_zero", "text": "/-- The done-exit tail post pins the bit counter to zero. -/\ntheorem tailPost_true_regs_zero (x15 : Word) :\n ∀ h, mulModReduceTailPost x15 true h →\n ((Reg.x15 ↦ᵣ (0 : Word)) ** (Reg.x0 ↦ᵣ (0 : Word))) h := by\n intro h hq\n unfold mulModReduceTailPo...
[ { "name": "bit_loop_aux", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 6, "n_lines": 48, "n_chars": 2298, "n_subproofs": 10, "n_tactics": 37, "cyclomatic": 3, "n_automation": 10, "n_rewrites": 3, "n_structural": 7, "automation_only": false, "max_nesti...
6
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
@@ -205,12 +205,39 @@ regOwn .x13 ** regOwn .x17 ** regOwn .x19 ** regOwn .x20 ** mulModReduceCompareMem sp result n +/-- The done-exit tail post pins the bit counter to zero. -/ +theorem tailPost_true_regs_zero (x15 : Word) : + ∀ h, mulModReduceTailPost x15 true h → + ((Reg.x15 ↦ᵣ (0 : Word)) ** (Reg.x...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_a79e35861501_4
ca45b03e5092824d
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/MulMod/ReduceBitLoop.lean
ReduceBitLoop
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
7
1
[ { "theorem_name": "mulModReduceInnerStepPost_true_to_bitLoopPost", "depth": 1, "n_commands": 0, "n_lines": 17, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro h hp\n unfold mulModReduceInnerStepPost at hp\n have hp1 := sepConj_mono_left (tailP...
[ { "name": "tailPost_true_regs_zero", "text": "/-- The done-exit tail post pins the bit counter to zero. -/\ntheorem tailPost_true_regs_zero (x15 : Word) :\n ∀ h, mulModReduceTailPost x15 true h →\n ((Reg.x15 ↦ᵣ (0 : Word)) ** (Reg.x0 ↦ᵣ (0 : Word))) h := by\n intro h hq\n unfold mulModReduceTailPo...
[ { "name": "evm_mulmod_reduce512_bit_loop_spec_within", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 7, "n_lines": 11, "n_chars": 532, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 0, "automation_onl...
7
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
/- EvmAsm.Evm64.MulMod.ReduceBitLoop Loop-facing adapter for the MULMOD 512-bit reducer. The inner-step branch spec clobbers and surrenders seven scratch registers (`x5/x6/x7/x8/x10/x11/x13`, with `x8` the new carry register), so the bit-loop invariant carries them as ownership. This file restates the inner ...
@@ -205,12 +205,39 @@ regOwn .x13 ** regOwn .x17 ** regOwn .x19 ** regOwn .x20 ** mulModReduceCompareMem sp result n +/-- The done-exit tail post pins the bit counter to zero. -/ +theorem tailPost_true_regs_zero (x15 : Word) : + ∀ h, mulModReduceTailPost x15 true h → + ((Reg.x15 ↦ᵣ (0 : Word)) ** (Reg.x...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_9cc206c64c6a_0
02cc9309abea2976
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Spec/N3V5Shift0DivLimb.lean
N3V5Shift0DivLimb
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
1
[ { "theorem_name": "n3_shift0_div_getLimbN_lane", "depth": 1, "n_commands": 0, "n_lines": 8, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hword := n3_shift0_quotient_word_eq_div_lane a b a0 a1 a2 a3 b0 b1 b2 bltu_1 bltu_0\n ha0 ha1 ha2 ha3 h...
[ { "name": "n3_shift0_quotient_word_eq_div_lane", "text": "/-- Lane form of the shift=0 n=3 quotient word: equals `EvmWord.div a b`. -/\ntheorem n3_shift0_quotient_word_eq_div_lane (a b : EvmWord)\n (a0 a1 a2 a3 b0 b1 b2 : Word) (bltu_1 bltu_0 : Bool)\n (ha0 : a.getLimbN 0 = a0) (ha1 : a.getLimbN 1 = a...
[ { "name": "n3_shift0_div_getLimbN_lane", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 31, "n_chars": 1570, "n_subproofs": 1, "n_tactics": 9, "cyclomatic": 2, "n_automation": 0, "n_rewrites": 1, "n_structural": 5, "automation_only": false, ...
1
/- EvmAsm.Evm64.DivMod.Spec.N3V5Shift0DivLimb Lane-ready (`a b : EvmWord`) and per-limb forms of the n=3 v5 SHIFT=0 quotient correctness. Bridges the `fromLimbs`-form `n3_shift0_quotient_word_eq_div` (#7561) to the `a b` form via `EvmWord.fromLimbs_match_getLimbN_id` (the `b3=0` padding discharged by the sh...
/- EvmAsm.Evm64.DivMod.Spec.N3V5Shift0DivLimb Lane-ready (`a b : EvmWord`) and per-limb forms of the n=3 v5 SHIFT=0 quotient correctness. Bridges the `fromLimbs`-form `n3_shift0_quotient_word_eq_div` (#7561) to the `a b` form via `EvmWord.fromLimbs_match_getLimbN_id` (the `b3=0` padding discharged by the sh...
@@ -19,6 +19,42 @@ open EvmWord EvmAsm.Rv64 +/-- Lane form of the shift=0 n=3 quotient word: equals `EvmWord.div a b`. -/ +theorem n3_shift0_quotient_word_eq_div_lane (a b : EvmWord) + (a0 a1 a2 a3 b0 b1 b2 : Word) (bltu_1 bltu_0 : Bool) + (ha0 : a.getLimbN 0 = a0) (ha1 : a.getLimbN 1 = a1) + (ha2 : a.get...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_7f89a1d1ba07_0
ec65117a738bed07
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/AddMod/Compose/CarryLa.lean
CarryLa
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "la_save_in_C", "depth": 1, "n_commands": 0, "n_lines": 10, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine carry_block_in_C\n (fun a i h => evm_addmod_total_program_code_carry_save_operands_sub a i\n (by rw [← evm_add...
[ { "name": "addmodLaTail_pcFree", "text": "theorem addmodLaTail_pcFree (F : Word)\n (x1v x2v x6v x7v x9v x10v x11v : Word)\n (m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7\n shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem : Word) :\n (addmodLaTail F x1v x2v x6v x7v x9v x10v x11v\n...
[ { "name": "la_save_in_C", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 61, "n_chars": 3557, "n_subproofs": 0, "n_tactics": 11, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 1, "n_structural": 2, "automation_only": false, "max_nesting...
1
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
@@ -67,6 +67,16 @@ addmodLaScratchTail F m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7 shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem +theorem addmodLaTail_pcFree (F : Word) + (x1v x2v x6v x7v x9v x10v x11v : Word) + (m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7 + shiftMem nMem jM...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_7f89a1d1ba07_1
5691e6eb1a804d48
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/AddMod/Compose/CarryLa.lean
CarryLa
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "la_minus_one_in_C", "depth": 1, "n_commands": 0, "n_lines": 9, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine carry_block_in_C\n (fun a i h => evm_addmod_total_program_code_carry_minus_one_args_sub a i\n (by rw [← ev...
[ { "name": "addmodLaMinusOneFrame_pcFree", "text": "theorem addmodLaMinusOneFrame_pcFree (F : Word)\n (x1v x2v x6v x7v x9v x10v x11v : Word)\n (n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3 dq0 dq1 dq2 dq3 du0 du1 du2 du3 du4 du5 du6 du7 : Word)\n (shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratch...
[ { "name": "la_minus_one_in_C", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 37, "n_chars": 2298, "n_subproofs": 0, "n_tactics": 10, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 1, "n_structural": 2, "automation_only": false, "max_ne...
1
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
@@ -91,6 +91,16 @@ addmodLaScratchTail F sm0 sm1 sm2 sm3 dq0 dq1 dq2 dq3 du0 du1 du2 du3 du4 du5 du6 du7 shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem +theorem addmodLaMinusOneFrame_pcFree (F : Word) + (x1v x2v x6v x7v x9v x10v x11v : Word) + (n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3 dq0 d...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_7f89a1d1ba07_2
2f6b0b2778de7263
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/AddMod/Compose/CarryLa.lean
CarryLa
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "la_save_in_C", "depth": 1, "n_commands": 0, "n_lines": 10, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine carry_block_in_C\n (fun a i h => evm_addmod_total_program_code_carry_save_operands_sub a i\n (by rw [← evm_add...
[ { "name": "addmodLaTail_pcFree", "text": "theorem addmodLaTail_pcFree (F : Word)\n (x1v x2v x6v x7v x9v x10v x11v : Word)\n (m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7\n shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem : Word) :\n (addmodLaTail F x1v x2v x6v x7v x9v x10v x11v\n...
[ { "name": "la12_spec_within", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 57, "n_chars": 3405, "n_subproofs": 1, "n_tactics": 16, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 2, "automation_only": false, "max_nes...
4
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
@@ -67,6 +67,16 @@ addmodLaScratchTail F m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7 shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem +theorem addmodLaTail_pcFree (F : Word) + (x1v x2v x6v x7v x9v x10v x11v : Word) + (m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7 + shiftMem nMem jM...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_7f89a1d1ba07_3
dd0e3db09f118bd2
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/AddMod/Compose/CarryLa.lean
CarryLa
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "la_call1_in_C", "depth": 1, "n_commands": 0, "n_lines": 12, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine cpsTripleWithin_frameR _\n (addmodCall1Frame_pcFree F n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3)\n (evm_addmod_v5...
[ { "name": "addmodCall1Frame_pcFree", "text": "theorem addmodCall1Frame_pcFree (F n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3 : Word) :\n (addmodCall1Frame F n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3).pcFree := by\n unfold addmodCall1Frame; pcFree\n\n", "fan_in": 1, "n_lines": 5, "n_chars": 198, ...
[ { "name": "la_call1_in_C", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 44, "n_chars": 2488, "n_subproofs": 0, "n_tactics": 12, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, "automation_only": false, "max_nestin...
1
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
@@ -108,6 +108,10 @@ ((F + signExtend12 (3856 : BitVec 12)) ↦ₘ sm2) ** ((F + signExtend12 (3864 : BitVec 12)) ↦ₘ sm3) +theorem addmodCall1Frame_pcFree (F n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3 : Word) : + (addmodCall1Frame F n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3).pcFree := by + unfold addmodCall1Frame; p...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_7f89a1d1ba07_4
863624c432c20211
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/AddMod/Compose/CarryLa.lean
CarryLa
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "la_save_in_C", "depth": 1, "n_commands": 0, "n_lines": 10, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine carry_block_in_C\n (fun a i h => evm_addmod_total_program_code_carry_save_operands_sub a i\n (by rw [← evm_add...
[ { "name": "addmodLaTail_pcFree", "text": "theorem addmodLaTail_pcFree (F : Word)\n (x1v x2v x6v x7v x9v x10v x11v : Word)\n (m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7\n shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem : Word) :\n (addmodLaTail F x1v x2v x6v x7v x9v x10v x11v\n...
[ { "name": "la123_spec_within", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 7, "n_lines": 81, "n_chars": 5032, "n_subproofs": 9, "n_tactics": 33, "cyclomatic": 1, "n_automation": 13, "n_rewrites": 6, "n_structural": 2, "automation_only": false, "max_n...
7
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
@@ -67,6 +67,16 @@ addmodLaScratchTail F m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7 shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem +theorem addmodLaTail_pcFree (F : Word) + (x1v x2v x6v x7v x9v x10v x11v : Word) + (m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7 + shiftMem nMem jM...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_7f89a1d1ba07_5
d587da6f2d182c42
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/AddMod/Compose/CarryLa.lean
CarryLa
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "la_restore_in_C", "depth": 1, "n_commands": 0, "n_lines": 22, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hsubRestore : ∀ a i,\n CodeReq.singleton (bt + 248) (.ADDI .x12 .x12 (4064 : BitVec 12)) a = some i →\n (ev...
[ { "name": "addmodAfterCall1Rest_pcFree", "text": "theorem addmodAfterCall1Rest_pcFree (F raVal : Word)\n (n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3 : Word) :\n (addmodAfterCall1Rest F raVal n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3).pcFree := by\n unfold addmodAfterCall1Rest addmodCall1Frame divScratchOw...
[ { "name": "la_restore_in_C", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 34, "n_chars": 1856, "n_subproofs": 2, "n_tactics": 24, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 10, "n_structural": 5, "automation_only": false, "max_nes...
1
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
@@ -122,6 +122,12 @@ memOwn (F + signExtend12 (3936 : BitVec 12)) ** addmodCall1Frame F n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3 +theorem addmodAfterCall1Rest_pcFree (F raVal : Word) + (n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3 : Word) : + (addmodAfterCall1Rest F raVal n0 n1 n2 n3 r0 r1 r2 r3 sm0 sm1 sm2 sm3...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_7f89a1d1ba07_6
df3f67d59eaec199
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/AddMod/Compose/CarryLa.lean
CarryLa
6
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "la_save_in_C", "depth": 1, "n_commands": 0, "n_lines": 10, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine carry_block_in_C\n (fun a i h => evm_addmod_total_program_code_carry_save_operands_sub a i\n (by rw [← evm_add...
[ { "name": "addmodLaTail_pcFree", "text": "theorem addmodLaTail_pcFree (F : Word)\n (x1v x2v x6v x7v x9v x10v x11v : Word)\n (m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7\n shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem : Word) :\n (addmodLaTail F x1v x2v x6v x7v x9v x10v x11v\n...
[ { "name": "la_spec_within", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 10, "n_lines": 56, "n_chars": 3270, "n_subproofs": 1, "n_tactics": 14, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 2, "automation_only": false, "max_nest...
10
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
/- EvmAsm.Evm64.AddMod.Compose.CarryLa Phase-3 M3d for total ADDMOD (issue #9704): the first carry-branch sub-chain. La runs from the carry-path entry (byte 160, taken when N ≠ 0 and the ADD carry bit is 1) through the first MOD call: save_operands (160,16) ;; minus_one_args (224,5) ;; [adapter call1...
@@ -67,6 +67,16 @@ addmodLaScratchTail F m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7 shiftMem nMem jMem retMem dMem dloMem scratch_un0 scratchMem +theorem addmodLaTail_pcFree (F : Word) + (x1v x2v x6v x7v x9v x10v x11v : Word) + (m0 m1 m2 m3 q0 q1 q2 q3 u0 u1 u2 u3 u4 u5 u6 u7 + shiftMem nMem jM...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_227b7c9e9246_0
0be9a877476c35c5
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/SavedBitTwoMulSkip.lean
SavedBitTwoMulSkip
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
2
1
[ { "theorem_name": "exp_msb_saved_bit_prefix_squaring_beq_skip_then_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within", "depth": 1, "n_commands": 0, "n_lines": 52, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro bit squareW\n have hBr...
[ { "name": "exp_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within", "text": "/-- Saved-bit loop-back block lifted to the two-MUL-offset EXP+MUL code\n bundle. -/\ntheorem exp_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within\n (c : Word)\n (squaringMulOff condMulOff : BitVec 21...
[ { "name": "exp_msb_saved_bit_prefix_squaring_beq_skip_then_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 108, "n_chars": 5908, "n_subproofs": 8, "n_tactics": 52, "cyclomatic": 1, "n_automatio...
1
/- EvmAsm.Evm64.Exp.Compose.SavedBitTwoMulSkip Two-MUL-offset saved-bit EXP skip-path composition. This is split out of `SavedBitFullLoop.lean` to keep the compose files under the size guardrail. -/ import EvmAsm.Evm64.Exp.Compose.SavedBitFullLoop import EvmAsm.Evm64.Exp.AddrNorm namespace EvmAsm.Evm64.Exp.Co...
/- EvmAsm.Evm64.Exp.Compose.SavedBitTwoMulSkip Two-MUL-offset saved-bit EXP skip-path composition. This is split out of `SavedBitFullLoop.lean` to keep the compose files under the size guardrail. -/ import EvmAsm.Evm64.Exp.Compose.SavedBitFullLoop import EvmAsm.Evm64.Exp.AddrNorm namespace EvmAsm.Evm64.Exp.Co...
@@ -13,6 +13,32 @@ open EvmAsm.Rv64.Tactics open EvmAsm.Rv64 +/-- Saved-bit loop-back block lifted to the two-MUL-offset EXP+MUL code + bundle. -/ +theorem exp_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within + (c : Word) + (squaringMulOff condMulOff : BitVec 21) (skipOff backOff : BitVec 13) +...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_227b7c9e9246_1
bbb41094c7fa739b
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/SavedBitTwoMulSkip.lean
SavedBitTwoMulSkip
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
2
1
[ { "theorem_name": "exp_msb_saved_bit_prefix_squaring_beq_skip_then_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within", "depth": 1, "n_commands": 0, "n_lines": 52, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro bit squareW\n have hBr...
[ { "name": "exp_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within", "text": "/-- Saved-bit loop-back block lifted to the two-MUL-offset EXP+MUL code\n bundle. -/\ntheorem exp_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within\n (c : Word)\n (squaringMulOff condMulOff : BitVec 21...
[ { "name": "exp_msb_saved_bit_prefix_squaring_beq_skip_then_loop_back_with_base_frame_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 73, "n_chars": 4138, "n_subproofs": 2, "n_tactics": 13, "cyclomatic": 1, ...
2
/- EvmAsm.Evm64.Exp.Compose.SavedBitTwoMulSkip Two-MUL-offset saved-bit EXP skip-path composition. This is split out of `SavedBitFullLoop.lean` to keep the compose files under the size guardrail. -/ import EvmAsm.Evm64.Exp.Compose.SavedBitFullLoop import EvmAsm.Evm64.Exp.AddrNorm namespace EvmAsm.Evm64.Exp.Co...
/- EvmAsm.Evm64.Exp.Compose.SavedBitTwoMulSkip Two-MUL-offset saved-bit EXP skip-path composition. This is split out of `SavedBitFullLoop.lean` to keep the compose files under the size guardrail. -/ import EvmAsm.Evm64.Exp.Compose.SavedBitFullLoop import EvmAsm.Evm64.Exp.AddrNorm namespace EvmAsm.Evm64.Exp.Co...
@@ -13,6 +13,32 @@ open EvmAsm.Rv64.Tactics open EvmAsm.Rv64 +/-- Saved-bit loop-back block lifted to the two-MUL-offset EXP+MUL code + bundle. -/ +theorem exp_loop_back_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within + (c : Word) + (squaringMulOff condMulOff : BitVec 21) (skipOff backOff : BitVec 13) +...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_869add8ff28f_0
6b235c195ec56d63
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Compose/ModEpilogue.lean
ModEpilogue
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
1
[ { "theorem_name": "mod_denorm_body_spec_within", "depth": 1, "n_commands": 0, "n_lines": 102, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [divKDenormBodyPre_unfold, divKDenormBodyPost_unfold]\n let antiShift := signExtend12 (0 : BitVec 12) - s...
[ { "name": "divK_denorm_code_sub_modCode", "text": "/-- Denorm code (block 9) is subsumed by modCode. -/\nprivate theorem divK_denorm_code_sub_modCode {base : Word} :\n ∀ a i, (CodeReq.ofProg (base + denormOff) divK_denorm) a = some i → (modCode base) a = some i := by\n unfold modCode; simp only [CodeReq...
[ { "name": "mod_denorm_body_spec_within", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 111, "n_chars": 6511, "n_subproofs": 24, "n_tactics": 95, "cyclomatic": 1, "n_automation": 18, "n_rewrites": 14, "n_structural": 2, "automation_only": fals...
1
/- EvmAsm.Evm64.DivMod.Compose.ModEpilogue MOD mirror of the Denorm body composition from Epilogue.lean. Same code, same pre/postconditions, just modCode instead of divCode. Block 9 (denorm at base+904) is identical between divCode and modCode. -/ import EvmAsm.Evm64.DivMod.Compose.Epilogue open EvmAsm.Rv64....
/- EvmAsm.Evm64.DivMod.Compose.ModEpilogue MOD mirror of the Denorm body composition from Epilogue.lean. Same code, same pre/postconditions, just modCode instead of divCode. Block 9 (denorm at base+904) is identical between divCode and modCode. -/ import EvmAsm.Evm64.DivMod.Compose.Epilogue open EvmAsm.Rv64....
@@ -19,6 +19,14 @@ -- Denorm code subsumption for modCode (block 9, skip 9 blocks) -- ============================================================================ +/-- Denorm code (block 9) is subsumed by modCode. -/ +private theorem divK_denorm_code_sub_modCode {base : Word} : + ∀ a i, (CodeReq.ofProg (base + d...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_0
7aa2974acc37cede
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
7
[ { "theorem_name": "exponentByteLengthNat_of_pos_lt_256", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div...
[ { "name": "exponentByteLengthNat_succ", "text": "theorem exponentByteLengthNat_succ (n : Nat) :\n exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by\n rw [exponentByteLengthNat]\n\n", "fan_in": 7, "n_lines": 5, "n_chars": 161, "n_subproofs": 0, "n_tactics...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "fan_in": 3, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 10, "n_chars": 322, "n_subproofs": 1, "n_tactics": 7, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 1, "n_structural": 1, "automation_only": fa...
2
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -26,11 +26,18 @@ theorem exponentByteLengthNat_zero : exponentByteLengthNat 0 = 0 := by simp [exponentByteLengthNat] +theorem exponentByteLengthNat_succ (n : Nat) : + exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by + rw [exponentByteLengthNat] + theorem exponentByteLengthNa...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_1
229617c70f715943
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
7
[ { "theorem_name": "exponentByteLengthNat_of_pos_lt_256", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div...
[ { "name": "exponentByteLengthNat_succ", "text": "theorem exponentByteLengthNat_succ (n : Nat) :\n exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by\n rw [exponentByteLengthNat]\n\n", "fan_in": 7, "n_lines": 5, "n_chars": 161, "n_subproofs": 0, "n_tactics...
[ { "name": "exponentByteLengthNat_one", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 4, "n_chars": 139, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, "m...
3
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -26,11 +26,18 @@ theorem exponentByteLengthNat_zero : exponentByteLengthNat 0 = 0 := by simp [exponentByteLengthNat] +theorem exponentByteLengthNat_succ (n : Nat) : + exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by + rw [exponentByteLengthNat] + theorem exponentByteLengthNa...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_2
726c2e2f1af8d54d
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
7
[ { "theorem_name": "exponentByteLengthNat_of_pos_lt_256", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div...
[ { "name": "exponentByteLengthNat_succ", "text": "theorem exponentByteLengthNat_succ (n : Nat) :\n exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by\n rw [exponentByteLengthNat]\n\n", "fan_in": 7, "n_lines": 5, "n_chars": 161, "n_subproofs": 0, "n_tactics...
[ { "name": "exponentByteLengthNat_255", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 4, "n_chars": 141, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, "m...
3
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -26,11 +26,18 @@ theorem exponentByteLengthNat_zero : exponentByteLengthNat 0 = 0 := by simp [exponentByteLengthNat] +theorem exponentByteLengthNat_succ (n : Nat) : + exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by + rw [exponentByteLengthNat] + theorem exponentByteLengthNa...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_3
58b3a0cf5d55e63c
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLengthNat_256", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 5, "n_chars": 210, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 3, "n_structural": 0, "automation_only": false, "m...
4
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,8 +30,18 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := sorry +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteLen...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_4
72099c58c1fbe413
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLengthNat_65535", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 5, "n_chars": 222, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 3, "n_structural": 0, "automation_only": false, ...
4
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,8 +30,18 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := sorry +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteL...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_5
ffe658c05fe4a91a
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLengthNat_65536", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 5, "n_lines": 5, "n_chars": 222, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 3, "n_structural": 0, "automation_only": false, ...
5
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,8 +30,18 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := sorry +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteLen...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_6
c481e7db246ce820
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
6
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLengthNat_16777215", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 5, "n_lines": 5, "n_chars": 241, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 3, "n_structural": 0, "automation_only": false, ...
5
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,8 +30,18 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := sorry +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteL...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_7
fb65d1ad3ca34dee
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
7
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "exponentByteLengthNat_256", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, expo...
[ { "name": "exponentByteLengthNat_one", "text": "theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 4, "n_chars": 139, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": ...
[ { "name": "exponentByteLengthNat_16777216", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 6, "n_lines": 5, "n_chars": 241, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 3, "n_structural": 0, "automation_only": false, ...
6
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -39,8 +39,13 @@ have h_div : (k + 1) / 256 = 0 := Nat.div_eq_of_lt h_lt simp [h_div, exponentByteLengthNat_zero] -theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := sorry +theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by + exact exponentByteLengthNat_of_pos_lt_...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_8
c28ff04ab865885b
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
8
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
7
[ { "theorem_name": "exponentByteLengthNat_of_pos_lt_256", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div...
[ { "name": "exponentByteLengthNat_succ", "text": "theorem exponentByteLengthNat_succ (n : Nat) :\n exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by\n rw [exponentByteLengthNat]\n\n", "fan_in": 7, "n_lines": 5, "n_chars": 161, "n_subproofs": 0, "n_tactics...
[ { "name": "exponentByteLengthNat_pow8_sub_one", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 25, "n_chars": 985, "n_subproofs": 5, "n_tactics": 20, "cyclomatic": 3, "n_automation": 11, "n_rewrites": 5, "n_structural": 2, "automation_only": f...
1
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -23,6 +23,10 @@ decreasing_by exact Nat.div_lt_self (Nat.succ_pos _) (by decide) +theorem exponentByteLengthNat_succ (n : Nat) : + exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by + rw [exponentByteLengthNat] + /-- `exponentByteLengthNat (2^(8*j) - 1) = j`: each division-by-...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_9
1d4210e1e4d35e25
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
9
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
7
[ { "theorem_name": "exponentByteLengthNat_of_pos_lt_256", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div...
[ { "name": "exponentByteLengthNat_succ", "text": "theorem exponentByteLengthNat_succ (n : Nat) :\n exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by\n rw [exponentByteLengthNat]\n\n", "fan_in": 7, "n_lines": 5, "n_chars": 161, "n_subproofs": 0, "n_tactics...
[ { "name": "exponentByteLengthNat_max", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 5, "n_chars": 148, "n_subproofs": 1, "n_tactics": 3, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 0, "automation_only": false, "m...
2
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -23,6 +23,10 @@ decreasing_by exact Nat.div_lt_self (Nat.succ_pos _) (by decide) +theorem exponentByteLengthNat_succ (n : Nat) : + exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by + rw [exponentByteLengthNat] + /-- `exponentByteLengthNat (2^(8*j) - 1) = j`: each division-by-...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_10
019bf0d29f8ad5c0
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
10
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
2
[ { "theorem_name": "exponentByteLengthNat_of_pos_lt_256", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div...
[ { "name": "exponentByteLengthNat_zero", "text": "theorem exponentByteLengthNat_zero : exponentByteLengthNat 0 = 0 := by\n simp [exponentByteLengthNat]\n\n", "fan_in": 2, "n_lines": 4, "n_chars": 103, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 1, "n_re...
[ { "name": "exponentByteLength_zero", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 5, "n_chars": 142, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 1, "n_structural": 0, "automation_only": false, "max...
1
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -23,6 +23,9 @@ decreasing_by exact Nat.div_lt_self (Nat.succ_pos _) (by decide) +theorem exponentByteLengthNat_zero : exponentByteLengthNat 0 = 0 := by + simp [exponentByteLengthNat] + /-- Number of exponent bytes seen by EXP dynamic gas accounting. -/ def exponentByteLength (exponent : EvmWord) : Nat := ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_11
b56b6c20d71257cb
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
11
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
7
[ { "theorem_name": "exponentByteLengthNat_of_pos_lt_256", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div...
[ { "name": "exponentByteLengthNat_succ", "text": "theorem exponentByteLengthNat_succ (n : Nat) :\n exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by\n rw [exponentByteLengthNat]\n\n", "fan_in": 7, "n_lines": 5, "n_chars": 161, "n_subproofs": 0, "n_tactics...
[ { "name": "exponentByteLength_of_pos_lt_256", "fan_in": 3, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 7, "n_chars": 253, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 1, "n_structural": 1, "automation_only": false,...
3
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -26,11 +26,18 @@ theorem exponentByteLengthNat_zero : exponentByteLengthNat 0 = 0 := by simp [exponentByteLengthNat] +theorem exponentByteLengthNat_succ (n : Nat) : + exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by + rw [exponentByteLengthNat] + theorem exponentByteLengthNa...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_12
23e35d7a2a11c66f
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
12
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLength_one", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 4, "n_chars": 142, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, "max_...
4
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,6 +30,15 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteLengthNat n = 1 := by + cases n with + | zero => omega + | succ k => + ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_13
2ef5f301ce65ecba
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
13
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLength_255", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 4, "n_chars": 144, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, "max_...
4
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,6 +30,15 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteLengthNat n = 1 := by + cases n with + | zero => omega + | succ k => + ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_14
ee32f608f0b49288
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
14
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLength_256", "fan_in": 2, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 6, "n_chars": 196, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 3, "n_structural": 1, "automation_only": false, "max_...
5
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,8 +30,18 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := sorry +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteLen...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_15
42a560fce3b42b6a
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
15
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLength_65535", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 6, "n_chars": 206, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 3, "n_structural": 1, "automation_only": false, "ma...
5
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,8 +30,18 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := sorry +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteL...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_16
e2903e5136e3fcbe
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
16
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "exponentByteLengthNat_256", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, expo...
[ { "name": "exponentByteLengthNat_one", "text": "theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 4, "n_chars": 139, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": ...
[ { "name": "exponentByteLength_65536", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 6, "n_chars": 206, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 3, "n_structural": 1, "automation_only": false, "ma...
6
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -39,8 +39,13 @@ have h_div : (k + 1) / 256 = 0 := Nat.div_eq_of_lt h_lt simp [h_div, exponentByteLengthNat_zero] -theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := sorry +theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by + exact exponentByteLengthNat_of_pos_lt_...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_17
5528efe945049018
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
17
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "exponentByteLength_16777215", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 6, "n_chars": 221, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 3, "n_structural": 1, "automation_only": false, ...
6
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,8 +30,18 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := sorry +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteL...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_18
5b521885b728daf2
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
18
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
2
[ { "theorem_name": "exponentByteLengthNat_65536", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (65536 : Nat) = 65535 + 1 from rfl, exponentByteLengthNat_succ,\n show (65535 + 1) / 256 = 256 from...
[ { "name": "exponentByteLengthNat_256", "text": "theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, exponentByteLengthNat_one]\n\n", "fan_in": 2, "n_lines": 5, "n_c...
[ { "name": "exponentByteLength_16777216", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 7, "n_lines": 6, "n_chars": 221, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 3, "n_structural": 1, "automation_only": false, ...
7
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -42,8 +42,14 @@ theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide) -theorem exponentByteLengthNat_65536 : exponentByteLengthNat 65536 = 3 := sorry +theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by + rw ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_19
c0260fc5bbf564a7
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
19
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
7
[ { "theorem_name": "exponentByteLengthNat_of_pos_lt_256", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div...
[ { "name": "exponentByteLengthNat_succ", "text": "theorem exponentByteLengthNat_succ (n : Nat) :\n exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by\n rw [exponentByteLengthNat]\n\n", "fan_in": 7, "n_lines": 5, "n_chars": 161, "n_subproofs": 0, "n_tactics...
[ { "name": "exponentByteLength_max", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 6, "n_chars": 203, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 3, "n_structural": 1, "automation_only": false, "max_...
3
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -23,6 +23,10 @@ decreasing_by exact Nat.div_lt_self (Nat.succ_pos _) (by decide) +theorem exponentByteLengthNat_succ (n : Nat) : + exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by + rw [exponentByteLengthNat] + /-- `exponentByteLengthNat (2^(8*j) - 1) = j`: each division-by-...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_20
36ef2a48a572c79b
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
20
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "expDynamicCostFromExponent_zero", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold expDynamicCostFromExponent expGasPerByte\n rw [exponentByteLength_zero]", "n_chars": 84, "n...
[ { "name": "exponentByteLength_zero", "text": "theorem exponentByteLength_zero : exponentByteLength (0 : EvmWord) = 0 := by\n unfold exponentByteLength\n simp [exponentByteLengthNat_zero]\n\n", "fan_in": 1, "n_lines": 5, "n_chars": 142, "n_subproofs": 0, "n_tactics": 3, "cyclomatic"...
[ { "name": "expDynamicCostFromExponent_zero", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 6, "n_chars": 179, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 0, "automation_only": false, ...
2
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -39,8 +39,14 @@ def expTotalGasFromExponent (exponent : EvmWord) : Nat := EvmOpcode.staticGasCost .EXP + expDynamicCostFromExponent exponent +theorem exponentByteLength_zero : exponentByteLength (0 : EvmWord) = 0 := by + unfold exponentByteLength + simp [exponentByteLengthNat_zero] + theorem expDynamicCostF...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_21
40b51c405e163f9e
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
21
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "expDynamicCostFromExponent_of_pos_lt_256", "fan_in": 3, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 7, "n_chars": 288, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 0, "automation_only"...
4
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,6 +30,15 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteLengthNat n = 1 := by + cases n with + | zero => omega + | succ k => + ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_22
3a732cfa51e80e38
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
22
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLength_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLength_of_pos_lt_256 (by decide) (by decide)", "n_chars": 68, "n_subproofs": 0, "n_tac...
[ { "name": "exponentByteLength_of_pos_lt_256", "text": "theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord}\n (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) :\n exponentByteLength exponent = 1 := by\n unfold exponentByteLength\n exact exponentByteLengthNat_of_pos_lt_256 h_pos h_...
[ { "name": "expDynamicCostFromExponent_one", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 5, "n_chars": 171, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, ...
5
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -52,9 +52,17 @@ def expTotalGasFromExponent (exponent : EvmWord) : Nat := EvmOpcode.staticGasCost .EXP + expDynamicCostFromExponent exponent +theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord} + (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) : + exponentByteLength exponent = 1 := b...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_23
cf9fbf3d5cbbe9fc
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
23
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "expDynamicCostFromExponent_zero", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold expDynamicCostFromExponent expGasPerByte\n rw [exponentByteLength_zero]", "n_chars": 84, "n...
[ { "name": "exponentByteLength_zero", "text": "theorem exponentByteLength_zero : exponentByteLength (0 : EvmWord) = 0 := by\n unfold exponentByteLength\n simp [exponentByteLengthNat_zero]\n\n", "fan_in": 1, "n_lines": 5, "n_chars": 142, "n_subproofs": 0, "n_tactics": 3, "cyclomatic"...
[ { "name": "expTotalGasFromExponent_zero", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 7, "n_chars": 171, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false, ...
3
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -39,8 +39,14 @@ def expTotalGasFromExponent (exponent : EvmWord) : Nat := EvmOpcode.staticGasCost .EXP + expDynamicCostFromExponent exponent +theorem exponentByteLength_zero : exponentByteLength (0 : EvmWord) = 0 := by + unfold exponentByteLength + simp [exponentByteLengthNat_zero] + theorem expDynamicCostF...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_24
0191f8aa2b2ae942
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
24
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLength_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLength_of_pos_lt_256 (by decide) (by decide)", "n_chars": 68, "n_subproofs": 0, "n_tac...
[ { "name": "exponentByteLength_of_pos_lt_256", "text": "theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord}\n (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) :\n exponentByteLength exponent = 1 := by\n unfold exponentByteLength\n exact exponentByteLengthNat_of_pos_lt_256 h_pos h_...
[ { "name": "expTotalGasFromExponent_of_pos_lt_256", "fan_in": 2, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 8, "n_chars": 279, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": f...
5
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -52,9 +52,17 @@ def expTotalGasFromExponent (exponent : EvmWord) : Nat := EvmOpcode.staticGasCost .EXP + expDynamicCostFromExponent exponent +theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord} + (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) : + exponentByteLength exponent = 1 := b...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_25
fe46d5e70d6825c8
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
25
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLength_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLength_of_pos_lt_256 (by decide) (by decide)", "n_chars": 68, "n_subproofs": 0, "n_tac...
[ { "name": "exponentByteLength_of_pos_lt_256", "text": "theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord}\n (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) :\n exponentByteLength exponent = 1 := by\n unfold exponentByteLength\n exact exponentByteLengthNat_of_pos_lt_256 h_pos h_...
[ { "name": "expTotalGasFromExponent_one", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 5, "n_chars": 162, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, ...
6
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -52,9 +52,17 @@ def expTotalGasFromExponent (exponent : EvmWord) : Nat := EvmOpcode.staticGasCost .EXP + expDynamicCostFromExponent exponent +theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord} + (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) : + exponentByteLength exponent = 1 := b...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_26
1dadaa6d971bf2ec
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
26
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLength_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLength_of_pos_lt_256 (by decide) (by decide)", "n_chars": 68, "n_subproofs": 0, "n_tac...
[ { "name": "exponentByteLength_of_pos_lt_256", "text": "theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord}\n (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) :\n exponentByteLength exponent = 1 := by\n unfold exponentByteLength\n exact exponentByteLengthNat_of_pos_lt_256 h_pos h_...
[ { "name": "expTotalGasFromExponent_255", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 5, "n_chars": 164, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, ...
6
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -52,9 +52,17 @@ def expTotalGasFromExponent (exponent : EvmWord) : Nat := EvmOpcode.staticGasCost .EXP + expDynamicCostFromExponent exponent +theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord} + (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) : + exponentByteLength exponent = 1 := b...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_27
dd258e9c6a32afc3
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
27
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLength_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLength_of_pos_lt_256 (by decide) (by decide)", "n_chars": 68, "n_subproofs": 0, "n_tac...
[ { "name": "exponentByteLength_of_pos_lt_256", "text": "theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord}\n (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) :\n exponentByteLength exponent = 1 := by\n unfold exponentByteLength\n exact exponentByteLengthNat_of_pos_lt_256 h_pos h_...
[ { "name": "expDynamicCostFromExponent_255", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 5, "n_chars": 173, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, ...
5
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -52,9 +52,17 @@ def expTotalGasFromExponent (exponent : EvmWord) : Nat := EvmOpcode.staticGasCost .EXP + expDynamicCostFromExponent exponent +theorem exponentByteLength_of_pos_lt_256 {exponent : EvmWord} + (h_pos : 0 < exponent.toNat) (h_lt : exponent.toNat < 256) : + exponentByteLength exponent = 1 := b...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_28
33e0b1f47a73ac6e
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
28
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "exponentByteLengthNat_256", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, expo...
[ { "name": "exponentByteLengthNat_one", "text": "theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 4, "n_chars": 139, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": ...
[ { "name": "expDynamicCostFromExponent_256", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 6, "n_chars": 181, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 0, "automation_only": false, ...
6
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -39,8 +39,13 @@ have h_div : (k + 1) / 256 = 0 := Nat.div_eq_of_lt h_lt simp [h_div, exponentByteLengthNat_zero] -theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := sorry +theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by + exact exponentByteLengthNat_of_pos_lt_...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_29
84d531853a78f4cf
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
29
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "exponentByteLengthNat_256", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, expo...
[ { "name": "exponentByteLengthNat_one", "text": "theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 4, "n_chars": 139, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": ...
[ { "name": "expTotalGasFromExponent_256", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 7, "n_chars": 205, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false, ...
6
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -39,8 +39,13 @@ have h_div : (k + 1) / 256 = 0 := Nat.div_eq_of_lt h_lt simp [h_div, exponentByteLengthNat_zero] -theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := sorry +theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by + exact exponentByteLengthNat_of_pos_lt_...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_30
dab46b3407d6535f
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
30
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
3
[ { "theorem_name": "exponentByteLengthNat_one", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)", "n_chars": 71, "n_subproofs": 0, ...
[ { "name": "exponentByteLengthNat_of_pos_lt_256", "text": "theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) :\n exponentByteLengthNat n = 1 := by\n cases n with\n | zero => omega\n | succ k =>\n rw [exponentByteLengthNat_succ]\n have h_div : (k + 1) / 256...
[ { "name": "expDynamicCostFromExponent_65535", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 6, "n_chars": 187, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 0, "automation_only": false,...
6
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -30,8 +30,18 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := sorry +theorem exponentByteLengthNat_of_pos_lt_256 {n : Nat} (h_pos : 0 < n) (h_lt : n < 256) : + exponentByteL...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_31
cced0f77fac2d735
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
31
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "exponentByteLengthNat_65535", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (65535 : Nat) = 65534 + 1 from rfl, exponentByteLengthNat_succ,\n show (65534 + 1) / 256 = 255 from...
[ { "name": "exponentByteLengthNat_255", "text": "theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 4, "n_chars": 141, "n_subproofs": 0, "n_tactics": 2, "cyclomatic"...
[ { "name": "expTotalGasFromExponent_65535", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 7, "n_lines": 7, "n_chars": 178, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false, ...
7
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -39,8 +39,13 @@ have h_div : (k + 1) / 256 = 0 := Nat.div_eq_of_lt h_lt simp [h_div, exponentByteLengthNat_zero] -theorem exponentByteLengthNat_65535 : exponentByteLengthNat 65535 = 2 := sorry +theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := by + exact exponentByteLengthNat_of_p...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_32
7ea48ecb397176a6
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
32
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
2
[ { "theorem_name": "exponentByteLengthNat_65536", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (65536 : Nat) = 65535 + 1 from rfl, exponentByteLengthNat_succ,\n show (65535 + 1) / 256 = 256 from...
[ { "name": "exponentByteLengthNat_256", "text": "theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, exponentByteLengthNat_one]\n\n", "fan_in": 2, "n_lines": 5, "n_c...
[ { "name": "expDynamicCostFromExponent_65536", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 7, "n_lines": 6, "n_chars": 187, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 0, "automation_only": false,...
7
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -42,8 +42,14 @@ theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide) -theorem exponentByteLengthNat_65536 : exponentByteLengthNat 65536 = 3 := sorry +theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by + rw ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_33
bb3fc71300552461
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
33
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
2
[ { "theorem_name": "exponentByteLengthNat_65536", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (65536 : Nat) = 65535 + 1 from rfl, exponentByteLengthNat_succ,\n show (65535 + 1) / 256 = 256 from...
[ { "name": "exponentByteLengthNat_256", "text": "theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, exponentByteLengthNat_one]\n\n", "fan_in": 2, "n_lines": 5, "n_c...
[ { "name": "expTotalGasFromExponent_65536", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 8, "n_lines": 7, "n_chars": 178, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false, ...
8
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -42,8 +42,14 @@ theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide) -theorem exponentByteLengthNat_65536 : exponentByteLengthNat 65536 = 3 := sorry +theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by + rw ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_34
ee472cd5f42baba2
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
34
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "exponentByteLengthNat_65535", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (65535 : Nat) = 65534 + 1 from rfl, exponentByteLengthNat_succ,\n show (65534 + 1) / 256 = 255 from...
[ { "name": "exponentByteLengthNat_255", "text": "theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := by\n exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide)\n\n", "fan_in": 1, "n_lines": 4, "n_chars": 141, "n_subproofs": 0, "n_tactics": 2, "cyclomatic"...
[ { "name": "expDynamicCostFromExponent_16777215", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 7, "n_lines": 6, "n_chars": 196, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 0, "automation_only": fal...
7
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -39,8 +39,13 @@ have h_div : (k + 1) / 256 = 0 := Nat.div_eq_of_lt h_lt simp [h_div, exponentByteLengthNat_zero] -theorem exponentByteLengthNat_65535 : exponentByteLengthNat 65535 = 2 := sorry +theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := by + exact exponentByteLengthNat_of_p...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_35
3f41475109459479
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
35
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
2
[ { "theorem_name": "exponentByteLengthNat_16777215", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (16777215 : Nat) = 16777214 + 1 from rfl, exponentByteLengthNat_succ,\n show (16777214 + 1) / 25...
[ { "name": "exponentByteLengthNat_65535", "text": "theorem exponentByteLengthNat_65535 : exponentByteLengthNat 65535 = 2 := by\n rw [show (65535 : Nat) = 65534 + 1 from rfl, exponentByteLengthNat_succ,\n show (65534 + 1) / 256 = 255 from rfl, exponentByteLengthNat_255]\n\n", "fan_in": 2, "n_lines...
[ { "name": "expTotalGasFromExponent_16777215", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 8, "n_lines": 7, "n_chars": 187, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false,...
8
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -42,8 +42,14 @@ theorem exponentByteLengthNat_255 : exponentByteLengthNat 255 = 1 := by exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide) -theorem exponentByteLengthNat_16777215 : exponentByteLengthNat 16777215 = 3 := sorry +theorem exponentByteLengthNat_65535 : exponentByteLengthNat 65535 = 2 ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_36
c68c6b7f3e51fa99
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
36
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
2
[ { "theorem_name": "exponentByteLengthNat_65536", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (65536 : Nat) = 65535 + 1 from rfl, exponentByteLengthNat_succ,\n show (65535 + 1) / 256 = 256 from...
[ { "name": "exponentByteLengthNat_256", "text": "theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, exponentByteLengthNat_one]\n\n", "fan_in": 2, "n_lines": 5, "n_c...
[ { "name": "expDynamicCostFromExponent_16777216", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 8, "n_lines": 6, "n_chars": 196, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 0, "automation_only": fal...
8
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -42,8 +42,14 @@ theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide) -theorem exponentByteLengthNat_65536 : exponentByteLengthNat 65536 = 3 := sorry +theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by + rw ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_37
12f3031c558bf7cb
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
37
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
2
[ { "theorem_name": "exponentByteLengthNat_65536", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [show (65536 : Nat) = 65535 + 1 from rfl, exponentByteLengthNat_succ,\n show (65535 + 1) / 256 = 256 from...
[ { "name": "exponentByteLengthNat_256", "text": "theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by\n rw [show (256 : Nat) = 255 + 1 from rfl, exponentByteLengthNat_succ,\n show (255 + 1) / 256 = 1 from rfl, exponentByteLengthNat_one]\n\n", "fan_in": 2, "n_lines": 5, "n_c...
[ { "name": "expTotalGasFromExponent_16777216", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 9, "n_lines": 7, "n_chars": 187, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false,...
9
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -42,8 +42,14 @@ theorem exponentByteLengthNat_one : exponentByteLengthNat 1 = 1 := by exact exponentByteLengthNat_of_pos_lt_256 (by decide) (by decide) -theorem exponentByteLengthNat_65536 : exponentByteLengthNat 65536 = 3 := sorry +theorem exponentByteLengthNat_256 : exponentByteLengthNat 256 = 2 := by + rw ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_38
77e90742889dc856
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
38
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "exponentByteLengthNat_max", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have h := exponentByteLengthNat_pow8_sub_one 32\n simpa using h", "n_chars": 69, "n_subproofs": 1, "...
[ { "name": "exponentByteLengthNat_pow8_sub_one", "text": "/-- `exponentByteLengthNat (2^(8*j) - 1) = j`: each division-by-256 step strips\n exactly one byte (eight bits) off an all-ones prefix. -/\ntheorem exponentByteLengthNat_pow8_sub_one (j : Nat) :\n exponentByteLengthNat (2 ^ (8 * j) - 1) = j := b...
[ { "name": "expDynamicCostFromExponent_max", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 6, "n_chars": 181, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 0, "automation_only": false, ...
4
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -27,8 +27,34 @@ exponentByteLengthNat (n + 1) = 1 + exponentByteLengthNat ((n + 1) / 256) := by rw [exponentByteLengthNat] -theorem exponentByteLengthNat_max : exponentByteLengthNat (2^256 - 1) = 32 := sorry +/-- `exponentByteLengthNat (2^(8*j) - 1) = j`: each division-by-256 step strips + exactly one b...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_38522212d472_39
3aee04c7d21d2232
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Gas.lean
Gas
39
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
28
1
[ { "theorem_name": "exponentByteLength_max", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold exponentByteLength\n rw [show (-1 : EvmWord).toNat = 2 ^ 256 - 1 from by decide]\n exact exponentByteLength...
[ { "name": "exponentByteLengthNat_max", "text": "theorem exponentByteLengthNat_max : exponentByteLengthNat (2^256 - 1) = 32 := by\n have h := exponentByteLengthNat_pow8_sub_one 32\n simpa using h\n\n", "fan_in": 1, "n_lines": 5, "n_chars": 148, "n_subproofs": 1, "n_tactics": 3, "cyc...
[ { "name": "expTotalGasFromExponent_max", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 7, "n_chars": 172, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false, ...
5
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
/- EvmAsm.Evm64.Exp.Gas Dynamic gas helpers for the EXP opcode (GH #92). The static/base EXP cost remains the table entry in `EvmAsm.Evm64.Gas`; this file adds the exponent-byte add-on used by Shanghai-era executable semantics. -/ import EvmAsm.Evm64.Basic import EvmAsm.Evm64.Gas namespace EvmAsm.Evm64.ExpGa...
@@ -51,6 +51,10 @@ rw [hdiv, ih] omega +theorem exponentByteLengthNat_max : exponentByteLengthNat (2^256 - 1) = 32 := by + have h := exponentByteLengthNat_pow8_sub_one 32 + simpa using h + /-- Number of exponent bytes seen by EXP dynamic gas accounting. -/ def exponentByteLength (exponent : ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_ba184ce05f1c_0
297187f6c4c8e9e0
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/RLP/FlatListLoop.lean
FlatListLoop
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
8
2
[ { "theorem_name": "classifyPrefix_encode_head_flat", "depth": 1, "n_commands": 0, "n_lines": 32, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases item with\n | bytes data =>\n simp only [isFlatItem] at hflat\n cases data with\n | nil =>...
[ { "name": "encode_list_head", "text": "/-- The head byte of `encode (.list items)` for a short list. -/\nprivate theorem encode_list_head {items : List RLPItem}\n (hflat : (encode.encodeItems items).length ≤ 55) :\n (encode (.list items))[0]'(encode_nonempty _)\n = BitVec.ofNat 8 (0xC0 + (encode....
[ { "name": "classifyPrefix_encode_head_flat", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 38, "n_chars": 1772, "n_subproofs": 5, "n_tactics": 42, "cyclomatic": 4, "n_automation": 15, "n_rewrites": 5, "n_structural": 6, "automation_only": fal...
3
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
@@ -59,6 +59,17 @@ encodeBytes_short_of_length_ne_one _ hlen (by simp) exact ⟨by simp [henc], by simp [henc, Nat.add_comm]⟩ +/-- The head byte of `encode (.list items)` for a short list. -/ +private theorem encode_list_head {items : List RLPItem} + (hflat : (encode.encodeItems items).length ≤ 55) : + (e...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_ba184ce05f1c_1
aaf8e89c51c86380
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/RLP/FlatListLoop.lean
FlatListLoop
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
8
2
[ { "theorem_name": "classifyPrefix_encode_head_flat", "depth": 1, "n_commands": 0, "n_lines": 32, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases item with\n | bytes data =>\n simp only [isFlatItem] at hflat\n cases data with\n | nil =>...
[ { "name": "encode_list_head", "text": "/-- The head byte of `encode (.list items)` for a short list. -/\nprivate theorem encode_list_head {items : List RLPItem}\n (hflat : (encode.encodeItems items).length ≤ 55) :\n (encode (.list items))[0]'(encode_nonempty _)\n = BitVec.ofNat 8 (0xC0 + (encode....
[ { "name": "encode_head_eq_itemTotalLen", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 60, "n_chars": 3410, "n_subproofs": 18, "n_tactics": 61, "cyclomatic": 4, "n_automation": 27, "n_rewrites": 11, "n_structural": 5, "automation_only": false...
3
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
@@ -59,6 +59,17 @@ encodeBytes_short_of_length_ne_one _ hlen (by simp) exact ⟨by simp [henc], by simp [henc, Nat.add_comm]⟩ +/-- The head byte of `encode (.list items)` for a short list. -/ +private theorem encode_list_head {items : List RLPItem} + (hflat : (encode.encodeItems items).length ≤ 55) : + (e...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_ba184ce05f1c_2
7cd20b4ba689a1a5
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/RLP/FlatListLoop.lean
FlatListLoop
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
8
1
[ { "theorem_name": "fll_loop_spec_within", "depth": 1, "n_commands": 0, "n_lines": 123, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro items\n induction items with\n | nil => intro O v5Old v10 v11Old hne _ _ _; exact absurd rfl hne\n | cons h...
[ { "name": "fll_loop_post_unfold", "text": "theorem fll_loop_post_unfold (regionBase : Word) (bs : List (BitVec 8)) (endPtr : Word) :\n fll_loop_post regionBase bs endPtr =\n (regOwn .x5 ** (.x0 ↦ᵣ (0 : Word)) ** regOwn .x10 ** regOwn .x11 **\n (.x13 ↦ᵣ endPtr) ** (.x14 ↦ᵣ (0 : Word)) ** bytesRegi...
[ { "name": "fll_loop_spec_within", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 7, "n_lines": 167, "n_chars": 10479, "n_subproofs": 25, "n_tactics": 119, "cyclomatic": 3, "n_automation": 20, "n_rewrites": 21, "n_structural": 13, "automation_only": false, ...
6
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
@@ -175,6 +175,12 @@ regOwn .x5 ** (.x0 ↦ᵣ (0 : Word)) ** regOwn .x10 ** regOwn .x11 ** (.x13 ↦ᵣ endPtr) ** (.x14 ↦ᵣ (0 : Word)) ** bytesRegion regionBase bs +theorem fll_loop_post_unfold (regionBase : Word) (bs : List (BitVec 8)) (endPtr : Word) : + fll_loop_post regionBase bs endPtr = + (regOwn .x5 **...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_ba184ce05f1c_3
87c6de87c1957de7
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/RLP/FlatListLoop.lean
FlatListLoop
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
8
1
[ { "theorem_name": "fll_loop_spec_within", "depth": 1, "n_commands": 0, "n_lines": 123, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro items\n induction items with\n | nil => intro O v5Old v10 v11Old hne _ _ _; exact absurd rfl hne\n | cons h...
[ { "name": "region_ptr_add", "text": "/-- `(regionBase + ofNat O) + ofNat L = regionBase + ofNat (O + L)` — the\n per-item pointer advance accumulates into a single offset. -/\nprivate theorem region_ptr_add (regionBase : Word) (O L : Nat) :\n (regionBase + BitVec.ofNat 64 O) + BitVec.ofNat 64 L\n ...
[ { "name": "fll_loop_n_spec_within", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 8, "n_lines": 48, "n_chars": 3069, "n_subproofs": 1, "n_tactics": 9, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 4, "n_structural": 1, "automation_only": false, "ma...
7
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
@@ -181,6 +181,16 @@ (.x13 ↦ᵣ endPtr) ** (.x14 ↦ᵣ (0 : Word)) ** bytesRegion regionBase bs) := by delta fll_loop_post; rfl +/-- `(regionBase + ofNat O) + ofNat L = regionBase + ofNat (O + L)` — the + per-item pointer advance accumulates into a single offset. -/ +private theorem region_ptr_add (regionBase...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_ba184ce05f1c_4
f5ac4137e0d74823
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/RLP/FlatListLoop.lean
FlatListLoop
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
8
1
[ { "theorem_name": "fll_loop_spec_within", "depth": 1, "n_commands": 0, "n_lines": 123, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro items\n induction items with\n | nil => intro O v5Old v10 v11Old hne _ _ _; exact absurd rfl hne\n | cons h...
[ { "name": "region_ptr_add", "text": "/-- `(regionBase + ofNat O) + ofNat L = regionBase + ofNat (O + L)` — the\n per-item pointer advance accumulates into a single offset. -/\nprivate theorem region_ptr_add (regionBase : Word) (O L : Nat) :\n (regionBase + BitVec.ofNat 64 O) + BitVec.ofNat 64 L\n ...
[ { "name": "fll_loop_bridge", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 9, "n_lines": 50, "n_chars": 3313, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 0, "automation_only": true, "max_nestin...
8
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
/- EvmAsm.Rv64.RLP.FlatListLoop EL.3 — foundations for the RV64 RLP flat-item list-decode loop closure: the `isFlatItem` predicate and the **stride-equivalence** linking the operational per-item stride to the pure encoding length. A flat item (singleByte / short byte-string / short list) is decoded by the ...
@@ -181,6 +181,16 @@ (.x13 ↦ᵣ endPtr) ** (.x14 ↦ᵣ (0 : Word)) ** bytesRegion regionBase bs) := by delta fll_loop_post; rfl +/-- `(regionBase + ofNat O) + ofNat L = regionBase + ofNat (O + L)` — the + per-item pointer advance accumulates into a single offset. -/ +private theorem region_ptr_add (regionBase...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_8d9e28585383_0
4c7d9dc7452f394e
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/SAsm/WhileBreakDemo.lean
WhileBreakDemo
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
5
1
[ { "theorem_name": "nlz_continue", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases Nat.lt_or_ge i (nlz bs len) with h | h\n · omega\n · have hieq : i = nlz bs len := by omega\n have hb := nlz_bound...
[ { "name": "nlz_boundary", "text": "/-- If `nlz` stops before `len` (with the window in range), the boundary byte\n is non-zero — that is why the scan stopped. -/\ntheorem nlz_boundary (bs : List (BitVec 8)) (len : Nat)\n (hlt : nlz bs len < len) (hlen : len ≤ bs.length) : bs.getD (nlz bs len) 0 ≠ 0 :=...
[ { "name": "nlz_continue", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 12, "n_chars": 434, "n_subproofs": 2, "n_tactics": 7, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 2, "automation_only": false, "max_nesting":...
1
/- EvmAsm.Rv64.SAsm.WhileBreakDemo End-to-end demo for the early-exit / break loop combinator `Stmt.whileBreak` (bead evm-asm-huy8w). `scanNzFn` is a *scan-until-predicate* loop: starting from a pointer `a0` over a read-only byte region, count the leading zero bytes of `a0[0..a1)`, stopping at the first n...
/- EvmAsm.Rv64.SAsm.WhileBreakDemo End-to-end demo for the early-exit / break loop combinator `Stmt.whileBreak` (bead evm-asm-huy8w). `scanNzFn` is a *scan-until-predicate* loop: starting from a pointer `a0` over a read-only byte region, count the leading zero bytes of `a0[0..a1)`, stopping at the first n...
@@ -40,10 +40,33 @@ @[simp] theorem nlz_zero (bs : List (BitVec 8)) : nlz bs 0 = 0 := by cases bs <;> rfl +/-- If `nlz` stops before `len` (with the window in range), the boundary byte + is non-zero — that is why the scan stopped. -/ +theorem nlz_boundary (bs : List (BitVec 8)) (len : Nat) + (hlt : nlz bs l...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_8d9e28585383_1
1c8d5befe9842289
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/SAsm/WhileBreakDemo.lean
WhileBreakDemo
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
5
1
[ { "theorem_name": "nlz_break", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases Nat.lt_or_ge i (nlz bs len) with h | h\n · exact absurd (nlz_spec bs len i h) hnz\n · omega", "n_chars": 106, "n...
[ { "name": "nlz_spec", "text": "/-- Every index below `nlz` names a zero byte. -/\ntheorem nlz_spec (bs : List (BitVec 8)) (len i : Nat)\n (hi : i < nlz bs len) : bs.getD i 0 = 0 := by\n induction bs generalizing len i with\n | nil => cases len <;> simp [nlz] at hi\n | cons b bs ih =>\n cases len ...
[ { "name": "nlz_break", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 12, "n_chars": 484, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 2, "n_automation": 1, "n_rewrites": 0, "n_structural": 2, "automation_only": false, "max_nesting": 2 ...
1
/- EvmAsm.Rv64.SAsm.WhileBreakDemo End-to-end demo for the early-exit / break loop combinator `Stmt.whileBreak` (bead evm-asm-huy8w). `scanNzFn` is a *scan-until-predicate* loop: starting from a pointer `a0` over a read-only byte region, count the leading zero bytes of `a0[0..a1)`, stopping at the first n...
/- EvmAsm.Rv64.SAsm.WhileBreakDemo End-to-end demo for the early-exit / break loop combinator `Stmt.whileBreak` (bead evm-asm-huy8w). `scanNzFn` is a *scan-until-predicate* loop: starting from a pointer `a0` over a read-only byte region, count the leading zero bytes of `a0[0..a1)`, stopping at the first n...
@@ -40,11 +40,30 @@ @[simp] theorem nlz_zero (bs : List (BitVec 8)) : nlz bs 0 = 0 := by cases bs <;> rfl +/-- Every index below `nlz` names a zero byte. -/ +theorem nlz_spec (bs : List (BitVec 8)) (len i : Nat) + (hi : i < nlz bs len) : bs.getD i 0 = 0 := by + induction bs generalizing len i with + | nil =>...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_8d9e28585383_2
012284625912ca22
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/SAsm/WhileBreakDemo.lean
WhileBreakDemo
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
5
1
[ { "theorem_name": "scanNzFn_spec", "depth": 1, "n_commands": 0, "n_lines": 154, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hse0 : signExtend12 (0 : BitVec 12) = (0 : Word) := by decide\n have hse1 : signExtend12 (1 : BitVec 12) = (1 : Word)...
[ { "name": "nlz_continue", "text": "/-- Continue step: still inside a zero run. -/\ntheorem nlz_continue (bs : List (BitVec 8)) (len i : Nat)\n (hi : i < len) (hlen : len ≤ bs.length) (hz : bs.getD i 0 = 0)\n (hle : i ≤ nlz bs len) : i + 1 ≤ nlz bs len := by\n rcases Nat.lt_or_ge i (nlz bs len) with h...
[ { "name": "scanNzFn_spec", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 5, "n_lines": 158, "n_chars": 7155, "n_subproofs": 39, "n_tactics": 164, "cyclomatic": 10, "n_automation": 62, "n_rewrites": 54, "n_structural": 36, "automation_only": false, "max...
5
/- EvmAsm.Rv64.SAsm.WhileBreakDemo End-to-end demo for the early-exit / break loop combinator `Stmt.whileBreak` (bead evm-asm-huy8w). `scanNzFn` is a *scan-until-predicate* loop: starting from a pointer `a0` over a read-only byte region, count the leading zero bytes of `a0[0..a1)`, stopping at the first n...
/- EvmAsm.Rv64.SAsm.WhileBreakDemo End-to-end demo for the early-exit / break loop combinator `Stmt.whileBreak` (bead evm-asm-huy8w). `scanNzFn` is a *scan-until-predicate* loop: starting from a pointer `a0` over a read-only byte region, count the leading zero bytes of `a0[0..a1)`, stopping at the first n...
@@ -88,6 +88,17 @@ exact ih n (by omega) (by simpa using hlen) · simp only [hb, if_false]; simpa using hb +/-- Continue step: still inside a zero run. -/ +theorem nlz_continue (bs : List (BitVec 8)) (len i : Nat) + (hi : i < len) (hlen : len ≤ bs.length) (hz : bs.getD i 0 = 0) + (hle : i...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_bb20a2308b82_0
c2a45d6f85e34ad8
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/MulMod/ProductLayoutCall06.lean
ProductLayoutCall06
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
2
1
[ { "theorem_name": "evm_mulmod_product_layout_call06_code_sub", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n CodeReq.union_sub (evm_mulmod_product_layout_call06_core_code_sub base)\n (by\n intro a i h\...
[ { "name": "evm_mulmod_product_layout_call06_carry_code_sub", "text": "/-- Carry-propagation code for layout call 06 is contained in `evm_mulmod_product_layout`. -/\ntheorem evm_mulmod_product_layout_call06_carry_code_sub (base : Word) :\n ∀ a i, (evm_mulmod_product_propagate_carry_code (base + 900) [3976...
[ { "name": "evm_mulmod_product_layout_call06_code_sub", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 14, "n_chars": 715, "n_subproofs": 0, "n_tactics": 6, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 3, "automation_onl...
2
/- EvmAsm.Evm64.MulMod.ProductLayoutCall06 Product-layout call06 suffix composition for MULMOD. -/ import EvmAsm.Evm64.MulMod.ProductLayoutCall05 open EvmAsm.Rv64.Tactics namespace EvmAsm.Evm64 open EvmAsm.Rv64 local macro "evm_mulmod_product_layout_slice_rfl" : tactic => `(tactic| first | rfl ...
/- EvmAsm.Evm64.MulMod.ProductLayoutCall06 Product-layout call06 suffix composition for MULMOD. -/ import EvmAsm.Evm64.MulMod.ProductLayoutCall05 open EvmAsm.Rv64.Tactics namespace EvmAsm.Evm64 open EvmAsm.Rv64 local macro "evm_mulmod_product_layout_slice_rfl" : tactic => `(tactic| first | rfl ...
@@ -35,12 +35,31 @@ · rw [evm_mulmod_product_layout_length] decide +/-- Carry-propagation code for layout call 06 is contained in `evm_mulmod_product_layout`. -/ +theorem evm_mulmod_product_layout_call06_carry_code_sub (base : Word) : + ∀ a i, (evm_mulmod_product_propagate_carry_code (base + 900) [3976, 39...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_8b6d1ab1ec24_0
9ad5559c9c5b1c25
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/RLP/WithdrawalDecodeShortWP.lean
WithdrawalDecodeShortWP
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
1
[ { "theorem_name": "walkInitEmptyFailNotListFailShortLongCode_disjoint_shortSuccessJump", "depth": 1, "n_commands": 0, "n_lines": 9, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro a\n by_cases h_eq : a = base + 124\n · left\n subst h_eq\n ...
[ { "name": "walkInitEmptyFailNotListFailShortLongCode_none_at_shortSuccessJump", "text": "theorem walkInitEmptyFailNotListFailShortLongCode_none_at_shortSuccessJump\n (base : Word) :\n walkInitEmptyFailNotListFailShortLongCode base (base + 124) = none := by\n unfold walkInitEmptyFailNotListFailShortLo...
[ { "name": "walkInitEmptyFailNotListFailShortLongCode_disjoint_shortSuccessJump", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 14, "n_chars": 446, "n_subproofs": 0, "n_tactics": 9, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structura...
1
/- EvmAsm.Rv64.RLP.WithdrawalDecodeShortWP First composed withdrawal-decoder WP layer: run the walk-init classifier with schema handoff resources, then continue the short-list success exit through the generated withdrawal schema success tail. Other exits stay open for the failure/long-list layers. -/ impor...
/- EvmAsm.Rv64.RLP.WithdrawalDecodeShortWP First composed withdrawal-decoder WP layer: run the walk-init classifier with schema handoff resources, then continue the short-list success exit through the generated withdrawal schema success tail. Other exits stay open for the failure/long-list layers. -/ impor...
@@ -52,13 +52,49 @@ simp only [failStatusReturnCode, statusReturnCode, CodeReq.union, h0, h156, h160, h4, h8, h12, h16, h164, h168, h20, h24] +theorem walkInitEmptyFailNotListFailShortLongCode_none_at_shortSuccessJump + (base : Word) : + walkInitEmptyFailNotListFailShortLongCode base (base + 124) = none...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_8b6d1ab1ec24_1
8d3984b5ff8f8251
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/RLP/WithdrawalDecodeShortWP.lean
WithdrawalDecodeShortWP
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
1
[ { "theorem_name": "walkInitEmptyFailNotListFailShortLongCode_disjoint_schemaTail", "depth": 1, "n_commands": 0, "n_lines": 9, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hbase172 : (base + 172).toNat = base.toNat + 172 := by\n bv_omega\n ...
[ { "name": "walkInitEmptyFailNotListFailShortLongCode_none_above", "text": "theorem walkInitEmptyFailNotListFailShortLongCode_none_above\n (base a : Word) (h : base.toNat + 172 ≤ a.toNat) :\n walkInitEmptyFailNotListFailShortLongCode base a = none := by\n unfold walkInitEmptyFailNotListFailShortLongCo...
[ { "name": "walkInitEmptyFailNotListFailShortLongCode_disjoint_schemaTail", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 18, "n_chars": 845, "n_subproofs": 1, "n_tactics": 11, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 6...
1
/- EvmAsm.Rv64.RLP.WithdrawalDecodeShortWP First composed withdrawal-decoder WP layer: run the walk-init classifier with schema handoff resources, then continue the short-list success exit through the generated withdrawal schema success tail. Other exits stay open for the failure/long-list layers. -/ impor...
/- EvmAsm.Rv64.RLP.WithdrawalDecodeShortWP First composed withdrawal-decoder WP layer: run the walk-init classifier with schema handoff resources, then continue the short-list success exit through the generated withdrawal schema success tail. Other exits stay open for the failure/long-list layers. -/ impor...
@@ -18,6 +18,40 @@ namespace WithdrawalDecode +theorem walkInitEmptyFailNotListFailShortLongCode_none_above + (base a : Word) (h : base.toNat + 172 ≤ a.toNat) : + walkInitEmptyFailNotListFailShortLongCode base a = none := by + unfold walkInitEmptyFailNotListFailShortLongCode walkInitEmptyFailOrPrefixCode + ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_56676bcd14f0_0
b02ec48878cd3ddc
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Compose/FullPathN4V5CallableExact.lean
FullPathN4V5CallableExact
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "evm_div_n4_stack_spec_noNop_v5_preNoX1_callableExactFrame_shiftNz", "depth": 1, "n_commands": 0, "n_lines": 27, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hbltu : isCallTrialN4 (a.getLimbN 3) (b.getLimbN 2) (b.getLimbN 3) ...
[ { "name": "evm_div_n4_lane_callAddback_of_hdiv_callableExact", "text": "/-- n=4 v5 DIV callable-exact lane (call+addback-beq branch). -/\ntheorem evm_div_n4_lane_callAddback_of_hdiv_callableExact (sp base : Word) (a b : EvmWord)\n (raVal v5 v6 v7 v10 v11Old x9In x2In : Word)\n (a0 a1 a2 a3 b0 b1 b2 b3...
[ { "name": "evm_div_n4_stack_spec_noNop_v5_preNoX1_callableExactFrame_shiftNz", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 47, "n_chars": 2851, "n_subproofs": 5, "n_tactics": 29, "cyclomatic": 2, "n_automation": 16, "n_rewrites": 2, "n_structur...
2
/- EvmAsm.Evm64.DivMod.Compose.FullPathN4V5CallableExact The v5 n=4 DIV callable exact-frame lane: from `divModStackDispatchPreNoX1` (caller return address `raVal` concrete in `x1`) to `divStackDispatchPostCallableExactFrame` over `divCode_noNop_v5`, both normalization-shift arms plus the shape-level combine...
/- EvmAsm.Evm64.DivMod.Compose.FullPathN4V5CallableExact The v5 n=4 DIV callable exact-frame lane: from `divModStackDispatchPreNoX1` (caller return address `raVal` concrete in `x1`) to `divStackDispatchPostCallableExactFrame` over `divCode_noNop_v5`, both normalization-shift arms plus the shape-level combine...
@@ -83,6 +83,54 @@ _ _ _ _ _ _ _ ((signExtend12 4095 : Word)) raVal _ _ _ _ ha0 ha1 ha2 ha3 hdiv0 hdiv1 hdiv2 hdiv3 h hq +/-- n=4 v5 DIV callable-exact lane (call+addback-beq branch). -/ +theorem evm_div_n4_lane_callAddback_of_hdiv_callableExact (sp base : Word) (a b : EvmWord) + (raVal v5 v6 v7 v10 ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_56676bcd14f0_1
b90dfd8d8dfbfc89
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Compose/FullPathN4V5CallableExact.lean
FullPathN4V5CallableExact
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "evm_div_n4_stack_spec_noNop_v5_preNoX1_callableExactFrame_shift0", "depth": 1, "n_commands": 0, "n_lines": 19, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hbnz_lor : b.getLimbN 0 ||| b.getLimbN 1 ||| b.getLimbN 2 ||| b.getL...
[ { "name": "evm_div_n4_lane_shift0_callAddback_of_hdiv_callableExact", "text": "/-- n=4 v5 DIV callable-exact lane (shift=0 call+addback branch). -/\ntheorem evm_div_n4_lane_shift0_callAddback_of_hdiv_callableExact (sp base : Word) (a b : EvmWord)\n (raVal v5 v6 v7 v10 v11Old x9In x2In : Word)\n (a0 a1...
[ { "name": "evm_div_n4_stack_spec_noNop_v5_preNoX1_callableExactFrame_shift0", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 39, "n_chars": 2337, "n_subproofs": 1, "n_tactics": 19, "cyclomatic": 2, "n_automation": 16, "n_rewrites": 0, "n_structura...
2
/- EvmAsm.Evm64.DivMod.Compose.FullPathN4V5CallableExact The v5 n=4 DIV callable exact-frame lane: from `divModStackDispatchPreNoX1` (caller return address `raVal` concrete in `x1`) to `divStackDispatchPostCallableExactFrame` over `divCode_noNop_v5`, both normalization-shift arms plus the shape-level combine...
/- EvmAsm.Evm64.DivMod.Compose.FullPathN4V5CallableExact The v5 n=4 DIV callable exact-frame lane: from `divModStackDispatchPreNoX1` (caller return address `raVal` concrete in `x1`) to `divStackDispatchPostCallableExactFrame` over `divCode_noNop_v5`, both normalization-shift arms plus the shape-level combine...
@@ -77,6 +77,62 @@ _ _ ((signExtend12 4095 : Word)) raVal _ _ _ _ _ _ _ _ _ _ ha0 ha1 ha2 ha3 hdiv0 hdiv1 hdiv2 hdiv3 h hq +/-- n=4 v5 DIV callable-exact lane (shift=0 call+addback branch). -/ +theorem evm_div_n4_lane_shift0_callAddback_of_hdiv_callableExact (sp base : Word) (a b : EvmWord) + (raVal ...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_56676bcd14f0_2
e9981ca6cd5d4166
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/DivMod/Compose/FullPathN4V5CallableExact.lean
FullPathN4V5CallableExact
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "evm_div_n4_stack_spec_noNop_v5_preNoX1_callableExactFrame_shift0", "depth": 1, "n_commands": 0, "n_lines": 19, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hbnz_lor : b.getLimbN 0 ||| b.getLimbN 1 ||| b.getLimbN 2 ||| b.getL...
[ { "name": "evm_div_n4_lane_shift0_callAddback_of_hdiv_callableExact", "text": "/-- n=4 v5 DIV callable-exact lane (shift=0 call+addback branch). -/\ntheorem evm_div_n4_lane_shift0_callAddback_of_hdiv_callableExact (sp base : Word) (a b : EvmWord)\n (raVal v5 v6 v7 v10 v11Old x9In x2In : Word)\n (a0 a1...
[ { "name": "evm_div_n4_stack_spec_noNop_v5_preNoX1_callableExactFrame_of_shape", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 6, "n_lines": 30, "n_chars": 1670, "n_subproofs": 0, "n_tactics": 10, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structur...
6
/- EvmAsm.Evm64.DivMod.Compose.FullPathN4V5CallableExact The v5 n=4 DIV callable exact-frame lane: from `divModStackDispatchPreNoX1` (caller return address `raVal` concrete in `x1`) to `divStackDispatchPostCallableExactFrame` over `divCode_noNop_v5`, both normalization-shift arms plus the shape-level combine...
/- EvmAsm.Evm64.DivMod.Compose.FullPathN4V5CallableExact The v5 n=4 DIV callable exact-frame lane: from `divModStackDispatchPreNoX1` (caller return address `raVal` concrete in `x1`) to `divStackDispatchPostCallableExactFrame` over `divCode_noNop_v5`, both normalization-shift arms plus the shape-level combine...
@@ -177,6 +177,62 @@ _ _ ((signExtend12 4095 : Word)) raVal _ _ _ _ _ _ _ _ _ _ ha0 ha1 ha2 ha3 hdiv0 hdiv1 hdiv2 hdiv3 h hq +/-- n=4 v5 DIV callable-exact lane (shift=0 call+addback branch). -/ +theorem evm_div_n4_lane_shift0_callAddback_of_hdiv_callableExact (sp base : Word) (a b : EvmWord) + (raVa...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_407dc65e8241_0
8fe70d3c893d608c
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Rv64/RLP/UnifiedDecodeItemReconvergeAll.lean
UnifiedDecodeItemReconvergeAll
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
1
[ { "theorem_name": "rlp_decode_single_item_reconverged_all", "depth": 1, "n_commands": 0, "n_lines": 121, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n cases h : classifyPrefix pfx with\n | singleByte =>\n have handler := rlp_phase1_e1_single_byt...
[ { "name": "reconverge_arm_n", "text": "/-- A class handler reaching `eC` (uniform pre `P`, uniform post `R`), followed\n by an unconditional `JAL x0` to `joinPC`, lifted into the shared code `cr`\n and to the common step bound `N`. -/\ntheorem reconverge_arm_n\n {N sC : Nat} (hsC : sC + 1 ≤ N)\n ...
[ { "name": "rlp_decode_single_item_reconverged_all", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 242, "n_chars": 15698, "n_subproofs": 14, "n_tactics": 121, "cyclomatic": 2, "n_automation": 12, "n_rewrites": 0, "n_structural": 13, "automatio...
1
/- EvmAsm.Rv64.RLP.UnifiedDecodeItemReconvergeAll EL.3 — the COMPLETE 5-class reconvergence of the unified single-item decoder. `UnifiedDecodeItemReconverge.lean` reconverged the 3 flat classes; this file adds the 2 long classes (`longBytes` / `longList`, which carry `(dwordAddr ↦ₘ wordVal)` + `x12`/`x14` a...
/- EvmAsm.Rv64.RLP.UnifiedDecodeItemReconvergeAll EL.3 — the COMPLETE 5-class reconvergence of the unified single-item decoder. `UnifiedDecodeItemReconverge.lean` reconverged the 3 flat classes; this file adds the 2 long classes (`longBytes` / `longList`, which carry `(dwordAddr ↦ₘ wordVal)` + `x12`/`x14` a...
@@ -81,6 +81,33 @@ -- Bound-parameterized reconvergence arm -- ============================================================================ +/-- A class handler reaching `eC` (uniform pre `P`, uniform post `R`), followed + by an unconditional `JAL x0` to `joinPC`, lifted into the shared code `cr` + and to the...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_452c1edaf1f0_0
dff4eb490408cac6
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/BaseLengths.lean
BaseLengths
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
2
[ { "theorem_name": "exp_loop_square_byte_off", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [exp_bit_test_block_len]", "n_chars": 33, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, ...
[ { "name": "exp_bit_test_block_len", "text": "theorem exp_bit_test_block_len : (EvmAsm.Evm64.exp_bit_test_block).length = 3 := by\n exact EvmAsm.Evm64.exp_bit_test_block_length\n\n", "fan_in": 2, "n_lines": 4, "n_chars": 132, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_...
[ { "name": "exp_loop_square_byte_off", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 6, "n_chars": 201, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 1, "n_structural": 0, "automation_only": false, "ma...
1
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) /-- Byte offset of the squa...
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) theorem exp_bit_test_block_...
@@ -13,9 +13,13 @@ abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) +theorem exp_bit_test_block_len : (EvmAsm.Evm64.exp_bit_test_block).length = 3 := by + exact EvmAsm.Evm64.exp_bit_test_block_length + /-- Byte offset of the square-call block within one EXP loop it...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_452c1edaf1f0_1
e5d1da151d624981
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/BaseLengths.lean
BaseLengths
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
2
[ { "theorem_name": "exp_loop_square_byte_off", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [exp_bit_test_block_len]", "n_chars": 33, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, ...
[ { "name": "exp_bit_test_block_len", "text": "theorem exp_bit_test_block_len : (EvmAsm.Evm64.exp_bit_test_block).length = 3 := by\n exact EvmAsm.Evm64.exp_bit_test_block_length\n\n", "fan_in": 2, "n_lines": 4, "n_chars": 132, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_...
[ { "name": "exp_loop_cond_mul_byte_off", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 7, "n_chars": 318, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 0, "automation_only": true, "m...
2
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) theorem exp_square_block_le...
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) theorem exp_bit_test_block_...
@@ -13,6 +13,9 @@ abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) +theorem exp_bit_test_block_len : (EvmAsm.Evm64.exp_bit_test_block).length = 3 := by + exact EvmAsm.Evm64.exp_bit_test_block_length + theorem exp_square_block_len (mulOff : BitVec 21) : (EvmAsm...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_452c1edaf1f0_2
fc7c4124e9ba87fd
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/BaseLengths.lean
BaseLengths
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
1
[ { "theorem_name": "exp_loop_back_byte_off", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exp_iter_body_byte_len mulOff skipOff", "n_chars": 49, "n_subproofs": 0, "n_tactics": 2, "cycl...
[ { "name": "exp_iter_body_byte_len", "text": "theorem exp_iter_body_byte_len (mulOff : BitVec 21) (skipOff : BitVec 13) :\n 4 * (EvmAsm.Evm64.exp_iter_body mulOff skipOff).length = 24 := by\n exact EvmAsm.Evm64.exp_iter_body_byte_length mulOff skipOff\n\n", "fan_in": 1, "n_lines": 5, "n_chars...
[ { "name": "exp_loop_back_byte_off", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 6, "n_chars": 266, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, "automation_only": false, "max_...
1
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) /-- Byte offset of the loop...
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) theorem exp_iter_body_byte_...
@@ -13,9 +13,14 @@ abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) +theorem exp_iter_body_byte_len (mulOff : BitVec 21) (skipOff : BitVec 13) : + 4 * (EvmAsm.Evm64.exp_iter_body mulOff skipOff).length = 24 := by + exact EvmAsm.Evm64.exp_iter_body_byte_length mul...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_452c1edaf1f0_3
97f1344711c08424
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/BaseLengths.lean
BaseLengths
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
1
[ { "theorem_name": "exp_loop_next_iter_byte_off", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact exp_loop_byte_len mulOff skipOff backOff", "n_chars": 52, "n_subproofs": 0, "n_tactics": 2, ...
[ { "name": "exp_loop_byte_len", "text": "theorem exp_loop_byte_len (mulOff : BitVec 21) (skipOff backOff : BitVec 13) :\n 4 * (EvmAsm.Evm64.exp_loop mulOff skipOff backOff).length = 32 := by\n exact EvmAsm.Evm64.exp_loop_byte_length mulOff skipOff backOff\n\n", "fan_in": 1, "n_lines": 5, "n_c...
[ { "name": "exp_loop_next_iter_byte_off", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 6, "n_chars": 263, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, "automation_only": false, ...
1
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) /-- Byte offset of the next...
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) theorem exp_loop_byte_len (...
@@ -13,9 +13,14 @@ abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) +theorem exp_loop_byte_len (mulOff : BitVec 21) (skipOff backOff : BitVec 13) : + 4 * (EvmAsm.Evm64.exp_loop mulOff skipOff backOff).length = 32 := by + exact EvmAsm.Evm64.exp_loop_byte_length mu...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...
ablate_452c1edaf1f0_4
d9948ed8b52d1ea1
lean
lean
github.com/Verified-zkEVM/evm-asm
7d5875858bc3727250adb6880c8339048365b1b6
EvmAsm/Evm64/Exp/Compose/BaseLengths.lean
BaseLengths
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
13
2
[ { "theorem_name": "exp_loop_square_byte_off", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [exp_bit_test_block_len]", "n_chars": 33, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, ...
[ { "name": "exp_bit_test_block_len", "text": "theorem exp_bit_test_block_len : (EvmAsm.Evm64.exp_bit_test_block).length = 3 := by\n exact EvmAsm.Evm64.exp_bit_test_block_length\n\n", "fan_in": 2, "n_lines": 4, "n_chars": 132, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_...
[ { "name": "exp_loop_block_byte_offsets", "fan_in": 0, "n_deps_direct": 4, "n_deps_transitive": 8, "n_lines": 13, "n_chars": 654, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, "automation_only": false, ...
8
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) theorem exp_square_block_le...
/- EvmAsm.Evm64.Exp.Compose.BaseLengths Shared EXP composition length and byte-offset lemmas. -/ import EvmAsm.Evm64.Exp.CondMulCall namespace EvmAsm.Evm64.Exp.Compose open EvmAsm.Rv64 abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) theorem exp_bit_test_block_...
@@ -13,6 +13,9 @@ abbrev expIterCountNew (iterCount : Word) : Word := iterCount + signExtend12 ((-1 : BitVec 12)) +theorem exp_bit_test_block_len : (EvmAsm.Evm64.exp_bit_test_block).length = 3 := by + exact EvmAsm.Evm64.exp_bit_test_block_length + theorem exp_square_block_len (mulOff : BitVec 21) : (EvmAsm...
{ "repo": "evm-asm", "git_repo": "github.com/Verified-zkEVM/evm-asm", "revision": "7d5875858bc3727250adb6880c8339048365b1b6", "lean_toolchain": "leanprover/lean4:v4.30.0-rc1", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-de...