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_c9cefb7ecb7a_14 | 86f4660d75b235b7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV4/QuotientBounds.lean | QuotientBounds | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 1 | [
{
"theorem_name": "divKTrialCallV4Q0dd_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 30,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hQ0d_ge :\n ((divKTrialCallV4Un21 uHi uLo vTop).toNat * 2^32 +\n ... | [
{
"name": "divKTrialCallV4Q0d_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"text": "/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call\n definitions.\n\n This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under\n `un21 < dHi * 2^32`, the first-corrected second quotient digit ... | [
{
"name": "div128Quot_v4_ge_q_true_of_un21_eq_r1",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 26,
"n_lines": 80,
"n_chars": 3403,
"n_subproofs": 15,
"n_tactics": 62,
"cyclomatic": 1,
"n_automation": 7,
"n_rewrites": 11,
"n_structural": 7,
"automation_on... | 26 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | @@ -70,6 +70,38 @@
(uLo <<< (32 : BitVec 6).toNat : Word).isLt
exact Nat.div_lt_of_lt_mul (by omega)
+/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call
+ definitions.
+
+ This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under
+ `un21 < dHi * 2^32`, the first-corrected ... | {
"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_c9cefb7ecb7a_15 | ca3e5e42f57c1997 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV4/QuotientBounds.lean | QuotientBounds | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 1 | [
{
"theorem_name": "divKTrialCallV4Q0dd_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 30,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hQ0d_ge :\n ((divKTrialCallV4Un21 uHi uLo vTop).toNat * 2^32 +\n ... | [
{
"name": "divKTrialCallV4Q0d_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"text": "/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call\n definitions.\n\n This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under\n `un21 < dHi * 2^32`, the first-corrected second quotient digit ... | [
{
"name": "div128Quot_v4_eq_q_true_of_un21_eq_r1_of_le",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 27,
"n_lines": 23,
"n_chars": 948,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 3,
"automation_... | 27 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | @@ -70,6 +70,38 @@
(uLo <<< (32 : BitVec 6).toNat : Word).isLt
exact Nat.div_lt_of_lt_mul (by omega)
+/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call
+ definitions.
+
+ This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under
+ `un21 < dHi * 2^32`, the first-corrected ... | {
"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_c9cefb7ecb7a_16 | a2f5a62a9853661a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV4/QuotientBounds.lean | QuotientBounds | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 1 | [
{
"theorem_name": "divKTrialCallV4Q0dd_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 30,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hQ0d_ge :\n ((divKTrialCallV4Un21 uHi uLo vTop).toNat * 2^32 +\n ... | [
{
"name": "divKTrialCallV4Q0d_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"text": "/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call\n definitions.\n\n This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under\n `un21 < dHi * 2^32`, the first-corrected second quotient digit ... | [
{
"name": "div128Quot_v4_ge_q_true_of_no_wrap",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 28,
"n_lines": 23,
"n_chars": 972,
"n_subproofs": 1,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": fa... | 28 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | @@ -70,6 +70,38 @@
(uLo <<< (32 : BitVec 6).toNat : Word).isLt
exact Nat.div_lt_of_lt_mul (by omega)
+/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call
+ definitions.
+
+ This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under
+ `un21 < dHi * 2^32`, the first-corrected ... | {
"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_c9cefb7ecb7a_17 | e3996999b3e45aae | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV4/QuotientBounds.lean | QuotientBounds | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 1 | [
{
"theorem_name": "divKTrialCallV4Q0dd_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 30,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hQ0d_ge :\n ((divKTrialCallV4Un21 uHi uLo vTop).toNat * 2^32 +\n ... | [
{
"name": "divKTrialCallV4Q0d_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"text": "/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call\n definitions.\n\n This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under\n `un21 < dHi * 2^32`, the first-corrected second quotient digit ... | [
{
"name": "div128Quot_v4_eq_q_true_of_no_wrap_of_le",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 29,
"n_lines": 26,
"n_chars": 1084,
"n_subproofs": 1,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_on... | 29 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | @@ -70,6 +70,38 @@
(uLo <<< (32 : BitVec 6).toNat : Word).isLt
exact Nat.div_lt_of_lt_mul (by omega)
+/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call
+ definitions.
+
+ This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under
+ `un21 < dHi * 2^32`, the first-corrected ... | {
"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_c9cefb7ecb7a_18 | 1bfe3f750442d18b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV4/QuotientBounds.lean | QuotientBounds | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 1 | [
{
"theorem_name": "divKTrialCallV4Q0dd_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 30,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hQ0d_ge :\n ((divKTrialCallV4Un21 uHi uLo vTop).toNat * 2^32 +\n ... | [
{
"name": "divKTrialCallV4Q0d_ge_q_true_0_of_un21_lt_dHi_mul_pow32",
"text": "/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call\n definitions.\n\n This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under\n `un21 < dHi * 2^32`, the first-corrected second quotient digit ... | [
{
"name": "div128Quot_v4_ge_q_true_of_rhatdd_hi_zero",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 29,
"n_lines": 21,
"n_chars": 929,
"n_subproofs": 1,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_on... | 29 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | @@ -70,6 +70,38 @@
(uLo <<< (32 : BitVec 6).toNat : Word).isLt
exact Nat.div_lt_of_lt_mul (by omega)
+/-- Phase 2 first-correction lower bound, wrapped for the v4 trial-call
+ definitions.
+
+ This is the v4 analogue of `algorithmQ0Prime_ge_q_true_0`: under
+ `un21 < dHi * 2^32`, the first-corrected ... | {
"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_c9cefb7ecb7a_19 | b7a123e939a792ca | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV4/QuotientBounds.lean | QuotientBounds | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 1 | [
{
"theorem_name": "divKTrialCallV4Q0c_ge_q_true_0_of_dHi_mul_pow32_le_un21",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_true_lt :=\n divKTrialCallV4Q0_true_0_lt_pow32_of_un21_lt_vTop\n uHi... | [
{
"name": "divKTrialCallV4Q0_true_0_lt_pow32_of_un21_lt_vTop",
"text": "/-- In the Phase-2 tail range, the true second quotient digit is still a\n 32-bit half-word. -/\ntheorem divKTrialCallV4Q0_true_0_lt_pow32_of_un21_lt_vTop\n (uHi uLo vTop : Word)\n (hdHi_ge : (divKTrialCallV4DHi vTop).toNat ≥ 2... | [
{
"name": "div128Quot_v4_eq_q_true_of_rhatdd_hi_zero_of_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 30,
"n_lines": 23,
"n_chars": 1003,
"n_subproofs": 1,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automa... | 30 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.QuotientBounds
Word-to-Nat bridge wrappers for the v4 trial-call quotient digits.
These keep downstream exact-quotient proofs phrased in terms of the
source-of-truth `divKTrialCallV4*` definitions while reusing the generic
Knuth lower-bound lemmas.
-/
import... | @@ -102,6 +102,33 @@
uLo
hdHi_ge hdHi_lt hdLo_lt hUn21_lt_dHi_pow32 hUn21_lt_vTop
+/-- In the Phase-2 tail range, the true second quotient digit is still a
+ 32-bit half-word. -/
+theorem divKTrialCallV4Q0_true_0_lt_pow32_of_un21_lt_vTop
+ (uHi uLo vTop : Word)
+ (hdHi_ge : (divKTrialCallV4DHi ... | {
"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_87970acf43b2_0 | 9c20a24b30afa7c2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadPrologueCode_disjoint_mloadFourLimbsCode",
"depth": 1,
"n_commands": 0,
"n_lines": 24,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadFourLimbsCode_eq_ofProg]\n unfold mloadPrologueCode\n refine CodeReq.Disjoint.uni... | [
{
"name": "mloadFourLimbsCode_eq_ofProg",
"text": "theorem mloadFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mloadFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8)\n (mloadFourLimbsProg addrReg byteReg accReg) := by\n have hshape :\n ... | [
{
"name": "mloadPrologueCode_disjoint_mloadFourLimbsCode",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 30,
"n_chars": 1145,
"n_subproofs": 4,
"n_tactics": 24,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 9,
"automati... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -36,6 +36,39 @@
8 9 10 11 12 13 14 15 16
0 1 2 3 4 5 6 7 24
+theorem mloadFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mloadFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8)
+ (mloadFourLimbsProg addrReg byteReg accReg) := by
+ have h... | {
"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_87970acf43b2_1 | a1c6e652a2f00a4c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadPrologueCode_disjoint_mloadFourLimbsCode",
"depth": 1,
"n_commands": 0,
"n_lines": 24,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadFourLimbsCode_eq_ofProg]\n unfold mloadPrologueCode\n refine CodeReq.Disjoint.uni... | [
{
"name": "mloadFourLimbsCode_eq_ofProg",
"text": "theorem mloadFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mloadFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8)\n (mloadFourLimbsProg addrReg byteReg accReg) := by\n have hshape :\n ... | [
{
"name": "mloadStackCode_four_limbs_sub",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 11,
"n_chars": 453,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -36,6 +36,39 @@
8 9 10 11 12 13 14 15 16
0 1 2 3 4 5 6 7 24
+theorem mloadFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mloadFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8)
+ (mloadFourLimbsProg addrReg byteReg accReg) := by
+ have h... | {
"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_87970acf43b2_2 | c8c2975f934d6ea4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadPrologueCode_disjoint_mloadFourLimbsCode",
"depth": 1,
"n_commands": 0,
"n_lines": 24,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadFourLimbsCode_eq_ofProg]\n unfold mloadPrologueCode\n refine CodeReq.Disjoint.uni... | [
{
"name": "mloadFourLimbsCode_eq_ofProg",
"text": "theorem mloadFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mloadFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8)\n (mloadFourLimbsProg addrReg byteReg accReg) := by\n have hshape :\n ... | [
{
"name": "mloadStackCode_eq_ofProg",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 21,
"n_chars": 959,
"n_subproofs": 0,
"n_tactics": 15,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 8,
"n_structural": 1,
"automation_only": false,
"... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -36,6 +36,39 @@
8 9 10 11 12 13 14 15 16
0 1 2 3 4 5 6 7 24
+theorem mloadFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mloadFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8)
+ (mloadFourLimbsProg addrReg byteReg accReg) := by
+ have h... | {
"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_87970acf43b2_3 | e4a08ab665f62d70 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadStackProg_eq_evm_mload",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n (evm_mload_eq_prologue_append_mloadFourLimbsProg\n offReg byteReg accReg addrReg memBaseReg).symm",
"n_char... | [
{
"name": "evm_mload_eq_prologue_append_mloadFourLimbsProg",
"text": "/-- Decompose `evm_mload` as the two-instruction address prologue followed by\n the four output-limb byte-pack blocks (`mloadFourLimbsProg`). This is the\n program-level analog of `mloadStackCode = mloadPrologueCode ∪ mloadFourLimb... | [
{
"name": "mloadStackProg_eq_evm_mload",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 462,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -43,6 +43,21 @@
(mloadPrologueCode offReg addrReg memBaseReg base).union
(mloadFourLimbsCode addrReg byteReg accReg base)
+/-- Decompose `evm_mload` as the two-instruction address prologue followed by
+ the four output-limb byte-pack blocks (`mloadFourLimbsProg`). This is the
+ program-level analog ... | {
"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_87970acf43b2_4 | 6318fb242dfd5d82 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadPrologueCode_disjoint_mloadFourLimbsCode",
"depth": 1,
"n_commands": 0,
"n_lines": 24,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadFourLimbsCode_eq_ofProg]\n unfold mloadPrologueCode\n refine CodeReq.Disjoint.uni... | [
{
"name": "mloadFourLimbsCode_eq_ofProg",
"text": "theorem mloadFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mloadFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8)\n (mloadFourLimbsProg addrReg byteReg accReg) := by\n have hshape :\n ... | [
{
"name": "mloadStackCode_eq_evm_mload_code",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 15,
"n_chars": 731,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false... | 4 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -36,6 +36,39 @@
8 9 10 11 12 13 14 15 16
0 1 2 3 4 5 6 7 24
+theorem mloadFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mloadFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8)
+ (mloadFourLimbsProg addrReg byteReg accReg) := by
+ have h... | {
"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_87970acf43b2_5 | aa1cd5bdbfb1ac8b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadStackProg_eq_evm_mload",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n (evm_mload_eq_prologue_append_mloadFourLimbsProg\n offReg byteReg accReg addrReg memBaseReg).symm",
"n_char... | [
{
"name": "evm_mload_eq_prologue_append_mloadFourLimbsProg",
"text": "/-- Decompose `evm_mload` as the two-instruction address prologue followed by\n the four output-limb byte-pack blocks (`mloadFourLimbsProg`). This is the\n program-level analog of `mloadStackCode = mloadPrologueCode ∪ mloadFourLimb... | [
{
"name": "evm_mload_code_stack_sub",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 14,
"n_chars": 604,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": false,
"m... | 5 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -76,6 +76,21 @@
(mloadPrologueCode offReg addrReg memBaseReg base).union
(mloadFourLimbsCode addrReg byteReg accReg base)
+/-- Decompose `evm_mload` as the two-instruction address prologue followed by
+ the four output-limb byte-pack blocks (`mloadFourLimbsProg`). This is the
+ program-level analog ... | {
"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_87970acf43b2_6 | 4d0a5a6929100865 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadStackProg_eq_evm_mload",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n (evm_mload_eq_prologue_append_mloadFourLimbsProg\n offReg byteReg accReg addrReg memBaseReg).symm",
"n_char... | [
{
"name": "evm_mload_eq_prologue_append_mloadFourLimbsProg",
"text": "/-- Decompose `evm_mload` as the two-instruction address prologue followed by\n the four output-limb byte-pack blocks (`mloadFourLimbsProg`). This is the\n program-level analog of `mloadStackCode = mloadPrologueCode ∪ mloadFourLimb... | [
{
"name": "cpsTripleWithin_evm_mload_of_stack",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 6,
"n_lines": 21,
"n_chars": 912,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": fal... | 6 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -76,6 +76,21 @@
(mloadPrologueCode offReg addrReg memBaseReg base).union
(mloadFourLimbsCode addrReg byteReg accReg base)
+/-- Decompose `evm_mload` as the two-instruction address prologue followed by
+ the four output-limb byte-pack blocks (`mloadFourLimbsProg`). This is the
+ program-level analog ... | {
"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_87970acf43b2_7 | 6e2f837ad5e5dab1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mload_prologue_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_extend_code\n (h := mload_prologue_spec_within offReg addrReg memBaseReg\n s... | [
{
"name": "mloadStackCode_prologue_sub",
"text": "theorem mloadStackCode_prologue_sub\n (offReg byteReg accReg addrReg memBaseReg : Reg) (base : Word) :\n ∀ a i, (mloadPrologueCode offReg addrReg memBaseReg base) a = some i →\n (mloadStackCode offReg byteReg accReg addrReg memBaseReg base) a = so... | [
{
"name": "mload_prologue_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 19,
"n_chars": 919,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -43,6 +43,13 @@
(mloadPrologueCode offReg addrReg memBaseReg base).union
(mloadFourLimbsCode addrReg byteReg accReg base)
+theorem mloadStackCode_prologue_sub
+ (offReg byteReg accReg addrReg memBaseReg : Reg) (base : Word) :
+ ∀ a i, (mloadPrologueCode offReg addrReg memBaseReg base) a = some 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_87970acf43b2_8 | 78432dbb11cb3eb0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadFourLimbsCode_one_limb_q1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mloadFourLimbsCode\n exact CodeReq.mono_union_right\n (mloadFourLimbs_q0_disjoint_q1 addrReg ... | [
{
"name": "mloadFourLimbs_q0_disjoint_q1",
"text": "/-- Disjointness of the q0 and q1 one-limb byte-pack blocks within\n `mloadFourLimbsCode`. q0 spans `base + 8 .. base + 100`, q1 spans\n `base + 100 .. base + 192`; both are 23-instruction `mloadOneLimbProg`\n blocks expressible as `CodeReq.ofProg... | [
{
"name": "mloadFourLimbsCode_one_limb_q1_sub",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 20,
"n_chars": 901,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fal... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -51,6 +51,23 @@
(LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) ;;
mloadFourLimbsProg addrReg byteReg accReg
+/-- Disjointness of the q0 and q1 one-limb byte-pack blocks within
+ `mloadFourLimbsCode`. q0 spans `base + 8 .. base + 100`, q1 spans
+ `base + 100 .. base + 192`; both are 23-instruction ... | {
"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_87970acf43b2_9 | 164c0d97fd820859 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadFourLimbsCode_one_limb_q2_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mloadFourLimbsCode\n exact CodeReq.mono_union_right\n (mloadFourLimbs_q0_disjoint_q2 addrReg ... | [
{
"name": "mloadFourLimbs_q0_disjoint_q2",
"text": "/-- Disjointness of the q0 and q2 one-limb byte-pack blocks within\n `mloadFourLimbsCode`. q0 spans `base + 8 .. base + 100`, q2 spans\n `base + 192 .. base + 284`; both are 23-instruction `mloadOneLimbProg`\n blocks expressible as `CodeReq.ofProg... | [
{
"name": "mloadFourLimbsCode_one_limb_q2_sub",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 22,
"n_chars": 1018,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fa... | 2 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -51,6 +51,23 @@
(LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) ;;
mloadFourLimbsProg addrReg byteReg accReg
+/-- Disjointness of the q0 and q2 one-limb byte-pack blocks within
+ `mloadFourLimbsCode`. q0 spans `base + 8 .. base + 100`, q2 spans
+ `base + 192 .. base + 284`; both are 23-instruction ... | {
"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_87970acf43b2_10 | 046e880188b4ca5b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadFourLimbsCode_one_limb_q3_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mloadFourLimbsCode\n exact CodeReq.mono_union_right\n (mloadFourLimbs_q0_disjoint_q3 addrReg ... | [
{
"name": "mloadFourLimbs_q1_disjoint_q3",
"text": "/-- Disjointness of the q1 and q3 one-limb byte-pack blocks within\n `mloadFourLimbsCode`. q1 spans `base + 100 .. base + 192`, q3 spans\n `base + 284 .. base + 376`; both are 23-instruction `mloadOneLimbProg`\n blocks expressible as `CodeReq.ofPr... | [
{
"name": "mloadFourLimbsCode_one_limb_q3_sub",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 25,
"n_chars": 1189,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fa... | 3 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -68,6 +68,23 @@
· unfold mloadOneLimbProg mloadBytePackEightProg LBU SLLI OR' SD single seq; rfl
· intro k1 k2 hk1 hk2; bv_omega
+/-- Disjointness of the q1 and q3 one-limb byte-pack blocks within
+ `mloadFourLimbsCode`. q1 spans `base + 100 .. base + 192`, q3 spans
+ `base + 284 .. base + 376`; both a... | {
"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_87970acf43b2_11 | a4b653c084dbf870 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadPrologueCode_disjoint_mloadFourLimbsCode",
"depth": 1,
"n_commands": 0,
"n_lines": 24,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadFourLimbsCode_eq_ofProg]\n unfold mloadPrologueCode\n refine CodeReq.Disjoint.uni... | [
{
"name": "mloadFourLimbsCode_eq_ofProg",
"text": "theorem mloadFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mloadFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8)\n (mloadFourLimbsProg addrReg byteReg accReg) := by\n have hshape :\n ... | [
{
"name": "mload_four_limbs_stack_spec_within",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 14,
"n_chars": 535,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": fal... | 3 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -36,6 +36,39 @@
8 9 10 11 12 13 14 15 16
0 1 2 3 4 5 6 7 24
+theorem mloadFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mloadFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8)
+ (mloadFourLimbsProg addrReg byteReg accReg) := by
+ have h... | {
"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_87970acf43b2_12 | 333c4f245d8c4b01 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mload_prologue_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_extend_code\n (h := mload_prologue_spec_within offReg addrReg memBaseReg\n s... | [
{
"name": "mloadStackCode_prologue_sub",
"text": "theorem mloadStackCode_prologue_sub\n (offReg byteReg accReg addrReg memBaseReg : Reg) (base : Word) :\n ∀ a i, (mloadPrologueCode offReg addrReg memBaseReg base) a = some i →\n (mloadStackCode offReg byteReg accReg addrReg memBaseReg base) a = so... | [
{
"name": "mload_combined_stack_spec_within",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 47,
"n_chars": 2014,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": fals... | 2 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -43,6 +43,13 @@
(mloadPrologueCode offReg addrReg memBaseReg base).union
(mloadFourLimbsCode addrReg byteReg accReg base)
+theorem mloadStackCode_prologue_sub
+ (offReg byteReg accReg addrReg memBaseReg : Reg) (base : Word) :
+ ∀ a i, (mloadPrologueCode offReg addrReg memBaseReg base) a = some 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_87970acf43b2_13 | 40d6936c38c762d8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mload_combined_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsTripleWithin_seq_same_cr\n (mload_prologue_stack_spec_within\n offReg byteReg accReg addrReg memBa... | [
{
"name": "mload_prologue_stack_spec_within",
"text": "theorem mload_prologue_stack_spec_within\n (offReg byteReg accReg addrReg memBaseReg : Reg)\n (sp offset offOld addrOld memBase : Word) (base : Word)\n (h_off_ne_x0 : offReg ≠ .x0)\n (h_addr_ne_x0 : addrReg ≠ .x0) :\n cpsTripleWithin 2 ba... | [
{
"name": "mload_combined_four_limb_sequence_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 8,
"n_lines": 57,
"n_chars": 2645,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"aut... | 8 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -130,6 +130,24 @@
(LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) ;;
mloadFourLimbsProg addrReg byteReg accReg
+theorem mload_prologue_stack_spec_within
+ (offReg byteReg accReg addrReg memBaseReg : Reg)
+ (sp offset offOld addrOld memBase : Word) (base : Word)
+ (h_off_ne_x0 : offReg ≠ .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_87970acf43b2_14 | dcbcb7e3d3ec7798 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mload_one_limb_q0_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsTripleWithin_extend_code\n (h := h)\n (hmono := mloadFourLimbsCode_one_limb_q0_sub addrReg byteReg accR... | [
{
"name": "mloadFourLimbsCode_one_limb_q0_sub",
"text": "/-- Subsumption witness: the q0 (least-significant) one-limb byte-pack block,\n placed at `base + 8 .. base + 100`, is the leftmost union member of\n `mloadFourLimbsCode`. Proved by left-bias of `CodeReq.union`.\n\n Consumer: `calldataload_wi... | [
{
"name": "mload_one_limb_q0_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 28,
"n_chars": 1146,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -51,6 +51,24 @@
(LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) ;;
mloadFourLimbsProg addrReg byteReg accReg
+/-- Subsumption witness: the q0 (least-significant) one-limb byte-pack block,
+ placed at `base + 8 .. base + 100`, is the leftmost union member of
+ `mloadFourLimbsCode`. Proved by left-bi... | {
"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_87970acf43b2_15 | 33eedbbda1fd3fe1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadFourLimbsCode_one_limb_q1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mloadFourLimbsCode\n exact CodeReq.mono_union_right\n (mloadFourLimbs_q0_disjoint_q1 addrReg ... | [
{
"name": "mloadFourLimbs_q0_disjoint_q1",
"text": "/-- Disjointness of the q0 and q1 one-limb byte-pack blocks within\n `mloadFourLimbsCode`. q0 spans `base + 8 .. base + 100`, q1 spans\n `base + 100 .. base + 192`; both are 23-instruction `mloadOneLimbProg`\n blocks expressible as `CodeReq.ofProg... | [
{
"name": "mload_one_limb_q1_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 17,
"n_chars": 684,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -51,6 +51,23 @@
(LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) ;;
mloadFourLimbsProg addrReg byteReg accReg
+/-- Disjointness of the q0 and q1 one-limb byte-pack blocks within
+ `mloadFourLimbsCode`. q0 spans `base + 8 .. base + 100`, q1 spans
+ `base + 100 .. base + 192`; both are 23-instruction ... | {
"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_87970acf43b2_16 | f40975f03d39eb72 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadFourLimbsCode_one_limb_q2_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mloadFourLimbsCode\n exact CodeReq.mono_union_right\n (mloadFourLimbs_q0_disjoint_q2 addrReg ... | [
{
"name": "mloadFourLimbs_q1_disjoint_q2",
"text": "/-- Disjointness of the q1 and q2 one-limb byte-pack blocks within\n `mloadFourLimbsCode`. q1 spans `base + 100 .. base + 192`, q2 spans\n `base + 192 .. base + 284`; both are 23-instruction `mloadOneLimbProg`\n blocks expressible as `CodeReq.ofPr... | [
{
"name": "mload_one_limb_q2_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 17,
"n_chars": 685,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 3 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -68,6 +68,23 @@
· unfold mloadOneLimbProg mloadBytePackEightProg LBU SLLI OR' SD single seq; rfl
· intro k1 k2 hk1 hk2; bv_omega
+/-- Disjointness of the q1 and q2 one-limb byte-pack blocks within
+ `mloadFourLimbsCode`. q1 spans `base + 100 .. base + 192`, q2 spans
+ `base + 192 .. base + 284`; both a... | {
"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_87970acf43b2_17 | ffb6db5cc1b4747f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadFourLimbsCode_one_limb_q3_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mloadFourLimbsCode\n exact CodeReq.mono_union_right\n (mloadFourLimbs_q0_disjoint_q3 addrReg ... | [
{
"name": "mloadFourLimbs_q1_disjoint_q3",
"text": "/-- Disjointness of the q1 and q3 one-limb byte-pack blocks within\n `mloadFourLimbsCode`. q1 spans `base + 100 .. base + 192`, q3 spans\n `base + 284 .. base + 376`; both are 23-instruction `mloadOneLimbProg`\n blocks expressible as `CodeReq.ofPr... | [
{
"name": "mload_one_limb_q3_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 17,
"n_chars": 702,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 4 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -68,6 +68,23 @@
· unfold mloadOneLimbProg mloadBytePackEightProg LBU SLLI OR' SD single seq; rfl
· intro k1 k2 hk1 hk2; bv_omega
+/-- Disjointness of the q1 and q3 one-limb byte-pack blocks within
+ `mloadFourLimbsCode`. q1 spans `base + 100 .. base + 192`, q3 spans
+ `base + 284 .. base + 376`; both a... | {
"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_87970acf43b2_18 | 9a7b4653b6b82191 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadFourLimbsCode_one_limb_q2_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mloadFourLimbsCode\n exact CodeReq.mono_union_right\n (mloadFourLimbs_q0_disjoint_q2 addrReg ... | [
{
"name": "mloadFourLimbs_q1_disjoint_q2",
"text": "/-- Disjointness of the q1 and q2 one-limb byte-pack blocks within\n `mloadFourLimbsCode`. q1 spans `base + 100 .. base + 192`, q2 spans\n `base + 192 .. base + 284`; both are 23-instruction `mloadOneLimbProg`\n blocks expressible as `CodeReq.ofPr... | [
{
"name": "mload_one_limb_sequence_spec_within",
"fan_in": 1,
"n_deps_direct": 5,
"n_deps_transitive": 15,
"n_lines": 40,
"n_chars": 1847,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 15 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -145,6 +145,23 @@
· unfold mloadOneLimbProg mloadBytePackEightProg LBU SLLI OR' SD single seq; rfl
· intro k1 k2 hk1 hk2; bv_omega
+/-- Disjointness of the q1 and q2 one-limb byte-pack blocks within
+ `mloadFourLimbsCode`. q1 spans `base + 100 .. base + 192`, q2 spans
+ `base + 192 .. base + 284`; both... | {
"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_87970acf43b2_19 | 6cbe17e9a8f0bb8b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadFourLimbsCode_one_limb_q2_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mloadFourLimbsCode\n exact CodeReq.mono_union_right\n (mloadFourLimbs_q0_disjoint_q2 addrReg ... | [
{
"name": "mloadFourLimbs_q0_disjoint_q2",
"text": "/-- Disjointness of the q0 and q2 one-limb byte-pack blocks within\n `mloadFourLimbsCode`. q0 spans `base + 8 .. base + 100`, q2 spans\n `base + 192 .. base + 284`; both are 23-instruction `mloadOneLimbProg`\n blocks expressible as `CodeReq.ofProg... | [
{
"name": "mload_combined_one_limb_sequence_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 23,
"n_lines": 58,
"n_chars": 2609,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"aut... | 23 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -225,6 +225,23 @@
(mloadFourLimbs_q0_disjoint_q1 addrReg byteReg accReg base)
CodeReq.union_mono_left
+/-- Disjointness of the q0 and q2 one-limb byte-pack blocks within
+ `mloadFourLimbsCode`. q0 spans `base + 8 .. base + 100`, q2 spans
+ `base + 192 .. base + 284`; both are 23-instruction `mloadO... | {
"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_87970acf43b2_20 | 156419ba1898cc22 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 20 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mload_combined_four_limb_sequence_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n mload_combined_stack_spec_within\n offReg byteReg accReg addrReg memBaseReg\n sp off... | [
{
"name": "mload_four_limb_sequence_spec_within",
"text": "theorem mload_four_limb_sequence_spec_within\n {n0 n1 n2 n3 : Nat} {P0 P1 P2 P3 P4 : Assertion}\n (addrReg byteReg accReg : Reg) (base : Word)\n (h0 :\n cpsTripleWithin n0 (base + 8) (base + 100)\n (mloadFourLimbsCode addrReg by... | [
{
"name": "evm_mload_combined_one_limb_sequence_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 30,
"n_lines": 55,
"n_chars": 2522,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
... | 30 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -239,6 +239,29 @@
sp offset offOld addrOld memBase base h_off_ne_x0 h_addr_ne_x0)
(hmono := mloadStackCode_prologue_sub offReg byteReg accReg addrReg memBaseReg base)
+theorem mload_four_limb_sequence_spec_within
+ {n0 n1 n2 n3 : Nat} {P0 P1 P2 P3 P4 : Assertion}
+ (addrReg byteReg accReg : Reg) ... | {
"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_87970acf43b2_21 | ccbdcaabd536fcbd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 21 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadStackCode_eq_evm_mload_code",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadStackCode_eq_ofProg,\n mloadStackProg_eq_evm_mload offReg byteReg accReg addrReg memBaseReg]",... | [
{
"name": "mloadStackProg_eq_evm_mload",
"text": "/-- The bundled `mloadStackProg` is exactly the `evm_mload` instruction\n sequence. Direct MLOAD analog of `mstoreStackProg_eq_evm_mstore`. -/\ntheorem mloadStackProg_eq_evm_mload\n (offReg byteReg accReg addrReg memBaseReg : Reg) :\n mloadStackPro... | [
{
"name": "evm_mload_combined_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 10,
"n_lines": 40,
"n_chars": 1770,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only":... | 10 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -126,6 +126,15 @@
rfl]
exact (CodeReq.ofProg_append (base := base) (p1 := p0) (p2 := p1)).symm
+/-- The bundled `mloadStackProg` is exactly the `evm_mload` instruction
+ sequence. Direct MLOAD analog of `mstoreStackProg_eq_evm_mstore`. -/
+theorem mloadStackProg_eq_evm_mload
+ (offReg byteReg accReg... | {
"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_87970acf43b2_22 | f2d5ebc36e6ba79f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 22 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "evm_mload_code_stack_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadStackCode_eq_evm_mload_code]\n intro _ _ h; exact h",
"n_chars": 66,
"n_subproofs": 0,
"n_ta... | [
{
"name": "mloadStackCode_eq_evm_mload_code",
"text": "/-- `evm_mload_code = mloadStackCode` as `CodeReq`s. Both encode the same\n 94 instructions placed at `base..base+376`; the equality lets stack-level\n triples proved over `mloadStackCode` (e.g.\n `mload_combined_*_stack_spec_within`) be trans... | [
{
"name": "evm_mload_combined_four_limb_sequence_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 15,
"n_lines": 49,
"n_chars": 2302,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
... | 15 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -174,6 +174,20 @@
(evm_mload_eq_prologue_append_mloadFourLimbsProg
offReg byteReg accReg addrReg memBaseReg).symm
+/-- `evm_mload_code = mloadStackCode` as `CodeReq`s. Both encode the same
+ 94 instructions placed at `base..base+376`; the equality lets stack-level
+ triples proved over `mloadStackCo... | {
"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_87970acf43b2_23 | 965ef323fa53a0c8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 23 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 3 | [
{
"theorem_name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold_bytes",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadLoadedWordFromDwordPairs_evmWordIs_fold]\n rw [mloadLoadedWordFromDwordPairs_e... | [
{
"name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold",
"text": "/--\n Fold the four unaligned dword-pair MLOAD destination limbs into one\n `evmWordIs` assertion.\n-/\ntheorem mloadLoadedWordFromDwordPairs_evmWordIs_fold\n (sp : Word)\n (lo0 hi0 : Word) (start0 : Nat)\n (lo1 hi1 : Word) (start... | [
{
"name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold_bytes",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 52,
"n_chars": 2377,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"auto... | 2 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -68,6 +68,25 @@
(mloadPackedLimbFromDwordPair lo3 hi3 start3)
/--
+ Fold the four unaligned dword-pair MLOAD destination limbs into one
+ `evmWordIs` assertion.
+-/
+theorem mloadLoadedWordFromDwordPairs_evmWordIs_fold
+ (sp : Word)
+ (lo0 hi0 : Word) (start0 : Nat)
+ (lo1 hi1 : Word) (start1 : Na... | {
"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_87970acf43b2_24 | 2d4eadbaf572ece5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 24 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold_bytes",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadLoadedWordFromDwordPairs_evmWordIs_fold]\n rw [mloadLoadedWordFromDwordPairs_e... | [
{
"name": "mloadLoadedWordFromDwordPairs_eq_mloadLoadedWordFromBytes",
"text": "/--\n The dword-pair representation used by the unaligned executable proof is the\n same byte-level MLOAD word as `mloadLoadedWordFromBytes`. Pair 3 supplies\n bytes 0..7 (the most-significant EVM bytes); pair 0 supplies byte... | [
{
"name": "mloadStackOutputWordFromDwordPairs_eq_mloadLoadedWordFromDwordPairs",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 13,
"n_chars": 543,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structura... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -68,6 +68,54 @@
(mloadPackedLimbFromDwordPair lo3 hi3 start3)
/--
+ The dword-pair representation used by the unaligned executable proof is the
+ same byte-level MLOAD word as `mloadLoadedWordFromBytes`. Pair 3 supplies
+ bytes 0..7 (the most-significant EVM bytes); pair 0 supplies bytes 24..31
+ (the le... | {
"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_87970acf43b2_25 | cde08020540fd9a8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 25 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold_bytes",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadLoadedWordFromDwordPairs_evmWordIs_fold]\n rw [mloadLoadedWordFromDwordPairs_e... | [
{
"name": "mloadLoadedWordFromDwordPairs_eq_mloadLoadedWordFromBytes",
"text": "/--\n The dword-pair representation used by the unaligned executable proof is the\n same byte-level MLOAD word as `mloadLoadedWordFromBytes`. Pair 3 supplies\n bytes 0..7 (the most-significant EVM bytes); pair 0 supplies byte... | [
{
"name": "mloadStackOutputPost_evmWordIs_fold",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 4,
"n_lines": 17,
"n_chars": 745,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 3,
"n_structural": 0,
"automation_only": fa... | 4 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -87,6 +87,54 @@
rw [mloadLoadedWordFromDwordPairs, mloadLoadedWord_evmWordIs_fold]
/--
+ The dword-pair representation used by the unaligned executable proof is the
+ same byte-level MLOAD word as `mloadLoadedWordFromBytes`. Pair 3 supplies
+ bytes 0..7 (the most-significant EVM bytes); pair 0 supplies byte... | {
"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_87970acf43b2_26 | 028ddd873a353ef9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 26 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadStackOutputPost_evmWordIs_fold",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadStackOutputPost_unfold]\n rw [mloadStackOutputWordFromDwordPairs_eq_mloadLoadedWordFromDwordP... | [
{
"name": "mloadStackOutputPost_unfold",
"text": "theorem mloadStackOutputPost_unfold\n (sp : Word)\n (lo0 hi0 : Word) (start0 : Nat)\n (lo1 hi1 : Word) (start1 : Nat)\n (lo2 hi2 : Word) (start2 : Nat)\n (lo3 hi3 : Word) (start3 : Nat) :\n mloadStackOutputPost sp\n lo0 hi0 start0 lo1 ... | [
{
"name": "mloadStackOutputPost_evmStackIs_fold",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 17,
"n_chars": 551,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": f... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -128,6 +128,20 @@
(mloadStackOutputWordFromDwordPairs
lo0 hi0 start0 lo1 hi1 start1 lo2 hi2 start2 lo3 hi3 start3)
+theorem mloadStackOutputPost_unfold
+ (sp : Word)
+ (lo0 hi0 : Word) (start0 : Nat)
+ (lo1 hi1 : Word) (start1 : Nat)
+ (lo2 hi2 : Word) (start2 : Nat)
+ (lo3 hi3 : Word) (... | {
"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_87970acf43b2_27 | b14f971b1cee3436 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 27 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 3 | [
{
"theorem_name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold_bytes",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadLoadedWordFromDwordPairs_evmWordIs_fold]\n rw [mloadLoadedWordFromDwordPairs_e... | [
{
"name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold",
"text": "/--\n Fold the four unaligned dword-pair MLOAD destination limbs into one\n `evmWordIs` assertion.\n-/\ntheorem mloadLoadedWordFromDwordPairs_evmWordIs_fold\n (sp : Word)\n (lo0 hi0 : Word) (start0 : Nat)\n (lo1 hi1 : Word) (start... | [
{
"name": "mloadLoadedWordFromFiveDwords_evmWordIs_fold",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 15,
"n_chars": 681,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_... | 2 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -68,6 +68,25 @@
(mloadPackedLimbFromDwordPair lo3 hi3 start3)
/--
+ Fold the four unaligned dword-pair MLOAD destination limbs into one
+ `evmWordIs` assertion.
+-/
+theorem mloadLoadedWordFromDwordPairs_evmWordIs_fold
+ (sp : Word)
+ (lo0 hi0 : Word) (start0 : Nat)
+ (lo1 hi1 : Word) (start1 : Na... | {
"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_87970acf43b2_28 | 70d8eb637ef3a80d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 28 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 3 | [
{
"theorem_name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold_bytes",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadLoadedWordFromDwordPairs_evmWordIs_fold]\n rw [mloadLoadedWordFromDwordPairs_e... | [
{
"name": "mloadLoadedWordFromDwordPairs_evmWordIs_fold",
"text": "/--\n Fold the four unaligned dword-pair MLOAD destination limbs into one\n `evmWordIs` assertion.\n-/\ntheorem mloadLoadedWordFromDwordPairs_evmWordIs_fold\n (sp : Word)\n (lo0 hi0 : Word) (start0 : Nat)\n (lo1 hi1 : Word) (start... | [
{
"name": "mloadLoadedWordFromFiveDwords_evmStackIs_fold",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 12,
"n_chars": 571,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation... | 3 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -68,6 +68,25 @@
(mloadPackedLimbFromDwordPair lo3 hi3 start3)
/--
+ Fold the four unaligned dword-pair MLOAD destination limbs into one
+ `evmWordIs` assertion.
+-/
+theorem mloadLoadedWordFromDwordPairs_evmWordIs_fold
+ (sp : Word)
+ (lo0 hi0 : Word) (start0 : Nat)
+ (lo1 hi1 : Word) (start1 : Na... | {
"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_87970acf43b2_29 | 29af7102967a86e2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 29 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "mloadLoadedWordFromFiveDwords_evmWordIs_fold",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadLoadedWordFromFiveDwords_eq_mloadLoadedWordFromDwordPairs]\n rw [mloadLoadedWordFrom... | [
{
"name": "mloadLoadedWordFromFiveDwords_eq_mloadLoadedWordFromDwordPairs",
"text": "theorem mloadLoadedWordFromFiveDwords_eq_mloadLoadedWordFromDwordPairs\n (d0 d1 d2 d3 d4 : Word) (start : Nat) :\n mloadLoadedWordFromFiveDwords d0 d1 d2 d3 d4 start =\n mloadLoadedWordFromDwordPairs\n d3 ... | [
{
"name": "mloadStackOutputPostFiveDwords_evmWordIs_fold",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 11,
"n_chars": 528,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation... | 4 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -160,6 +160,16 @@
d1 d2 start
d0 d1 start
+theorem mloadLoadedWordFromFiveDwords_eq_mloadLoadedWordFromDwordPairs
+ (d0 d1 d2 d3 d4 : Word) (start : Nat) :
+ mloadLoadedWordFromFiveDwords d0 d1 d2 d3 d4 start =
+ mloadLoadedWordFromDwordPairs
+ d3 d4 start
+ d2 d3 start
+ ... | {
"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_87970acf43b2_30 | 710d6714515f45ce | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MLoad/StackSpec.lean | StackSpec | 30 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "mloadStackOutputPostFiveDwords_evmWordIs_fold",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mloadStackOutputPostFiveDwords_unfold]\n rw [mloadLoadedWordFromFiveDwords_evmWordIs_fol... | [
{
"name": "mloadStackOutputPostFiveDwords_unfold",
"text": "theorem mloadStackOutputPostFiveDwords_unfold\n (sp d0 d1 d2 d3 d4 : Word) (start : Nat) :\n mloadStackOutputPostFiveDwords sp d0 d1 d2 d3 d4 start =\n evmWordIs sp (mloadLoadedWordFromFiveDwords d0 d1 d2 d3 d4 start) := by\n delta mloa... | [
{
"name": "mloadStackOutputPostFiveDwords_evmStackIs_fold",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 359,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation... | 1 | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | /-
EvmAsm.Evm64.MLoad.StackSpec
Stack-level bridge helpers for MLOAD.
-/
import EvmAsm.Evm64.Stack
import EvmAsm.Evm64.MLoad.Spec
import EvmAsm.Evm64.MLoad.UnalignedSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MLOAD output-limb byte-pack blocks, placed after the
two-instruction add... | @@ -149,11 +149,20 @@
(sp d0 d1 d2 d3 d4 : Word) (start : Nat) : Assertion :=
evmWordIs sp (mloadLoadedWordFromFiveDwords d0 d1 d2 d3 d4 start)
+theorem mloadStackOutputPostFiveDwords_unfold
+ (sp d0 d1 d2 d3 d4 : Word) (start : Nat) :
+ mloadStackOutputPostFiveDwords sp d0 d1 d2 d3 d4 start =
+ ev... | {
"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_7d38c01f6fa8_0 | 361ca795efb51a0a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/RLP/Phase4HintLen.lean | Phase4HintLen | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "rlp_phase4_read_input_len_spec_within_exact",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [rlp_phase4_read_input_len_code_eq_ofProg]\n have haddi1 := addi_spec_gen_within .x10 .x12... | [
{
"name": "rlp_phase4_read_input_len_code_eq_ofProg",
"text": "theorem rlp_phase4_read_input_len_code_eq_ofProg\n (ptr_ptr_off size_ptr_off : BitVec 12) (base : Word) :\n CodeReq.ofProg base (rlp_phase4_read_input_len_prog ptr_ptr_off size_ptr_off) =\n (CodeReq.singleton base (.ADDI .x10 .x12 ptr... | [
{
"name": "rlp_phase4_read_input_len_spec_within_exact",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 45,
"n_chars": 2523,
"n_subproofs": 5,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation... | 1 | /-
EvmAsm.Rv64.RLP.Phase4HintLen
Phase 4 wrappers for the RLP decoder: read private-input metadata.
Contains `read_input` (t0=0xF2) wrappers per the zkvm-standards C ABI.
The legacy SP1 HINT_LEN (t0=0xF0) wrappers have been retired.
-/
import EvmAsm.Rv64.Program
import EvmAsm.Rv64.HintSpecs
import EvmAsm.Rv6... | /-
EvmAsm.Rv64.RLP.Phase4HintLen
Phase 4 wrappers for the RLP decoder: read private-input metadata.
Contains `read_input` (t0=0xF2) wrappers per the zkvm-standards C ABI.
The legacy SP1 HINT_LEN (t0=0xF0) wrappers have been retired.
-/
import EvmAsm.Rv64.Program
import EvmAsm.Rv64.HintSpecs
import EvmAsm.Rv6... | @@ -34,6 +34,16 @@
.LI .x5 (BitVec.ofNat 64 0xF2),
.ECALL]
+theorem rlp_phase4_read_input_len_code_eq_ofProg
+ (ptr_ptr_off size_ptr_off : BitVec 12) (base : Word) :
+ CodeReq.ofProg base (rlp_phase4_read_input_len_prog ptr_ptr_off size_ptr_off) =
+ (CodeReq.singleton base (.ADDI .x10 .x12 ptr_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_8e3635a05234_0 | 323726351c91f245 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/FastN1Program.lean | FastN1Program | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 2 | [
{
"theorem_name": "evm_div_v6_length",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_disp : (divK_dispatchN1 796 788).length = 8 := by rfl\n have h_body : (divK_fastBody 88 40 188 148 108 68).length... | [
{
"name": "divK_fastBody_length",
"text": "theorem divK_fastBody_length (a : BitVec 13) (n c3 c2 c1 c0 : BitVec 21) :\n (divK_fastBody a n c3 c2 c1 c0).length = 101 := by\n have h_clz : divK_clz.length = 24 := by rfl\n have h_setup : (divK_fastSetup a).length = 7 := by rfl\n have h_normA : (divK_normA... | [
{
"name": "evm_div_v6_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 527,
"n_subproofs": 5,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"max_nes... | 1 | /-
EvmAsm.Evm64.DivMod.FastN1Program
Single-limb (n = 1) division fast path — issue #9303.
When the divisor `b` fits in a single 64-bit limb (`b1 = b2 = b3 = 0`,
`b0 ≠ 0`), the general Knuth Algorithm D in `evm_div_v5` is wasteful: it
runs 4-limb normalization, a 4-limb multiply-subtract correction loop, an... | /-
EvmAsm.Evm64.DivMod.FastN1Program
Single-limb (n = 1) division fast path — issue #9303.
When the divisor `b` fits in a single 64-bit limb (`b1 = b2 = b3 = 0`,
`b0 ≠ 0`), the general Knuth Algorithm D in `evm_div_v5` is wasteful: it
runs 4-limb normalization, a 4-limb multiply-subtract correction loop, an... | @@ -144,9 +144,24 @@
-- Length lemmas
-- ============================================================================
+theorem divK_fastBody_length (a : BitVec 13) (n c3 c2 c1 c0 : BitVec 21) :
+ (divK_fastBody a n c3 c2 c1 c0).length = 101 := by
+ have h_clz : divK_clz.length = 24 := by rfl
+ have h_setup : (... | {
"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_8e3635a05234_1 | bd087c8cd0152d3b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/FastN1Program.lean | FastN1Program | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 2 | [
{
"theorem_name": "evm_div_v6_length",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_disp : (divK_dispatchN1 796 788).length = 8 := by rfl\n have h_body : (divK_fastBody 88 40 188 148 108 68).length... | [
{
"name": "divK_fastBody_length",
"text": "theorem divK_fastBody_length (a : BitVec 13) (n c3 c2 c1 c0 : BitVec 21) :\n (divK_fastBody a n c3 c2 c1 c0).length = 101 := by\n have h_clz : divK_clz.length = 24 := by rfl\n have h_setup : (divK_fastSetup a).length = 7 := by rfl\n have h_normA : (divK_normA... | [
{
"name": "evm_mod_v6_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 13,
"n_chars": 596,
"n_subproofs": 6,
"n_tactics": 12,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"max_nes... | 1 | /-
EvmAsm.Evm64.DivMod.FastN1Program
Single-limb (n = 1) division fast path — issue #9303.
When the divisor `b` fits in a single 64-bit limb (`b1 = b2 = b3 = 0`,
`b0 ≠ 0`), the general Knuth Algorithm D in `evm_div_v5` is wasteful: it
runs 4-limb normalization, a 4-limb multiply-subtract correction loop, an... | /-
EvmAsm.Evm64.DivMod.FastN1Program
Single-limb (n = 1) division fast path — issue #9303.
When the divisor `b` fits in a single 64-bit limb (`b1 = b2 = b3 = 0`,
`b0 ≠ 0`), the general Knuth Algorithm D in `evm_div_v5` is wasteful: it
runs 4-limb normalization, a 4-limb multiply-subtract correction loop, an... | @@ -144,9 +144,24 @@
-- Length lemmas
-- ============================================================================
+theorem divK_fastBody_length (a : BitVec 13) (n c3 c2 c1 c0 : BitVec 21) :
+ (divK_fastBody a n c3 c2 c1 c0).length = 101 := by
+ have h_clz : divK_clz.length = 24 := by rfl
+ have h_setup : (... | {
"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_4a258ca0d205_0 | 88a3d959aad34c71 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "divK_phaseB_init1_code_sub_divCode",
"fan_in": 4,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 13,
"n_chars": 648,
"n_subproofs": 1,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": fal... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,8 +28,31 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_1 | eb321341dc709bfc | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "divK_phaseB_init2_code_sub_divCode",
"fan_in": 4,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 553,
"n_subproofs": 1,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": fal... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,8 +28,29 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_2 | 7fc0dbb57bb9fe2c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "addi_x5_singleton_sub_divCode",
"fan_in": 4,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 654,
"n_subproofs": 2,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,9 +28,32 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_3 | 1a1b31da6c96e4e2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "bne_x10_singleton_sub_divCode",
"fan_in": 4,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 654,
"n_subproofs": 2,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,9 +28,32 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_4 | bca2947a69989c4d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "divK_phaseB_tail_code_sub_divCode",
"fan_in": 4,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 24,
"n_chars": 1264,
"n_subproofs": 1,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": fal... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,9 +28,30 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_5 | 228ac94afb2e5208 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 1 | [
{
"theorem_name": "evm_div_bzero_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- Step 1: Phase A body (base → base+28, 7 straight-line instructions)\n -- Extend to divCode CodeReq\n have h... | [
{
"name": "divK_zeroPath_code_sub_divCode",
"text": "/-- Zero path code (5 instructions, block 11) is subsumed by divCode. -/\nprivate theorem divK_zeroPath_code_sub_divCode {base : Word} :\n ∀ a i, (divK_zeroPath_code (base + zeroPathOff)) a = some i → (divCode base) a = some i := by\n unfold divCode d... | [
{
"name": "evm_div_bzero_spec_within",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 54,
"n_chars": 3021,
"n_subproofs": 10,
"n_tactics": 31,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 6,
"n_structural": 3,
"automation_only": false,
... | 3 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -34,6 +34,15 @@
unfold divCode divK_phaseA_code; simp only [CodeReq.unionAll_cons]
exact CodeReq.union_mono_left
+/-- Zero path code (5 instructions, block 11) is subsumed by divCode. -/
+private theorem divK_zeroPath_code_sub_divCode {base : Word} :
+ ∀ a i, (divK_zeroPath_code (base + zeroPathOff)) a = ... | {
"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_4a258ca0d205_6 | 61deb39195398789 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 1 | [
{
"theorem_name": "evm_div_bzero_spec_within_noNop",
"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_divCode_noNop\n (divK_phaseA_body_spec_w... | [
{
"name": "divK_zeroPath_code_sub_divCode_noNop",
"text": "/-- Zero path code (5 instructions, block 11) is subsumed by `divCode_noNop`. -/\nprivate theorem divK_zeroPath_code_sub_divCode_noNop {base : Word} :\n ∀ a i, (divK_zeroPath_code (base + zeroPathOff)) a = some i →\n (divCode_noNop base) a =... | [
{
"name": "evm_div_bzero_spec_within_noNop",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 48,
"n_chars": 2674,
"n_subproofs": 10,
"n_tactics": 32,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 6,
"n_structural": 3,
"automation_only": fal... | 3 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -34,6 +34,15 @@
unfold divCode_noNop divK_phaseA_code; simp only [CodeReq.unionAll_cons]
exact CodeReq.union_mono_left
+/-- Zero path code (5 instructions, block 11) is subsumed by `divCode_noNop`. -/
+private theorem divK_zeroPath_code_sub_divCode_noNop {base : Word} :
+ ∀ a i, (divK_zeroPath_code (base ... | {
"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_4a258ca0d205_7 | 8bc6fa0b5b40f808 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 1 | [
{
"theorem_name": "evm_div_bzero_spec_within_noNop_v4",
"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_sharedDivModCodeNoNop_v4\n (divK_phas... | [
{
"name": "divK_zeroPath_code_sub_sharedDivModCodeNoNop_v4",
"text": "/-- Zero path code (5 instructions, block 10) is subsumed by\n `sharedDivModCodeNoNop_v4`. -/\nprivate theorem divK_zeroPath_code_sub_sharedDivModCodeNoNop_v4 {base : Word} :\n ∀ a i, (divK_zeroPath_code (base + zeroPathOff)) a = so... | [
{
"name": "evm_div_bzero_spec_within_noNop_v4",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 46,
"n_chars": 2614,
"n_subproofs": 10,
"n_tactics": 32,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 6,
"n_structural": 3,
"automation_only": ... | 3 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -37,6 +37,17 @@
simp only [CodeReq.unionAll_cons]
exact CodeReq.union_mono_left
+/-- Zero path code (5 instructions, block 10) is subsumed by
+ `sharedDivModCodeNoNop_v4`. -/
+private theorem divK_zeroPath_code_sub_sharedDivModCodeNoNop_v4 {base : Word} :
+ ∀ a i, (divK_zeroPath_code (base + zeroPathOf... | {
"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_4a258ca0d205_8 | 637106477ba4a5d6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 2 | [
{
"theorem_name": "evm_div_bzero_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- Step 1: Phase A body (base → base+28, 7 straight-line instructions)\n -- Extend to divCode CodeReq\n have h... | [
{
"name": "beq_singleton_sub_divCode",
"text": "/-- BEQ singleton at base+28 is subsumed by divCode (part of block 0: phaseA). -/\nprivate theorem beq_singleton_sub_divCode {base : Word} :\n ∀ a i, (CodeReq.singleton (base + phaseABeqOff) (.BEQ .x5 .x0 1020)) a = some i →\n (divCode base) a = some i... | [
{
"name": "evm_div_phaseA_ntaken_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 39,
"n_chars": 2156,
"n_subproofs": 7,
"n_tactics": 22,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 3,
"n_structural": 3,
"automation_only": fa... | 2 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -34,6 +34,16 @@
unfold divCode divK_phaseA_code; simp only [CodeReq.unionAll_cons]
exact CodeReq.union_mono_left
+/-- BEQ singleton at base+28 is subsumed by divCode (part of block 0: phaseA). -/
+private theorem beq_singleton_sub_divCode {base : Word} :
+ ∀ a i, (CodeReq.singleton (base + phaseABeqOff) (... | {
"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_4a258ca0d205_9 | 2b68420bb52a16e5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- ---- Step 1: init1 (base+32 → base+60) — zero q[0..3] and u[5..7]\n have hinit1_raw := divK_phaseB_init1... | [
{
"name": "divK_phaseB_tail_code_sub_divCode",
"text": "/-- Phase B tail code (ofProg sub-range of block 1) is subsumed by divCode. -/\nprivate theorem divK_phaseB_tail_code_sub_divCode {base : Word} :\n ∀ a i, (divK_phaseB_tail_code (base + phaseBTailOff)) a = some i → (divCode base) a = some i := by\n ... | [
{
"name": "evm_div_phaseB_n4_spec_within",
"fan_in": 1,
"n_deps_direct": 11,
"n_deps_transitive": 12,
"n_lines": 63,
"n_chars": 3979,
"n_subproofs": 13,
"n_tactics": 35,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 2,
"n_structural": 3,
"automation_only": fal... | 12 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -91,6 +91,29 @@
have h1 := CodeReq.singleton_mono hlookup a i h
exact sub_divCode_of_phaseB_left a i h1
+/-- Phase B tail code (ofProg sub-range of block 1) is subsumed by divCode. -/
+private theorem divK_phaseB_tail_code_sub_divCode {base : Word} :
+ ∀ a i, (divK_phaseB_tail_code (base + phaseBTailOff))... | {
"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_4a258ca0d205_10 | d255f6dec2686ed7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- ---- Step 1: init1 (base+32 → base+60) — zero q[0..3] and u[5..7]\n have hinit1_raw := divK_phaseB_init1... | [
{
"name": "divK_phaseB_tail_code_sub_divCode",
"text": "/-- Phase B tail code (ofProg sub-range of block 1) is subsumed by divCode. -/\nprivate theorem divK_phaseB_tail_code_sub_divCode {base : Word} :\n ∀ a i, (divK_phaseB_tail_code (base + phaseBTailOff)) a = some i → (divCode base) a = some i := by\n ... | [
{
"name": "evm_div_phaseAB_n4_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 16,
"n_lines": 49,
"n_chars": 2786,
"n_subproofs": 5,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": fals... | 16 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -107,6 +107,29 @@
have h1 := CodeReq.singleton_mono hlookup a i h
exact sub_divCode_of_phaseB_left a i h1
+/-- Phase B tail code (ofProg sub-range of block 1) is subsumed by divCode. -/
+private theorem divK_phaseB_tail_code_sub_divCode {base : Word} :
+ ∀ a i, (divK_phaseB_tail_code (base + phaseBTailOff... | {
"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_4a258ca0d205_11 | 633b0d7521b15cc4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "addi_x5_3_sub_divCode",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 605,
"n_subproofs": 2,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
"max... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,9 +28,32 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_12 | 130fe02d3a6eece0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "bne_x7_16_sub_divCode",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 603,
"n_subproofs": 2,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
"max... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,9 +28,32 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_13 | f9f0486347703c40 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "addi_x5_2_sub_divCode",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 604,
"n_subproofs": 2,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
"max... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,9 +28,32 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_14 | c41b1e344a969827 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "bne_x6_8_sub_divCode",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 601,
"n_subproofs": 2,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
"max_... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,9 +28,32 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_15 | 859e5821603e4d70 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 10 | [
{
"theorem_name": "divK_phaseB_init1_code_sub_divCode",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode; simp only [CodeReq.unionAll_cons]\n intro a i h\n -- Lift from init1 sub-range to full... | [
{
"name": "sub_divCode_of_phaseB_left",
"text": "/-- Skip the phaseA block when descending into `divCode`: any membership in\n the phaseB block (left of the remaining union) lifts to membership in\n `phaseA ∪ (phaseB ∪ rest)`. Used by the ten `*_sub_divCode` theorems below\n that would otherwise re... | [
{
"name": "addi_x5_1_sub_divCode",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 22,
"n_chars": 1046,
"n_subproofs": 2,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
"ma... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -28,9 +28,32 @@
-- Each sub-spec's CodeReq is subsumed by divCode using structural union reasoning.
-- ============================================================================
+/-- Skip the phaseA block when descending into `divCode`: any membership in
+ the phaseB block (left of the remaining union) lift... | {
"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_4a258ca0d205_16 | a20c23ccc8d82e33 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- ---- Step 1: init1 (base+32 → base+60) — zero q[0..3] and u[5..7]\n have hinit1_raw := divK_phaseB_init1... | [
{
"name": "phB_addi_4",
"text": "private theorem phB_addi_4 {base : Word} : (base + phaseBStep0Off : Word) + 4 = base + phaseBBneOff := by bv_addr\n",
"fan_in": 4,
"n_lines": 2,
"n_chars": 114,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites"... | [
{
"name": "evm_div_phaseB_n3_spec_within",
"fan_in": 0,
"n_deps_direct": 15,
"n_deps_transitive": 16,
"n_lines": 139,
"n_chars": 9036,
"n_subproofs": 31,
"n_tactics": 107,
"cyclomatic": 1,
"n_automation": 6,
"n_rewrites": 4,
"n_structural": 5,
"automation_only": f... | 16 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -115,6 +115,7 @@
-- Phase B tail address: nm1X8 = (4 + signExtend12 4095) <<< 3 = 24
private theorem phB_i2_8 {base : Word} : (base + phaseBInit2Off : Word) + 8 = base + phaseBStep0Off := by bv_addr
+private theorem phB_addi_4 {base : Word} : (base + phaseBStep0Off : Word) + 4 = base + phaseBBneOff := by bv_addr... | {
"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_4a258ca0d205_17 | 9b0e525f77f54d00 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- ---- Step 1: init1 (base+32 → base+60) — zero q[0..3] and u[5..7]\n have hinit1_raw := divK_phaseB_init1... | [
{
"name": "phB_bne_4",
"text": "private theorem phB_bne_4 {base : Word} : (base + phaseBBneOff : Word) + 4 = base + phaseBStep1Off := by bv_addr\n",
"fan_in": 4,
"n_lines": 2,
"n_chars": 113,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": ... | [
{
"name": "evm_div_phaseB_n2_spec_within",
"fan_in": 0,
"n_deps_direct": 19,
"n_deps_transitive": 20,
"n_lines": 171,
"n_chars": 11111,
"n_subproofs": 41,
"n_tactics": 140,
"cyclomatic": 1,
"n_automation": 7,
"n_rewrites": 6,
"n_structural": 7,
"automation_only": ... | 20 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -116,6 +116,7 @@
-- Phase B tail address: nm1X8 = (4 + signExtend12 4095) <<< 3 = 24
private theorem phB_i2_8 {base : Word} : (base + phaseBInit2Off : Word) + 8 = base + phaseBStep0Off := by bv_addr
private theorem phB_addi_4 {base : Word} : (base + phaseBStep0Off : Word) + 4 = base + phaseBBneOff := by bv_addr
+... | {
"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_4a258ca0d205_18 | 1f69ee51ca88866d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseAB.lean | PhaseAB | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- ---- Step 1: init1 (base+32 → base+60) — zero q[0..3] and u[5..7]\n have hinit1_raw := divK_phaseB_init1... | [
{
"name": "phB_bne_4",
"text": "private theorem phB_bne_4 {base : Word} : (base + phaseBBneOff : Word) + 4 = base + phaseBStep1Off := by bv_addr\n",
"fan_in": 4,
"n_lines": 2,
"n_chars": 113,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": ... | [
{
"name": "evm_div_phaseB_n1_spec_within",
"fan_in": 0,
"n_deps_direct": 21,
"n_deps_transitive": 22,
"n_lines": 185,
"n_chars": 12437,
"n_subproofs": 45,
"n_tactics": 154,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 6,
"n_structural": 7,
"automation_only": ... | 22 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseAB
Phase A and Phase B composition specs for DivMod.
Includes subsumption lemmas, signExtend/address helpers,
zero-path composition, Phase A ntaken, Phase B for n=4/3/2/1,
and Phase AB n=4 composition.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Evm64.DivM... | @@ -116,6 +116,7 @@
-- Phase B tail address: nm1X8 = (4 + signExtend12 4095) <<< 3 = 24
private theorem phB_i2_8 {base : Word} : (base + phaseBInit2Off : Word) + 8 = base + phaseBStep0Off := by bv_addr
private theorem phB_addi_4 {base : Word} : (base + phaseBStep0Off : Word) + 4 = base + phaseBBneOff := by bv_addr
+... | {
"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_e98cafd7aa97_0 | 80af549f0d7dd1b9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Multiply/LimbSpec.lean | LimbSpec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "mul_col1_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro lo_a0b1 hi_a0b1 r1_out carry01 r2_contrib1 r2_acc1 carry_r2_1 lo_a1b1 hi_a1b1 r2_out carry_r2_2 r3_contrib1 r3_s... | [
{
"name": "mul_col1_partB_spec_within",
"text": "/-- Column 1 part B: multiply a1×b1, a2×b1, accumulate r2/r3, store r3 spill.\n 13 instructions at base+40..base+88. -/\ntheorem mul_col1_partB_spec_within (sp : Word) (base : Word)\n (a1 a2 b1 r3p0 v6 v7 carry_r2_1 r2_acc1 : Word) :\n let lo_a1b1 :=... | [
{
"name": "mul_col1_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 40,
"n_chars": 2299,
"n_subproofs": 2,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_... | 2 | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | @@ -72,6 +72,41 @@
abbrev mul_col1_partB_code (base : Word) : CodeReq :=
CodeReq.ofProg (base + 40) (mul_col1.drop 10)
+/-- Column 1 part B: multiply a1×b1, a2×b1, accumulate r2/r3, store r3 spill.
+ 13 instructions at base+40..base+88. -/
+theorem mul_col1_partB_spec_within (sp : Word) (base : Word)
+ (a1 ... | {
"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_e98cafd7aa97_1 | c5d01fd1328eabaa | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Multiply/LimbSpec.lean | LimbSpec | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "mul_col0_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro r0 hi_a0b0 lo_a1b0 hi_a1b0 r1_acc carry_r1 lo_a2b0 hi_a2b0 r2_acc carry_r2 r3p\n have PA := mul_col0_partA_spec... | [
{
"name": "mul_col0_partB_spec_within",
"text": "/-- Column 0 part B: multiply a2×b0 and a3×b0, accumulate r2, store r3 partial.\n 10 instructions at base+44..base+80. -/\ntheorem mul_col0_partB_spec_within (sp : Word) (base : Word)\n (a2 a3 b0 v6 v7 r2_partial : Word) :\n let lo_a2b0 := a2 * b0\n ... | [
{
"name": "mul_col0_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 37,
"n_chars": 1959,
"n_subproofs": 2,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_... | 2 | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | @@ -81,6 +81,37 @@
abbrev mul_col0_partB_code (base : Word) : CodeReq :=
CodeReq.ofProg (base + 44) (mul_col0.drop 11)
+/-- Column 0 part B: multiply a2×b0 and a3×b0, accumulate r2, store r3 partial.
+ 10 instructions at base+44..base+80. -/
+theorem mul_col0_partB_spec_within (sp : Word) (base : Word)
+ (a... | {
"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_e98cafd7aa97_2 | 1bc0f13183214758 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Multiply/LimbSpec.lean | LimbSpec | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "mul_col0_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro r0 hi_a0b0 lo_a1b0 hi_a1b0 r1_acc carry_r1 lo_a2b0 hi_a2b0 r2_acc carry_r2 r3p\n have PA := mul_col0_partA_spec... | [
{
"name": "mul_col0_partB_spec_within",
"text": "/-- Column 0 part B: multiply a2×b0 and a3×b0, accumulate r2, store r3 partial.\n 10 instructions at base+44..base+80. -/\ntheorem mul_col0_partB_spec_within (sp : Word) (base : Word)\n (a2 a3 b0 v6 v7 r2_partial : Word) :\n let lo_a2b0 := a2 * b0\n ... | [
{
"name": "evm_mul_cols01_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 47,
"n_chars": 2383,
"n_subproofs": 2,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
... | 6 | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | @@ -189,6 +189,37 @@
abbrev mul_col0_partB_code (base : Word) : CodeReq :=
CodeReq.ofProg (base + 44) (mul_col0.drop 11)
+/-- Column 0 part B: multiply a2×b0 and a3×b0, accumulate r2, store r3 partial.
+ 10 instructions at base+44..base+80. -/
+theorem mul_col0_partB_spec_within (sp : Word) (base : Word)
+ ... | {
"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_e98cafd7aa97_3 | 132f12b2994e69ad | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Multiply/LimbSpec.lean | LimbSpec | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "evm_mul_cols23ep_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro c2_lo c2_hi c2_r2 c2_c c2_rc c2_r3 r3_final\n have C2 := mul_col2_spec_within sp (base + 176) a0 a1 b2 ... | [
{
"name": "mul_col2_spec_within",
"text": "/-- Column 2: multiply b[2] × {a[0],a[1]}, finalize r[2], update r[3] accumulator.\n 13 instructions. Input: x11 = r2 acc, sp+16 = r3 partial.\n Output: x10 = r3 total, sp+48 = r2 stored. -/\ntheorem mul_col2_spec_within (sp : Word) (base : Word)\n (a0 a1 ... | [
{
"name": "evm_mul_cols23ep_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 30,
"n_chars": 1554,
"n_subproofs": 3,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | @@ -53,6 +53,47 @@
abbrev mul_col2_code (base : Word) : CodeReq :=
CodeReq.ofProg base mul_col2
+/-- Column 2: multiply b[2] × {a[0],a[1]}, finalize r[2], update r[3] accumulator.
+ 13 instructions. Input: x11 = r2 acc, sp+16 = r3 partial.
+ Output: x10 = r3 total, sp+48 = r2 stored. -/
+theorem mul_col2_sp... | {
"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_e98cafd7aa97_4 | 85241fd42c07c7d6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Multiply/LimbSpec.lean | LimbSpec | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "evm_mul_cols01_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro c0_r0 c0_hi_a0b0 c0_lo_a1b0 c0_hi_a1b0 c0_r1 c0_c1 c0_lo_a2b0 c0_hi_a2b0 c0_r2 c0_c2 c0_r3p c1_lo c1_hi c1... | [
{
"name": "mul_col0_spec_within",
"text": "/-- Column 0: multiply b[0] × {a[0],a[1],a[2],a[3]}, store r[0], spill r[3] partial.\n 21 instructions. Output: x10 = r1 acc, x11 = r2 acc, sp+24 = r3p, sp+32 = r0. -/\ntheorem mul_col0_spec_within (sp : Word) (base : Word)\n (a0 a1 a2 a3 b0 v5 v6 v7 v10 v11 ... | [
{
"name": "evm_mul_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 10,
"n_lines": 59,
"n_chars": 3015,
"n_subproofs": 2,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_... | 10 | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | /-
EvmAsm.Evm64.MultiplySpec
CPS specifications for the 256-bit EVM MUL program (64-bit).
Modular decomposition by column:
- Column 0 (21 instrs): b[0] × {a[0], a[1], a[2], a[3]}
Split into partA (11 instrs) + partB (10 instrs) for build speed.
- Column 1 (23 instrs): b[1] × {a[0], a[1], a[2]}
Split ... | @@ -285,6 +285,42 @@
abbrev mul_col0_code (base : Word) : CodeReq :=
CodeReq.ofProg base mul_col0
+/-- Column 0: multiply b[0] × {a[0],a[1],a[2],a[3]}, store r[0], spill r[3] partial.
+ 21 instructions. Output: x10 = r1 acc, x11 = r2 acc, sp+24 = r3p, sp+32 = r0. -/
+theorem mul_col0_spec_within (sp : Word) (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_45bf39582249_0 | fd731005e0460e2b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 5 | [
{
"theorem_name": "decodeExpStack?_eq_some_expArgs_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · intro h\n obtain ⟨base', exponent', rest, h_stack, h_args⟩ :=\n decodeExpStac... | [
{
"name": "decodeExpStack?_eq_some_iff",
"text": "theorem decodeExpStack?_eq_some_iff\n {stack : List EvmWord} {args : ExpArgs.Args} :\n decodeExpStack? stack = some args ↔\n ∃ base exponent rest,\n stack = base :: exponent :: rest ∧\n args = ExpArgs.expArgs base exponent := by\n ... | [
{
"name": "decodeExpStack?_eq_some_expArgs_iff",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 17,
"n_chars": 539,
"n_subproofs": 1,
"n_tactics": 12,
"cyclomatic": 4,
"n_automation": 3,
"n_rewrites": 2,
"n_structural": 6,
"automation_only": f... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,12 +20,39 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_eq_some_iff
+ {stack : List EvmWord} {args : ExpArgs.Args} :
+ decodeExpStack? stack = some args ↔
+ ∃ base exponent rest,
+ stack = base :: exponent :: rest ∧
+ ar... | {
"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_45bf39582249_1 | 85d3ff33e6e72a5d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 5 | [
{
"theorem_name": "decodeExpStack?_eq_some_expArgs_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · intro h\n obtain ⟨base', exponent', rest, h_stack, h_args⟩ :=\n decodeExpStac... | [
{
"name": "decodeExpStack?_eq_some_iff",
"text": "theorem decodeExpStack?_eq_some_iff\n {stack : List EvmWord} {args : ExpArgs.Args} :\n decodeExpStack? stack = some args ↔\n ∃ base exponent rest,\n stack = base :: exponent :: rest ∧\n args = ExpArgs.expArgs base exponent := by\n ... | [
{
"name": "decodeExpStack?_base_of_some",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 346,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,10 +20,34 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_eq_some_iff
+ {stack : List EvmWord} {args : ExpArgs.Args} :
+ decodeExpStack? stack = some args ↔
+ ∃ base exponent rest,
+ stack = base :: exponent :: rest ∧
+ ar... | {
"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_45bf39582249_2 | cc9152e21932fd24 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 5 | [
{
"theorem_name": "decodeExpStack?_eq_some_expArgs_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · intro h\n obtain ⟨base', exponent', rest, h_stack, h_args⟩ :=\n decodeExpStac... | [
{
"name": "decodeExpStack?_eq_some_iff",
"text": "theorem decodeExpStack?_eq_some_iff\n {stack : List EvmWord} {args : ExpArgs.Args} :\n decodeExpStack? stack = some args ↔\n ∃ base exponent rest,\n stack = base :: exponent :: rest ∧\n args = ExpArgs.expArgs base exponent := by\n ... | [
{
"name": "decodeExpStack?_exponent_of_some",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 342,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": false... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,10 +20,34 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_eq_some_iff
+ {stack : List EvmWord} {args : ExpArgs.Args} :
+ decodeExpStack? stack = some args ↔
+ ∃ base exponent rest,
+ stack = base :: exponent :: rest ∧
+ ar... | {
"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_45bf39582249_3 | a3b5b96fccea7426 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 5 | [
{
"theorem_name": "decodeExpStack?_eq_some_expArgs_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · intro h\n obtain ⟨base', exponent', rest, h_stack, h_args⟩ :=\n decodeExpStac... | [
{
"name": "decodeExpStack?_eq_some_iff",
"text": "theorem decodeExpStack?_eq_some_iff\n {stack : List EvmWord} {args : ExpArgs.Args} :\n decodeExpStack? stack = some args ↔\n ∃ base exponent rest,\n stack = base :: exponent :: rest ∧\n args = ExpArgs.expArgs base exponent := by\n ... | [
{
"name": "decodeExpStack?_base_exponent_of_some",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 341,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": ... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,10 +20,34 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_eq_some_iff
+ {stack : List EvmWord} {args : ExpArgs.Args} :
+ decodeExpStack? stack = some args ↔
+ ∃ base exponent rest,
+ stack = base :: exponent :: rest ∧
+ ar... | {
"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_45bf39582249_4 | 35fddedec3dd37bb | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 5 | [
{
"theorem_name": "decodeExpStack?_eq_some_expArgs_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · intro h\n obtain ⟨base', exponent', rest, h_stack, h_args⟩ :=\n decodeExpStac... | [
{
"name": "decodeExpStack?_eq_some_iff",
"text": "theorem decodeExpStack?_eq_some_iff\n {stack : List EvmWord} {args : ExpArgs.Args} :\n decodeExpStack? stack = some args ↔\n ∃ base exponent rest,\n stack = base :: exponent :: rest ∧\n args = ExpArgs.expArgs base exponent := by\n ... | [
{
"name": "decodeExpStack?_length_ge_two_of_some",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 288,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": ... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,10 +20,34 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_eq_some_iff
+ {stack : List EvmWord} {args : ExpArgs.Args} :
+ decodeExpStack? stack = some args ↔
+ ∃ base exponent rest,
+ stack = base :: exponent :: rest ∧
+ ar... | {
"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_45bf39582249_5 | a9efce67b96d45a3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "decodeExpStack?_length_lt_two_of_none",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n decodeExpStack?_eq_none_iff_length_lt_two.mp h_none",
"n_chars": 54,
"n_subproofs": 0,
"n_ta... | [
{
"name": "decodeExpStack?_eq_none_iff_length_lt_two",
"text": "theorem decodeExpStack?_eq_none_iff_length_lt_two\n {stack : List EvmWord} :\n decodeExpStack? stack = none ↔ stack.length < 2 := by\n cases stack with\n | nil =>\n simp [decodeExpStack?]\n | cons base tail =>\n cases tail wi... | [
{
"name": "decodeExpStack?_length_lt_two_of_none",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 198,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": f... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,10 +20,24 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_eq_none_iff_length_lt_two
+ {stack : List EvmWord} :
+ decodeExpStack? stack = none ↔ stack.length < 2 := by
+ cases stack with
+ | nil =>
+ simp [decodeExpStack?]
+ | cons base... | {
"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_45bf39582249_6 | 17bafa580310ac8c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "decodeExpStack?_length_lt_two_of_none",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n decodeExpStack?_eq_none_iff_length_lt_two.mp h_none",
"n_chars": 54,
"n_subproofs": 0,
"n_ta... | [
{
"name": "decodeExpStack?_eq_none_iff_length_lt_two",
"text": "theorem decodeExpStack?_eq_none_iff_length_lt_two\n {stack : List EvmWord} :\n decodeExpStack? stack = none ↔ stack.length < 2 := by\n cases stack with\n | nil =>\n simp [decodeExpStack?]\n | cons base tail =>\n cases tail wi... | [
{
"name": "decodeExpStack?_none_of_length_lt_two",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 197,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": f... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,10 +20,24 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_eq_none_iff_length_lt_two
+ {stack : List EvmWord} :
+ decodeExpStack? stack = none ↔ stack.length < 2 := by
+ cases stack with
+ | nil =>
+ simp [decodeExpStack?]
+ | cons base... | {
"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_45bf39582249_7 | d0d076102a7dbb48 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "decodeExpStack?_length_ge_two_of_isSome",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n decodeExpStack?_isSome_iff_length_ge_two.mp h_some",
"n_chars": 53,
"n_subproofs": 0,
"n_t... | [
{
"name": "decodeExpStack?_isSome_iff_length_ge_two",
"text": "theorem decodeExpStack?_isSome_iff_length_ge_two\n {stack : List EvmWord} :\n (decodeExpStack? stack).isSome ↔ 2 ≤ stack.length := by\n cases stack with\n | nil =>\n simp [decodeExpStack?]\n | cons base tail =>\n cases tail wi... | [
{
"name": "decodeExpStack?_length_ge_two_of_isSome",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 203,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only":... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,10 +20,24 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_isSome_iff_length_ge_two
+ {stack : List EvmWord} :
+ (decodeExpStack? stack).isSome ↔ 2 ≤ stack.length := by
+ cases stack with
+ | nil =>
+ simp [decodeExpStack?]
+ | cons bas... | {
"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_45bf39582249_8 | d65da9bc1354912f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/ArgsStackDecode.lean | ArgsStackDecode | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "decodeExpStack?_length_ge_two_of_isSome",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n decodeExpStack?_isSome_iff_length_ge_two.mp h_some",
"n_chars": 53,
"n_subproofs": 0,
"n_t... | [
{
"name": "decodeExpStack?_isSome_iff_length_ge_two",
"text": "theorem decodeExpStack?_isSome_iff_length_ge_two\n {stack : List EvmWord} :\n (decodeExpStack? stack).isSome ↔ 2 ≤ stack.length := by\n cases stack with\n | nil =>\n simp [decodeExpStack?]\n | cons base tail =>\n cases tail wi... | [
{
"name": "decodeExpStack?_isSome_of_length_ge_two",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 202,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only":... | 1 | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | /-
EvmAsm.Evm64.Exp.ArgsStackDecode
Pure top-of-stack decoder for EXP executable-spec bridges (GH #92).
-/
import EvmAsm.Evm64.Exp.Args
namespace EvmAsm.Evm64
namespace ExpArgsStackDecode
/--
Decode EXP stack arguments from the top-of-stack list order:
`base, exponent`.
Distinctive token: ExpArgsStackDecode.d... | @@ -20,10 +20,24 @@
| base :: exponent :: _ => some (ExpArgs.expArgs base exponent)
| _ => none
+theorem decodeExpStack?_isSome_iff_length_ge_two
+ {stack : List EvmWord} :
+ (decodeExpStack? stack).isSome ↔ 2 ≤ stack.length := by
+ cases stack with
+ | nil =>
+ simp [decodeExpStack?]
+ | cons bas... | {
"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_a1058b6da099_0 | e2c56aa1c727ef17 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/CarryLdCondSub.lean | CarryLdCondSub | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "evm_addmod_total_program_code_cond_sub_pass1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro a i h\n rw [condSubPass1Code_eq_ofProg] at h\n revert a i h\n unfold evm_addmod_... | [
{
"name": "condSubPass1Code_eq_ofProg",
"text": "theorem condSubPass1Code_eq_ofProg (base : Word) :\n condSubPass1Code base = CodeReq.ofProg base condSubPass1Prog := by\n unfold condSubPass1Code condSubPass1Prog\n simp only [CodeReq.ofProg_cons, CodeReq.ofProg_nil,\n CodeReq.union_empty_right, BitVe... | [
{
"name": "evm_addmod_total_program_code_cond_sub_pass1_sub",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 20,
"n_chars": 761,
"n_subproofs": 0,
"n_tactics": 14,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 4,
"n_structural": 2,
"automa... | 1 | /-
EvmAsm.Evm64.AddMod.Compose.CarryLdCondSub
Phase-3 M3d for total ADDMOD (issue #9704): the sub-region code subsumptions
that lift the two cond-subtract halves (`pass1take_clean` at byte 612, len 25;
`pass2_owned` at byte 712, len 30) onto the total program code.
The cond-subtract block `evm_addmod_carry_... | /-
EvmAsm.Evm64.AddMod.Compose.CarryLdCondSub
Phase-3 M3d for total ADDMOD (issue #9704): the sub-region code subsumptions
that lift the two cond-subtract halves (`pass1take_clean` at byte 612, len 25;
`pass2_owned` at byte 712, len 30) onto the total program code.
The cond-subtract block `evm_addmod_carry_... | @@ -124,13 +124,31 @@
(CodeReq.union (CodeReq.singleton (base + 112) (.SUB .x6 .x6 .x10))
(CodeReq.singleton (base + 116) (.SD .x12 .x6 (24 : BitVec 12)))))))))))))))))))))))))))))))
+theorem condSubPass1Code_eq_ofProg (base : Word) :
+ condSubPass1Code base = CodeReq.ofProg base condSubPass1Prog := by
+ u... | {
"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_a1058b6da099_1 | f456e7bf1f5fdcab | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/CarryLdCondSub.lean | CarryLdCondSub | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "evm_addmod_total_program_code_cond_sub_pass2_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro a i h\n rw [condSubPass2Code_eq_ofProg] at h\n revert a i h\n unfold evm_addmod_... | [
{
"name": "condSubPass2Code_eq_ofProg",
"text": "theorem condSubPass2Code_eq_ofProg (base : Word) :\n condSubPass2Code base = CodeReq.ofProg base condSubPass2Prog := by\n unfold condSubPass2Code condSubPass2Prog\n simp only [CodeReq.ofProg_cons, CodeReq.ofProg_nil,\n CodeReq.union_empty_right, BitVe... | [
{
"name": "evm_addmod_total_program_code_cond_sub_pass2_sub",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 20,
"n_chars": 757,
"n_subproofs": 0,
"n_tactics": 14,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 4,
"n_structural": 2,
"automa... | 1 | /-
EvmAsm.Evm64.AddMod.Compose.CarryLdCondSub
Phase-3 M3d for total ADDMOD (issue #9704): the sub-region code subsumptions
that lift the two cond-subtract halves (`pass1take_clean` at byte 612, len 25;
`pass2_owned` at byte 712, len 30) onto the total program code.
The cond-subtract block `evm_addmod_carry_... | /-
EvmAsm.Evm64.AddMod.Compose.CarryLdCondSub
Phase-3 M3d for total ADDMOD (issue #9704): the sub-region code subsumptions
that lift the two cond-subtract halves (`pass1take_clean` at byte 612, len 25;
`pass2_owned` at byte 712, len 30) onto the total program code.
The cond-subtract block `evm_addmod_carry_... | @@ -124,13 +124,31 @@
(CodeReq.union (CodeReq.singleton (base + 112) (.SUB .x6 .x6 .x10))
(CodeReq.singleton (base + 116) (.SD .x12 .x6 (24 : BitVec 12)))))))))))))))))))))))))))))))
+theorem condSubPass2Code_eq_ofProg (base : Word) :
+ condSubPass2Code base = CodeReq.ofProg base condSubPass2Prog := by
+ u... | {
"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_9011def39972_0 | 184ef65eef0f8d74 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"fan_in": 5,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 346,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,18 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_1 | 4c28af36aaf46002 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 1 | [
{
"theorem_name": "memoryAccessExpansionCost_mstore_eq",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_mload_eq sizeBytes offset",
"n_chars": 63,
"n_subproofs": 0,
... | [
{
"name": "memoryAccessExpansionCost_mload_eq",
"text": "theorem memoryAccessExpansionCost_mload_eq (sizeBytes offset : Nat) :\n memoryAccessExpansionCost sizeBytes offset 32 =\n memoryExpansionCost sizeBytes\n (max sizeBytes (roundUpTo32 (offset + 32))) := by\n simp [memoryAccessExpansionCo... | [
{
"name": "memoryAccessExpansionCost_mstore_eq",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 278,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": fal... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,17 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_mload_eq (sizeBytes offset : Nat) :
+ memoryAccessExpansionCost sizeBytes offset 32 =
+ memoryExpansionCost sizeBytes
+ (max sizeBytes (roundUpTo32 (off... | {
"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_9011def39972_2 | d76e8c6908c67e5d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "memoryAccessExpansionCost_mload_eq_zero_of_no_growth",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 285,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"auto... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,17 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_3 | f8d95cc7e5ed2521 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "memoryAccessExpansionCost_mstore_eq_zero_of_no_growth",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 286,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"aut... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,17 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_4 | 67e967a13865ff29 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "memoryAccessExpansionCost_mstore8_eq_zero_of_no_growth",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 285,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"au... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,17 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_5 | fa00f60dc66513a3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "memoryAccessExpansionCost_mload_eq_zero_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 274,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"auto... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,18 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_6 | 810f68acfba2724c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "memoryAccessExpansionCost_mstore_eq_zero_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 275,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"aut... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,18 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_7 | faa0480566d5d882 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "memoryAccessExpansionCost_mstore8_eq_zero_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 274,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"au... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,18 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_8 | 0234b9444bf78667 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "returnDynamicCost_eq_zero_of_no_growth",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 278,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": ... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_9 | 2cd70d001aca0c0b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "revertDynamicCost_eq_zero_of_no_growth",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 278,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": ... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_10 | af1d8c4e98358863 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "returnDynamicCost_eq_zero_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 267,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": ... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,18 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_11 | c6dab4acf207f987 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "revertDynamicCost_eq_zero_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 267,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": ... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,10 +49,18 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeBy... | {
"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_9011def39972_12 | a5de3b63d91e3024 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "keccakDynamicCost_eq_word_charge_of_no_growth",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 351,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_13 | 7ede8596bfd3390a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "keccakDynamicCost_eq_word_charge_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 378,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_14 | 9e59a600e8fa0844 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "memoryCopyDynamicCost_eq_copy_charge_of_no_growth",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 374,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automat... | 1 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_15 | ee95287412479c2a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "calldataCopyDynamicCost_eq_copy_charge_of_no_growth",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 353,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"autom... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_16 | 390f7189d1fb31a2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "codeCopyDynamicCost_eq_copy_charge_of_no_growth",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 345,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automatio... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_17 | 2cf16fd124debfbf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "returndataCopyDynamicCost_eq_copy_charge_of_no_growth",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 357,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"aut... | 2 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_18 | 5a7ff5d67494615c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "calldataCopyDynamicCost_eq_copy_charge_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 9,
"n_chars": 410,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"autom... | 3 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_19 | 17088da5bfa1a681 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "codeCopyDynamicCost_eq_copy_charge_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 9,
"n_chars": 398,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automatio... | 3 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_9011def39972_20 | a1a75cd5c3714c02 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MemoryGas.lean | MemoryGas | 20 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 8 | [
{
"theorem_name": "memoryAccessExpansionCost_eq_zero_of_access_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact memoryAccessExpansionCost_eq_zero_of_no_growth\n (evmMemExpand_eq_old_of_access_le ... | [
{
"name": "memoryAccessExpansionCost_eq_zero_of_no_growth",
"text": "theorem memoryAccessExpansionCost_eq_zero_of_no_growth\n {sizeBytes offset length : Nat}\n (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :\n memoryAccessExpansionCost sizeBytes offset length = 0 := by\n simp [m... | [
{
"name": "returndataCopyDynamicCost_eq_copy_charge_of_access_le",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 9,
"n_chars": 416,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"aut... | 3 | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | /-
EvmAsm.Evm64.MemoryGas
Pure EVM memory expansion gas helpers for issue #118.
-/
import EvmAsm.Evm64.Memory
namespace EvmAsm.Evm64
namespace MemoryGas
/-- Shanghai memory expansion linear coefficient, charged per 32-byte word. -/
def memoryGasPerWord : Nat := 3
/-- Convert a byte high-water mark to EVM memor... | @@ -49,6 +49,12 @@
memoryAccessExpansionCost sizeBytes offset 0 = 0 := by
simp [memoryAccessExpansionCost]
+theorem memoryAccessExpansionCost_eq_zero_of_no_growth
+ {sizeBytes offset length : Nat}
+ (h_no_growth : evmMemExpand sizeBytes offset length = sizeBytes) :
+ memoryAccessExpansionCost sizeByt... | {
"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_5d4911f306ca_0 | ce022a20613ea65d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/MemMonad.lean | MemMonad | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 2 | [
{
"theorem_name": "runSail_write_ram",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [writeBytes_effect]\n unfold write_ram\n simp [runSail, PreSail.ConcurrencyInterfaceV1.sail_mem_write, PreSail.write... | [
{
"name": "writeBytes_effect",
"text": "/-- State effect of an 8-byte `writeBytes`: registers unchanged; the doubleword's\n eight little-endian byte slices are written at `addr … addr+7`, everything else\n left alone. -/\ntheorem writeBytes_effect (addr : Nat) (v : BitVec 64) (s : SailState) :\n ru... | [
{
"name": "runSail_write_ram",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 15,
"n_chars": 810,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"max_nest... | 1 | /-
EvmAsm.Rv64.SailEquiv.MemMonad
The Sail monadic reduction (Phase 2, step #2): symbolically executing the Sail
golden model's `execute_STORE`/`execute_LOAD` to a closed-form state update, for
an aligned access in bare Machine mode. Built bottom-up as per-layer `runSail_*`
lemmas (the `runSail_jump_to` pat... | /-
EvmAsm.Rv64.SailEquiv.MemMonad
The Sail monadic reduction (Phase 2, step #2): symbolically executing the Sail
golden model's `execute_STORE`/`execute_LOAD` to a closed-form state update, for
an aligned access in bare Machine mode. Built bottom-up as per-layer `runSail_*`
lemmas (the `runSail_jump_to` pat... | @@ -18,12 +18,33 @@
namespace EvmAsm.Rv64.SailEquiv
+/-- State effect of an 8-byte `writeBytes`: registers unchanged; the doubleword's
+ eight little-endian byte slices are written at `addr … addr+7`, everything else
+ left alone. -/
+theorem writeBytes_effect (addr : Nat) (v : BitVec 64) (s : SailState) :
+... | {
"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_5d4911f306ca_1 | bcdfd075271d9a34 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/MemMonad.lean | MemMonad | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 1 | [
{
"theorem_name": "runSail_checked_mem_write_bare",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold checked_mem_write\n simp [runSail_bind, h_pac, h_mmio, write_kind_of_flags, runSail_map, h_wr]",
... | [
{
"name": "runSail_map",
"text": "/-- `runSail` commutes with `Functor.map`. -/\ntheorem runSail_map {α β : Type} (f : α → β) (m : SailM α) (s : SailState) :\n runSail (f <$> m) s = (runSail m s).map (fun p => (f p.1, p.2)) := by\n simp only [runSail, Functor.map, EStateM.map]\n cases m s <;> rfl\n\n",... | [
{
"name": "runSail_checked_mem_write_bare",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 16,
"n_chars": 1091,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,... | 1 | /-
EvmAsm.Rv64.SailEquiv.MemMonad
The Sail monadic reduction (Phase 2, step #2): symbolically executing the Sail
golden model's `execute_STORE`/`execute_LOAD` to a closed-form state update, for
an aligned access in bare Machine mode. Built bottom-up as per-layer `runSail_*`
lemmas (the `runSail_jump_to` pat... | /-
EvmAsm.Rv64.SailEquiv.MemMonad
The Sail monadic reduction (Phase 2, step #2): symbolically executing the Sail
golden model's `execute_STORE`/`execute_LOAD` to a closed-form state update, for
an aligned access in bare Machine mode. Built bottom-up as per-layer `runSail_*`
lemmas (the `runSail_jump_to` pat... | @@ -18,6 +18,12 @@
namespace EvmAsm.Rv64.SailEquiv
+/-- `runSail` commutes with `Functor.map`. -/
+theorem runSail_map {α β : Type} (f : α → β) (m : SailM α) (s : SailState) :
+ runSail (f <$> m) s = (runSail m s).map (fun p => (f p.1, p.2)) := by
+ simp only [runSail, Functor.map, EStateM.map]
+ cases m s <;... | {
"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_5d4911f306ca_2 | f84d458f67c5a492 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/MemMonad.lean | MemMonad | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 1 | [
{
"theorem_name": "runSail_mem_write_value_bare",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [runSail_mem_write_value_to_checked _ _ _ _ h_priv h_mstatus h_mprv]\n exact runSail_checked_mem_write_bar... | [
{
"name": "runSail_mem_write_value_to_checked",
"text": "/-- In Machine privilege with `MPRV = 0`, `mem_write_value` for a plain store\n (`aq=rl=con=false`) reduces to `checked_mem_write` at `Machine` privilege:\n `effectivePrivilege` returns `Machine`, the release/conditional alignment guard\n is ... | [
{
"name": "runSail_mem_write_value_bare",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 5,
"n_lines": 27,
"n_chars": 1832,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
... | 5 | /-
EvmAsm.Rv64.SailEquiv.MemMonad
The Sail monadic reduction (Phase 2, step #2): symbolically executing the Sail
golden model's `execute_STORE`/`execute_LOAD` to a closed-form state update, for
an aligned access in bare Machine mode. Built bottom-up as per-layer `runSail_*`
lemmas (the `runSail_jump_to` pat... | /-
EvmAsm.Rv64.SailEquiv.MemMonad
The Sail monadic reduction (Phase 2, step #2): symbolically executing the Sail
golden model's `execute_STORE`/`execute_LOAD` to a closed-form state update, for
an aligned access in bare Machine mode. Built bottom-up as per-layer `runSail_*`
lemmas (the `runSail_jump_to` pat... | @@ -46,6 +46,27 @@
MonadStateOf.modifyGet, MonadState.modifyGet, EStateM.modifyGet,
Bind.bind, bind, EStateM.bind, Pure.pure, EStateM.pure, Fin.succ]
+/-- In Machine privilege with `MPRV = 0`, `mem_write_value` for a plain store
+ (`aq=rl=con=false`) reduces to `checked_mem_write` at `Machine` privilege:... | {
"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_1bce24d33254_0 | 0feabee6a30d2b19 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Bls12G1Copy96SAsm.lean | Bls12G1Copy96SAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 12 | 2 | [
{
"theorem_name": "copy_engine",
"depth": 1,
"n_commands": 0,
"n_lines": 37,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hse0 : signExtend12 (0 : BitVec 12) = (0 : Word) := by decide\n have hloadAddr : rf.get .x10 + signExtend12 (0 : BitVec ... | [
{
"name": "ld_romiss",
"text": "private theorem ld_romiss (reg : Region) (rwb : Word) (rf : RegFile)\n (ws : List (BitVec 8)) (rd rs1 : Reg) (ofs : BitVec 12)\n (h : ¬ inRw rwb ws (rf.get rs1 + signExtend12 ofs) 8) :\n execInstrRF reg rwb rf ws (.LD rd rs1 ofs)\n = (rf.set rd (reg.dwordAt (rf.... | [
{
"name": "copy_engine",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 46,
"n_chars": 2236,
"n_subproofs": 5,
"n_tactics": 37,
"cyclomatic": 1,
"n_automation": 11,
"n_rewrites": 13,
"n_structural": 1,
"automation_only": false,
"max_nestin... | 3 | /-
EvmAsm.Codegen.Programs.Bls12G1Copy96SAsm
Verified SAsm port of `blsg_copy96`: copy the 96-byte BLS12-381 G1 buffer from
`a0` to the writable destination at `a1`. The emitted routine is a
bottom-test dword loop over 12 limbs.
-/
import EvmAsm.Rv64.SAsm.MultiDword
import EvmAsm.Rv64.SAsm.MultiRw
import Evm... | /-
EvmAsm.Codegen.Programs.Bls12G1Copy96SAsm
Verified SAsm port of `blsg_copy96`: copy the 96-byte BLS12-381 G1 buffer from
`a0` to the writable destination at `a1`. The emitted routine is a
bottom-test dword loop over 12 limbs.
-/
import EvmAsm.Rv64.SAsm.MultiDword
import EvmAsm.Rv64.SAsm.MultiRw
import Evm... | @@ -37,6 +37,15 @@
let r3 := r2.set .x11 (r2.get .x11 + signExtend12 (8 : BitVec 12))
r3.set .x5 (r3.get .x5 + signExtend12 (-1 : BitVec 12))
+private theorem ld_romiss (reg : Region) (rwb : Word) (rf : RegFile)
+ (ws : List (BitVec 8)) (rd rs1 : Reg) (ofs : BitVec 12)
+ (h : ¬ inRw rwb ws (rf.get rs1 + s... | {
"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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.