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_efa86c96fcc0_16 | 1ad829e953e81120 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb1_lt_code_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 13,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_mulmod_reduce512_inner_step_compare_limb1_lt_code_eq_ofProg base]\n unf... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb1_lt_code_eq_ofProg",
"text": "/-- The limb1 lt/equality path code is a subrange of the full compare ladder. -/\ntheorem evm_mulmod_reduce512_inner_step_compare_limb1_lt_code_eq_ofProg (base : Word) :\n evm_mulmod_reduce512_inner_step_compare_limb1_l... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb1_lt_code_sub",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 17,
"n_chars": 721,
"n_subproofs": 0,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 4,
"n_structural": 1,
... | 1 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -215,9 +215,34 @@
def mulModReduceCompareLimb0LtPost (sp : Word) (r n : EvmWord) : Assertion :=
mulModReduceCompareLimb0FallthroughRawPost sp r n ** ⌜mulModReduceRemLT r n⌝
+/-- The limb1 lt/equality path code is a subrange of the full compare ladder. -/
+theorem evm_mulmod_reduce512_inner_step_compare_limb1_l... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_efa86c96fcc0_17 | 3e86caffd6f3cd52 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb0_lt_code_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_mulmod_reduce512_inner_step_compare_limb0_lt_code_eq_ofProg base]\n unf... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb0_lt_code_eq_ofProg",
"text": "/-- The limb0 path code is a suffix subrange of the full compare ladder. -/\ntheorem evm_mulmod_reduce512_inner_step_compare_limb0_lt_code_eq_ofProg (base : Word) :\n evm_mulmod_reduce512_inner_step_compare_limb0_lt_cod... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb0_lt_code_sub",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 16,
"n_chars": 683,
"n_subproofs": 0,
"n_tactics": 12,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 4,
"n_structural": 1,
... | 1 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -215,9 +215,31 @@
def mulModReduceCompareLimb0LtPost (sp : Word) (r n : EvmWord) : Assertion :=
mulModReduceCompareLimb0FallthroughRawPost sp r n ** ⌜mulModReduceRemLT r n⌝
+/-- The limb0 path code is a suffix subrange of the full compare ladder. -/
+theorem evm_mulmod_reduce512_inner_step_compare_limb0_lt_cod... | {
"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_efa86c96fcc0_18 | 46e9f15e820c255c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb3_gt_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken (fun _ hp => hp) (fun h hp => by\n unfold mulM... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb3_gt_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb3_gt_raw_spec_within\n (sp base x6Old x7Old : Word) (r n : EvmWord)\n (hgt : BitVec.ult (EvmWord.getLimbN n 3) (EvmWord.getLimbN r 3)) :\n cpsTripleWithin 3 (ba... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb3_gt_full_code_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 12,
"n_chars": 612,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -118,13 +118,38 @@
mulModReduceCompareLimb3FallthroughRawPost sp r n **
⌜EvmWord.getLimbN r 3 = EvmWord.getLimbN n 3⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb3_gt_raw_spec_within
+ (sp base x6Old x7Old : Word) (r n : EvmWord)
+ (hgt : BitVec.ult (EvmWord.getLimbN n 3) (EvmWord.getLimbN r 3... | {
"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_efa86c96fcc0_19 | e74311a23645b3c1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb3_lt_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken (fun _ hp => hp) (fun h hp => by\n unfold mulM... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb3_lt_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb3_lt_raw_spec_within\n (sp base x6Old x7Old : Word) (r n : EvmWord)\n (hlt : BitVec.ult (EvmWord.getLimbN r 3) (EvmWord.getLimbN n 3)) :\n cpsTripleWithin 4 (ba... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb3_lt_full_code_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 12,
"n_chars": 612,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -118,13 +118,47 @@
mulModReduceCompareLimb3FallthroughRawPost sp r n **
⌜EvmWord.getLimbN r 3 = EvmWord.getLimbN n 3⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb3_lt_raw_spec_within
+ (sp base x6Old x7Old : Word) (r n : EvmWord)
+ (hlt : BitVec.ult (EvmWord.getLimbN r 3) (EvmWord.getLimbN n 3... | {
"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_efa86c96fcc0_20 | 1e42bd4b52bd8054 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 20 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb3_eq_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken (fun _ hp => hp) (fun h hp => by\n unfold mulM... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb3_eq_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb3_eq_raw_spec_within\n (sp base x6Old x7Old : Word) (r n : EvmWord)\n (h_eq : EvmWord.getLimbN r 3 = EvmWord.getLimbN n 3) :\n cpsTripleWithin 4 (base + 84) (ba... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb3_eq_full_code_spec_within",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 12,
"n_chars": 601,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -118,13 +118,49 @@
mulModReduceCompareLimb3FallthroughRawPost sp r n **
⌜EvmWord.getLimbN r 3 = EvmWord.getLimbN n 3⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb3_eq_raw_spec_within
+ (sp base x6Old x7Old : Word) (r n : EvmWord)
+ (h_eq : EvmWord.getLimbN r 3 = EvmWord.getLimbN n 3) :
+ cp... | {
"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_efa86c96fcc0_21 | e8b514bbd6a2b910 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 21 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb2_gt_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken\n (fun h hp => by\n unfold mulModReduceCo... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb2_gt_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb2_gt_raw_spec_within\n (sp base : Word) (r n : EvmWord)\n (hgt : BitVec.ult (EvmWord.getLimbN n 2) (EvmWord.getLimbN r 2)) :\n cpsTripleWithin 3 (base + 100) (b... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb2_gt_full_code_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 13,
"n_chars": 649,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -154,6 +154,27 @@
⌜EvmWord.getLimbN r 3 = EvmWord.getLimbN n 3 ∧
EvmWord.getLimbN r 2 = EvmWord.getLimbN n 2⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb2_gt_raw_spec_within
+ (sp base : Word) (r n : EvmWord)
+ (hgt : BitVec.ult (EvmWord.getLimbN n 2) (EvmWord.getLimbN r 2)) :
+ cpsTripl... | {
"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_efa86c96fcc0_22 | 80a99acabc73b4b4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 22 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb2_lt_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken\n (fun h hp => by\n unfold mulModReduceCo... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb2_lt_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb2_lt_raw_spec_within\n (sp base : Word) (r n : EvmWord)\n (hlt : BitVec.ult (EvmWord.getLimbN r 2) (EvmWord.getLimbN n 2)) :\n cpsTripleWithin 4 (base + 100) (b... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb2_lt_full_code_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 13,
"n_chars": 649,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -154,6 +154,36 @@
⌜EvmWord.getLimbN r 3 = EvmWord.getLimbN n 3 ∧
EvmWord.getLimbN r 2 = EvmWord.getLimbN n 2⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb2_lt_raw_spec_within
+ (sp base : Word) (r n : EvmWord)
+ (hlt : BitVec.ult (EvmWord.getLimbN r 2) (EvmWord.getLimbN n 2)) :
+ cpsTripl... | {
"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_efa86c96fcc0_23 | 90c72a7b77e52c50 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 23 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb2_eq_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken\n (fun h hp => by\n unfold mulModReduceCo... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb2_eq_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb2_eq_raw_spec_within\n (sp base : Word) (r n : EvmWord)\n (h_eq : EvmWord.getLimbN r 2 = EvmWord.getLimbN n 2) :\n cpsTripleWithin 4 (base + 100) (base + 116)\n... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb2_eq_full_code_spec_within",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 13,
"n_chars": 640,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -154,6 +154,38 @@
⌜EvmWord.getLimbN r 3 = EvmWord.getLimbN n 3 ∧
EvmWord.getLimbN r 2 = EvmWord.getLimbN n 2⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb2_eq_raw_spec_within
+ (sp base : Word) (r n : EvmWord)
+ (h_eq : EvmWord.getLimbN r 2 = EvmWord.getLimbN n 2) :
+ cpsTripleWithin 4 (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_efa86c96fcc0_24 | 4d76ab392abb6b81 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 24 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb1_gt_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken\n (fun h hp => by\n unfold mulModReduceCo... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb1_gt_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb1_gt_raw_spec_within\n (sp base : Word) (r n : EvmWord)\n (hgt : BitVec.ult (EvmWord.getLimbN n 1) (EvmWord.getLimbN r 1)) :\n cpsTripleWithin 3 (base + 116) (b... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb1_gt_full_code_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 14,
"n_chars": 713,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -191,6 +191,27 @@
EvmWord.getLimbN r 2 = EvmWord.getLimbN n 2 ∧
EvmWord.getLimbN r 1 = EvmWord.getLimbN n 1⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb1_gt_raw_spec_within
+ (sp base : Word) (r n : EvmWord)
+ (hgt : BitVec.ult (EvmWord.getLimbN n 1) (EvmWord.getLimbN r 1)) :
+ cpsTrip... | {
"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_efa86c96fcc0_25 | 26005889ac73a269 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 25 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb1_lt_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken\n (fun h hp => by\n unfold mulModReduceCo... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb1_lt_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb1_lt_raw_spec_within\n (sp base : Word) (r n : EvmWord)\n (hlt : BitVec.ult (EvmWord.getLimbN r 1) (EvmWord.getLimbN n 1)) :\n cpsTripleWithin 4 (base + 116) (b... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb1_lt_full_code_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 14,
"n_chars": 713,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -191,6 +191,36 @@
EvmWord.getLimbN r 2 = EvmWord.getLimbN n 2 ∧
EvmWord.getLimbN r 1 = EvmWord.getLimbN n 1⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb1_lt_raw_spec_within
+ (sp base : Word) (r n : EvmWord)
+ (hlt : BitVec.ult (EvmWord.getLimbN r 1) (EvmWord.getLimbN n 1)) :
+ cpsTrip... | {
"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_efa86c96fcc0_26 | f7a4b5aaff7d2472 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 26 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb1_eq_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken\n (fun h hp => by\n unfold mulModReduceCo... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb1_eq_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb1_eq_raw_spec_within\n (sp base : Word) (r n : EvmWord)\n (h_eq : EvmWord.getLimbN r 1 = EvmWord.getLimbN n 1) :\n cpsTripleWithin 4 (base + 116) (base + 132)\n... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb1_eq_full_code_spec_within",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 14,
"n_chars": 704,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -191,6 +191,38 @@
EvmWord.getLimbN r 2 = EvmWord.getLimbN n 2 ∧
EvmWord.getLimbN r 1 = EvmWord.getLimbN n 1⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb1_eq_raw_spec_within
+ (sp base : Word) (r n : EvmWord)
+ (h_eq : EvmWord.getLimbN r 1 = EvmWord.getLimbN n 1) :
+ cpsTripleWithin 4 (... | {
"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_efa86c96fcc0_27 | aec9b7946d05c92f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 27 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb0_lt_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken\n (fun h hp => by\n unfold mulModReduceCo... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb0_lt_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb0_lt_raw_spec_within\n (sp base : Word) (r n : EvmWord)\n (hlt : BitVec.ult (EvmWord.getLimbN r 0) (EvmWord.getLimbN n 0)) :\n cpsTripleWithin 3 (base + 132) (b... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb0_lt_full_code_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 15,
"n_chars": 777,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -215,6 +215,27 @@
def mulModReduceCompareLimb0LtPost (sp : Word) (r n : EvmWord) : Assertion :=
mulModReduceCompareLimb0FallthroughRawPost sp r n ** ⌜mulModReduceRemLT r n⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb0_lt_raw_spec_within
+ (sp base : Word) (r n : EvmWord)
+ (hlt : BitVec.ult (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_efa86c96fcc0_28 | 216188ab2b678a5f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 28 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb0_ge_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_weaken\n (fun h hp => by\n unfold mulModReduceCo... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb0_ge_raw_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb0_ge_raw_spec_within\n (sp base : Word) (r n : EvmWord)\n (hge : ¬ BitVec.ult (EvmWord.getLimbN r 0) (EvmWord.getLimbN n 0)) :\n cpsTripleWithin 3 (base + 132) ... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb0_ge_full_code_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 16,
"n_chars": 781,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 4 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -215,6 +215,27 @@
def mulModReduceCompareLimb0LtPost (sp : Word) (r n : EvmWord) : Assertion :=
mulModReduceCompareLimb0FallthroughRawPost sp r n ** ⌜mulModReduceRemLT r n⌝
+theorem evm_mulmod_reduce512_inner_step_compare_limb0_ge_raw_spec_within
+ (sp base : Word) (r n : EvmWord)
+ (hge : ¬ BitVec.ult (... | {
"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_efa86c96fcc0_29 | 88a07a2f0d2162e9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 29 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb3_gt_full_code_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 (hmono := evm_mulmod_reduce512_inner_s... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb3_gt_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb3_gt_spec_within\n (sp base x6Old x7Old : Word) (r n : EvmWord)\n (hgt : BitVec.ult (EvmWord.getLimbN n 3) (EvmWord.getLimbN r 3)) :\n cpsTripleWithin 3 (base + 84)... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_ge_spec_within",
"fan_in": 0,
"n_deps_direct": 11,
"n_deps_transitive": 39,
"n_lines": 44,
"n_chars": 2680,
"n_subproofs": 6,
"n_tactics": 36,
"cyclomatic": 4,
"n_automation": 4,
"n_rewrites": 0,
"n_structural": 7,
... | 39 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -139,6 +139,18 @@
rw [show (base + 92 : Word) + signExtend13 (52 : BitVec 13) = base + 144 by rv64_addr] at B
runBlock L0 L1 B
+theorem evm_mulmod_reduce512_inner_step_compare_limb3_gt_spec_within
+ (sp base x6Old x7Old : Word) (r n : EvmWord)
+ (hgt : BitVec.ult (EvmWord.getLimbN n 3) (EvmWord.getLimb... | {
"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_efa86c96fcc0_30 | 92fe0c6073e96189 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ReduceInnerStepCompare.lean | ReduceInnerStepCompare | 30 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 55 | 1 | [
{
"theorem_name": "evm_mulmod_reduce512_inner_step_compare_limb3_lt_full_code_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 (hmono := evm_mulmod_reduce512_inner_s... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_limb3_lt_spec_within",
"text": "theorem evm_mulmod_reduce512_inner_step_compare_limb3_lt_spec_within\n (sp base x6Old x7Old : Word) (r n : EvmWord)\n (hlt : BitVec.ult (EvmWord.getLimbN r 3) (EvmWord.getLimbN n 3)) :\n cpsTripleWithin 4 (base + 84)... | [
{
"name": "evm_mulmod_reduce512_inner_step_compare_lt_spec_within",
"fan_in": 0,
"n_deps_direct": 11,
"n_deps_transitive": 33,
"n_lines": 44,
"n_chars": 2681,
"n_subproofs": 6,
"n_tactics": 36,
"cyclomatic": 4,
"n_automation": 4,
"n_rewrites": 0,
"n_structural": 7,
... | 33 | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | /-
EvmAsm.Evm64.MulMod.ReduceInnerStepCompare
CPS scaffolding for the MULMOD reducer compare ladder.
-/
import EvmAsm.Evm64.MulMod.ReduceCompare
import EvmAsm.Rv64.AddrNorm
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.ExtractPure
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.XSimp
... | @@ -148,6 +148,18 @@
rw [show (base + 96 : Word) + signExtend13 (152 : BitVec 13) = base + 248 by rv64_addr] at B1
runBlock L0 L1 B0 B1
+theorem evm_mulmod_reduce512_inner_step_compare_limb3_lt_spec_within
+ (sp base x6Old x7Old : Word) (r n : EvmWord)
+ (hlt : BitVec.ult (EvmWord.getLimbN r 3) (EvmWord.g... | {
"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_6de7aa036357_0 | 9a46b942d3d6e6c7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N3V5ConcretePostBridgeMod.lean | N3V5ConcretePostBridgeMod | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "fullModN3UnifiedPostNoX1V5_frame_to_modStackDispatchPostCallableExactFrame_scratch",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro h hp\n rw [modStackDispatchPostCallableExactFram... | [
{
"name": "fullModN3UnifiedPostNoX1V5_frame_to_modConcretePostNoX1ExactRegsFrame_scratch",
"text": "/-- N=3 v5 MOD bridge: `fullModN3UnifiedPostNoX1V5` + exact `x1` → the public\n concrete `modConcretePostNoX1ExactRegsFrame` + the v5 scratch cell. -/\ntheorem fullModN3UnifiedPostNoX1V5_frame_to_modConcre... | [
{
"name": "fullModN3UnifiedPostNoX1V5_frame_to_modStackDispatchPostCallableExactFrame_scratch",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 39,
"n_chars": 2308,
"n_subproofs": 0,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N3V5ConcretePostBridgeMod
N=3 V5 MOD bridge from `fullModN3UnifiedPostNoX1V5` (with exact caller `x1`) to
the public concrete post `modConcretePostNoX1ExactRegsFrame` (then to the named
`modStackDispatchPostCallableExactFrame`), plus the v5 div128 scratch cell.
MOD mirror of `N3V5... | /-
EvmAsm.Evm64.DivMod.Spec.N3V5ConcretePostBridgeMod
N=3 V5 MOD bridge from `fullModN3UnifiedPostNoX1V5` (with exact caller `x1`) to
the public concrete post `modConcretePostNoX1ExactRegsFrame` (then to the named
`modStackDispatchPostCallableExactFrame`), plus the v5 div128 scratch cell.
MOD mirror of `N3V5... | @@ -22,6 +22,97 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (word_add_zero)
+/-- N=3 v5 MOD bridge: `fullModN3UnifiedPostNoX1V5` + exact `x1` → the public
+ concrete `modConcretePostNoX1ExactRegsFrame` + the v5 scratch cell. -/
+theorem fullModN3UnifiedPostNoX1V5_frame_to_modConcretePostNoX1ExactRegsFrame_scra... | {
"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_6de7aa036357_1 | 0f69f18f0d83fcbe | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N3V5ConcretePostBridgeMod.lean | N3V5ConcretePostBridgeMod | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "fullModN3UnifiedPostNoX1V5_frame_to_modStackDispatchPostCallableExactFrame_scratch_word",
"depth": 1,
"n_commands": 0,
"n_lines": 13,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨hdiv0, hdiv1, hdiv2, hdiv3⟩ :=\n fullMo... | [
{
"name": "fullModN3UnifiedPostNoX1V5_frame_to_modStackDispatchPostCallableExactFrame_scratch",
"text": "/-- Named callable-frame version for n=3 MOD. -/\ntheorem fullModN3UnifiedPostNoX1V5_frame_to_modStackDispatchPostCallableExactFrame_scratch\n (bltu_1 bltu_0 : Bool)\n (sp base : Word) (a b : EvmWo... | [
{
"name": "fullModN3UnifiedPostNoX1V5_frame_to_modStackDispatchPostCallableExactFrame_scratch_word",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 37,
"n_chars": 1778,
"n_subproofs": 1,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.N3V5ConcretePostBridgeMod
N=3 V5 MOD bridge from `fullModN3UnifiedPostNoX1V5` (with exact caller `x1`) to
the public concrete post `modConcretePostNoX1ExactRegsFrame` (then to the named
`modStackDispatchPostCallableExactFrame`), plus the v5 div128 scratch cell.
MOD mirror of `N3V5... | /-
EvmAsm.Evm64.DivMod.Spec.N3V5ConcretePostBridgeMod
N=3 V5 MOD bridge from `fullModN3UnifiedPostNoX1V5` (with exact caller `x1`) to
the public concrete post `modConcretePostNoX1ExactRegsFrame` (then to the named
`modStackDispatchPostCallableExactFrame`), plus the v5 div128 scratch cell.
MOD mirror of `N3V5... | @@ -113,6 +113,44 @@
divScratchValuesCallNoX1_unfold, divScratchValues_unfold]
xperm_hyp hq
+/-- Named callable-frame version for n=3 MOD. -/
+theorem fullModN3UnifiedPostNoX1V5_frame_to_modStackDispatchPostCallableExactFrame_scratch
+ (bltu_1 bltu_0 : Bool)
+ (sp base : Word) (a b : EvmWord)
+ (a0... | {
"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_d864085460f1_0 | f72f1c8d2aab2997 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Proofs/OpcodeTables.lean | OpcodeTables | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "length_tableBytes",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction entries with\n | nil => rfl\n | cons e es ih =>\n rw [tableBytes_cons, List.length_append, length_dwordByt... | [
{
"name": "tableBytes_cons",
"text": "theorem tableBytes_cons (e : Word) (es : List Word) :\n tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by\n simp [tableBytes]\n\n",
"fan_in": 2,
"n_lines": 5,
"n_chars": 138,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_... | [
{
"name": "length_tableBytes",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 280,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nest... | 1 | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | @@ -63,11 +63,18 @@
@[simp] theorem tableBytes_nil : tableBytes [] = [] := rfl
+theorem tableBytes_cons (e : Word) (es : List Word) :
+ tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by
+ simp [tableBytes]
+
@[simp] theorem length_tableBytes (entries : List Word) :
(tableBytes entries).length = ... | {
"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_d864085460f1_1 | 7e46127b14c400cb | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Proofs/OpcodeTables.lean | OpcodeTables | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "length_tableBytes",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction entries with\n | nil => rfl\n | cons e es ih =>\n rw [tableBytes_cons, List.length_append, length_dwordByt... | [
{
"name": "tableBytes_cons",
"text": "theorem tableBytes_cons (e : Word) (es : List Word) :\n tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by\n simp [tableBytes]\n\n",
"fan_in": 2,
"n_lines": 5,
"n_chars": 138,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_... | [
{
"name": "tableBytes_slice",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 21,
"n_chars": 765,
"n_subproofs": 2,
"n_tactics": 17,
"cyclomatic": 3,
"n_automation": 4,
"n_rewrites": 3,
"n_structural": 4,
"automation_only": false,
"max_nest... | 1 | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | @@ -63,11 +63,18 @@
@[simp] theorem tableBytes_nil : tableBytes [] = [] := rfl
+theorem tableBytes_cons (e : Word) (es : List Word) :
+ tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by
+ simp [tableBytes]
+
@[simp] theorem length_tableBytes (entries : List Word) :
(tableBytes entries).length = ... | {
"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_d864085460f1_2 | a3c9297b2c37b2ae | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Proofs/OpcodeTables.lean | OpcodeTables | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "length_tableBytes",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction entries with\n | nil => rfl\n | cons e es ih =>\n rw [tableBytes_cons, List.length_append, length_dwordByt... | [
{
"name": "tableBytes_cons",
"text": "theorem tableBytes_cons (e : Word) (es : List Word) :\n tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by\n simp [tableBytes]\n\n",
"fan_in": 2,
"n_lines": 5,
"n_chars": 138,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_... | [
{
"name": "tableAt_slice",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 17,
"n_chars": 833,
"n_subproofs": 3,
"n_tactics": 12,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
"max_nesting... | 2 | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | @@ -63,11 +63,18 @@
@[simp] theorem tableBytes_nil : tableBytes [] = [] := rfl
+theorem tableBytes_cons (e : Word) (es : List Word) :
+ tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by
+ simp [tableBytes]
+
@[simp] theorem length_tableBytes (entries : List Word) :
(tableBytes entries).length = ... | {
"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_d864085460f1_3 | c07dcb6c2c418f21 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Proofs/OpcodeTables.lean | OpcodeTables | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "length_tableBytes",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction entries with\n | nil => rfl\n | cons e es ih =>\n rw [tableBytes_cons, List.length_append, length_dwordByt... | [
{
"name": "tableBytes_cons",
"text": "theorem tableBytes_cons (e : Word) (es : List Word) :\n tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by\n simp [tableBytes]\n\n",
"fan_in": 2,
"n_lines": 5,
"n_chars": 138,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_... | [
{
"name": "tableAt_dwordAt",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 9,
"n_chars": 418,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"max_nesting... | 3 | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | @@ -63,11 +63,18 @@
@[simp] theorem tableBytes_nil : tableBytes [] = [] := rfl
+theorem tableBytes_cons (e : Word) (es : List Word) :
+ tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by
+ simp [tableBytes]
+
@[simp] theorem length_tableBytes (entries : List Word) :
(tableBytes entries).length = ... | {
"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_d864085460f1_4 | e50482c2286ddc4d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Proofs/OpcodeTables.lean | OpcodeTables | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "length_tableBytes",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction entries with\n | nil => rfl\n | cons e es ih =>\n rw [tableBytes_cons, List.length_append, length_dwordByt... | [
{
"name": "tableBytes_cons",
"text": "theorem tableBytes_cons (e : Word) (es : List Word) :\n tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by\n simp [tableBytes]\n\n",
"fan_in": 2,
"n_lines": 5,
"n_chars": 138,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_... | [
{
"name": "exec_table_load",
"fan_in": 1,
"n_deps_direct": 4,
"n_deps_transitive": 8,
"n_lines": 68,
"n_chars": 3440,
"n_subproofs": 6,
"n_tactics": 35,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 10,
"n_structural": 4,
"automation_only": false,
"max_nes... | 7 | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | @@ -63,11 +63,18 @@
@[simp] theorem tableBytes_nil : tableBytes [] = [] := rfl
+theorem tableBytes_cons (e : Word) (es : List Word) :
+ tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by
+ simp [tableBytes]
+
@[simp] theorem length_tableBytes (entries : List Word) :
(tableBytes entries).length = ... | {
"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_d864085460f1_5 | 3af79a7b66f474a8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Proofs/OpcodeTables.lean | OpcodeTables | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "length_tableBytes",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction entries with\n | nil => rfl\n | cons e es ih =>\n rw [tableBytes_cons, List.length_append, length_dwordByt... | [
{
"name": "tableBytes_cons",
"text": "theorem tableBytes_cons (e : Word) (es : List Word) :\n tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by\n simp [tableBytes]\n\n",
"fan_in": 2,
"n_lines": 5,
"n_chars": 138,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_... | [
{
"name": "handler_table_load_witness",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 11,
"n_lines": 32,
"n_chars": 1828,
"n_subproofs": 3,
"n_tactics": 12,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
... | 9 | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | /-
EvmAsm.Codegen.Proofs.OpcodeTables
Drift-guarded load spec for the dispatcher's `.data` opcode tables
(`opcode_handlers` / `opcode_gas_costs`), bead evm-asm-4ch8f.10.2.
The runtime dispatch loop (EvmAsm/Codegen/Dispatch.lean) fetches an
opcode byte, then indexes two 256-entry, 8-byte-stride `.data` table... | @@ -63,11 +63,18 @@
@[simp] theorem tableBytes_nil : tableBytes [] = [] := rfl
+theorem tableBytes_cons (e : Word) (es : List Word) :
+ tableBytes (e :: es) = dwordBytes e ++ tableBytes es := by
+ simp [tableBytes]
+
@[simp] theorem length_tableBytes (entries : List Word) :
(tableBytes entries).length = ... | {
"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_8692415f611a_0 | c6aa28489f41a0aa | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/CarryLd.lean | CarryLd | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "ld_mod_add_stage_in_C",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [sepConj_assoc']\n refine cpsTripleWithin_pre_regOwn_under (fun x5o => ?_)\n have hblk := carry_block_in... | [
{
"name": "addmodLdModAddFrame_pcFree",
"text": "theorem addmodLdModAddFrame_pcFree (F raVal x2v x6v x7v x9v x10v x11v : Word)\n (v : EvmWord) (n0 n1 n2 n3 r0 r1 r2 r3 : Word) :\n (addmodLdModAddFrame F raVal x2v x6v x7v x9v x10v x11v v n0 n1 n2 n3 r0 r1 r2 r3).pcFree := by\n unfold addmodLdModAddFra... | [
{
"name": "ld_mod_add_stage_in_C",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 51,
"n_chars": 2964,
"n_subproofs": 1,
"n_tactics": 20,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 1,
"n_structural": 3,
"automation_only": false,
"ma... | 1 | /-
EvmAsm.Evm64.AddMod.Compose.CarryLd
Phase-3 M3d for total ADDMOD (issue #9704): the fourth (final) carry-branch
sub-chain prefix — the pre-reduced modular add's data staging + 4-limb add.
Ld runs from `addmodCarryAfterCall3` (byte 460) to byte 832:
mod_add_stage (460,8) ;; evm_add (492,30) ;;
pass... | /-
EvmAsm.Evm64.AddMod.Compose.CarryLd
Phase-3 M3d for total ADDMOD (issue #9704): the fourth (final) carry-branch
sub-chain prefix — the pre-reduced modular add's data staging + 4-limb add.
Ld runs from `addmodCarryAfterCall3` (byte 460) to byte 832:
mod_add_stage (460,8) ;; evm_add (492,30) ;;
pass... | @@ -48,6 +48,12 @@
((F + signExtend12 (3888 : BitVec 12)) ↦ₘ r2) **
((F + signExtend12 (3896 : BitVec 12)) ↦ₘ r3)
+theorem addmodLdModAddFrame_pcFree (F raVal x2v x6v x7v x9v x10v x11v : Word)
+ (v : EvmWord) (n0 n1 n2 n3 r0 r1 r2 r3 : Word) :
+ (addmodLdModAddFrame F raVal x2v x6v x7v x9v x10v x11v v n0 ... | {
"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_8692415f611a_1 | 2bb1921587c3f23d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/CarryLd.lean | CarryLd | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "ld_evm_add_in_C",
"depth": 1,
"n_commands": 0,
"n_lines": 22,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro b0 a0 b1 a1 b2 a2 b3 a3 sum0 carry0 psum1 carry1a result1 carry1b carry1\n psum2 carry2a result2 carry2b carry2 p... | [
{
"name": "addmodLdAddFrame_pcFree",
"text": "theorem addmodLdAddFrame_pcFree (F raVal x2v x9v x10v : Word)\n (n0 n1 n2 n3 r0 r1 r2 r3 p0 p1 p2 p3 : Word) :\n (addmodLdAddFrame F raVal x2v x9v x10v n0 n1 n2 n3 r0 r1 r2 r3 p0 p1 p2 p3).pcFree := by\n unfold addmodLdAddFrame divScratchOwnCallNoX1 divSc... | [
{
"name": "ld_evm_add_in_C",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 69,
"n_chars": 3725,
"n_subproofs": 4,
"n_tactics": 23,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": false,
"max_nest... | 2 | /-
EvmAsm.Evm64.AddMod.Compose.CarryLd
Phase-3 M3d for total ADDMOD (issue #9704): the fourth (final) carry-branch
sub-chain prefix — the pre-reduced modular add's data staging + 4-limb add.
Ld runs from `addmodCarryAfterCall3` (byte 460) to byte 832:
mod_add_stage (460,8) ;; evm_add (492,30) ;;
pass... | /-
EvmAsm.Evm64.AddMod.Compose.CarryLd
Phase-3 M3d for total ADDMOD (issue #9704): the fourth (final) carry-branch
sub-chain prefix — the pre-reduced modular add's data staging + 4-limb add.
Ld runs from `addmodCarryAfterCall3` (byte 460) to byte 832:
mod_add_stage (460,8) ;; evm_add (492,30) ;;
pass... | @@ -100,6 +100,12 @@
((F + signExtend12 (3920 : BitVec 12)) ↦ₘ n2) **
((F + signExtend12 (3928 : BitVec 12)) ↦ₘ n3)
+theorem addmodLdAddFrame_pcFree (F raVal x2v x9v x10v : Word)
+ (n0 n1 n2 n3 r0 r1 r2 r3 p0 p1 p2 p3 : Word) :
+ (addmodLdAddFrame F raVal x2v x9v x10v n0 n1 n2 n3 r0 r1 r2 r3 p0 p1 p2 p3).... | {
"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_aa3a1f4e4d2f_0 | 657fc98baa91b2e4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Accelerators/Types.lean | Types | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "toList_injective",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro a b h_list\n cases a with\n | mk aData =>\n cases b with\n | mk bData =>\n congr\n funext i\n ... | [
{
"name": "toList_get?",
"text": "theorem toList_get? {n : Nat} (bytes : ByteArray n) (i : Nat) (h_i : i < n) :\n bytes.toList[i]? = some (bytes.data ⟨i, h_i⟩) := by\n simp [toList, h_i]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 160,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomati... | [
{
"name": "toList_injective",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 383,
"n_subproofs": 1,
"n_tactics": 11,
"cyclomatic": 3,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 4,
"automation_only": false,
"max_nest... | 1 | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | @@ -21,6 +21,10 @@
def toList {n : Nat} (bytes : ByteArray n) : List Byte :=
List.ofFn bytes.data
+theorem toList_get? {n : Nat} (bytes : ByteArray n) (i : Nat) (h_i : i < n) :
+ bytes.toList[i]? = some (bytes.data ⟨i, h_i⟩) := by
+ simp [toList, h_i]
+
@[simp] theorem toList_zero (bytes : ByteArray 0) :
... | {
"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_aa3a1f4e4d2f_1 | ef43b7043af6e573 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Accelerators/Types.lean | Types | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "toList_eq_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n ⟨fun h_list => toList_injective h_list, fun h_eq => by rw [h_eq]⟩",
"n_chars": 72,
"n_subproofs": 0,
"n_tactics": 1,... | [
{
"name": "toList_injective",
"text": "theorem toList_injective {n : Nat} :\n Function.Injective (@toList n) := by\n intro a b h_list\n cases a with\n | mk aData =>\n cases b with\n | mk bData =>\n congr\n funext i\n have h_get := congrArg (fun xs : List Byte => xs[i.val]?) h_list... | [
{
"name": "toList_eq_iff",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 5,
"n_chars": 164,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
"max_nesting":... | 2 | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | @@ -29,8 +29,22 @@
bytes.toList = [] := by
simp [toList]
+theorem toList_injective {n : Nat} :
+ Function.Injective (@toList n) := by
+ intro a b h_list
+ cases a with
+ | mk aData =>
+ cases b with
+ | mk bData =>
+ congr
+ funext i
+ have h_get := congrArg (fun xs : List Byte => x... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_aa3a1f4e4d2f_2 | 96e0c492b02c1003 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Accelerators/Types.lean | Types | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 3 | [
{
"theorem_name": "zkvmSha256Hash_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n ByteArray.toList_length hash",
"n_chars": 31,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_... | [
{
"name": "toList_length",
"text": "theorem toList_length {n : Nat} (bytes : ByteArray n) :\n bytes.toList.length = n := by\n simp [toList]\n\n",
"fan_in": 3,
"n_lines": 5,
"n_chars": 107,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites":... | [
{
"name": "zkvmSha256Hash_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 5,
"n_chars": 119,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_n... | 1 | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | @@ -21,6 +21,10 @@
def toList {n : Nat} (bytes : ByteArray n) : List Byte :=
List.ofFn bytes.data
+theorem toList_length {n : Nat} (bytes : ByteArray n) :
+ bytes.toList.length = n := by
+ simp [toList]
+
@[simp] theorem toList_zero (bytes : ByteArray 0) :
bytes.toList = [] := by
simp [toList]
@@ -15... | {
"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_aa3a1f4e4d2f_3 | 883aa9fa1a0ceb08 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Accelerators/Types.lean | Types | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 3 | [
{
"theorem_name": "zkvmSha256Hash_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n ByteArray.toList_length hash",
"n_chars": 31,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_... | [
{
"name": "toList_length",
"text": "theorem toList_length {n : Nat} (bytes : ByteArray n) :\n bytes.toList.length = n := by\n simp [toList]\n\n",
"fan_in": 3,
"n_lines": 5,
"n_chars": 107,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites":... | [
{
"name": "zkvmRipemd160Hash_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 5,
"n_chars": 125,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"ma... | 1 | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | @@ -21,6 +21,10 @@
def toList {n : Nat} (bytes : ByteArray n) : List Byte :=
List.ofFn bytes.data
+theorem toList_length {n : Nat} (bytes : ByteArray n) :
+ bytes.toList.length = n := by
+ simp [toList]
+
@[simp] theorem toList_zero (bytes : ByteArray 0) :
bytes.toList = [] := by
simp [toList]
@@ -15... | {
"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_aa3a1f4e4d2f_4 | 4568d84baaf68a7d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Accelerators/Types.lean | Types | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 3 | [
{
"theorem_name": "zkvmSha256Hash_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n ByteArray.toList_length hash",
"n_chars": 31,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_... | [
{
"name": "toList_length",
"text": "theorem toList_length {n : Nat} (bytes : ByteArray n) :\n bytes.toList.length = n := by\n simp [toList]\n\n",
"fan_in": 3,
"n_lines": 5,
"n_chars": 107,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites":... | [
{
"name": "zkvmBlake2fState_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 5,
"n_chars": 126,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max... | 1 | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | /-
EvmAsm.Evm64.Accelerators.Types
Lean-side payload type aliases for the fixed-size byte structs declared in
`zkvm_accelerators.h`.
-/
namespace EvmAsm
namespace Accelerators
/-- C `uint8_t`, used by the accelerator ABI payload structs. -/
abbrev Byte := BitVec 8
/-- Fixed-size C byte array payload, matching... | @@ -21,6 +21,10 @@
def toList {n : Nat} (bytes : ByteArray n) : List Byte :=
List.ofFn bytes.data
+theorem toList_length {n : Nat} (bytes : ByteArray n) :
+ bytes.toList.length = n := by
+ simp [toList]
+
@[simp] theorem toList_zero (bytes : ByteArray 0) :
bytes.toList = [] := by
simp [toList]
@@ -15... | {
"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_915d5591de25_0 | 013124272f5609b1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BalGasValidU64SAsm.lean | BalGasValidU64SAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 3 | [
{
"theorem_name": "add_idx_sub_self",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [BitVec.toNat_sub, BitVec.toNat_add, idx_toNat i hi]\n omega",
"n_chars": 69,
"n_subproofs": 0,
"n_tactics... | [
{
"name": "idx_toNat",
"text": "private theorem idx_toNat (i : Nat) (hi : i < 8) :\n (BitVec.ofNat 64 i).toNat = i := by\n rw [BitVec.toNat_ofNat]\n omega\n\n",
"fan_in": 3,
"n_lines": 6,
"n_chars": 126,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
... | [
{
"name": "add_idx_sub_self",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 6,
"n_chars": 184,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
"max_nestin... | 1 | /-
EvmAsm.Codegen.Programs.BalGasValidU64SAsm
Verified SAsm port for `bgv_u64le`.
-/
import EvmAsm.Codegen.Programs.BalGasValid
import EvmAsm.Codegen.Programs.SgLoadU32leSAsm
namespace EvmAsm.Codegen
open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt
namespace BalGasValidU64SAsm
open SgLoadU32leSAsm
/--... | /-
EvmAsm.Codegen.Programs.BalGasValidU64SAsm
Verified SAsm port for `bgv_u64le`.
-/
import EvmAsm.Codegen.Programs.BalGasValid
import EvmAsm.Codegen.Programs.SgLoadU32leSAsm
namespace EvmAsm.Codegen
open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt
namespace BalGasValidU64SAsm
open SgLoadU32leSAsm
/--... | @@ -61,8 +61,15 @@
post := fun rf ws _ => rf.get .x10 = leU64 bs ∧ ws = []
body := bgvU64leBody p bs
+private theorem idx_toNat (i : Nat) (hi : i < 8) :
+ (BitVec.ofNat 64 i).toNat = i := by
+ rw [BitVec.toNat_ofNat]
+ omega
+
private theorem add_idx_sub_self (p : Word) (i : Nat) (hi : i < 8) :
- (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_915d5591de25_1 | 7606c20a6eb45cd3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BalGasValidU64SAsm.lean | BalGasValidU64SAsm | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 3 | [
{
"theorem_name": "add_idx_sub_self",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [BitVec.toNat_sub, BitVec.toNat_add, idx_toNat i hi]\n omega",
"n_chars": 69,
"n_subproofs": 0,
"n_tactics... | [
{
"name": "idx_toNat",
"text": "private theorem idx_toNat (i : Nat) (hi : i < 8) :\n (BitVec.ofNat 64 i).toNat = i := by\n rw [BitVec.toNat_ofNat]\n omega\n\n",
"fan_in": 3,
"n_lines": 6,
"n_chars": 126,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
... | [
{
"name": "shift_idx_three_mod",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 6,
"n_chars": 191,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
"max_nes... | 1 | /-
EvmAsm.Codegen.Programs.BalGasValidU64SAsm
Verified SAsm port for `bgv_u64le`.
-/
import EvmAsm.Codegen.Programs.BalGasValid
import EvmAsm.Codegen.Programs.SgLoadU32leSAsm
namespace EvmAsm.Codegen
open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt
namespace BalGasValidU64SAsm
open SgLoadU32leSAsm
/--... | /-
EvmAsm.Codegen.Programs.BalGasValidU64SAsm
Verified SAsm port for `bgv_u64le`.
-/
import EvmAsm.Codegen.Programs.BalGasValid
import EvmAsm.Codegen.Programs.SgLoadU32leSAsm
namespace EvmAsm.Codegen
open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt
namespace BalGasValidU64SAsm
open SgLoadU32leSAsm
/--... | @@ -61,8 +61,15 @@
post := fun rf ws _ => rf.get .x10 = leU64 bs ∧ ws = []
body := bgvU64leBody p bs
+private theorem idx_toNat (i : Nat) (hi : i < 8) :
+ (BitVec.ofNat 64 i).toNat = i := by
+ rw [BitVec.toNat_ofNat]
+ omega
+
private theorem shift_idx_three_mod (i : Nat) (hi : i < 8) :
- ((BitVec.ofNa... | {
"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_915d5591de25_2 | 163679b353396517 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BalGasValidU64SAsm.lean | BalGasValidU64SAsm | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 3 | [
{
"theorem_name": "add_idx_sub_self",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [BitVec.toNat_sub, BitVec.toNat_add, idx_toNat i hi]\n omega",
"n_chars": 69,
"n_subproofs": 0,
"n_tactics... | [
{
"name": "idx_toNat",
"text": "private theorem idx_toNat (i : Nat) (hi : i < 8) :\n (BitVec.ofNat 64 i).toNat = i := by\n rw [BitVec.toNat_ofNat]\n omega\n\n",
"fan_in": 3,
"n_lines": 6,
"n_chars": 126,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
... | [
{
"name": "bgvU64leFn_spec",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 95,
"n_chars": 3945,
"n_subproofs": 20,
"n_tactics": 91,
"cyclomatic": 2,
"n_automation": 18,
"n_rewrites": 32,
"n_structural": 19,
"automation_only": false,
"max_... | 2 | /-
EvmAsm.Codegen.Programs.BalGasValidU64SAsm
Verified SAsm port for `bgv_u64le`.
-/
import EvmAsm.Codegen.Programs.BalGasValid
import EvmAsm.Codegen.Programs.SgLoadU32leSAsm
namespace EvmAsm.Codegen
open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt
namespace BalGasValidU64SAsm
open SgLoadU32leSAsm
/--... | /-
EvmAsm.Codegen.Programs.BalGasValidU64SAsm
Verified SAsm port for `bgv_u64le`.
-/
import EvmAsm.Codegen.Programs.BalGasValid
import EvmAsm.Codegen.Programs.SgLoadU32leSAsm
namespace EvmAsm.Codegen
open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt
namespace BalGasValidU64SAsm
open SgLoadU32leSAsm
/--... | @@ -61,8 +61,15 @@
post := fun rf ws _ => rf.get .x10 = leU64 bs ∧ ws = []
body := bgvU64leBody p bs
+private theorem idx_toNat (i : Nat) (hi : i < 8) :
+ (BitVec.ofNat 64 i).toNat = i := by
+ rw [BitVec.toNat_ofNat]
+ omega
+
private theorem add_idx_sub_self (p : Word) (i : Nat) (hi : i < 8) :
- (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_cf7f984f83af_0 | 0293c44e64b36420 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/BranchProofs.lean | BranchProofs | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 8 | [
{
"theorem_name": "beq_sail_equiv",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨misa_val, h_misa⟩ := h_misa\n unfold execute_BTYPE\n simp only [runSail_bind, runSail_rX_bits_of_stateRel hrel, r... | [
{
"name": "stateRel_nextPC",
"text": "/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/\ntheorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}\n (hrel : StateRel sRv sSail) (v : BitVec 64) :\n StateRel sRv { sSail with regs := sSail.regs.insert R... | [
{
"name": "beq_sail_equiv",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 30,
"n_chars": 1535,
"n_subproofs": 1,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 11,
"n_rewrites": 2,
"n_structural": 7,
"automation_only": false,
"max_nest... | 2 | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | @@ -26,6 +26,16 @@
sign_extend (m := 64) imm = signExtend13 imm := by
unfold sign_extend signExtend13 Sail.BitVec.signExtend; rfl
+/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/
+theorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}
+ (hrel : State... | {
"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_cf7f984f83af_1 | 78cc6a0351307186 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/BranchProofs.lean | BranchProofs | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 8 | [
{
"theorem_name": "beq_sail_equiv",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨misa_val, h_misa⟩ := h_misa\n unfold execute_BTYPE\n simp only [runSail_bind, runSail_rX_bits_of_stateRel hrel, r... | [
{
"name": "stateRel_nextPC",
"text": "/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/\ntheorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}\n (hrel : StateRel sRv sSail) (v : BitVec 64) :\n StateRel sRv { sSail with regs := sSail.regs.insert R... | [
{
"name": "bne_sail_equiv",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 30,
"n_chars": 1535,
"n_subproofs": 1,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 11,
"n_rewrites": 2,
"n_structural": 7,
"automation_only": false,
"max_nest... | 2 | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | @@ -26,6 +26,16 @@
sign_extend (m := 64) imm = signExtend13 imm := by
unfold sign_extend signExtend13 Sail.BitVec.signExtend; rfl
+/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/
+theorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}
+ (hrel : State... | {
"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_cf7f984f83af_2 | 9fae5bf688255eef | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/BranchProofs.lean | BranchProofs | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 8 | [
{
"theorem_name": "beq_sail_equiv",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨misa_val, h_misa⟩ := h_misa\n unfold execute_BTYPE\n simp only [runSail_bind, runSail_rX_bits_of_stateRel hrel, r... | [
{
"name": "stateRel_nextPC",
"text": "/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/\ntheorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}\n (hrel : StateRel sRv sSail) (v : BitVec 64) :\n StateRel sRv { sSail with regs := sSail.regs.insert R... | [
{
"name": "blt_sail_equiv",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 30,
"n_chars": 1558,
"n_subproofs": 1,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 11,
"n_rewrites": 2,
"n_structural": 7,
"automation_only": false,
"max_nest... | 3 | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | @@ -26,6 +26,16 @@
sign_extend (m := 64) imm = signExtend13 imm := by
unfold sign_extend signExtend13 Sail.BitVec.signExtend; rfl
+/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/
+theorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}
+ (hrel : State... | {
"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_cf7f984f83af_3 | 09ae95f00a69a3f9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/BranchProofs.lean | BranchProofs | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 8 | [
{
"theorem_name": "beq_sail_equiv",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨misa_val, h_misa⟩ := h_misa\n unfold execute_BTYPE\n simp only [runSail_bind, runSail_rX_bits_of_stateRel hrel, r... | [
{
"name": "stateRel_nextPC",
"text": "/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/\ntheorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}\n (hrel : StateRel sRv sSail) (v : BitVec 64) :\n StateRel sRv { sSail with regs := sSail.regs.insert R... | [
{
"name": "bge_sail_equiv",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 35,
"n_chars": 1960,
"n_subproofs": 1,
"n_tactics": 26,
"cyclomatic": 1,
"n_automation": 12,
"n_rewrites": 6,
"n_structural": 7,
"automation_only": false,
"max_nest... | 4 | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | @@ -26,6 +26,16 @@
sign_extend (m := 64) imm = signExtend13 imm := by
unfold sign_extend signExtend13 Sail.BitVec.signExtend; rfl
+/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/
+theorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}
+ (hrel : State... | {
"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_cf7f984f83af_4 | 83d6a1acb1db614c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/BranchProofs.lean | BranchProofs | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 8 | [
{
"theorem_name": "beq_sail_equiv",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨misa_val, h_misa⟩ := h_misa\n unfold execute_BTYPE\n simp only [runSail_bind, runSail_rX_bits_of_stateRel hrel, r... | [
{
"name": "stateRel_nextPC",
"text": "/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/\ntheorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}\n (hrel : StateRel sRv sSail) (v : BitVec 64) :\n StateRel sRv { sSail with regs := sSail.regs.insert R... | [
{
"name": "bltu_sail_equiv",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 30,
"n_chars": 1562,
"n_subproofs": 1,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 11,
"n_rewrites": 2,
"n_structural": 7,
"automation_only": false,
"max_nes... | 3 | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | @@ -26,6 +26,16 @@
sign_extend (m := 64) imm = signExtend13 imm := by
unfold sign_extend signExtend13 Sail.BitVec.signExtend; rfl
+/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/
+theorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}
+ (hrel : State... | {
"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_cf7f984f83af_5 | b6561eb1f75bd34c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/BranchProofs.lean | BranchProofs | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 8 | [
{
"theorem_name": "beq_sail_equiv",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨misa_val, h_misa⟩ := h_misa\n unfold execute_BTYPE\n simp only [runSail_bind, runSail_rX_bits_of_stateRel hrel, r... | [
{
"name": "stateRel_nextPC",
"text": "/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/\ntheorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}\n (hrel : StateRel sRv sSail) (v : BitVec 64) :\n StateRel sRv { sSail with regs := sSail.regs.insert R... | [
{
"name": "bgeu_sail_equiv",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 39,
"n_chars": 2160,
"n_subproofs": 1,
"n_tactics": 26,
"cyclomatic": 1,
"n_automation": 12,
"n_rewrites": 6,
"n_structural": 7,
"automation_only": false,
"max_nes... | 4 | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | @@ -26,6 +26,16 @@
sign_extend (m := 64) imm = signExtend13 imm := by
unfold sign_extend signExtend13 Sail.BitVec.signExtend; rfl
+/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/
+theorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}
+ (hrel : State... | {
"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_cf7f984f83af_6 | f16da682482fad88 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/BranchProofs.lean | BranchProofs | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 8 | [
{
"theorem_name": "beq_sail_equiv",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨misa_val, h_misa⟩ := h_misa\n unfold execute_BTYPE\n simp only [runSail_bind, runSail_rX_bits_of_stateRel hrel, r... | [
{
"name": "stateRel_nextPC",
"text": "/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/\ntheorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}\n (hrel : StateRel sRv sSail) (v : BitVec 64) :\n StateRel sRv { sSail with regs := sSail.regs.insert R... | [
{
"name": "jal_sail_equiv",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 31,
"n_chars": 1322,
"n_subproofs": 1,
"n_tactics": 18,
"cyclomatic": 1,
"n_automation": 7,
"n_rewrites": 2,
"n_structural": 4,
"automation_only": false,
"max_nesti... | 2 | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | @@ -22,6 +22,16 @@
-- Helper lemmas for branch proofs
-- ============================================================================
+/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/
+theorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}
+ (hrel : StateRe... | {
"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_cf7f984f83af_7 | a08ce62563f63d2a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SailEquiv/BranchProofs.lean | BranchProofs | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 8 | [
{
"theorem_name": "beq_sail_equiv",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨misa_val, h_misa⟩ := h_misa\n unfold execute_BTYPE\n simp only [runSail_bind, runSail_rX_bits_of_stateRel hrel, r... | [
{
"name": "stateRel_nextPC",
"text": "/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/\ntheorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}\n (hrel : StateRel sRv sSail) (v : BitVec 64) :\n StateRel sRv { sSail with regs := sSail.regs.insert R... | [
{
"name": "jalr_sail_equiv",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 38,
"n_chars": 1939,
"n_subproofs": 2,
"n_tactics": 22,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 4,
"n_structural": 5,
"automation_only": false,
"max_nest... | 4 | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | /-
EvmAsm.Rv64.SailEquiv.BranchProofs
Per-instruction equivalence theorems for branch and jump instructions:
BEQ, BNE, BLT, BGE, BLTU, BGEU, JAL, JALR.
Branches don't write general registers — they only update nextPC. Since
StateRel doesn't track PC or nextPC, branches trivially preserve StateRel
for regi... | @@ -22,6 +22,16 @@
-- Helper lemmas for branch proofs
-- ============================================================================
+/-- Writing Register.nextPC preserves StateRel (nextPC is not in the tracked register set). -/
+theorem stateRel_nextPC {sRv : MachineState} {sSail : SailState}
+ (hrel : StateRe... | {
"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_242804b34382_0 | f9b1c107717bb2a3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BalGasValidSAsm.lean | BalGasValidSAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "bgvU32leFn_spec",
"depth": 1,
"n_commands": 0,
"n_lines": 32,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n vcgen\n case region => exact ⟨hwf, RwRegion.empty_wf⟩\n case bgvU32le.read.mem =>\n rintro rf ws A hws ⟨hx10, hlen⟩\n... | [
{
"name": "bgvU32le_engine",
"text": "private theorem bgvU32le_engine (reg : Region) (rwb : Word) (rf : RegFile)\n (hx10 : rf.get .x10 = reg.base) :\n (execBlock reg rwb rf [] bgvU32leInstrs).1.get .x10 = leU32 reg.bytes 0 := by\n have e0 : (rf.get .x10 + signExtend12 (0 : BitVec 12) - reg.base).toNa... | [
{
"name": "bgvU32leFn_spec",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 37,
"n_chars": 1832,
"n_subproofs": 7,
"n_tactics": 32,
"cyclomatic": 2,
"n_automation": 21,
"n_rewrites": 9,
"n_structural": 8,
"automation_only": false,
"max_nes... | 1 | /-
EvmAsm.Codegen.Programs.BalGasValidSAsm
Verified SAsm leaf ports for small BAL gas-validation helpers.
-/
import EvmAsm.Codegen.Programs.BalGasValid
import EvmAsm.Codegen.Programs.SgLoadU32leSAsm
namespace EvmAsm.Codegen
open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt
namespace BalGasValidSAsm
open... | /-
EvmAsm.Codegen.Programs.BalGasValidSAsm
Verified SAsm leaf ports for small BAL gas-validation helpers.
-/
import EvmAsm.Codegen.Programs.BalGasValid
import EvmAsm.Codegen.Programs.SgLoadU32leSAsm
namespace EvmAsm.Codegen
open EvmAsm.Rv64 EvmAsm.Rv64.SAsm EvmAsm.Rv64.SAsm.Stmt
namespace BalGasValidSAsm
open... | @@ -34,9 +34,61 @@
post := fun rf _ _ => rf.get .x10 = leU32 bs 0
body := bgvU32leBody
+private theorem bgvU32le_engine (reg : Region) (rwb : Word) (rf : RegFile)
+ (hx10 : rf.get .x10 = reg.base) :
+ (execBlock reg rwb rf [] bgvU32leInstrs).1.get .x10 = leU32 reg.bytes 0 := by
+ have e0 : (rf.get .x10 +... | {
"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_fc225d075f7e_0 | 69d81553c15a823f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstoreFourLimbsCode_limb1_sub",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 30,
"n_chars": 1157,
"n_subproofs": 0,
"n_tactics": 23,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 8,
"n_structural": 1,
"automation_only": false,... | 2 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_1 | d33d4e38b663dbfa | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstoreFourLimbsCode_limb2_sub",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 30,
"n_chars": 1151,
"n_subproofs": 0,
"n_tactics": 23,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 8,
"n_structural": 1,
"automation_only": false,... | 2 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_2 | 9d2f6de77a9094d2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstoreFourLimbsCode_limb3_sub",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 29,
"n_chars": 1115,
"n_subproofs": 0,
"n_tactics": 22,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 8,
"n_structural": 1,
"automation_only": false,... | 2 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_3 | f77782267443c8e8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstorePrologueCode_eq_ofProg",
"text": "theorem mstorePrologueCode_eq_ofProg\n (offReg addrReg memBaseReg : Reg) (base : Word) :\n mstorePrologueCode offReg addrReg memBaseReg base =\n CodeReq.ofProg base\n (LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) := by\n unfold msto... | [
{
"name": "mstore_prologue_ofProg_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 19,
"n_chars": 836,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fal... | 2 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,17 @@
(CodeReq.singleton base (.LD offReg .x12 0)).union
(CodeReq.singleton (base + 4) (.ADD addrReg memBaseReg offReg))
+theorem mstorePrologueCode_eq_ofProg
+ (offReg addrReg memBaseReg : Reg) (base : Word) :
+ mstorePrologueCode offReg addrReg memBaseReg base =
+ CodeReq.ofProg 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_fc225d075f7e_4 | 8b4b040cfcac8494 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstore_prologue_spec_within",
"text": "/--\n MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and\n compute the concrete byte address `memBase + offset` used by the four\n subsequent limb-store blocks.\n-/\ntheorem mstore_prologue_spec_within\n (offReg addrReg memBas... | [
{
"name": "mstore_prologue_evm_mstore_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 20,
"n_chars": 962,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only":... | 4 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -55,6 +55,33 @@
[.LD offReg .x12 0, .ADD addrReg memBaseReg offReg]
rw [CodeReq.ofProg_cons, CodeReq.ofProg_singleton]
+/--
+ MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and
+ compute the concrete byte address `memBase + offset` used by the four
+ subsequent limb-store blo... | {
"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_fc225d075f7e_5 | 972f5eddffbdcd1a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 3 | [
{
"theorem_name": "mstore_epilogue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstoreEpilogueCode_eq_ofProg]\n exact mstore_epilogue_spec_within sp base",
"n_chars": 87,
... | [
{
"name": "mstoreEpilogueCode_eq_ofProg",
"text": "theorem mstoreEpilogueCode_eq_ofProg (base : Word) :\n mstoreEpilogueCode base =\n CodeReq.ofProg base (ADDI .x12 .x12 64) := by\n unfold mstoreEpilogueCode ADDI single\n rw [CodeReq.ofProg_singleton]\n\n",
"fan_in": 3,
"n_lines": 7,
"... | [
{
"name": "mstore_epilogue_ofProg_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 321,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fals... | 2 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -48,6 +48,12 @@
def mstoreEpilogueCode (base : Word) : CodeReq :=
CodeReq.singleton base (.ADDI .x12 .x12 64)
+theorem mstoreEpilogueCode_eq_ofProg (base : Word) :
+ mstoreEpilogueCode base =
+ CodeReq.ofProg base (ADDI .x12 .x12 64) := by
+ unfold mstoreEpilogueCode ADDI single
+ rw [CodeReq.ofProg_... | {
"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_fc225d075f7e_6 | 577c2481d89d2276 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 3 | [
{
"theorem_name": "mstore_epilogue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstoreEpilogueCode_eq_ofProg]\n exact mstore_epilogue_spec_within sp base",
"n_chars": 87,
... | [
{
"name": "mstoreEpilogueCode_eq_ofProg",
"text": "theorem mstoreEpilogueCode_eq_ofProg (base : Word) :\n mstoreEpilogueCode base =\n CodeReq.ofProg base (ADDI .x12 .x12 64) := by\n unfold mstoreEpilogueCode ADDI single\n rw [CodeReq.ofProg_singleton]\n\n",
"fan_in": 3,
"n_lines": 7,
"... | [
{
"name": "mstore_epilogue_evm_mstore_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 15,
"n_chars": 629,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only":... | 4 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -48,6 +48,12 @@
def mstoreEpilogueCode (base : Word) : CodeReq :=
CodeReq.singleton base (.ADDI .x12 .x12 64)
+theorem mstoreEpilogueCode_eq_ofProg (base : Word) :
+ mstoreEpilogueCode base =
+ CodeReq.ofProg base (ADDI .x12 .x12 64) := by
+ unfold mstoreEpilogueCode ADDI single
+ rw [CodeReq.ofProg_... | {
"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_fc225d075f7e_7 | 0c9de9b350c37317 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstoreStackProg_length",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 319,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
"max_... | 1 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_8 | 4b6e2a1c6f6ef1e0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 5 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsCode_eq_ofProg",
"text": "/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/\ntheorem mstoreFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mstoreFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8) ... | [
{
"name": "mstoreStackCode_eq_ofProg",
"fan_in": 3,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 41,
"n_chars": 1691,
"n_subproofs": 2,
"n_tactics": 36,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 15,
"n_structural": 4,
"automation_only": false,
... | 4 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,54 @@
LD SRLI SB single seq
rfl
+/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/
+theorem mstoreFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mstoreFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8) (mstoreF... | {
"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_fc225d075f7e_9 | 8090829df549e0c8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 5 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsCode_eq_ofProg",
"text": "/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/\ntheorem mstoreFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mstoreFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8) ... | [
{
"name": "mstoreStackCode_eq_evm_mstore_code",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 8,
"n_chars": 385,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fals... | 6 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,54 @@
LD SRLI SB single seq
rfl
+/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/
+theorem mstoreFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mstoreFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8) (mstoreF... | {
"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_fc225d075f7e_10 | 52e2609c62f2859d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 5 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsCode_eq_ofProg",
"text": "/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/\ntheorem mstoreFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mstoreFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8) ... | [
{
"name": "mstoreStackCode_four_limbs_sub",
"fan_in": 2,
"n_deps_direct": 4,
"n_deps_transitive": 6,
"n_lines": 25,
"n_chars": 978,
"n_subproofs": 0,
"n_tactics": 20,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 7,
"n_structural": 1,
"automation_only": false,... | 6 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,54 @@
LD SRLI SB single seq
rfl
+/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/
+theorem mstoreFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mstoreFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8) (mstoreF... | {
"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_fc225d075f7e_11 | 868f8d5df6c23f41 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 5 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsCode_eq_ofProg",
"text": "/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/\ntheorem mstoreFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mstoreFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8) ... | [
{
"name": "evm_mstore_code_four_limbs_sub",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 9,
"n_lines": 9,
"n_chars": 476,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
... | 9 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,54 @@
LD SRLI SB single seq
rfl
+/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/
+theorem mstoreFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mstoreFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8) (mstoreF... | {
"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_fc225d075f7e_12 | 9250fb2bfecde62b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 5 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsCode_eq_ofProg",
"text": "/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/\ntheorem mstoreFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mstoreFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8) ... | [
{
"name": "mstore_four_limbs_evm_mstore_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 10,
"n_lines": 13,
"n_chars": 549,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_onl... | 10 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,54 @@
LD SRLI SB single seq
rfl
+/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/
+theorem mstoreFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mstoreFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8) (mstoreF... | {
"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_fc225d075f7e_13 | dbf34026b18bd2db | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_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 := mstoreFourLimbsCode_limb0_sub addrReg byteReg accReg b... | [
{
"name": "mstoreFourLimbsCode_limb0_sub",
"text": "theorem mstoreFourLimbsCode_limb0_sub\n (addrReg byteReg accReg : Reg) (base : Word) :\n ∀ a i,\n (mstoreOneLimbCode addrReg byteReg accReg\n 32 24 25 26 27 28 29 30 31 (base + 8)) a = some i →\n (mstoreFourLimbsCode addrReg byteReg ... | [
{
"name": "mstore_one_limb_q0_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 27,
"n_chars": 1152,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,... | 1 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,15 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsCode_limb0_sub
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ ∀ a i,
+ (mstoreOneLimbCode addrReg byteReg accReg
+ 32 24 25 26 27 28 29 30 31 (base + 8)) a = some i →
+ (mstoreFour... | {
"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_fc225d075f7e_14 | e57280d24cfddfab | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstore_one_limb_q1_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 17,
"n_chars": 724,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 3 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_15 | a3d083b25ca2fd8a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstore_one_limb_q2_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 17,
"n_chars": 728,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 3 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_16 | 42398e44d4250e1c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstore_one_limb_q3_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 18,
"n_chars": 743,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 3 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_17 | 540eff093bb492f1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 5 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsCode_eq_ofProg",
"text": "/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/\ntheorem mstoreFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mstoreFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8) ... | [
{
"name": "mstore_one_limb_sequence_spec_within",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 10,
"n_lines": 43,
"n_chars": 2004,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only":... | 10 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,54 @@
LD SRLI SB single seq
rfl
+/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/
+theorem mstoreFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mstoreFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8) (mstoreF... | {
"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_fc225d075f7e_18 | c1fb3875e5105a2f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 1 | [
{
"theorem_name": "mstore_four_limb_body_sequence_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 118,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let p0 := MStore.mstoreDwordPairStoreLimb d3 d4 limb32 start\n let p1 := MStore.mstoreDwordPa... | [
{
"name": "mstoreFourLimbBodyPre_unfold",
"text": "theorem mstoreFourLimbBodyPre_unfold\n (addrReg byteReg accReg : Reg)\n (addrPtr byteOld accOld d0 d1 d2 d3 d4 : Word)\n (d0Addr d1Addr d2Addr d3Addr d4Addr sp : Word)\n (limb32 limb40 limb48 limb56 : Word) :\n mstoreFourLimbBodyPre addrReg b... | [
{
"name": "mstore_four_limb_body_sequence_spec_within",
"fan_in": 1,
"n_deps_direct": 7,
"n_deps_transitive": 7,
"n_lines": 173,
"n_chars": 8012,
"n_subproofs": 4,
"n_tactics": 118,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 24,
"n_structural": 5,
"automati... | 7 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -123,6 +123,24 @@
((sp + signExtend12 (48 : BitVec 12)) ↦ₘ limb48) **
((sp + signExtend12 (56 : BitVec 12)) ↦ₘ limb56)
+theorem mstoreFourLimbBodyPre_unfold
+ (addrReg byteReg accReg : Reg)
+ (addrPtr byteOld accOld d0 d1 d2 d3 d4 : Word)
+ (d0Addr d1Addr d2Addr d3Addr d4Addr sp : Word)
+ (limb32... | {
"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_fc225d075f7e_19 | 8d9003f7eae1a2ac | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_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 := mstoreFourLimbsCode_limb0_sub addrReg byteReg accReg b... | [
{
"name": "mstoreFourLimbsCode_limb0_sub",
"text": "theorem mstoreFourLimbsCode_limb0_sub\n (addrReg byteReg accReg : Reg) (base : Word) :\n ∀ a i,\n (mstoreOneLimbCode addrReg byteReg accReg\n 32 24 25 26 27 28 29 30 31 (base + 8)) a = some i →\n (mstoreFourLimbsCode addrReg byteReg ... | [
{
"name": "mstore_limb0_four_code_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 25,
"n_chars": 1257,
"n_subproofs": 1,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": f... | 1 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,15 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsCode_limb0_sub
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ ∀ a i,
+ (mstoreOneLimbCode addrReg byteReg accReg
+ 32 24 25 26 27 28 29 30 31 (base + 8)) a = some i →
+ (mstoreFour... | {
"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_fc225d075f7e_20 | 7100a123c78d5aee | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 20 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstore_limb1_four_code_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 25,
"n_chars": 1262,
"n_subproofs": 1,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": f... | 3 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_21 | 320be82b266cb6fe | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 21 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstore_limb2_four_code_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 25,
"n_chars": 1261,
"n_subproofs": 1,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": f... | 3 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_22 | 3712b23e91449477 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 22 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 6 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsProg_length",
"text": "theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :\n (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by\n unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg\n LD SRLI SB single seq\n rfl\n\n",
"fan_... | [
{
"name": "mstore_limb3_four_code_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 25,
"n_chars": 1249,
"n_subproofs": 1,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": f... | 3 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -38,6 +38,12 @@
mstoreOneLimbProg addrReg byteReg accReg
56 0 1 2 3 4 5 6 7
+theorem mstoreFourLimbsProg_length (addrReg byteReg accReg : Reg) :
+ (mstoreFourLimbsProg addrReg byteReg accReg).length = 68 := by
+ unfold mstoreFourLimbsProg mstoreOneLimbProg mstoreByteUnpackEightProg
+ LD SRLI SB sing... | {
"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_fc225d075f7e_23 | 844b7bb56d533673 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 23 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_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 := mstoreFourLimbsCode_limb0_sub addrReg byteReg accReg b... | [
{
"name": "mstoreFourLimbsCode_limb0_sub",
"text": "theorem mstoreFourLimbsCode_limb0_sub\n (addrReg byteReg accReg : Reg) (base : Word) :\n ∀ a i,\n (mstoreOneLimbCode addrReg byteReg accReg\n 32 24 25 26 27 28 29 30 31 (base + 8)) a = some i →\n (mstoreFourLimbsCode addrReg byteReg ... | [
{
"name": "mstore_four_limb_body_concrete_spec_within",
"fan_in": 1,
"n_deps_direct": 5,
"n_deps_transitive": 18,
"n_lines": 50,
"n_chars": 2387,
"n_subproofs": 1,
"n_tactics": 25,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation... | 18 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -92,6 +92,15 @@
exact (CodeReq.ofProg_append (base := base + 8) (p1 := p0) (p2 := p1 ++ (p2 ++ p3))).symm
exact h0123
+theorem mstoreFourLimbsCode_limb0_sub
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ ∀ a i,
+ (mstoreOneLimbCode addrReg byteReg accReg
+ 32 24 25 26 27 28 29 30 31 (... | {
"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_fc225d075f7e_24 | 9fab47d72f6295cd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 24 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstorePrologueCode_eq_ofProg",
"text": "theorem mstorePrologueCode_eq_ofProg\n (offReg addrReg memBaseReg : Reg) (base : Word) :\n mstorePrologueCode offReg addrReg memBaseReg base =\n CodeReq.ofProg base\n (LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) := by\n unfold msto... | [
{
"name": "mstore_four_limb_body_evm_mstore_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 28,
"n_lines": 32,
"n_chars": 1520,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automatio... | 28 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -193,6 +193,17 @@
(CodeReq.singleton base (.LD offReg .x12 0)).union
(CodeReq.singleton (base + 4) (.ADD addrReg memBaseReg offReg))
+theorem mstorePrologueCode_eq_ofProg
+ (offReg addrReg memBaseReg : Reg) (base : Word) :
+ mstorePrologueCode offReg addrReg memBaseReg base =
+ CodeReq.ofProg ba... | {
"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_fc225d075f7e_25 | fbf6a07386731dd1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 25 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstorePrologueCode_eq_ofProg",
"text": "theorem mstorePrologueCode_eq_ofProg\n (offReg addrReg memBaseReg : Reg) (base : Word) :\n mstorePrologueCode offReg addrReg memBaseReg base =\n CodeReq.ofProg base\n (LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) := by\n unfold msto... | [
{
"name": "mstore_four_limb_body_evm_mstore_frame_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 29,
"n_lines": 33,
"n_chars": 1548,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"aut... | 29 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -193,6 +193,17 @@
(CodeReq.singleton base (.LD offReg .x12 0)).union
(CodeReq.singleton (base + 4) (.ADD addrReg memBaseReg offReg))
+theorem mstorePrologueCode_eq_ofProg
+ (offReg addrReg memBaseReg : Reg) (base : Word) :
+ mstorePrologueCode offReg addrReg memBaseReg base =
+ CodeReq.ofProg ba... | {
"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_fc225d075f7e_26 | 94571ebe8778de29 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 26 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 5 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsCode_eq_ofProg",
"text": "/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/\ntheorem mstoreFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mstoreFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8) ... | [
{
"name": "mstoreStackCode_epilogue_sub",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 6,
"n_lines": 25,
"n_chars": 939,
"n_subproofs": 0,
"n_tactics": 20,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 8,
"n_structural": 1,
"automation_only": false,
... | 6 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,54 @@
LD SRLI SB single seq
rfl
+/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/
+theorem mstoreFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mstoreFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8) (mstoreF... | {
"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_fc225d075f7e_27 | 2a943f8c8005a3b6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 27 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstore_prologue_spec_within",
"text": "/--\n MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and\n compute the concrete byte address `memBase + offset` used by the four\n subsequent limb-store blocks.\n-/\ntheorem mstore_prologue_spec_within\n (offReg addrReg memBas... | [
{
"name": "mstore_prologue_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 19,
"n_chars": 923,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": fals... | 2 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,33 @@
(CodeReq.singleton base (.LD offReg .x12 0)).union
(CodeReq.singleton (base + 4) (.ADD addrReg memBaseReg offReg))
+/--
+ MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and
+ compute the concrete byte address `memBase + offset` used by the four
+ subsequent limb... | {
"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_fc225d075f7e_28 | 83fff97a584d16fe | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 28 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstore_prologue_spec_within",
"text": "/--\n MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and\n compute the concrete byte address `memBase + offset` used by the four\n subsequent limb-store blocks.\n-/\ntheorem mstore_prologue_spec_within\n (offReg addrReg memBas... | [
{
"name": "mstore_combined_stack_spec_within",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 47,
"n_chars": 2000,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": fal... | 3 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,33 @@
(CodeReq.singleton base (.LD offReg .x12 0)).union
(CodeReq.singleton (base + 4) (.ADD addrReg memBaseReg offReg))
+/--
+ MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and
+ compute the concrete byte address `memBase + offset` used by the four
+ subsequent limb... | {
"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_fc225d075f7e_29 | 1ae10ec2558b0995 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 29 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstorePrologueCode_eq_ofProg",
"text": "theorem mstorePrologueCode_eq_ofProg\n (offReg addrReg memBaseReg : Reg) (base : Word) :\n mstorePrologueCode offReg addrReg memBaseReg base =\n CodeReq.ofProg base\n (LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) := by\n unfold msto... | [
{
"name": "mstore_combined_four_limb_sequence_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 12,
"n_lines": 59,
"n_chars": 2697,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"a... | 12 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -98,6 +98,17 @@
(CodeReq.singleton base (.LD offReg .x12 0)).union
(CodeReq.singleton (base + 4) (.ADD addrReg memBaseReg offReg))
+theorem mstorePrologueCode_eq_ofProg
+ (offReg addrReg memBaseReg : Reg) (base : Word) :
+ mstorePrologueCode offReg addrReg memBaseReg base =
+ CodeReq.ofProg 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_fc225d075f7e_30 | eb3564f2e4518a8a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 30 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstore_prologue_spec_within",
"text": "/--\n MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and\n compute the concrete byte address `memBase + offset` used by the four\n subsequent limb-store blocks.\n-/\ntheorem mstore_prologue_spec_within\n (offReg addrReg memBas... | [
{
"name": "mstore_prologue_evm_mstore_frame_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 20,
"n_chars": 946,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_... | 5 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -55,6 +55,33 @@
[.LD offReg .x12 0, .ADD addrReg memBaseReg offReg]
rw [CodeReq.ofProg_cons, CodeReq.ofProg_singleton]
+/--
+ MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and
+ compute the concrete byte address `memBase + offset` used by the four
+ subsequent limb-store blo... | {
"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_fc225d075f7e_31 | 49f2beb6d0821cb5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 31 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstore_prologue_spec_within",
"text": "/--\n MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and\n compute the concrete byte address `memBase + offset` used by the four\n subsequent limb-store blocks.\n-/\ntheorem mstore_prologue_spec_within\n (offReg addrReg memBas... | [
{
"name": "mstore_prologue_body_evm_mstore_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 6,
"n_lines": 27,
"n_chars": 1181,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_... | 6 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -55,6 +55,33 @@
[.LD offReg .x12 0, .ADD addrReg memBaseReg offReg]
rw [CodeReq.ofProg_cons, CodeReq.ofProg_singleton]
+/--
+ MSTORE prologue spec: load the low 64-bit offset limb from the EVM stack and
+ compute the concrete byte address `memBase + offset` used by the four
+ subsequent limb-store blo... | {
"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_fc225d075f7e_32 | 56ad6dab55fb26c0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 32 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 5 | [
{
"theorem_name": "mstoreFourLimbsCode_limb1_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mstoreFourLimbsCode_eq_ofProg, mstoreOneLimbCode_eq_ofProg]\n exact CodeReq.ofProg_mono_sub (base + 8) ... | [
{
"name": "mstoreFourLimbsCode_eq_ofProg",
"text": "/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/\ntheorem mstoreFourLimbsCode_eq_ofProg\n (addrReg byteReg accReg : Reg) (base : Word) :\n mstoreFourLimbsCode addrReg byteReg accReg base =\n CodeReq.ofProg (base + 8) ... | [
{
"name": "mstore_epilogue_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 8,
"n_lines": 14,
"n_chars": 590,
"n_subproofs": 1,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": fals... | 8 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -44,6 +44,54 @@
LD SRLI SB single seq
rfl
+/-- Public `ofProg` bridge for the four value-limb blocks used by MSTORE. -/
+theorem mstoreFourLimbsCode_eq_ofProg
+ (addrReg byteReg accReg : Reg) (base : Word) :
+ mstoreFourLimbsCode addrReg byteReg accReg base =
+ CodeReq.ofProg (base + 8) (mstoreF... | {
"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_fc225d075f7e_33 | 4caaac2645614f78 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 33 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_epilogue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstoreEpilogueCode_eq_ofProg]\n exact mstore_epilogue_spec_within sp base",
"n_chars": 87,
... | [
{
"name": "mstore_epilogue_spec_within",
"text": "/-- MSTORE epilogue spec: pop the offset and value words from the EVM stack. -/\ntheorem mstore_epilogue_spec_within (sp : Word) (base : Word) :\n cpsTripleWithin 1 base (base + 4)\n (mstoreEpilogueCode base)\n (((.x12 : Reg) ↦ᵣ sp))\n (((.... | [
{
"name": "mstore_epilogue_evm_mstore_frame_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 12,
"n_chars": 535,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_... | 5 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -54,11 +54,22 @@
unfold mstoreEpilogueCode ADDI single
rw [CodeReq.ofProg_singleton]
+/-- MSTORE epilogue spec: pop the offset and value words from the EVM stack. -/
+theorem mstore_epilogue_spec_within (sp : Word) (base : Word) :
+ cpsTripleWithin 1 base (base + 4)
+ (mstoreEpilogueCode 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_fc225d075f7e_34 | 979e6cce7949420c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 34 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 3 | [
{
"theorem_name": "mstore_epilogue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstoreEpilogueCode_eq_ofProg]\n exact mstore_epilogue_spec_within sp base",
"n_chars": 87,
... | [
{
"name": "mstoreEpilogueCode_eq_ofProg",
"text": "theorem mstoreEpilogueCode_eq_ofProg (base : Word) :\n mstoreEpilogueCode base =\n CodeReq.ofProg base (ADDI .x12 .x12 64) := by\n unfold mstoreEpilogueCode ADDI single\n rw [CodeReq.ofProg_singleton]\n\n",
"fan_in": 3,
"n_lines": 7,
"... | [
{
"name": "mstore_full_evm_mstore_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 13,
"n_lines": 29,
"n_chars": 1413,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": f... | 13 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -144,6 +144,12 @@
def mstoreEpilogueCode (base : Word) : CodeReq :=
CodeReq.singleton base (.ADDI .x12 .x12 64)
+theorem mstoreEpilogueCode_eq_ofProg (base : Word) :
+ mstoreEpilogueCode base =
+ CodeReq.ofProg base (ADDI .x12 .x12 64) := by
+ unfold mstoreEpilogueCode ADDI single
+ rw [CodeReq.ofPro... | {
"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_fc225d075f7e_35 | 8f4c0cff1f5722b5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MStore/Spec.lean | Spec | 35 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 49 | 2 | [
{
"theorem_name": "mstore_prologue_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← mstorePrologueCode_eq_ofProg]\n exact mstore_prologue_spec_within offReg addrReg memBaseReg\n ... | [
{
"name": "mstorePrologueCode_eq_ofProg",
"text": "theorem mstorePrologueCode_eq_ofProg\n (offReg addrReg memBaseReg : Reg) (base : Word) :\n mstorePrologueCode offReg addrReg memBaseReg base =\n CodeReq.ofProg base\n (LD offReg .x12 0 ;; ADD addrReg memBaseReg offReg) := by\n unfold msto... | [
{
"name": "mstore_full_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 13,
"n_lines": 46,
"n_chars": 2018,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,... | 13 | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | /-
EvmAsm.Evm64.MStore.Spec
Stack-level building blocks for the 256-bit EVM MSTORE program.
-/
import EvmAsm.Evm64.MStore.Program
import EvmAsm.Evm64.MStore.LimbSpec
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- CodeReq for all four MSTORE value-limb byte-unpack blocks, placed after
the two-instruction addre... | @@ -98,6 +98,17 @@
(CodeReq.singleton base (.LD offReg .x12 0)).union
(CodeReq.singleton (base + 4) (.ADD addrReg memBaseReg offReg))
+theorem mstorePrologueCode_eq_ofProg
+ (offReg addrReg memBaseReg : Reg) (base : Word) :
+ mstorePrologueCode offReg addrReg memBaseReg base =
+ CodeReq.ofProg 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_45210a15c2f5_0 | af6d7a5595f57463 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0QuotientWordLane.lean | N1V5Shift0QuotientWordLane | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "div_getLimbN_eq_digit_shift0",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hw := fullDivN1QuotientWordShift0V5_eq_div_lane a b a0 a1 a2 a3 b0 b1 b2 b3\n ha0 ha1 ha2 ha3 hb0 hb1 ... | [
{
"name": "fullDivN1QuotientWordShift0V5_eq_div_lane",
"text": "/-- The shift=0 quotient word equals `EvmWord.div a b` for the lane's `a b`. -/\ntheorem fullDivN1QuotientWordShift0V5_eq_div_lane (a b : EvmWord)\n (a0 a1 a2 a3 b0 b1 b2 b3 : Word)\n (ha0 : a.getLimbN 0 = a0) (ha1 : a.getLimbN 1 = a1)\n ... | [
{
"name": "div_getLimbN_eq_digit_shift0",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 24,
"n_chars": 1343,
"n_subproofs": 1,
"n_tactics": 9,
"cyclomatic": 2,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 5,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0QuotientWordLane
Lane-level shift=0 quotient facts: for the lane's `a b : EvmWord`, each limb of
`EvmWord.div a b` equals the corresponding shift=0 schoolbook digit. Shift=0
counterpart of `N1V5QuotientWordLane` (`fullDivN1QuotientWordV5_eq_div_lane` /
`div_getLimbN0_eq... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0QuotientWordLane
Lane-level shift=0 quotient facts: for the lane's `a b : EvmWord`, each limb of
`EvmWord.div a b` equals the corresponding shift=0 schoolbook digit. Shift=0
counterpart of `N1V5QuotientWordLane` (`fullDivN1QuotientWordV5_eq_div_lane` /
`div_getLimbN0_eq... | @@ -15,6 +15,33 @@
open EvmAsm.Rv64
open EvmWord
+/-- The shift=0 quotient word equals `EvmWord.div a b` for the lane's `a b`. -/
+theorem fullDivN1QuotientWordShift0V5_eq_div_lane (a b : EvmWord)
+ (a0 a1 a2 a3 b0 b1 b2 b3 : Word)
+ (ha0 : a.getLimbN 0 = a0) (ha1 : a.getLimbN 1 = a1)
+ (ha2 : a.getLimbN 2... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_34f3aa3a947f_0 | 5b983fa5029862c6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Mcopy/Spec.lean | Spec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "evm_mcopy_region_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 238,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n set copied := (memBytes.drop srcOff).take len with hcopied_def\n have hclen : copied.length = len := by\n ... | [
{
"name": "mcopy_shed2",
"text": "/-- Shed the two scratch pointer registers `x17 x18` (whose final values differ\n by copy direction) to ownership at the tail of the postcondition. -/\nprivate theorem mcopy_shed2 (F : Assertion) (v17 v18 : Word) :\n ∀ ps, (F ** (((.x17 : Reg) ↦ᵣ v17) ** ((.x18 : Reg)... | [
{
"name": "evm_mcopy_region_spec_within",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 257,
"n_chars": 16955,
"n_subproofs": 68,
"n_tactics": 244,
"cyclomatic": 1,
"n_automation": 51,
"n_rewrites": 32,
"n_structural": 14,
"automation_only": ... | 3 | /-
EvmAsm.Evm64.Mcopy.Spec
Top-level correctness of the EVM `MCOPY` opcode (0x5e, EIP-5656) copy core.
Composes the pointer setup (`base+0 → base+12`, three `ADD`s), the overlap
dispatch (two `BGEU`s comparing the OFFSETS `x14/x15/x19` — sound because both
running pointers share the base `x13`), and the dir... | /-
EvmAsm.Evm64.Mcopy.Spec
Top-level correctness of the EVM `MCOPY` opcode (0x5e, EIP-5656) copy core.
Composes the pointer setup (`base+0 → base+12`, three `ADD`s), the overlap
dispatch (two `BGEU`s comparing the OFFSETS `x14/x15/x19` — sound because both
running pointers share the base `x13`), and the dir... | @@ -131,6 +131,15 @@
regOwn .x17 ** regOwn .x18 ** regOwn .x19 ** ((.x0 : Reg) ↦ᵣ (0 : Word)) **
bytesRegion memBase (mcopyResult memBytes destOff srcOff len)
+/-- Shed the two scratch pointer registers `x17 x18` (whose final values differ
+ by copy direction) to ownership at the tail of the postcondition. -... | {
"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_34f3aa3a947f_1 | 81fd7fc4f0939b4a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Mcopy/Spec.lean | Spec | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "evm_mcopy_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n subst h_cap\n rw [evmMemoryIs_eq_bytesRegion (by rfl),\n evmMemoryIs_eq_bytesRegion (mcopyResult_length m... | [
{
"name": "evm_mcopy_region_spec_within",
"text": "/-- Top-level correctness of the MCOPY copy core: TOTAL over all `(destOff,\n srcOff, len)` (the dispatch picks the memmove-correct direction), landing on\n `mcopyResult` regardless of overlap. -/\ntheorem evm_mcopy_region_spec_within\n (base memBa... | [
{
"name": "evm_mcopy_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 30,
"n_chars": 1856,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": false,
... | 4 | /-
EvmAsm.Evm64.Mcopy.Spec
Top-level correctness of the EVM `MCOPY` opcode (0x5e, EIP-5656) copy core.
Composes the pointer setup (`base+0 → base+12`, three `ADD`s), the overlap
dispatch (two `BGEU`s comparing the OFFSETS `x14/x15/x19` — sound because both
running pointers share the base `x13`), and the dir... | /-
EvmAsm.Evm64.Mcopy.Spec
Top-level correctness of the EVM `MCOPY` opcode (0x5e, EIP-5656) copy core.
Composes the pointer setup (`base+0 → base+12`, three `ADD`s), the overlap
dispatch (two `BGEU`s comparing the OFFSETS `x14/x15/x19` — sound because both
running pointers share the base `x13`), and the dir... | @@ -140,6 +140,262 @@
apply sepConj_mono (regIs_implies_regOwn _)
exact regIs_implies_regOwn _
+/-- Top-level correctness of the MCOPY copy core: TOTAL over all `(destOff,
+ srcOff, len)` (the dispatch picks the memmove-correct direction), landing on
+ `mcopyResult` regardless of overlap. -/
+theorem evm_... | {
"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_415718ba718c_0 | e352079191639291 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/V4Code.lean | V4Code | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 28 | 1 | [
{
"theorem_name": "divCode_noNop_v4_sub_divCode_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode_noNop_v4; simp only [CodeReq.unionAll_cons]\n exact CodeReq.union_split_mono noNop_v4_b0_d... | [
{
"name": "noNop_v4_b9_div",
"text": "private theorem noNop_v4_b9_div {b : Word} :\n ∀ a i, (CodeReq.ofProg (b + denormOff) divK_denorm) a = some i → (divCode_v4 b) a = some i := by\n unfold divCode_v4; simp only [CodeReq.unionAll_cons]; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; ... | [
{
"name": "divCode_noNop_v4_sub_divCode_v4",
"fan_in": 1,
"n_deps_direct": 13,
"n_deps_transitive": 13,
"n_lines": 20,
"n_chars": 983,
"n_subproofs": 0,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fal... | 13 | /-
EvmAsm.Evm64.DivMod.Compose.V4Code
Full DIV/MOD CodeReq bundles for the v4 div128 migration.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Rv64.CPSSpec
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- v4 DIV code bundle matching the current `evm_div` program body. This kee... | /-
EvmAsm.Evm64.DivMod.Compose.V4Code
Full DIV/MOD CodeReq bundles for the v4 div128 migration.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Rv64.CPSSpec
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- v4 DIV code bundle matching the current `evm_div` program body. This kee... | @@ -90,6 +90,9 @@
private theorem noNop_v4_b8_div {b : Word} :
∀ a i, (CodeReq.ofProg (b + loopBodyOff) (divK_loopBody 560 7736)) a = some i → (divCode_v4 b) a = some i := by
unfold divCode_v4; simp only [CodeReq.unionAll_cons]; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipB... | {
"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_415718ba718c_1 | 501167525e65570d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/V4Code.lean | V4Code | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 28 | 1 | [
{
"theorem_name": "divCode_noNop_v4_sub_divCode_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold divCode_noNop_v4; simp only [CodeReq.unionAll_cons]\n exact CodeReq.union_split_mono noNop_v4_b0_d... | [
{
"name": "noNop_v4_b9_div",
"text": "private theorem noNop_v4_b9_div {b : Word} :\n ∀ a i, (CodeReq.ofProg (b + denormOff) divK_denorm) a = some i → (divCode_v4 b) a = some i := by\n unfold divCode_v4; simp only [CodeReq.unionAll_cons]; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; ... | [
{
"name": "cpsTripleWithin_divCode_noNop_v4_to_divCode_v4",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 14,
"n_lines": 9,
"n_chars": 499,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automatio... | 14 | /-
EvmAsm.Evm64.DivMod.Compose.V4Code
Full DIV/MOD CodeReq bundles for the v4 div128 migration.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Rv64.CPSSpec
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- v4 DIV code bundle matching the current `evm_div` program body. This kee... | /-
EvmAsm.Evm64.DivMod.Compose.V4Code
Full DIV/MOD CodeReq bundles for the v4 div128 migration.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Rv64.CPSSpec
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- v4 DIV code bundle matching the current `evm_div` program body. This kee... | @@ -90,6 +90,9 @@
private theorem noNop_v4_b8_div {b : Word} :
∀ a i, (CodeReq.ofProg (b + loopBodyOff) (divK_loopBody 560 7736)) a = some i → (divCode_v4 b) a = some i := by
unfold divCode_v4; simp only [CodeReq.unionAll_cons]; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipB... | {
"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_415718ba718c_2 | 0b12331f528cf2b8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/V4Code.lean | V4Code | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 28 | 1 | [
{
"theorem_name": "modCode_noNop_v4_sub_modCode_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold modCode_noNop_v4; simp only [CodeReq.unionAll_cons]\n exact CodeReq.union_split_mono noNop_v4_b0_m... | [
{
"name": "noNop_v4_b9_mod",
"text": "private theorem noNop_v4_b9_mod {b : Word} :\n ∀ a i, (CodeReq.ofProg (b + denormOff) divK_denorm) a = some i → (modCode_v4 b) a = some i := by\n unfold modCode_v4; simp only [CodeReq.unionAll_cons]; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; ... | [
{
"name": "modCode_noNop_v4_sub_modCode_v4",
"fan_in": 1,
"n_deps_direct": 13,
"n_deps_transitive": 13,
"n_lines": 20,
"n_chars": 983,
"n_subproofs": 0,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fal... | 13 | /-
EvmAsm.Evm64.DivMod.Compose.V4Code
Full DIV/MOD CodeReq bundles for the v4 div128 migration.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Rv64.CPSSpec
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- v4 DIV code bundle matching the current `evm_div` program body. This kee... | /-
EvmAsm.Evm64.DivMod.Compose.V4Code
Full DIV/MOD CodeReq bundles for the v4 div128 migration.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Rv64.CPSSpec
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- v4 DIV code bundle matching the current `evm_div` program body. This kee... | @@ -91,6 +91,9 @@
private theorem noNop_v4_b8_mod {b : Word} :
∀ a i, (CodeReq.ofProg (b + loopBodyOff) (divK_loopBody 560 7736)) a = some i → (modCode_v4 b) a = some i := by
unfold modCode_v4; simp only [CodeReq.unionAll_cons]; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipB... | {
"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_415718ba718c_3 | 3b671ea78d12a0f2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/V4Code.lean | V4Code | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 28 | 1 | [
{
"theorem_name": "modCode_noNop_v4_sub_modCode_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold modCode_noNop_v4; simp only [CodeReq.unionAll_cons]\n exact CodeReq.union_split_mono noNop_v4_b0_m... | [
{
"name": "noNop_v4_b9_mod",
"text": "private theorem noNop_v4_b9_mod {b : Word} :\n ∀ a i, (CodeReq.ofProg (b + denormOff) divK_denorm) a = some i → (modCode_v4 b) a = some i := by\n unfold modCode_v4; simp only [CodeReq.unionAll_cons]; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; ... | [
{
"name": "cpsTripleWithin_modCode_noNop_v4_to_modCode_v4",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 14,
"n_lines": 8,
"n_chars": 421,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automatio... | 14 | /-
EvmAsm.Evm64.DivMod.Compose.V4Code
Full DIV/MOD CodeReq bundles for the v4 div128 migration.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Rv64.CPSSpec
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- v4 DIV code bundle matching the current `evm_div` program body. This kee... | /-
EvmAsm.Evm64.DivMod.Compose.V4Code
Full DIV/MOD CodeReq bundles for the v4 div128 migration.
-/
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
import EvmAsm.Rv64.CPSSpec
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- v4 DIV code bundle matching the current `evm_div` program body. This kee... | @@ -91,6 +91,9 @@
private theorem noNop_v4_b8_mod {b : Word} :
∀ a i, (CodeReq.ofProg (b + loopBodyOff) (divK_loopBody 560 7736)) a = some i → (modCode_v4 b) a = some i := by
unfold modCode_v4; simp only [CodeReq.unionAll_cons]; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipBlock; skipB... | {
"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_fd6b99417c1a_0 | 43c0cbfc8c354061 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldEq32SAsm.lean | Secp256k1FieldEq32SAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "firstDiff_ne",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [firstDiff_succ, firstDiff_all_eq _ _ _ hprev, if_neg (Nat.lt_irrefl _), if_pos hne]",
"n_chars": 93,
"n_subproofs"... | [
{
"name": "firstDiff_all_eq",
"text": "theorem firstDiff_all_eq (bs1 bs2 : List (BitVec 8)) (n : Nat)\n (h : ∀ j, j < n → bs1.getD j 0 = bs2.getD j 0) :\n firstDiff bs1 bs2 n = n := by\n induction n with\n | zero => rfl\n | succ n ih =>\n rw [firstDiff_succ, ih (fun j hj => h j (by omega)), if_n... | [
{
"name": "firstDiff_ne",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 293,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
"max_nesting": ... | 1 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldEq32SAsm
Verified SAsm drop-in for `secf_eq32`: a single-exit `whileBreak`
replacement for the two-exit emitted byte comparison.
-/
import EvmAsm.Rv64.Program
import EvmAsm.Codegen.Emit
import EvmAsm.Rv64.SAsm.Tactic
import EvmAsm.Rv64.SAsm.WhileBreakDemo
import EvmAsm.R... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldEq32SAsm
Verified SAsm drop-in for `secf_eq32`: a single-exit `whileBreak`
replacement for the two-exit emitted byte comparison.
-/
import EvmAsm.Rv64.Program
import EvmAsm.Codegen.Emit
import EvmAsm.Rv64.SAsm.Tactic
import EvmAsm.Rv64.SAsm.WhileBreakDemo
import EvmAsm.R... | @@ -77,10 +77,22 @@
· rw [if_pos h]; exact Nat.le_succ_of_le (firstDiff_le bs1 bs2 n)
· rw [if_neg h]; split <;> omega
+theorem firstDiff_all_eq (bs1 bs2 : List (BitVec 8)) (n : Nat)
+ (h : ∀ j, j < n → bs1.getD j 0 = bs2.getD j 0) :
+ firstDiff bs1 bs2 n = n := by
+ induction n with
+ | zero => rfl... | {
"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_fd6b99417c1a_1 | 339bfcde86d6dfc5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldEq32SAsm.lean | Secp256k1FieldEq32SAsm | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "firstDiff_ne",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [firstDiff_succ, firstDiff_all_eq _ _ _ hprev, if_neg (Nat.lt_irrefl _), if_pos hne]",
"n_chars": 93,
"n_subproofs"... | [
{
"name": "firstDiff_all_eq",
"text": "theorem firstDiff_all_eq (bs1 bs2 : List (BitVec 8)) (n : Nat)\n (h : ∀ j, j < n → bs1.getD j 0 = bs2.getD j 0) :\n firstDiff bs1 bs2 n = n := by\n induction n with\n | zero => rfl\n | succ n ih =>\n rw [firstDiff_succ, ih (fun j hj => h j (by omega)), if_n... | [
{
"name": "firstDiff_ne_of_lt",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 16,
"n_chars": 465,
"n_subproofs": 2,
"n_tactics": 10,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false,
"max_ne... | 2 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldEq32SAsm
Verified SAsm drop-in for `secf_eq32`: a single-exit `whileBreak`
replacement for the two-exit emitted byte comparison.
-/
import EvmAsm.Rv64.Program
import EvmAsm.Codegen.Emit
import EvmAsm.Rv64.SAsm.Tactic
import EvmAsm.Rv64.SAsm.WhileBreakDemo
import EvmAsm.R... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldEq32SAsm
Verified SAsm drop-in for `secf_eq32`: a single-exit `whileBreak`
replacement for the two-exit emitted byte comparison.
-/
import EvmAsm.Rv64.Program
import EvmAsm.Codegen.Emit
import EvmAsm.Rv64.SAsm.Tactic
import EvmAsm.Rv64.SAsm.WhileBreakDemo
import EvmAsm.R... | @@ -77,10 +77,22 @@
· rw [if_pos h]; exact Nat.le_succ_of_le (firstDiff_le bs1 bs2 n)
· rw [if_neg h]; split <;> omega
+theorem firstDiff_all_eq (bs1 bs2 : List (BitVec 8)) (n : Nat)
+ (h : ∀ j, j < n → bs1.getD j 0 = bs2.getD j 0) :
+ firstDiff bs1 bs2 n = n := by
+ induction n with
+ | zero => rfl... | {
"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_fd6b99417c1a_2 | fa71939b06146912 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldEq32SAsm.lean | Secp256k1FieldEq32SAsm | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "firstDiff_ne",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [firstDiff_succ, firstDiff_all_eq _ _ _ hprev, if_neg (Nat.lt_irrefl _), if_pos hne]",
"n_chars": 93,
"n_subproofs"... | [
{
"name": "firstDiff_all_eq",
"text": "theorem firstDiff_all_eq (bs1 bs2 : List (BitVec 8)) (n : Nat)\n (h : ∀ j, j < n → bs1.getD j 0 = bs2.getD j 0) :\n firstDiff bs1 bs2 n = n := by\n induction n with\n | zero => rfl\n | succ n ih =>\n rw [firstDiff_succ, ih (fun j hj => h j (by omega)), if_n... | [
{
"name": "secfEq32Fn_spec",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 364,
"n_chars": 17314,
"n_subproofs": 89,
"n_tactics": 364,
"cyclomatic": 12,
"n_automation": 130,
"n_rewrites": 99,
"n_structural": 89,
"automation_only": false,
... | 3 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldEq32SAsm
Verified SAsm drop-in for `secf_eq32`: a single-exit `whileBreak`
replacement for the two-exit emitted byte comparison.
-/
import EvmAsm.Rv64.Program
import EvmAsm.Codegen.Emit
import EvmAsm.Rv64.SAsm.Tactic
import EvmAsm.Rv64.SAsm.WhileBreakDemo
import EvmAsm.R... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldEq32SAsm
Verified SAsm drop-in for `secf_eq32`: a single-exit `whileBreak`
replacement for the two-exit emitted byte comparison.
-/
import EvmAsm.Rv64.Program
import EvmAsm.Codegen.Emit
import EvmAsm.Rv64.SAsm.Tactic
import EvmAsm.Rv64.SAsm.WhileBreakDemo
import EvmAsm.R... | @@ -77,10 +77,22 @@
· rw [if_pos h]; exact Nat.le_succ_of_le (firstDiff_le bs1 bs2 n)
· rw [if_neg h]; split <;> omega
+theorem firstDiff_all_eq (bs1 bs2 : List (BitVec 8)) (n : Nat)
+ (h : ∀ j, j < n → bs1.getD j 0 = bs2.getD j 0) :
+ firstDiff bs1 bs2 n = n := by
+ induction n with
+ | zero => rfl... | {
"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_7f1213455e05_0 | a5062cd10add20f1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/RLP/Phase1E3FullPath.lean | Phase1E3FullPath | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "rlp_phase1_e3_full_path_spec'_within",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n rlp_phase1_e3_full_path_spec_within v5 v10 v11Old v13 v14Old off1 off2 off3 base\n e3_target htarget h... | [
{
"name": "rlp_phase1_e3_full_path_spec_within",
"text": "/-- `cpsTripleWithin base (e3_target + 12)` for the full Phase 1 e3\n (long-string) path: cascade prefix to `e3_target`, then Phase 3\n long-string entry.\n\n Post-state: `x14 = v5 + signExtend12 (-0xB7)` (length-of-length\n counter), `x1... | [
{
"name": "rlp_phase1_e3_full_path_spec'_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 32,
"n_chars": 1764,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 1 | /-
EvmAsm.Rv64.RLP.Phase1E3FullPath
EL.3 full Phase 1 → Phase 3 e3 (long-string) chain.
Composes:
* `rlp_phase1_cascade_prefix_e3_spec` — Phase 1 cascade steps 1, 2
(both fall-through) and step 3 (taken at `0xC0`), reaching
`e3_target`.
* `rlp_phase3_long_string_spec` at `e3_target` — seeds ... | /-
EvmAsm.Rv64.RLP.Phase1E3FullPath
EL.3 full Phase 1 → Phase 3 e3 (long-string) chain.
Composes:
* `rlp_phase1_cascade_prefix_e3_spec` — Phase 1 cascade steps 1, 2
(both fall-through) and step 3 (taken at `0xC0`), reaching
`e3_target`.
* `rlp_phase3_long_string_spec` at `e3_target` — seeds ... | @@ -32,6 +32,85 @@
-- Spec
-- ============================================================================
+/-- `cpsTripleWithin base (e3_target + 12)` for the full Phase 1 e3
+ (long-string) path: cascade prefix to `e3_target`, then Phase 3
+ long-string entry.
+
+ Post-state: `x14 = v5 + signExtend12 (-0... | {
"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_0dd93f95f99f_0 | adf825ddaaa22859 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN2V5LaneShift0.lean | FullPathN2V5LaneShift0 | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_div_n2_lane_shift0_v5",
"depth": 1,
"n_commands": 0,
"n_lines": 61,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hb1ge : (b.getLimbN 1).toNat ≥ 2 ^ 63 := clz_zero_imp_msb hshift_z\n have hb1ne : b.getLimbN 1 ≠ 0 := hb1n... | [
{
"name": "n2_shift0_fullPost_to_divStackDispatchPostV5",
"text": "/-- Shift=0 post bridge: the flag-param full-path post → `divStackDispatchPostV5`.\n Routes through the all-regIs `divConcretePostNoX1ExactRegsFrame` (pure `xperm`,\n no per-atom weaken), then the bulk regIs→regOwn weakeners. Mirrors ... | [
{
"name": "evm_div_n2_lane_shift0_v5",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 87,
"n_chars": 4961,
"n_subproofs": 15,
"n_tactics": 67,
"cyclomatic": 1,
"n_automation": 10,
"n_rewrites": 6,
"n_structural": 14,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN2V5LaneShift0
The v5 n=2 DIV lane, shift=0 case, and the full discharged combiner.
- `n2_shift0_div_getLimbN_threaded`: THREADED-digit form of the shift=0 quotient
correctness, `(EvmWord.div a b).getLimbN i = (n2Shift0R{0,1,2} …).1`, bridged
from the PADDED `n2_sh... | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN2V5LaneShift0
The v5 n=2 DIV lane, shift=0 case, and the full discharged combiner.
- `n2_shift0_div_getLimbN_threaded`: THREADED-digit form of the shift=0 quotient
correctness, `(EvmWord.div a b).getLimbN i = (n2Shift0R{0,1,2} …).1`, bridged
from the PADDED `n2_sh... | @@ -100,6 +100,90 @@
let scratch1 := if bltu_1 then divKTrialCallV5ScratchOut r2.2.2.1 r2.2.1 b1 scratch2 else scratch2
if bltu_0 then divKTrialCallV5ScratchOut r1.2.2.1 r1.2.1 b1 scratch1 else scratch1
+/-- Shift=0 post bridge: the flag-param full-path post → `divStackDispatchPostV5`.
+ Routes through the 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_0dd93f95f99f_1 | e90cca5649d98aac | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN2V5LaneShift0.lean | FullPathN2V5LaneShift0 | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_div_n2_lane_complete_v5",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n evm_div_n2_lane_v5 sp base a b raVal v5 v6 v7 v10 v11Old\n q0 q1 q2 q3 u0Old u1Old u2Old u3Old u4Old u5 u6 u7 ... | [
{
"name": "evm_div_n2_lane_shift0_v5",
"text": "/-- The shift=0 half of `lane_n2`: dispatch precondition → `divStackDispatchPostV5`\n over `divCode_noNop_v5`, given the normalization shift is zero. Pins the three\n borrow flags to their canonical `ult` values, then composes the pre-lift\n (#7475),... | [
{
"name": "evm_div_n2_lane_complete_v5",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 29,
"n_chars": 1645,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
... | 3 | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN2V5LaneShift0
The v5 n=2 DIV lane, shift=0 case, and the full discharged combiner.
- `n2_shift0_div_getLimbN_threaded`: THREADED-digit form of the shift=0 quotient
correctness, `(EvmWord.div a b).getLimbN i = (n2Shift0R{0,1,2} …).1`, bridged
from the PADDED `n2_sh... | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN2V5LaneShift0
The v5 n=2 DIV lane, shift=0 case, and the full discharged combiner.
- `n2_shift0_div_getLimbN_threaded`: THREADED-digit form of the shift=0 quotient
correctness, `(EvmWord.div a b).getLimbN i = (n2Shift0R{0,1,2} …).1`, bridged
from the PADDED `n2_sh... | @@ -184,6 +184,92 @@
(fun h hp => memIs_implies_memOwn h hp)
h hExact
+/-- The shift=0 half of `lane_n2`: dispatch precondition → `divStackDispatchPostV5`
+ over `divCode_noNop_v5`, given the normalization shift is zero. Pins the three
+ borrow flags to their canonical `ult` values, then composes the... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ab1e6e576b8d_0 | dffccb6160a9a71d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Precompile.lean | Precompile | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "isPrecompileAddress_address",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold isPrecompileAddress\n rw [ofAddress?_address p]\n simp",
"n_chars": 67,
"n_subproofs": 0,
... | [
{
"name": "ofAddress?_address",
"text": "theorem ofAddress?_address (p : Precompile) :\n ofAddress? p.address = some p := by\n cases p <;> decide\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 108,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 3,
"n_automation": 1,
"n_rewr... | [
{
"name": "isPrecompileAddress_address",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 160,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.Precompile
Pure precompile-address registry for GH #116.
-/
import EvmAsm.Evm64.Environment
namespace EvmAsm.Evm64
/-- Canonical Ethereum precompiles targeted by the dispatch/accelerator bridge. -/
inductive Precompile where
| ecrecover
| sha256
| ripemd160
| identity
| modexp
| bn25... | /-
EvmAsm.Evm64.Precompile
Pure precompile-address registry for GH #116.
-/
import EvmAsm.Evm64.Environment
namespace EvmAsm.Evm64
/-- Canonical Ethereum precompiles targeted by the dispatch/accelerator bridge. -/
inductive Precompile where
| ecrecover
| sha256
| ripemd160
| identity
| modexp
| bn25... | @@ -139,6 +139,10 @@
def blake2fGas (rounds : Nat) : Nat :=
rounds
+theorem ofAddress?_address (p : Precompile) :
+ ofAddress? p.address = some p := by
+ cases p <;> decide
+
theorem ofAddress?_zero :
ofAddress? (0 : Address) = none := by
decide
@@ -152,7 +156,10 @@
decide
theorem isPrecompileA... | {
"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_ab1e6e576b8d_1 | f0800e2f1516fd6b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Precompile.lean | Precompile | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "not_isPrecompileAddress_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold isPrecompileAddress\n rw [ofAddress?_zero]\n decide",
"n_chars": 64,
"n_subproofs": 0,
"n... | [
{
"name": "ofAddress?_zero",
"text": "theorem ofAddress?_zero :\n ofAddress? (0 : Address) = none := by\n decide\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 78,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
... | [
{
"name": "not_isPrecompileAddress_zero",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 156,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.Precompile
Pure precompile-address registry for GH #116.
-/
import EvmAsm.Evm64.Environment
namespace EvmAsm.Evm64
/-- Canonical Ethereum precompiles targeted by the dispatch/accelerator bridge. -/
inductive Precompile where
| ecrecover
| sha256
| ripemd160
| identity
| modexp
| bn25... | /-
EvmAsm.Evm64.Precompile
Pure precompile-address registry for GH #116.
-/
import EvmAsm.Evm64.Environment
namespace EvmAsm.Evm64
/-- Canonical Ethereum precompiles targeted by the dispatch/accelerator bridge. -/
inductive Precompile where
| ecrecover
| sha256
| ripemd160
| identity
| modexp
| bn25... | @@ -139,6 +139,10 @@
def blake2fGas (rounds : Nat) : Nat :=
rounds
+theorem ofAddress?_zero :
+ ofAddress? (0 : Address) = none := by
+ decide
+
theorem ofAddress?_eighteen :
ofAddress? (0x12 : Address) = none := by
decide
@@ -148,7 +152,10 @@
decide
@[simp] theorem not_isPrecompileAddress_zero... | {
"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_ab1e6e576b8d_2 | 07774592c3377a29 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Precompile.lean | Precompile | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "not_isPrecompileAddress_eighteen",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold isPrecompileAddress\n rw [ofAddress?_eighteen]\n decide",
"n_chars": 68,
"n_subproofs": 0... | [
{
"name": "ofAddress?_eighteen",
"text": "theorem ofAddress?_eighteen :\n ofAddress? (0x12 : Address) = none := by\n decide\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 85,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_struct... | [
{
"name": "not_isPrecompileAddress_eighteen",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 167,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,... | 1 | /-
EvmAsm.Evm64.Precompile
Pure precompile-address registry for GH #116.
-/
import EvmAsm.Evm64.Environment
namespace EvmAsm.Evm64
/-- Canonical Ethereum precompiles targeted by the dispatch/accelerator bridge. -/
inductive Precompile where
| ecrecover
| sha256
| ripemd160
| identity
| modexp
| bn25... | /-
EvmAsm.Evm64.Precompile
Pure precompile-address registry for GH #116.
-/
import EvmAsm.Evm64.Environment
namespace EvmAsm.Evm64
/-- Canonical Ethereum precompiles targeted by the dispatch/accelerator bridge. -/
inductive Precompile where
| ecrecover
| sha256
| ripemd160
| identity
| modexp
| bn25... | @@ -143,6 +143,10 @@
ofAddress? (0 : Address) = none := by
decide
+theorem ofAddress?_eighteen :
+ ofAddress? (0x12 : Address) = none := by
+ decide
+
theorem ofAddress?_oneHundredOne :
ofAddress? (0x101 : Address) = none := by
decide
@@ -154,7 +158,10 @@
decide
@[simp] theorem not_isPrecom... | {
"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_ab1e6e576b8d_3 | d5e34d8e65274544 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Precompile.lean | Precompile | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "not_isPrecompileAddress_oneHundredOne",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold isPrecompileAddress\n rw [ofAddress?_oneHundredOne]\n decide",
"n_chars": 73,
"n_sub... | [
{
"name": "ofAddress?_oneHundredOne",
"text": "theorem ofAddress?_oneHundredOne :\n ofAddress? (0x101 : Address) = none := by\n decide\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 91,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
... | [
{
"name": "not_isPrecompileAddress_oneHundredOne",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 178,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": f... | 1 | /-
EvmAsm.Evm64.Precompile
Pure precompile-address registry for GH #116.
-/
import EvmAsm.Evm64.Environment
namespace EvmAsm.Evm64
/-- Canonical Ethereum precompiles targeted by the dispatch/accelerator bridge. -/
inductive Precompile where
| ecrecover
| sha256
| ripemd160
| identity
| modexp
| bn25... | /-
EvmAsm.Evm64.Precompile
Pure precompile-address registry for GH #116.
-/
import EvmAsm.Evm64.Environment
namespace EvmAsm.Evm64
/-- Canonical Ethereum precompiles targeted by the dispatch/accelerator bridge. -/
inductive Precompile where
| ecrecover
| sha256
| ripemd160
| identity
| modexp
| bn25... | @@ -147,6 +147,10 @@
ofAddress? (0x12 : Address) = none := by
decide
+theorem ofAddress?_oneHundredOne :
+ ofAddress? (0x101 : Address) = none := by
+ decide
+
@[simp] theorem not_isPrecompileAddress_zero :
¬ isPrecompileAddress (0 : Address) := by
unfold isPrecompileAddress
@@ -160,7 +164,10 @@
... | {
"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_84d1f1109ebc_0 | 338734adce038f92 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/ModFullPathN4CallAddbackV4NoNop.lean | ModFullPathN4CallAddbackV4NoNop | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "evm_mod_n4_full_call_addback_beq_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 76,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b3).1\n let antiShift := signExtend12 (0 : BitVec 12) - shi... | [
{
"name": "fullModN4CallAddbackBeqPreV4_unfold",
"text": "theorem fullModN4CallAddbackBeqPreV4_unfold\n {sp b3 v5 v6 v7 v10 v11Old : Word}\n {a0 a1 a2 a3 b0 b1 b2 : Word}\n {q0 q1 q2 q3 u0Old u1Old u2Old u3Old u4Old u5 u6 u7 : Word}\n {nMem shiftMem jMem retMem dMem dloMem scratchUn0 scratchMem ... | [
{
"name": "evm_mod_n4_full_call_addback_beq_spec_within_v4_noNop",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 98,
"n_chars": 4967,
"n_subproofs": 4,
"n_tactics": 76,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 6,
"n_structural": 1,
"... | 1 | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4
import EvmAsm.Evm64.DivMod.Compose.ModPreloopN4V4NoNop
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Full MOD n=4 call+addback BEQ precondition for the v4 path.
Keeping this large frame behind an irreducible... | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4
import EvmAsm.Evm64.DivMod.Compose.ModPreloopN4V4NoNop
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Full MOD n=4 call+addback BEQ precondition for the v4 path.
Keeping this large frame behind an irreducible... | @@ -33,6 +33,34 @@
(sp + signExtend12 3952 ↦ₘ dloMem) ** (sp + signExtend12 3944 ↦ₘ scratchUn0) **
regOwn .x1) ** (sp + signExtend12 3936 ↦ₘ scratchMem))
+theorem fullModN4CallAddbackBeqPreV4_unfold
+ {sp b3 v5 v6 v7 v10 v11Old : Word}
+ {a0 a1 a2 a3 b0 b1 b2 : Word}
+ {q0 q1 q2 q3 u0Old u1Old u2Old ... | {
"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_84d1f1109ebc_1 | 6a42b0efe79a2d8e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/ModFullPathN4CallAddbackV4NoNop.lean | ModFullPathN4CallAddbackV4NoNop | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "evm_mod_n4_full_call_addback_beq_spec_within_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact cpsTripleWithin_modCode_noNop_v4_to_modCode_v4\n (evm_mod_n4_full_call_addback_beq... | [
{
"name": "evm_mod_n4_full_call_addback_beq_spec_within_v4_noNop",
"text": "/-- Full n=4 MOD call+addback BEQ path over the no-NOP v4 MOD code bundle. -/\ntheorem evm_mod_n4_full_call_addback_beq_spec_within_v4_noNop (sp base : Word)\n (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11Old : Word)\n (q0 q1 q2 q... | [
{
"name": "evm_mod_n4_full_call_addback_beq_spec_within_v4",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 29,
"n_chars": 1537,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automat... | 2 | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4
import EvmAsm.Evm64.DivMod.Compose.ModPreloopN4V4NoNop
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Full MOD n=4 call+addback BEQ precondition for the v4 path.
Keeping this large frame behind an irreducible... | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4
import EvmAsm.Evm64.DivMod.Compose.ModPreloopN4V4NoNop
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Full MOD n=4 call+addback BEQ precondition for the v4 path.
Keeping this large frame behind an irreducible... | @@ -114,6 +114,103 @@
(sp + signExtend12 3944 ↦ₘ divUn0) **
(sp + signExtend12 3936 ↦ₘ scratchOut) ** regOwn .x1
+/-- Full n=4 MOD call+addback BEQ path over the no-NOP v4 MOD code bundle. -/
+theorem evm_mod_n4_full_call_addback_beq_spec_within_v4_noNop (sp base : Word)
+ (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v... | {
"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_93741b7b293d_0 | 2f2090963e30bfcd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedHeadroomCompose.lean | SavedBitFixedHeadroomCompose | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 14 | 1 | [
{
"theorem_name": "exp_headroom_loop_lifted",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h := exp_final_loop_firstIterPreWithResidual_bodyonly (base + 72) sp evmSp\n baseWord exponentWord dWord e... | [
{
"name": "exp_headroom_loop_code_mono",
"text": "/-- Union head-monotonicity for the loop lift: the canonical iter-body slice sits\n inside the headroom program (idx 29), and the appended `mul_callable` at\n `base+408` is disjoint from the headroom code (which ends at `base+408`). -/\ntheorem exp_hea... | [
{
"name": "exp_headroom_loop_lifted",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 29,
"n_chars": 1434,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 3,
"automation_only": false,
"... | 1 | /-
Composition scaffolding for the HEADROOM (architecture B) EXP program
(`evm_exp_msb_saved_bit_two_mul_fixed_headroom`, bug `evm-asm-fjivz`).
Architecture B runs the squaring loop entirely in the headroom slack: the
prologue COPIES the operands down into the headroom frame, the loop squares
there (its MUL ... | /-
Composition scaffolding for the HEADROOM (architecture B) EXP program
(`evm_exp_msb_saved_bit_two_mul_fixed_headroom`, bug `evm-asm-fjivz`).
Architecture B runs the squaring loop entirely in the headroom slack: the
prologue COPIES the operands down into the headroom frame, the loop squares
there (its MUL ... | @@ -55,6 +55,85 @@
;; pointer_advance @92 (+64) ;; epilogue @93 (9)
102 instr / 408 bytes; loop body @ byte +116, exit (= mul) @ +408. -/
+/-- Union head-monotonicity for the loop lift: the canonical iter-body slice sits
+ inside the headroom program (idx 29), and the appended `mul_callable` at
+ `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_93741b7b293d_1 | 6862ee8c3136d352 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedHeadroomCompose.lean | SavedBitFixedHeadroomCompose | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 14 | 1 | [
{
"theorem_name": "exp_headroom_loop_lifted_folded",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [expFinalLoopFirstIterPost_unfold]\n exact exp_headroom_loop_lifted sp evmSp base baseWord exponentWord... | [
{
"name": "exp_headroom_loop_lifted",
"text": "/-- The body-only loop surface (n=255 iterations) lifted onto the headroom program\n at code base `base+72` (iter body @ byte +116, mul @ base+408). -/\ntheorem exp_headroom_loop_lifted\n (sp evmSp base : Word) (baseWord exponentWord dWord eWord : EvmWord... | [
{
"name": "exp_headroom_loop_lifted_folded",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 21,
"n_chars": 989,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,... | 2 | /-
Composition scaffolding for the HEADROOM (architecture B) EXP program
(`evm_exp_msb_saved_bit_two_mul_fixed_headroom`, bug `evm-asm-fjivz`).
Architecture B runs the squaring loop entirely in the headroom slack: the
prologue COPIES the operands down into the headroom frame, the loop squares
there (its MUL ... | /-
Composition scaffolding for the HEADROOM (architecture B) EXP program
(`evm_exp_msb_saved_bit_two_mul_fixed_headroom`, bug `evm-asm-fjivz`).
Architecture B runs the squaring loop entirely in the headroom slack: the
prologue COPIES the operands down into the headroom frame, the loop squares
there (its MUL ... | @@ -134,6 +134,33 @@
rw [haddr]; bv_omega
rw [CodeReq.union_none_left hnone]; exact hq
+/-- The body-only loop surface (n=255 iterations) lifted onto the headroom program
+ at code base `base+72` (iter body @ byte +116, mul @ base+408). -/
+theorem exp_headroom_loop_lifted
+ (sp evmSp 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_93741b7b293d_2 | bf1ffc12ad5b1102 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedHeadroomCompose.lean | SavedBitFixedHeadroomCompose | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 14 | 2 | [
{
"theorem_name": "exp_headroom_loop_lifted_folded_framed",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsTripleWithin_frameR F hF\n (exp_headroom_loop_lifted_folded sp evmSp base baseWord exponentWord d... | [
{
"name": "exp_headroom_loop_lifted_folded",
"text": "/-- Folded-post wrapper for `exp_headroom_loop_lifted`. -/\ntheorem exp_headroom_loop_lifted_folded\n (sp evmSp base : Word) (baseWord exponentWord dWord eWord : EvmWord)\n (rest : List EvmWord) (lookahead vOld v18 : Word)\n (hbase : (base + 72 ... | [
{
"name": "exp_headroom_loop_lifted_folded_framed",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 23,
"n_chars": 1124,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only"... | 3 | /-
Composition scaffolding for the HEADROOM (architecture B) EXP program
(`evm_exp_msb_saved_bit_two_mul_fixed_headroom`, bug `evm-asm-fjivz`).
Architecture B runs the squaring loop entirely in the headroom slack: the
prologue COPIES the operands down into the headroom frame, the loop squares
there (its MUL ... | /-
Composition scaffolding for the HEADROOM (architecture B) EXP program
(`evm_exp_msb_saved_bit_two_mul_fixed_headroom`, bug `evm-asm-fjivz`).
Architecture B runs the squaring loop entirely in the headroom slack: the
prologue COPIES the operands down into the headroom frame, the loop squares
there (its MUL ... | @@ -161,6 +161,25 @@
rw [expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_eq] at hq
exact exp_headroom_loop_code_mono base a i hq
+/-- Folded-post wrapper for `exp_headroom_loop_lifted`. -/
+theorem exp_headroom_loop_lifted_folded
+ (sp evmSp base : Word) (baseWord exponentWord dWord eWord : Evm... | {
"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.