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_61a7b2bc00b0_3 | f5e06f50021ccd0f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallSkipOverestimateBridge.lean | CallSkipOverestimateBridge | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 2 | [
{
"theorem_name": "u_top_eq_c3_n_of_overestimate",
"depth": 1,
"n_commands": 0,
"n_lines": 34,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hc3_un_zero : (mulsubN4 qHat b0 b1 b2 b3 a0 a1 a2 a3).2.2.2.2 = 0 :=\n c3_un_zero_of_qHat_mul_le hqH... | [
{
"name": "val256_ms_un_eq_val256_mod_of_overestimate",
"text": "/-- **Generic: `val256(ms_un) = val256(a) % val256(b)` under c3_un=0 + overestimate.**\n\n Takes the overestimate bound `val256(a)/val256(b) ≤ qHat.toNat` (supplied\n by `n4CallSkipSemanticHolds` for call-skip, or `max_trial_overestimate... | [
{
"name": "denorm_limbN_eq_mod_of_overestimate_getLimbN",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 58,
"n_chars": 3148,
"n_subproofs": 2,
"n_tactics": 18,
"cyclomatic": 3,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 4,
"automatio... | 5 | -- Auto-extracted from EvmAsm.Evm64.DivMod.Spec.CallSkip (PR for issue #1078).
/-
EvmAsm.Evm64.DivMod.Spec.CallSkipOverestimateBridge
Generic mulsub/denormalize bridge lemmas parameterized over a trial
quotient `qHat`. These are downstream of the un-normalized bound
`qHat * val256(b) ≤ val256(a)` plus the over... | -- Auto-extracted from EvmAsm.Evm64.DivMod.Spec.CallSkip (PR for issue #1078).
/-
EvmAsm.Evm64.DivMod.Spec.CallSkipOverestimateBridge
Generic mulsub/denormalize bridge lemmas parameterized over a trial
quotient `qHat`. These are downstream of the un-normalized bound
`qHat * val256(b) ≤ val256(a)` plus the over... | @@ -63,6 +63,41 @@
have h_pow : (2:Nat)^256 > 0 := by positivity
omega
+/-- **Generic: `val256(ms_un) = val256(a) % val256(b)` under c3_un=0 + overestimate.**
+
+ Takes the overestimate bound `val256(a)/val256(b) ≤ qHat.toNat` (supplied
+ by `n4CallSkipSemanticHolds` for call-skip, or `max_trial_overestim... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e515a78b68de_0 | 89a2f799e30c8b0b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseABV4NoNop.lean | PhaseABV4NoNop | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 1 | [
{
"theorem_name": "evm_div_phaseA_ntaken_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 22,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hbody := cpsTripleWithin_extend_code divK_phaseA_code_sub_divCode_noNop_v4\n (divK_phas... | [
{
"name": "beq_singleton_sub_divCode_noNop_v4",
"text": "private theorem beq_singleton_sub_divCode_noNop_v4 {base : Word} :\n ∀ a i, (CodeReq.singleton (base + phaseABeqOff) (.BEQ .x5 .x0 1020)) a = some i →\n (divCode_noNop_v4 base) a = some i := by\n intro a i h\n exact sharedNoNop_v4_b0_div a i... | [
{
"name": "evm_div_phaseA_ntaken_spec_within_v4_noNop",
"fan_in": 3,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 34,
"n_chars": 1907,
"n_subproofs": 7,
"n_tactics": 22,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 3,
"n_structural": 3,
"automation_... | 2 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | @@ -22,6 +22,14 @@
intro a i h
exact sharedNoNop_v4_b0_div a i h
+private theorem beq_singleton_sub_divCode_noNop_v4 {base : Word} :
+ ∀ a i, (CodeReq.singleton (base + phaseABeqOff) (.BEQ .x5 .x0 1020)) a = some i →
+ (divCode_noNop_v4 base) a = some i := by
+ intro a i h
+ exact sharedNoNop_v4_b0_di... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e515a78b68de_1 | d30d6f152077523c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseABV4NoNop.lean | PhaseABV4NoNop | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hinit1_raw := divK_phaseB_init1_spec_within sp (base + phaseBOff) q0 q1 q2 q3 u5 u6 u7\n simp... | [
{
"name": "divK_phaseB_init2_code_sub_divCode_noNop_v4",
"text": "private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :\n ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →\n (divCode_noNop_v4 base) a = some i := by\n intro a i h\n have h1 := CodeReq.ofProg_... | [
{
"name": "evm_div_phaseB_n4_spec_within_v4_noNop",
"fan_in": 1,
"n_deps_direct": 11,
"n_deps_transitive": 11,
"n_lines": 58,
"n_chars": 3695,
"n_subproofs": 13,
"n_tactics": 35,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 2,
"n_structural": 3,
"automation_o... | 11 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | @@ -40,6 +40,15 @@
(by bv_addr) (by decide) (by decide) (by decide) a i h
exact sharedNoNop_v4_b1_div a i h1
+private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :
+ ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →
+ (divCode_noNop_v4 base) a = some i := by
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e515a78b68de_2 | bf0d63d1ac935064 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseABV4NoNop.lean | PhaseABV4NoNop | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hinit1_raw := divK_phaseB_init1_spec_within sp (base + phaseBOff) q0 q1 q2 q3 u5 u6 u7\n simp... | [
{
"name": "divK_phaseB_init2_code_sub_divCode_noNop_v4",
"text": "private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :\n ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →\n (divCode_noNop_v4 base) a = some i := by\n intro a i h\n have h1 := CodeReq.ofProg_... | [
{
"name": "evm_div_phaseB_n3_spec_within_v4_noNop",
"fan_in": 1,
"n_deps_direct": 15,
"n_deps_transitive": 15,
"n_lines": 130,
"n_chars": 8567,
"n_subproofs": 31,
"n_tactics": 107,
"cyclomatic": 1,
"n_automation": 6,
"n_rewrites": 4,
"n_structural": 5,
"automation... | 15 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | @@ -43,6 +43,15 @@
(by bv_addr) (by decide) (by decide) (by decide) a i h
exact sharedNoNop_v4_b1_div a i h1
+private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :
+ ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →
+ (divCode_noNop_v4 base) a = some i := by
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e515a78b68de_3 | 378c774dcd588592 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseABV4NoNop.lean | PhaseABV4NoNop | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hinit1_raw := divK_phaseB_init1_spec_within sp (base + phaseBOff) q0 q1 q2 q3 u5 u6 u7\n simp... | [
{
"name": "divK_phaseB_init2_code_sub_divCode_noNop_v4",
"text": "private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :\n ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →\n (divCode_noNop_v4 base) a = some i := by\n intro a i h\n have h1 := CodeReq.ofProg_... | [
{
"name": "evm_div_phaseB_n1_spec_within_v4_noNop",
"fan_in": 1,
"n_deps_direct": 21,
"n_deps_transitive": 21,
"n_lines": 177,
"n_chars": 12074,
"n_subproofs": 45,
"n_tactics": 154,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 6,
"n_structural": 7,
"automatio... | 21 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | @@ -49,6 +49,15 @@
(by bv_addr) (by decide) (by decide) (by decide) a i h
exact sharedNoNop_v4_b1_div a i h1
+private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :
+ ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →
+ (divCode_noNop_v4 base) a = some i := by
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e515a78b68de_4 | ef2fd66ccabc62ba | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseABV4NoNop.lean | PhaseABV4NoNop | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hinit1_raw := divK_phaseB_init1_spec_within sp (base + phaseBOff) q0 q1 q2 q3 u5 u6 u7\n simp... | [
{
"name": "divK_phaseB_init2_code_sub_divCode_noNop_v4",
"text": "private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :\n ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →\n (divCode_noNop_v4 base) a = some i := by\n intro a i h\n have h1 := CodeReq.ofProg_... | [
{
"name": "evm_div_phaseAB_n4_spec_within_v4_noNop",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 15,
"n_lines": 45,
"n_chars": 2601,
"n_subproofs": 5,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_on... | 15 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | @@ -54,6 +54,15 @@
(by bv_addr) (by decide) (by decide) (by decide) a i h
exact sharedNoNop_v4_b1_div a i h1
+private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :
+ ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →
+ (divCode_noNop_v4 base) a = some i := by
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e515a78b68de_5 | 6ccda4204c0a504e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseABV4NoNop.lean | PhaseABV4NoNop | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hinit1_raw := divK_phaseB_init1_spec_within sp (base + phaseBOff) q0 q1 q2 q3 u5 u6 u7\n simp... | [
{
"name": "divK_phaseB_tail_code_sub_divCode_noNop_v4",
"text": "private theorem divK_phaseB_tail_code_sub_divCode_noNop_v4 {base : Word} :\n ∀ a i, (divK_phaseB_tail_code (base + phaseBTailOff)) a = some i →\n (divCode_noNop_v4 base) a = some i := by\n intro a i h\n have h1 := CodeReq.ofProg_mono... | [
{
"name": "evm_div_phaseAB_n3_spec_within_v4_noNop",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 19,
"n_lines": 45,
"n_chars": 2622,
"n_subproofs": 5,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_on... | 19 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | @@ -66,6 +66,15 @@
(by bv_addr) (by decide) (by decide) (by decide) a i h
exact sharedNoNop_v4_b1_div a i h1
+private theorem divK_phaseB_tail_code_sub_divCode_noNop_v4 {base : Word} :
+ ∀ a i, (divK_phaseB_tail_code (base + phaseBTailOff)) a = some i →
+ (divCode_noNop_v4 base) a = some i := by
+ in... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e515a78b68de_6 | f5243ffefa86367c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseABV4NoNop.lean | PhaseABV4NoNop | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hinit1_raw := divK_phaseB_init1_spec_within sp (base + phaseBOff) q0 q1 q2 q3 u5 u6 u7\n simp... | [
{
"name": "divK_phaseB_tail_code_sub_divCode_noNop_v4",
"text": "private theorem divK_phaseB_tail_code_sub_divCode_noNop_v4 {base : Word} :\n ∀ a i, (divK_phaseB_tail_code (base + phaseBTailOff)) a = some i →\n (divCode_noNop_v4 base) a = some i := by\n intro a i h\n have h1 := CodeReq.ofProg_mono... | [
{
"name": "evm_div_phaseAB_n1_spec_within_v4_noNop",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 25,
"n_lines": 42,
"n_chars": 2557,
"n_subproofs": 4,
"n_tactics": 18,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_on... | 25 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | @@ -72,6 +72,15 @@
(by bv_addr) (by decide) (by decide) (by decide) a i h
exact sharedNoNop_v4_b1_div a i h1
+private theorem divK_phaseB_tail_code_sub_divCode_noNop_v4 {base : Word} :
+ ∀ a i, (divK_phaseB_tail_code (base + phaseBTailOff)) a = some i →
+ (divCode_noNop_v4 base) a = some i := by
+ in... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e515a78b68de_7 | 47dfdd670bb7d528 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/PhaseABV4NoNop.lean | PhaseABV4NoNop | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 33 | 4 | [
{
"theorem_name": "evm_div_phaseB_n4_spec_within_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hinit1_raw := divK_phaseB_init1_spec_within sp (base + phaseBOff) q0 q1 q2 q3 u5 u6 u7\n simp... | [
{
"name": "divK_phaseB_init2_code_sub_divCode_noNop_v4",
"text": "private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :\n ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →\n (divCode_noNop_v4 base) a = some i := by\n intro a i h\n have h1 := CodeReq.ofProg_... | [
{
"name": "evm_div_phaseB_n2_spec_within_v4_noNop",
"fan_in": 0,
"n_deps_direct": 19,
"n_deps_transitive": 19,
"n_lines": 164,
"n_chars": 10865,
"n_subproofs": 41,
"n_tactics": 140,
"cyclomatic": 1,
"n_automation": 7,
"n_rewrites": 6,
"n_structural": 7,
"automatio... | 19 | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | /-
EvmAsm.Evm64.DivMod.Compose.PhaseABV4NoNop
V4/no-NOP replay of the n=4 PhaseA/PhaseB prefix.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.V4NoNop
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm
(bv64_4mul_9 bv64_4mul_10 bv... | @@ -47,6 +47,15 @@
(by bv_addr) (by decide) (by decide) (by decide) a i h
exact sharedNoNop_v4_b1_div a i h1
+private theorem divK_phaseB_init2_code_sub_divCode_noNop_v4 {base : Word} :
+ ∀ a i, (divK_phaseB_init2_code (base + phaseBInit2Off)) a = some i →
+ (divCode_noNop_v4 base) a = some i := by
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_61f27aba4ae4_0 | 47d5bac237572e28 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/Base.lean | Base | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "evm_addmod_prologue_evm_addmod_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsTripleWithin_extend_code\n (hmono := evm_addmod_program_code_prologue_sub)\n (h := evm_add... | [
{
"name": "evm_addmod_program_code_prologue_sub",
"text": "/-- The `evm_addmod_prologue` sub-block (30 instrs at offset 0) is\n subsumed by `evm_addmod_program_code`. -/\ntheorem evm_addmod_program_code_prologue_sub\n {base : Word} {modOff : BitVec 21} :\n ∀ a i, (CodeReq.ofProg base evm_addmod_pro... | [
{
"name": "evm_addmod_prologue_evm_addmod_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 40,
"n_chars": 2092,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_o... | 1 | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | @@ -61,6 +61,20 @@
simp only [seq, single]
rfl))
+/-- The `evm_addmod_prologue` sub-block (30 instrs at offset 0) is
+ subsumed by `evm_addmod_program_code`. -/
+theorem evm_addmod_program_code_prologue_sub
+ {base : Word} {modOff : BitVec 21} :
+ ∀ a i, (CodeReq.ofProg base evm_addmod_prologue... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_61f27aba4ae4_1 | fb55cfb50f8cbcc5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/Base.lean | Base | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "evm_addmod_phase1_carry_evm_addmod_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_addmod_program_code_phase1_carry_sub)\n (h :=... | [
{
"name": "evm_addmod_program_code_phase1_carry_sub",
"text": "/-- The `evm_addmod_phase1_carry` sub-block (1 instr at offset 120) is\n subsumed by `evm_addmod_program_code`. -/\ntheorem evm_addmod_program_code_phase1_carry_sub\n {base : Word} {modOff : BitVec 21} :\n ∀ a i, (CodeReq.ofProg (base +... | [
{
"name": "evm_addmod_phase1_carry_evm_addmod_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 692,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automatio... | 1 | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | @@ -61,6 +61,20 @@
simp only [seq, single]
rfl))
+/-- The `evm_addmod_phase1_carry` sub-block (1 instr at offset 120) is
+ subsumed by `evm_addmod_program_code`. -/
+theorem evm_addmod_program_code_phase1_carry_sub
+ {base : Word} {modOff : BitVec 21} :
+ ∀ a i, (CodeReq.ofProg (base + 120) 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_61f27aba4ae4_2 | fc02e84331c39688 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/Base.lean | Base | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "evm_addmod_phase2_reduce_evm_addmod_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_addmod_program_code_phase2_reduce_sub)\n (h ... | [
{
"name": "evm_addmod_program_code_phase2_reduce_sub",
"text": "/-- The `evm_addmod_phase2_reduce` sub-block (1 instr at offset 124) is\n subsumed by `evm_addmod_program_code`. -/\ntheorem evm_addmod_program_code_phase2_reduce_sub\n {base : Word} {modOff : BitVec 21} :\n ∀ a i, (CodeReq.ofProg (bas... | [
{
"name": "evm_addmod_phase2_reduce_evm_addmod_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 674,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automati... | 1 | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | @@ -61,6 +61,21 @@
simp only [seq, single]
rfl))
+/-- The `evm_addmod_phase2_reduce` sub-block (1 instr at offset 124) is
+ subsumed by `evm_addmod_program_code`. -/
+theorem evm_addmod_program_code_phase2_reduce_sub
+ {base : Word} {modOff : BitVec 21} :
+ ∀ a i, (CodeReq.ofProg (base + 124)
+... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_61f27aba4ae4_3 | e9a9d377b34a5b28 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/Base.lean | Base | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "evm_addmod_epilogue_evm_addmod_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_addmod_program_code_epilogue_sub)\n (h := evm_add... | [
{
"name": "evm_addmod_program_code_epilogue_sub",
"text": "/-- The `evm_addmod_epilogue` sub-block (1 instr at offset 128) is\n subsumed by `evm_addmod_program_code`. -/\ntheorem evm_addmod_program_code_epilogue_sub\n {base : Word} {modOff : BitVec 21} :\n ∀ a i, (CodeReq.ofProg (base + 128) evm_ad... | [
{
"name": "evm_addmod_epilogue_evm_addmod_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 18,
"n_chars": 871,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_on... | 1 | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | @@ -61,6 +61,38 @@
simp only [seq, single]
rfl))
+/-- The `evm_addmod_epilogue` sub-block (1 instr at offset 128) is
+ subsumed by `evm_addmod_program_code`. -/
+theorem evm_addmod_program_code_epilogue_sub
+ {base : Word} {modOff : BitVec 21} :
+ ∀ a i, (CodeReq.ofProg (base + 128) evm_addmod_... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_61f27aba4ae4_4 | fb3cf955daa702ab | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/Base.lean | Base | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "evm_addmod_prologue_phase1_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 42,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro sum0 carry0 psum1 carry1a result1 carry1b carry1\n psum2 carry2a result2 carry2b carry... | [
{
"name": "evm_addmod_prologue_evm_addmod_spec_within",
"text": "/-- `evm_addmod_prologue` cpsTriple spec lifted from the sub-block\n `CodeReq.ofProg` handle onto `evm_addmod_program_code`. Direct ADDMOD\n analog of `mstore_prologue_evm_mstore_spec_within`. -/\ntheorem evm_addmod_prologue_evm_addmod_s... | [
{
"name": "evm_addmod_prologue_phase1_spec_within",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 85,
"n_chars": 4693,
"n_subproofs": 5,
"n_tactics": 33,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
"automation_only... | 4 | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | @@ -89,6 +89,45 @@
· rw [evm_addmod_length, evm_addmod_phase1_carry_length]; decide
· rw [evm_addmod_length]; decide
+/-- `evm_addmod_prologue` cpsTriple spec lifted from the sub-block
+ `CodeReq.ofProg` handle onto `evm_addmod_program_code`. Direct ADDMOD
+ analog of `mstore_prologue_evm_mstore_spec_with... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_61f27aba4ae4_5 | 474fdb7014d3f1c4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/Base.lean | Base | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "evm_addmod_prologue_phase1_phase2_reduce_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro sum0 carry0 psum1 carry1a result1 carry1b carry1\n psum2 carry2a result2... | [
{
"name": "evm_addmod_phase2_reduce_evm_addmod_spec_within",
"text": "/-- `evm_addmod_phase2_reduce` cpsTriple spec lifted from the sub-block\n `CodeReq.ofProg` handle onto `evm_addmod_program_code`. The single\n `JAL x1 modOff` near-call to `evm_mod_callable` lives at `base + 124`. -/\ntheorem evm_ad... | [
{
"name": "evm_addmod_prologue_phase1_phase2_reduce_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 7,
"n_lines": 69,
"n_chars": 3787,
"n_subproofs": 4,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 2,
"a... | 7 | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | @@ -156,6 +156,19 @@
(hmono := evm_addmod_program_code_phase1_carry_sub)
(h := evm_addmod_phase1_carry_spec_within v5 vOld (base + 120))
+/-- `evm_addmod_phase2_reduce` cpsTriple spec lifted from the sub-block
+ `CodeReq.ofProg` handle onto `evm_addmod_program_code`. The single
+ `JAL x1 modOff` near-... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_61f27aba4ae4_6 | 0a8faec9bb335feb | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/Base.lean | Base | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 2 | [
{
"theorem_name": "evm_addmod_prologue_phase1_phase2_reduce_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro sum0 carry0 psum1 carry1a result1 carry1b carry1\n psum2 carry2a result2... | [
{
"name": "evm_addmod_prologue_phase1_spec_within",
"text": "/-- Compose `evm_addmod_prologue_evm_addmod_spec_within` (30 instr, bytes\n 0..120) with `evm_addmod_phase1_carry_evm_addmod_spec_within` (1 instr,\n byte 120..124) into a single 31-instruction `cpsTripleWithin` over\n `evm_addmod_program... | [
{
"name": "evm_addmod_prologue_phase1_named_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 16,
"n_chars": 851,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_... | 6 | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | @@ -141,6 +141,90 @@
(hmono := evm_addmod_program_code_phase1_carry_sub)
(h := evm_addmod_phase1_carry_spec_within v5 vOld (base + 120))
+/-- Compose `evm_addmod_prologue_evm_addmod_spec_within` (30 instr, bytes
+ 0..120) with `evm_addmod_phase1_carry_evm_addmod_spec_within` (1 instr,
+ byte 120..124)... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_61f27aba4ae4_7 | 0073b166e460566a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/AddMod/Compose/Base.lean | Base | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 2 | [
{
"theorem_name": "evm_addmod_prologue_phase1_phase2_reduce_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro sum0 carry0 psum1 carry1a result1 carry1b carry1\n psum2 carry2a result2... | [
{
"name": "evm_addmod_prologue_phase1_spec_within",
"text": "/-- Compose `evm_addmod_prologue_evm_addmod_spec_within` (30 instr, bytes\n 0..120) with `evm_addmod_phase1_carry_evm_addmod_spec_within` (1 instr,\n byte 120..124) into a single 31-instruction `cpsTripleWithin` over\n `evm_addmod_program... | [
{
"name": "evm_addmod_prologue_phase1_phase2_reduce_named_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 9,
"n_lines": 20,
"n_chars": 1144,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
... | 9 | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | /-
EvmAsm.Evm64.AddMod.Compose.Base
Shared composition infrastructure for ADDMOD: `evm_addmod_program_code`
(the `CodeReq.ofProg` handle for the assembled top-level `evm_addmod`
Program from slice 3c, beads `evm-asm-xl2jn`), plus per-block
subsumption helpers tying each sub-block's `CodeReq.ofProg` handle
... | @@ -169,6 +169,90 @@
(hmono := evm_addmod_program_code_phase2_reduce_sub)
(h := evm_addmod_phase2_reduce_spec_within modOff vOld (base + 124))
+/-- Compose `evm_addmod_prologue_evm_addmod_spec_within` (30 instr, bytes
+ 0..120) with `evm_addmod_phase1_carry_evm_addmod_spec_within` (1 instr,
+ byte 120... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_015a7b8c64d4_0 | 72bc311c84cdd2e6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 20,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨bltu_3, bltu_2, bltu_1, bltu_0,\n hbltu_3, hbltu_2, hbltu_1, hbltu... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni",
"text": "/-- Unified-bound wrapper for\n `evm_div_n1_stack_spec_within_word_exact_x1_noNop`. -/\ntheorem evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni\n (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)\n (a b : EvmWord)\n... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_uni",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 74,
"n_chars": 3996,
"n_subproofs": 2,
"n_tactics": 20,
"cyclomatic": 1,
"n_automation": 6,
"n_rewrites": 0,
"n_structural": 3,
... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -19,6 +19,81 @@
open EvmAsm.Rv64
+/-- Unified-bound wrapper for
+ `evm_div_n1_stack_spec_within_word_exact_x1_noNop`. -/
+theorem evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni
+ (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)
+ (a b : EvmWord)
+ (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_015a7b8c64d4_1 | 762288c8619e9bb0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 20,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨bltu_3, bltu_2, bltu_1, bltu_0,\n hbltu_3, hbltu_2, hbltu_1, hbltu... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni",
"text": "/-- Unified-bound wrapper for\n `evm_div_n1_stack_spec_within_word_exact_x1_noNop`. -/\ntheorem evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni\n (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)\n (a b : EvmWord)\n... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_remainder_uni",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 67,
"n_chars": 3596,
"n_subproofs": 0,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_struct... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -19,6 +19,81 @@
open EvmAsm.Rv64
+/-- Unified-bound wrapper for
+ `evm_div_n1_stack_spec_within_word_exact_x1_noNop`. -/
+theorem evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni
+ (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)
+ (a b : EvmWord)
+ (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_015a7b8c64d4_2 | b4d6ecd2f9df0cd3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 20,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨bltu_3, bltu_2, bltu_1, bltu_0,\n hbltu_3, hbltu_2, hbltu_1, hbltu... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni",
"text": "/-- Unified-bound wrapper for\n `evm_div_n1_stack_spec_within_word_exact_x1_noNop`. -/\ntheorem evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni\n (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)\n (a b : EvmWord)\n... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_shape_trial_uni",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 70,
"n_chars": 3597,
"n_subproofs": 2,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 0,
"n_structural... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -19,6 +19,81 @@
open EvmAsm.Rv64
+/-- Unified-bound wrapper for
+ `evm_div_n1_stack_spec_within_word_exact_x1_noNop`. -/
+theorem evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni
+ (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)
+ (a b : EvmWord)
+ (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_015a7b8c64d4_3 | 651fca3007217755 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_remainder_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 13,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_uni\n ... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_uni",
"text": "/-- Trial-bundled wrapper for the n=1 exact-x1/no-NOP DIV surface.\n\n The trial bundle owns the branch booleans. Callers provide the remaining\n raw arithmetic obligations for those booleans; this wrapper delegates to\n... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_shape_remainder_uni",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 68,
"n_chars": 3517,
"n_subproofs": 2,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 0,
"n_struct... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -94,6 +94,79 @@
hshift_nz halign hbltu_3 hbltu_2 hbltu_1 hbltu_0 hcarry2
hdivWord)
+/-- Trial-bundled wrapper for the n=1 exact-x1/no-NOP DIV surface.
+
+ The trial bundle owns the branch booleans. Callers provide the remaining
+ raw arithmetic obligations for those booleans; this wrapper dele... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_015a7b8c64d4_4 | 8ae74bccca02beb7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_trial_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 21,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hbnzGet :\n b.getLimbN 0 ||| b.getLimbN 1 ||| b.getLim... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni",
"text": "/-- Unified-bound wrapper for the n=1 no-NOP DIV callable surface whose\n precondition keeps `x1` outside the scratch bundle. -/\ntheorem evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni\n (blt... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_trial_uni",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 78,
"n_chars": 4157,
"n_subproofs": 2,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 6,
"n_rewrites": 0,
"n_s... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -19,6 +19,51 @@
open EvmAsm.Rv64
+/-- Unified-bound wrapper for the n=1 no-NOP DIV callable surface whose
+ precondition keeps `x1` outside the scratch bundle. -/
+theorem evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni
+ (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)
+ (a 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_015a7b8c64d4_5 | 80dbe8197cebe2ae | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_trial_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 21,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hbnzGet :\n b.getLimbN 0 ||| b.getLimbN 1 ||| b.getLim... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni",
"text": "/-- Unified-bound wrapper for the n=1 no-NOP DIV callable surface whose\n precondition keeps `x1` outside the scratch bundle. -/\ntheorem evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni\n (blt... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_trial_remainder_uni",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 68,
"n_chars": 3697,
"n_subproofs": 0,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -19,6 +19,51 @@
open EvmAsm.Rv64
+/-- Unified-bound wrapper for the n=1 no-NOP DIV callable surface whose
+ precondition keeps `x1` outside the scratch bundle. -/
+theorem evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni
+ (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)
+ (a 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_015a7b8c64d4_6 | 9435dec15b0c9699 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_trial_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 21,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hbnzGet :\n b.getLimbN 0 ||| b.getLimbN 1 ||| b.getLim... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni",
"text": "/-- Unified-bound wrapper for the n=1 no-NOP DIV callable surface whose\n precondition keeps `x1` outside the scratch bundle. -/\ntheorem evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni\n (blt... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_shape_trial_uni",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 72,
"n_chars": 3746,
"n_subproofs": 2,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 0,
... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -19,6 +19,51 @@
open EvmAsm.Rv64
+/-- Unified-bound wrapper for the n=1 no-NOP DIV callable surface whose
+ precondition keeps `x1` outside the scratch bundle. -/
+theorem evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni
+ (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)
+ (a 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_015a7b8c64d4_7 | 671cb6bc07fc3f84 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_trial_remainder_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 13,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_n1_stack_spec_within_word_noNop_preNoX1_... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_trial_uni",
"text": "/-- Trial-bundled wrapper for the n=1 no-NOP DIV callable surface whose\n precondition keeps `x1` outside the scratch bundle.\n\n The trial bundle owns the branch booleans. Callers provide the remaining\n ... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_shape_remainder_uni",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 69,
"n_chars": 3602,
"n_subproofs": 2,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 0... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -64,6 +64,83 @@
ha0 ha1 ha2 ha3 hb0 hb1 hb2 hb3 hbnz hb3z hb2z hb1z
hshift_nz halign hbltu_3 hbltu_2 hbltu_1 hbltu_0 hcarry2 hdivWord)
+/-- Trial-bundled wrapper for the n=1 no-NOP DIV callable surface whose
+ precondition keeps `x1` outside the scratch bundle.
+
+ The trial bundle owns the bra... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_015a7b8c64d4_8 | 099a228b255bfbdd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_trial_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 20,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨bltu_3, bltu_2, bltu_1, bltu_0,\n hbltu_3, hbltu_2, hbltu_1, hbltu... | [
{
"name": "evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni",
"text": "/-- Unified-bound wrapper for\n `evm_div_n1_stack_spec_within_word_exact_x1_noNop`. -/\ntheorem evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni\n (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)\n (a b : EvmWord)\n... | [
{
"name": "evm_div_stack_spec_exact_x1_noNop",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 53,
"n_chars": 2785,
"n_subproofs": 0,
"n_tactics": 40,
"cyclomatic": 2,
"n_automation": 24,
"n_rewrites": 0,
"n_structural": 5,
"automation_only": f... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -20,6 +20,81 @@
open EvmAsm.Rv64
/-- Unified-bound wrapper for
+ `evm_div_n1_stack_spec_within_word_exact_x1_noNop`. -/
+theorem evm_div_n1_stack_spec_within_word_exact_x1_noNop_uni
+ (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)
+ (a b : EvmWord)
+ (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11Ol... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_015a7b8c64d4_9 | 726dbf763b868ba0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "evm_div_stack_spec_noNop_callableOwnPost",
"depth": 1,
"n_commands": 0,
"n_lines": 53,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n cases branch with\n | bzero v1 v2 hbz =>\n exact cpsTripleWithin_weaken (fun _ hp => hp)\n ... | [
{
"name": "evm_div_n2_stack_spec_within_word_noNop_callableOwnPost_uni",
"text": "/-- Unified-bound wrapper for\n `evm_div_n2_stack_spec_within_word_noNop_callableOwnPost`. -/\ntheorem evm_div_n2_stack_spec_within_word_noNop_callableOwnPost_uni\n (bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)\n (a ... | [
{
"name": "evm_div_stack_spec_noNop_callableOwnPost",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 68,
"n_chars": 3586,
"n_subproofs": 3,
"n_tactics": 53,
"cyclomatic": 2,
"n_automation": 48,
"n_rewrites": 0,
"n_structural": 5,
"automation_o... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -64,6 +64,49 @@
hshift_nz halign hbltu_3 hbltu_2 hbltu_1 hbltu_0 hcarry2 hdivWord)
/-- Unified-bound wrapper for
+ `evm_div_n2_stack_spec_within_word_noNop_callableOwnPost`. -/
+theorem evm_div_n2_stack_spec_within_word_noNop_callableOwnPost_uni
+ (bltu_2 bltu_1 bltu_0 : Bool) (sp 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_015a7b8c64d4_10 | 8a72142963ee7c51 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/UnifiedExactNoNop.lean | UnifiedExactNoNop | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_trial_uni",
"depth": 1,
"n_commands": 0,
"n_lines": 21,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hbnzGet :\n b.getLimbN 0 ||| b.getLimbN 1 ||| b.getLim... | [
{
"name": "evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni",
"text": "/-- Unified-bound wrapper for the n=1 no-NOP DIV callable surface whose\n precondition keeps `x1` outside the scratch bundle. -/\ntheorem evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni\n (blt... | [
{
"name": "evm_div_stack_spec_noNop_preNoX1_callableOwnPost",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 72,
"n_chars": 3782,
"n_subproofs": 3,
"n_tactics": 54,
"cyclomatic": 2,
"n_automation": 48,
"n_rewrites": 0,
"n_structural": 5,
"auto... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | /-
EvmAsm.Evm64.DivMod.Spec.UnifiedExactNoNop
Unified-bound exact-x1 no-NOP DIV branch wrappers split out from
`Spec.Unified` to keep the public dispatcher file under the size cap.
Legacy carry note: these wrappers still thread the raw normalized
`Carry2NzAll` package through exact no-NOP stack surfaces. N2... | @@ -19,6 +19,51 @@
open EvmAsm.Rv64
+/-- Unified-bound wrapper for the n=1 no-NOP DIV callable surface whose
+ precondition keeps `x1` outside the scratch bundle. -/
+theorem evm_div_n1_stack_spec_within_word_noNop_preNoX1_callableOwnPost_uni
+ (bltu_3 bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word)
+ (a 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_48e0fc3cb8f6_0 | fd538d3e54d601bf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 1 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowEvidence",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨hbltu3, hbltu2, hbltu1, hbltu0⟩ :=\n N... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowPath",
"text": "/-- N1 DIV v4 callable wrapper over the selected-if-borrow path, using\n selected path evidence directly at the shape-level boundary. -/\ntheorem evm_div_callable_v4_n1_stack_pre_to_callable_post_sc... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowEvidence",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 48,
"n_chars": 2460,
"n_subproofs": 1,
"n_tactics": 12,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrite... | 1 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -9,6 +9,112 @@
open EvmAsm.Rv64
+/-- N1 DIV v4 callable wrapper over the selected-if-borrow path, using
+ selected path evidence directly at the shape-level boundary. -/
+theorem evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowPath
+ (sp base : Word) (a b : EvmWord)
+ (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_48e0fc3cb8f6_1 | b34b5be2afcd517d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 1 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowSemanticEvidence",
"depth": 1,
"n_commands": 0,
"n_lines": 18,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_callable_v4_n1_stack_pre_to... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowEvidence",
"text": "/-- N1 selected-if-borrow shape wrapper consuming a single bundled evidence\n package instead of exposing branch and selected-path facts separately. -/\ntheorem evm_div_callable_v4_n1_stack_pre_... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowSemanticEvidence",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 65,
"n_chars": 3325,
"n_subproofs": 0,
"n_tactics": 18,
"cyclomatic": 1,
"n_automation": 0,
"n... | 2 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -115,6 +115,53 @@
hb3z hb2z hb1z hshift_nz halign
hbltu3 hbltu2 hbltu1 hbltu0 hpath hfacts
+/-- N1 selected-if-borrow shape wrapper consuming a single bundled evidence
+ package instead of exposing branch and selected-path facts separately. -/
+theorem evm_div_callable_v4_n1_stack_pre_to_callable_... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48e0fc3cb8f6_2 | 8d6082256f4a9124 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowEvidence_semanticRoute",
"depth": 1,
"n_commands": 0,
"n_lines": 19,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_callable_v4_n1_stack_... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowSemanticEvidence",
"text": "/-- N1 selected-if-borrow shape wrapper consuming the existing selected\n semantic-evidence package plus selected path evidence, deriving the\n callable evidence bundle internally. -/... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowEvidence_semanticRoute",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 56,
"n_chars": 2847,
"n_subproofs": 0,
"n_tactics": 19,
"cyclomatic": 1,
"n_automation": 0,
... | 3 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -162,6 +162,70 @@
(N1CallableSelectedIfBorrowShapeEvidence.selectedPath hevidence)
(N1CallableSelectedIfBorrowShapeEvidence.semanticFacts hevidence)
+/-- N1 selected-if-borrow shape wrapper consuming the existing selected
+ semantic-evidence package plus selected path evidence, deriving the
+ calla... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48e0fc3cb8f6_3 | 29dcba2c3eb4963c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowSemanticEvidence_inputHdivRoute",
"depth": 1,
"n_commands": 0,
"n_lines": 19,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact\n evm_div_callabl... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowEvidence_inputHdivRoute",
"text": "/-- N1 selected-if-borrow shape wrapper routed through the bundled selected\n input/hdiv package. This lets downstream public-wrapper assembly consume\n `N1CallableSelectedIfBo... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowSemanticEvidence_inputHdivRoute",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 66,
"n_chars": 3425,
"n_subproofs": 0,
"n_tactics": 19,
"cyclomatic": 1,
"n_automat... | 1 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -9,6 +9,91 @@
open EvmAsm.Rv64
+/-- N1 selected-if-borrow shape wrapper routed through the bundled selected
+ input/hdiv package. This lets downstream public-wrapper assembly consume
+ `N1CallableSelectedIfBorrowShapeEvidence` without rebuilding selected stack
+ inputs and quotient-limb witnesses separ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48e0fc3cb8f6_4 | b2f25de7581e1648 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowEvidence_semanticRoute",
"depth": 1,
"n_commands": 0,
"n_lines": 19,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_callable_v4_n1_stack_... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowSemanticEvidence",
"text": "/-- N1 selected-if-borrow shape wrapper consuming the existing selected\n semantic-evidence package plus selected path evidence, deriving the\n callable evidence bundle internally. -/... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_allTruePathSelectedIfBorrowSemanticEvidence",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 60,
"n_chars": 3160,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation":... | 3 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -162,6 +162,70 @@
(N1CallableSelectedIfBorrowShapeEvidence.selectedPath hevidence)
(N1CallableSelectedIfBorrowShapeEvidence.semanticFacts hevidence)
+/-- N1 selected-if-borrow shape wrapper consuming the existing selected
+ semantic-evidence package plus selected path evidence, deriving the
+ calla... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48e0fc3cb8f6_5 | 1b6f49ed57811b0e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 1 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_allTruePathSelectedIfBorrowSemanticEvidence_inputHdivRoute",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_ca... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowSemanticEvidence_inputHdivRoute",
"text": "/-- Selected semantic-evidence variant routed through the input/hdiv package.\n This keeps selected input and quotient-limb witness recovery behind\n `N1CallableSelecte... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_allTruePathSelectedIfBorrowSemanticEvidence_inputHdivRoute",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 56,
"n_chars": 2943,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
... | 2 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -94,6 +94,71 @@
rfl rfl rfl rfl rfl rfl rfl rfl
hbnzLimbs hb3z hb2z hb1z hshift_nz halign hselected hdivs))
+/-- Selected semantic-evidence variant routed through the input/hdiv package.
+ This keeps selected input and quotient-limb witness recovery behind
+ `N1CallableSelectedIfBorrowS... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48e0fc3cb8f6_6 | 631a9403a3213b18 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowSemanticEvidence_inputHdivRoute",
"depth": 1,
"n_commands": 0,
"n_lines": 19,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact\n evm_div_callabl... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedIfBorrowEvidence_inputHdivRoute",
"text": "/-- N1 selected-if-borrow shape wrapper routed through the bundled selected\n input/hdiv package. This lets downstream public-wrapper assembly consume\n `N1CallableSelectedIfBo... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_callableEvidence_inputHdivRoute",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 47,
"n_chars": 2377,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_r... | 1 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -9,6 +9,91 @@
open EvmAsm.Rv64
+/-- N1 selected-if-borrow shape wrapper routed through the bundled selected
+ input/hdiv package. This lets downstream public-wrapper assembly consume
+ `N1CallableSelectedIfBorrowShapeEvidence` without rebuilding selected stack
+ inputs and quotient-limb witnesses separ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48e0fc3cb8f6_7 | 19936572a3332ff7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_branchFactsAllTruePathSemanticFacts_inputHdivRoute",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_callable_v... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_callableEvidence_inputHdivRoute",
"text": "/-- N1 callable wrapper over the bundled selected-if-borrow shape evidence.\n\n This is the narrow callable boundary the public N1 stack wrapper can target:\n branch/path/carry and sem... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_branchFactsAllTruePathSemanticFacts_inputHdivRoute",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 49,
"n_chars": 2542,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_autom... | 2 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -94,6 +94,51 @@
rfl rfl rfl rfl rfl rfl rfl rfl
hbnzLimbs hb3z hb2z hb1z hshift_nz halign hselected hdivs))
+/-- N1 callable wrapper over the bundled selected-if-borrow shape evidence.
+
+ This is the narrow callable boundary the public N1 stack wrapper can target:
+ branch/path/carry 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_48e0fc3cb8f6_8 | df1ce0f9013251d0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_branchFactsAllTruePathSemanticFacts_inputHdivRoute",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_callable_v... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_callableEvidence_inputHdivRoute",
"text": "/-- N1 callable wrapper over the bundled selected-if-borrow shape evidence.\n\n This is the narrow callable boundary the public N1 stack wrapper can target:\n branch/path/carry and sem... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_branchFactsAllPhasesSemanticFacts_inputHdivRoute",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 134,
"n_chars": 6830,
"n_subproofs": 0,
"n_tactics": 14,
"cyclomatic": 1,
"n_autom... | 2 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -94,6 +94,51 @@
rfl rfl rfl rfl rfl rfl rfl rfl
hbnzLimbs hb3z hb2z hb1z hshift_nz halign hselected hdivs))
+/-- N1 callable wrapper over the bundled selected-if-borrow shape evidence.
+
+ This is the narrow callable boundary the public N1 stack wrapper can target:
+ branch/path/carry 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_48e0fc3cb8f6_9 | 336291cf16f66447 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_branchFactsAllTruePathSemanticFacts_inputHdivRoute",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_callable_v... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_callableEvidence_inputHdivRoute",
"text": "/-- N1 callable wrapper over the bundled selected-if-borrow shape evidence.\n\n This is the narrow callable boundary the public N1 stack wrapper can target:\n branch/path/carry and sem... | [
{
"name": "evm_div_callable_v4_n1_stack_pre_to_callable_post_scratch_shape_selectedInputAllPhasesSemanticFacts_inputHdivRoute",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 148,
"n_chars": 7797,
"n_subproofs": 0,
"n_tactics": 19,
"cyclomatic": 1,
"n_aut... | 3 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -94,6 +94,51 @@
rfl rfl rfl rfl rfl rfl rfl rfl
hbnzLimbs hb3z hb2z hb1z hshift_nz halign hselected hdivs))
+/-- N1 callable wrapper over the bundled selected-if-borrow shape evidence.
+
+ This is the narrow callable boundary the public N1 stack wrapper can target:
+ branch/path/carry 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_48e0fc3cb8f6_10 | 0f65942597aacda7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 1 | [
{
"theorem_name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_shape_selectedEvidence",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_sha... | [
{
"name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_shape_selectedCarry",
"text": "/-- N2 DIV v4 callable wrapper deriving divisor nonzero from the n=2 shape\n while consuming only selected carry evidence for the actual path. -/\ntheorem evm_div_callable_v4_n2_stack_pre_to_callable_post_... | [
{
"name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_shape_selectedEvidence",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 35,
"n_chars": 1710,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
... | 1 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -9,6 +9,68 @@
open EvmAsm.Rv64
+/-- N2 DIV v4 callable wrapper deriving divisor nonzero from the n=2 shape
+ while consuming only selected carry evidence for the actual path. -/
+theorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_shape_selectedCarry
+ (sp base : Word) (a b : EvmWord)
+ (... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48e0fc3cb8f6_11 | 76cc91a7c85fb0f0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivShape.lean | CallableV4DivShape | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 1 | [
{
"theorem_name": "evm_div_callable_v4_n3_stack_pre_to_callable_post_scratch_shape_selectedEvidence",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n evm_div_callable_v4_n3_stack_pre_to_callable_post_scratch_sha... | [
{
"name": "evm_div_callable_v4_n3_stack_pre_to_callable_post_scratch_shape_selectedCarry",
"text": "/-- N3 DIV v4 callable wrapper deriving divisor nonzero from the n=3 shape\n while consuming only selected carry evidence for the actual path. -/\ntheorem evm_div_callable_v4_n3_stack_pre_to_callable_post_... | [
{
"name": "evm_div_callable_v4_n3_stack_pre_to_callable_post_scratch_shape_selectedEvidence",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 34,
"n_chars": 1675,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
... | 1 | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | import EvmAsm.Evm64.DivMod.CallableV4DivSelected
import EvmAsm.Evm64.DivMod.CallableV4DivConcreteSelected
import EvmAsm.Evm64.DivMod.Spec.N1FinalCarryZero
import EvmAsm.Evm64.DivMod.Spec.N1CallableSelectedIfBorrowShapeEvidence
import EvmAsm.Evm64.DivMod.Spec.N2CallableSelectedShapeEvidence
import EvmAsm.Evm64.DivMod.Sp... | @@ -9,6 +9,61 @@
open EvmAsm.Rv64
+/-- N3 DIV v4 callable wrapper deriving divisor nonzero from the n=3 shape
+ while consuming only selected carry evidence for the actual path. -/
+theorem evm_div_callable_v4_n3_stack_pre_to_callable_post_scratch_shape_selectedCarry
+ (sp base : Word) (a b : EvmWord)
+ (... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8f5b1642f3eb_0 | 2bfe9799c2a8fe43 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/PrecompileDispatch.lean | PrecompileDispatch | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "dispatchAddress?_none_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact dispatchAddress?_none_of_decode?_none decode?_zero",
"n_chars": 62,
"n_subproofs": 0,
"n_tacti... | [
{
"name": "dispatchAddress?_none_of_decode?_none",
"text": "theorem dispatchAddress?_none_of_decode?_none {addr caller : Address}\n {payload out : List (BitVec 8)} {gas : Nat}\n (h_decode : decode? addr = none) :\n dispatchAddress? addr caller payload out gas = none := by\n unfold dispatchAddress?... | [
{
"name": "dispatchAddress?_none_zero",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 6,
"n_chars": 223,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"... | 2 | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | @@ -52,9 +52,17 @@
decode? (0 : Address) = none := by
exact Precompile.ofAddress?_zero
+theorem dispatchAddress?_none_of_decode?_none {addr caller : Address}
+ {payload out : List (BitVec 8)} {gas : Nat}
+ (h_decode : decode? addr = none) :
+ dispatchAddress? addr caller payload out gas = none := by
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8f5b1642f3eb_1 | c58d27c44b88fa17 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/PrecompileDispatch.lean | PrecompileDispatch | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "dispatchAddress?_none_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact dispatchAddress?_none_of_decode?_none decode?_zero",
"n_chars": 62,
"n_subproofs": 0,
"n_tacti... | [
{
"name": "dispatchAddress?_none_of_decode?_none",
"text": "theorem dispatchAddress?_none_of_decode?_none {addr caller : Address}\n {payload out : List (BitVec 8)} {gas : Nat}\n (h_decode : decode? addr = none) :\n dispatchAddress? addr caller payload out gas = none := by\n unfold dispatchAddress?... | [
{
"name": "dispatchAddress?_none_eighteen",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 6,
"n_chars": 234,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | @@ -52,9 +52,17 @@
decode? (0x12 : Address) = none := by
exact Precompile.ofAddress?_eighteen
+theorem dispatchAddress?_none_of_decode?_none {addr caller : Address}
+ {payload out : List (BitVec 8)} {gas : Nat}
+ (h_decode : decode? addr = none) :
+ dispatchAddress? addr caller payload out gas = none... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8f5b1642f3eb_2 | 5a3580369f0e6ce9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/PrecompileDispatch.lean | PrecompileDispatch | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "dispatchAddress?_none_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact dispatchAddress?_none_of_decode?_none decode?_zero",
"n_chars": 62,
"n_subproofs": 0,
"n_tacti... | [
{
"name": "dispatchAddress?_none_of_decode?_none",
"text": "theorem dispatchAddress?_none_of_decode?_none {addr caller : Address}\n {payload out : List (BitVec 8)} {gas : Nat}\n (h_decode : decode? addr = none) :\n dispatchAddress? addr caller payload out gas = none := by\n unfold dispatchAddress?... | [
{
"name": "dispatchAddress?_none_oneHundredOne",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 6,
"n_chars": 245,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": fal... | 2 | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | @@ -52,9 +52,17 @@
decode? (0x101 : Address) = none := by
exact Precompile.ofAddress?_oneHundredOne
+theorem dispatchAddress?_none_of_decode?_none {addr caller : Address}
+ {payload out : List (BitVec 8)} {gas : Nat}
+ (h_decode : decode? addr = none) :
+ dispatchAddress? addr caller payload out gas ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8f5b1642f3eb_3 | 91bdbc21bd7c1f4b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/PrecompileDispatch.lean | PrecompileDispatch | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "dispatchAddress?_address",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [dispatchAddress?, decode?_address p]",
"n_chars": 48,
"n_subproofs": 0,
"n_tactics": 2,
"cyc... | [
{
"name": "decode?_address",
"text": "theorem decode?_address (p : Precompile) :\n decode? p.address = some p := by\n exact Precompile.ofAddress?_address p\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 121,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
... | [
{
"name": "dispatchAddress?_address",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 12,
"n_chars": 354,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"ma... | 1 | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | @@ -48,6 +48,10 @@
gas := gas }
out
+theorem decode?_address (p : Precompile) :
+ decode? p.address = some p := by
+ exact Precompile.ofAddress?_address p
+
theorem dispatchAddress?_address (p : Precompile) (caller : Address)
(payload out : List (BitVec 8)) (gas : Nat) :
dispatchAdd... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8f5b1642f3eb_4 | 246c86fdd8b21228 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/PrecompileDispatch.lean | PrecompileDispatch | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "dispatchAddress?_preservesGasBound",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold dispatchAddress? at h_dispatch\n cases h_decode : decode? addr with\n | none =>\n simp [h_... | [
{
"name": "dispatch?_preservesGasBound",
"text": "theorem dispatch?_preservesGasBound {input : PrecompileInput} {out : List (BitVec 8)}\n {result : PrecompileResult} (h_dispatch : dispatch? input out = some result) :\n PrecompileResult.preservesGasBound input result := by\n unfold dispatch? at h_disp... | [
{
"name": "dispatchAddress?_preservesGasBound",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 13,
"n_chars": 493,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": fal... | 1 | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | /-
EvmAsm.Evm64.PrecompileDispatch
Pure precompile dispatch outcome surface for GH #116.
-/
import EvmAsm.Evm64.PrecompileResult
namespace EvmAsm.Evm64
namespace PrecompileDispatch
/-- Decode a precompile target from an EVM account address. -/
def decode? (addr : Address) : Option Precompile :=
Precompile.of... | @@ -48,6 +48,22 @@
gas := gas }
out
+theorem dispatch?_preservesGasBound {input : PrecompileInput} {out : List (BitVec 8)}
+ {result : PrecompileResult} (h_dispatch : dispatch? input out = some result) :
+ PrecompileResult.preservesGasBound input result := by
+ unfold dispatch? at h_dispatc... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_f93dbe2cc38b_0 | 1f7ddc8a94a0f8ad | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1PathCallbacks.lean | N1PathCallbacks | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "N1AllTruePathEvidence.selectedCarryIfBorrowFactsRaw",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact loopN1CallMaxmaxmaxSelectedCarryIfBorrowFacts_of_selected\n _ _ _ _ _ _ _ _ _ ... | [
{
"name": "N1AllTruePathEvidence.selectedCarryFactsRaw",
"text": "/-- Project the selected call/max/max/max carry facts from all-true n=1 path\n evidence. This consumes only the path-selected `Carry2NzAll` component,\n not a public universal carry theorem. The divisor limbs are left in the\n expand... | [
{
"name": "N1AllTruePathEvidence.selectedCarryIfBorrowFactsRaw",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 32,
"n_chars": 1757,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"aut... | 1 | import EvmAsm.Evm64.EvmWordArith.Div128FinalAssembly
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopCallMax
import EvmAsm.Evm64.DivMod.Spec.N1TrialWitnesses
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Selected all-call path evidence for the n=1 DIV wrapper. This is not the
old universal `Carry2NzAll` target... | import EvmAsm.Evm64.EvmWordArith.Div128FinalAssembly
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopCallMax
import EvmAsm.Evm64.DivMod.Spec.N1TrialWitnesses
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Selected all-call path evidence for the n=1 DIV wrapper. This is not the
old universal `Carry2NzAll` target... | @@ -76,6 +76,59 @@
(b.getLimbN 0) (b.getLimbN 1) (b.getLimbN 2) (b.getLimbN 3) →
N1AllTruePathEvidence a b
+/-- Project the selected call/max/max/max carry facts from all-true n=1 path
+ evidence. This consumes only the path-selected `Carry2NzAll` component,
+ not a public universal carry theorem. The d... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_f93dbe2cc38b_1 | a5bc17a5117ba91b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1PathCallbacks.lean | N1PathCallbacks | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "N1AllTruePathEvidence.selectedCarryFacts",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fullDivN1NormV_getLimbN_eq b]\n exact N1AllTruePathEvidence.selectedCarryFactsRaw hpath",
... | [
{
"name": "fullDivN1NormV_getLimbN_eq",
"text": "theorem fullDivN1NormV_getLimbN_eq (b : EvmWord) :\n fullDivN1NormV (b.getLimbN 0) (b.getLimbN 1)\n (b.getLimbN 2) (b.getLimbN 3) =\n (b.getLimbN 0 <<< (((clzResult (b.getLimbN 0)).1).toNat % 64),\n (b.getLimbN 1 <<< (((clzResult (b.getLimbN 0)... | [
{
"name": "N1AllTruePathEvidence.selectedCarryFacts",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 28,
"n_chars": 1349,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_onl... | 2 | import EvmAsm.Evm64.EvmWordArith.Div128FinalAssembly
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopCallMax
import EvmAsm.Evm64.DivMod.Spec.N1TrialWitnesses
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Selected all-call path evidence for the n=1 DIV wrapper. This is not the
old universal `Carry2NzAll` target... | import EvmAsm.Evm64.EvmWordArith.Div128FinalAssembly
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopCallMax
import EvmAsm.Evm64.DivMod.Spec.N1TrialWitnesses
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Selected all-call path evidence for the n=1 DIV wrapper. This is not the
old universal `Carry2NzAll` target... | @@ -129,6 +129,22 @@
(a.getLimbN 2) (a.getLimbN 3) (b.getLimbN 0)).1
hpath.1
+theorem fullDivN1NormV_getLimbN_eq (b : EvmWord) :
+ fullDivN1NormV (b.getLimbN 0) (b.getLimbN 1)
+ (b.getLimbN 2) (b.getLimbN 3) =
+ (b.getLimbN 0 <<< (((clzResult (b.getLimbN 0)).1).toNat % 64),
+ (b.getLimbN 1 ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_f93dbe2cc38b_2 | f63a0396966258a8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1PathCallbacks.lean | N1PathCallbacks | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "N1AllTruePathEvidence.selectedCarryFacts",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fullDivN1NormV_getLimbN_eq b]\n exact N1AllTruePathEvidence.selectedCarryFactsRaw hpath",
... | [
{
"name": "fullDivN1NormV_getLimbN_eq",
"text": "theorem fullDivN1NormV_getLimbN_eq (b : EvmWord) :\n fullDivN1NormV (b.getLimbN 0) (b.getLimbN 1)\n (b.getLimbN 2) (b.getLimbN 3) =\n (b.getLimbN 0 <<< (((clzResult (b.getLimbN 0)).1).toNat % 64),\n (b.getLimbN 1 <<< (((clzResult (b.getLimbN 0)... | [
{
"name": "N1AllTruePathEvidence.selectedCarryIfBorrowFacts",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 28,
"n_chars": 1386,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automa... | 3 | import EvmAsm.Evm64.EvmWordArith.Div128FinalAssembly
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopCallMax
import EvmAsm.Evm64.DivMod.Spec.N1TrialWitnesses
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Selected all-call path evidence for the n=1 DIV wrapper. This is not the
old universal `Carry2NzAll` target... | import EvmAsm.Evm64.EvmWordArith.Div128FinalAssembly
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopCallMax
import EvmAsm.Evm64.DivMod.Spec.N1TrialWitnesses
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Selected all-call path evidence for the n=1 DIV wrapper. This is not the
old universal `Carry2NzAll` target... | @@ -160,6 +160,22 @@
_ _ _ _ _ _ _ _ _ _ _ _
(N1AllTruePathEvidence.selectedCarryFactsRaw hpath)
+theorem fullDivN1NormV_getLimbN_eq (b : EvmWord) :
+ fullDivN1NormV (b.getLimbN 0) (b.getLimbN 1)
+ (b.getLimbN 2) (b.getLimbN 3) =
+ (b.getLimbN 0 <<< (((clzResult (b.getLimbN 0)).1).toNat % 64),
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_f93dbe2cc38b_3 | b9753875cb70b5c1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1PathCallbacks.lean | N1PathCallbacks | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "N1AllTruePathEvidence.selectedCarryFacts",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fullDivN1NormV_getLimbN_eq b]\n exact N1AllTruePathEvidence.selectedCarryFactsRaw hpath",
... | [
{
"name": "fullDivN1NormV_getLimbN_eq",
"text": "theorem fullDivN1NormV_getLimbN_eq (b : EvmWord) :\n fullDivN1NormV (b.getLimbN 0) (b.getLimbN 1)\n (b.getLimbN 2) (b.getLimbN 3) =\n (b.getLimbN 0 <<< (((clzResult (b.getLimbN 0)).1).toNat % 64),\n (b.getLimbN 1 <<< (((clzResult (b.getLimbN 0)... | [
{
"name": "N1SelectedIfBorrowPathEvidence.ofAllTruePathEvidence",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 12,
"n_chars": 332,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"aut... | 3 | import EvmAsm.Evm64.EvmWordArith.Div128FinalAssembly
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopCallMax
import EvmAsm.Evm64.DivMod.Spec.N1TrialWitnesses
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Selected all-call path evidence for the n=1 DIV wrapper. This is not the
old universal `Carry2NzAll` target... | import EvmAsm.Evm64.EvmWordArith.Div128FinalAssembly
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopCallMax
import EvmAsm.Evm64.DivMod.Spec.N1TrialWitnesses
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Selected all-call path evidence for the n=1 DIV wrapper. This is not the
old universal `Carry2NzAll` target... | @@ -160,6 +160,22 @@
_ _ _ _ _ _ _ _ _ _ _ _
(N1AllTruePathEvidence.selectedCarryFactsRaw hpath)
+theorem fullDivN1NormV_getLimbN_eq (b : EvmWord) :
+ fullDivN1NormV (b.getLimbN 0) (b.getLimbN 1)
+ (b.getLimbN 2) (b.getLimbN 3) =
+ (b.getLimbN 0 <<< (((clzResult (b.getLimbN 0)).1).toNat % 64),
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_75d0c081e590_0 | 5d3632631979509a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutCarryChain.lean | ProductLayoutCarryChain | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "mulModProductLayoutCarryChainHigh4ModEq",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro feed06 feed07 feed08\n have hq := mulModProductLayoutCarryChainQuot4 feed lo30 lo21 lo12 lo... | [
{
"name": "mulModProductLayoutCarryChainQuot4",
"text": "/-- Quotient accumulated by four sequential low-word additions. -/\ntheorem mulModProductLayoutCarryChainQuot4\n (feed lo30 lo21 lo12 lo03 : Nat) :\n let w := 2 ^ 64\n let q0 := (feed + lo30) / w\n let r0 := (feed + lo30) % w\n let q1 :... | [
{
"name": "mulModProductLayoutCarryChainHigh4ModEq",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 23,
"n_chars": 869,
"n_subproofs": 1,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 4,
"n_structural": 1,
"automation_only... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
/-- High word accumulated by the column-3 sequential carry chain. -/
theorem mulModProductLayoutCarryChainHigh4ModEq
(hi feed lo30 mu30 lo21 mu21 lo12 mu12 lo03 mu03 : Nat) :
let feed06 := (feed + lo30) % 2 ^ 64
let feed07 := (feed06 + ... | import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
/-- Quotient accumulated by four sequential low-word additions. -/
theorem mulModProductLayoutCarryChainQuot4
(feed lo30 lo21 lo12 lo03 : Nat) :
let w := 2 ^ 64
let q0 := (feed + lo30) / w
let r0 := (feed + lo30) % w
let q1 := (... | @@ -2,6 +2,39 @@
namespace EvmAsm.Evm64
+/-- Quotient accumulated by four sequential low-word additions. -/
+theorem mulModProductLayoutCarryChainQuot4
+ (feed lo30 lo21 lo12 lo03 : Nat) :
+ let w := 2 ^ 64
+ let q0 := (feed + lo30) / w
+ let r0 := (feed + lo30) % w
+ let q1 := (r0 + lo21) / w
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_75d0c081e590_1 | f6c8e0a321e69068 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutCarryChain.lean | ProductLayoutCarryChain | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "mulModProductLayoutCarryHighFromTwoWordAccumulatorProducts",
"depth": 1,
"n_commands": 0,
"n_lines": 14,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n apply mulModProductLayoutCarryHighFromTwoWordAccumulator\n · exact hlo\n · ex... | [
{
"name": "mulModProductLayoutCarryHighFromTwoWordAccumulator",
"text": "/-- High carry word after adding three 128-bit addends to a two-word accumulator. -/\ntheorem mulModProductLayoutCarryHighFromTwoWordAccumulator\n (lo hi mu20 lo20 mu11 lo11 mu02 lo02 : Nat)\n (hlo : lo < 2 ^ 64) (hhi : hi < 2 ^ ... | [
{
"name": "mulModProductLayoutCarryHighFromTwoWordAccumulatorProducts",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 33,
"n_chars": 1409,
"n_subproofs": 3,
"n_tactics": 14,
"cyclomatic": 1,
"n_automation": 9,
"n_rewrites": 0,
"n_structural": 3,
... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
/-- High carry word when the three addends are known 64x64 product fragments. -/
theorem mulModProductLayoutCarryHighFromTwoWordAccumulatorProducts
(lo hi mu20 lo20 mu11 lo11 mu02 lo02 : Nat)
(hlo : lo < 2 ^ 64) (hhi : hi < 2 ^ 64)
(hp2... | import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
/-- High carry word after adding three 128-bit addends to a two-word accumulator. -/
theorem mulModProductLayoutCarryHighFromTwoWordAccumulator
(lo hi mu20 lo20 mu11 lo11 mu02 lo02 : Nat)
(hlo : lo < 2 ^ 64) (hhi : hi < 2 ^ 64)
(h20 : m... | @@ -2,6 +2,36 @@
namespace EvmAsm.Evm64
+/-- High carry word after adding three 128-bit addends to a two-word accumulator. -/
+theorem mulModProductLayoutCarryHighFromTwoWordAccumulator
+ (lo hi mu20 lo20 mu11 lo11 mu02 lo02 : Nat)
+ (hlo : lo < 2 ^ 64) (hhi : hi < 2 ^ 64)
+ (h20 : mu20 + (lo + lo20) / 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_f512e19d1fe4_0 | 6ec0233529729f48 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/LimbSpec/LoopSetup.lean | LoopSetup | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "divK_loopSetup_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro m cr post\n have hbody := divK_loopSetup_body_spec_within sp n v1 v5 bltOff base\n have hblt_raw := blt... | [
{
"name": "divK_loopSetup_body_spec_within",
"text": "/-- Loop setup body: load n, compute m = 4 - n. 3 straight-line instructions.\n Uses signExtend12 4 directly to match addi_x0_spec_gen + sub_spec_gen output. -/\ntheorem divK_loopSetup_body_spec_within (sp n v1 v5 : Word)\n (bltOff : BitVec 13) (ba... | [
{
"name": "divK_loopSetup_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 60,
"n_chars": 2522,
"n_subproofs": 7,
"n_tactics": 44,
"cyclomatic": 2,
"n_automation": 6,
"n_rewrites": 6,
"n_structural": 3,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.DivMod.LimbSpec.LoopSetup
CPS specs for the Knuth Algorithm D main-loop setup:
* `divK_loopSetup_code` — `CodeReq.ofProg base (divK_loopSetup bltOff)`.
* `divK_loopSetup_body_spec_within` — 3-instruction body (LD n, ADDI x1 = 4,
SUB x1 = 4 - n).
* `divK_loopSetup_spec_within` — fu... | /-
EvmAsm.Evm64.DivMod.LimbSpec.LoopSetup
CPS specs for the Knuth Algorithm D main-loop setup:
* `divK_loopSetup_code` — `CodeReq.ofProg base (divK_loopSetup bltOff)`.
* `divK_loopSetup_body_spec_within` — 3-instruction body (LD n, ADDI x1 = 4,
SUB x1 = 4 - n).
* `divK_loopSetup_spec_within` — fu... | @@ -29,6 +29,26 @@
abbrev divK_loopSetup_code (bltOff : BitVec 13) (base : Word) : CodeReq :=
CodeReq.ofProg base (divK_loopSetup bltOff)
+/-- Loop setup body: load n, compute m = 4 - n. 3 straight-line instructions.
+ Uses signExtend12 4 directly to match addi_x0_spec_gen + sub_spec_gen output. -/
+theorem di... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b9d400d248ec_0 | 99a45531dab45acd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/RLP/Phase1E5FullPath.lean | Phase1E5FullPath | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "rlp_phase1_e5_full_path_spec'_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n rlp_phase1_e5_full_path_spec_within\n v5 v10 v11Old v13 v14Old off1 off2 off3 off4 base\n hv5_lo hv... | [
{
"name": "rlp_phase1_e5_full_path_spec_within",
"text": "/--\n `cpsTripleWithin base (base + 44)` for the full Phase 1 e5 long-list path:\n all Phase 1 cascade steps fall through to `base + 32`, then the Phase 3\n long-list entry seeds the long-form length loop.\n\n Post-state: `x14 = v5 - 0xF7` (lengt... | [
{
"name": "rlp_phase1_e5_full_path_spec'_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 31,
"n_chars": 1697,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 1 | /-
EvmAsm.Rv64.RLP.Phase1E5FullPath
EL.3 full Phase 1 → Phase 3 e5 (long-list) chain.
-/
import EvmAsm.Rv64.RLP.Phase1CascadePrefixE5
import EvmAsm.Rv64.RLP.Phase1Disjoint
import EvmAsm.Rv64.RLP.Phase3LongList
namespace EvmAsm.Rv64.RLP
open EvmAsm.Rv64
open EvmAsm.Rv64.Tactics
theorem rlp_phase1_e5_full_path_s... | /-
EvmAsm.Rv64.RLP.Phase1E5FullPath
EL.3 full Phase 1 → Phase 3 e5 (long-list) chain.
-/
import EvmAsm.Rv64.RLP.Phase1CascadePrefixE5
import EvmAsm.Rv64.RLP.Phase1Disjoint
import EvmAsm.Rv64.RLP.Phase3LongList
namespace EvmAsm.Rv64.RLP
open EvmAsm.Rv64
open EvmAsm.Rv64.Tactics
/--
`cpsTripleWithin base (base... | @@ -13,6 +13,80 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.Tactics
+/--
+ `cpsTripleWithin base (base + 44)` for the full Phase 1 e5 long-list path:
+ all Phase 1 cascade steps fall through to `base + 32`, then the Phase 3
+ long-list entry seeds the long-form length loop.
+
+ Post-state: `x14 = v5 - 0xF7` (length-of... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b9d400d248ec_1 | 5a3d6ff9ee70582a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/RLP/Phase1E5FullPath.lean | Phase1E5FullPath | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "rlp_phase1_e5_full_path_spec'_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n rlp_phase1_e5_full_path_spec_within\n v5 v10 v11Old v13 v14Old off1 off2 off3 off4 base\n hv5_lo hv... | [
{
"name": "rlp_phase1_e5_full_path_spec_within",
"text": "/--\n `cpsTripleWithin base (base + 44)` for the full Phase 1 e5 long-list path:\n all Phase 1 cascade steps fall through to `base + 32`, then the Phase 3\n long-list entry seeds the long-form length loop.\n\n Post-state: `x14 = v5 - 0xF7` (lengt... | [
{
"name": "rlp_phase1_e5_full_path_lenOfLen_of_class_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 87,
"n_chars": 3849,
"n_subproofs": 14,
"n_tactics": 56,
"cyclomatic": 1,
"n_automation": 18,
"n_rewrites": 11,
"n_structural": 1,
... | 2 | /-
EvmAsm.Rv64.RLP.Phase1E5FullPath
EL.3 full Phase 1 → Phase 3 e5 (long-list) chain.
-/
import EvmAsm.Rv64.RLP.Phase1CascadePrefixE5
import EvmAsm.Rv64.RLP.Phase1Disjoint
import EvmAsm.Rv64.RLP.Phase3LongList
namespace EvmAsm.Rv64.RLP
open EvmAsm.Rv64
open EvmAsm.Rv64.Tactics
theorem rlp_phase1_e5_full_path_s... | /-
EvmAsm.Rv64.RLP.Phase1E5FullPath
EL.3 full Phase 1 → Phase 3 e5 (long-list) chain.
-/
import EvmAsm.Rv64.RLP.Phase1CascadePrefixE5
import EvmAsm.Rv64.RLP.Phase1Disjoint
import EvmAsm.Rv64.RLP.Phase3LongList
namespace EvmAsm.Rv64.RLP
open EvmAsm.Rv64
open EvmAsm.Rv64.Tactics
/--
`cpsTripleWithin base (base... | @@ -13,6 +13,80 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.Tactics
+/--
+ `cpsTripleWithin base (base + 44)` for the full Phase 1 e5 long-list path:
+ all Phase 1 cascade steps fall through to `base + 32`, then the Phase 3
+ long-list entry seeds the long-form length loop.
+
+ Post-state: `x14 = v5 - 0xF7` (length-of... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8b89d6c96300_0 | ed7c59577d891e57 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/RLP/FlatListLoopBody.lean | FlatListLoopBody | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 2 | [
{
"theorem_name": "fll_body_post_pure",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hp hpost\n simp only [fll_body_post_unfold] at hpost\n open EvmAsm.Rv64.Tactics in extract_pure hpost\n exact h... | [
{
"name": "fll_body_post_unfold",
"text": "theorem fll_body_post_unfold (regionBase : Word) (bs : List (BitVec 8)) (pfx : Byte)\n (v10New v11New nextPtr cnt' : Word) (P : Prop) :\n fll_body_post regionBase bs pfx v10New v11New nextPtr cnt' P =\n ((.x5 ↦ᵣ pfx.zeroExtend 64) ** (.x0 ↦ᵣ (0 : Word)) **... | [
{
"name": "fll_body_post_pure",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 13,
"n_chars": 572,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"max_nes... | 1 | /-
EvmAsm.Rv64.RLP.FlatListLoopBody
EL.3 — the BODY (one iteration) of an RV64 RLP flat-item list-decode loop.
Each iteration reads the current item's prefix byte from a multi-dword
`bytesRegion` into `x5`, runs the flat reconverged single-item decoder
(`rlp_decode_single_item_reconverged_flat`, passed as a... | /-
EvmAsm.Rv64.RLP.FlatListLoopBody
EL.3 — the BODY (one iteration) of an RV64 RLP flat-item list-decode loop.
Each iteration reads the current item's prefix byte from a multi-dword
`bytesRegion` into `x5`, runs the flat reconverged single-item decoder
(`rlp_decode_single_item_reconverged_flat`, passed as a... | @@ -61,9 +61,21 @@
(.x11 ↦ᵣ v11New) ** (.x13 ↦ᵣ nextPtr) ** (.x14 ↦ᵣ cnt') **
bytesRegion regionBase bs ** ⌜P⌝
+theorem fll_body_post_unfold (regionBase : Word) (bs : List (BitVec 8)) (pfx : Byte)
+ (v10New v11New nextPtr cnt' : Word) (P : Prop) :
+ fll_body_post regionBase bs pfx v10New v11New nextPt... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8b89d6c96300_1 | 94e3a951582b37f8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/RLP/FlatListLoopBody.lean | FlatListLoopBody | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 2 | [
{
"theorem_name": "fll_body_post_pure",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hp hpost\n simp only [fll_body_post_unfold] at hpost\n open EvmAsm.Rv64.Tactics in extract_pure hpost\n exact h... | [
{
"name": "fll_body_post_unfold",
"text": "theorem fll_body_post_unfold (regionBase : Word) (bs : List (BitVec 8)) (pfx : Byte)\n (v10New v11New nextPtr cnt' : Word) (P : Prop) :\n fll_body_post regionBase bs pfx v10New v11New nextPtr cnt' P =\n ((.x5 ↦ᵣ pfx.zeroExtend 64) ** (.x0 ↦ᵣ (0 : Word)) **... | [
{
"name": "fll_body_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 176,
"n_chars": 10873,
"n_subproofs": 19,
"n_tactics": 124,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 6,
"n_structural": 3,
"automation_only": false,
... | 2 | /-
EvmAsm.Rv64.RLP.FlatListLoopBody
EL.3 — the BODY (one iteration) of an RV64 RLP flat-item list-decode loop.
Each iteration reads the current item's prefix byte from a multi-dword
`bytesRegion` into `x5`, runs the flat reconverged single-item decoder
(`rlp_decode_single_item_reconverged_flat`, passed as a... | /-
EvmAsm.Rv64.RLP.FlatListLoopBody
EL.3 — the BODY (one iteration) of an RV64 RLP flat-item list-decode loop.
Each iteration reads the current item's prefix byte from a multi-dword
`bytesRegion` into `x5`, runs the flat reconverged single-item decoder
(`rlp_decode_single_item_reconverged_flat`, passed as a... | @@ -75,6 +75,14 @@
(.x11 ↦ᵣ v11New) ** (.x13 ↦ᵣ nextPtr) ** (.x14 ↦ᵣ cnt') **
bytesRegion regionBase bs ** ⌜P⌝
+theorem fll_body_post_unfold (regionBase : Word) (bs : List (BitVec 8)) (pfx : Byte)
+ (v10New v11New nextPtr cnt' : Word) (P : Prop) :
+ fll_body_post regionBase bs pfx v10New v11New nextPt... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48569d918850_0 | 96a7c5f90812e279 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN4V4.lean | FullPathN4V4 | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 1 | [
{
"theorem_name": "evm_div_n4_full_max_skip_spec_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 43,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b3).1\n let antiShift := signExtend12 (0 : BitVec 12) - shift\n let b3' := (b3 ... | [
{
"name": "evm_div_n4_preloop_max_skip_spec_v4",
"text": "/-- n=4 pre-loop + max+skip loop body over the full `divCode_v4` bundle:\n base -> base+904 (shift != 0). -/\ntheorem evm_div_n4_preloop_max_skip_spec_v4 (sp base : Word)\n (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11Old : Word)\n (q0 q1 q2 q3 ... | [
{
"name": "evm_div_n4_full_max_skip_spec_v4",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 73,
"n_chars": 4018,
"n_subproofs": 5,
"n_tactics": 45,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": fal... | 1 | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Full ... | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- n=4 p... | @@ -8,6 +8,41 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
+/-- n=4 pre-loop + max+skip loop body over the full `divCode_v4` bundle:
+ base -> base+904 (shift != 0). -/
+theorem evm_div_n4_preloop_max_skip_spec_v4 (sp base : Word)
+ (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11O... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48569d918850_1 | 6af8c39133532c94 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN4V4.lean | FullPathN4V4 | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 2 | [
{
"theorem_name": "evm_div_n4_full_call_skip_spec_v4_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 55,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b3).1\n let antiShift := signExtend12 (0 : BitVec 12) - shift\n let b3' ... | [
{
"name": "preloopCallSkipPostN4V4_unfold",
"text": "/-- Unfold `preloopCallSkipPostN4V4` to the expanded sp-relative form used by\n the full-path composition proof. -/\ntheorem preloopCallSkipPostN4V4_unfold\n {sp base a0 a1 a2 a3 b0 b1 b2 b3 scratchMem : Word} :\n preloopCallSkipPostN4V4 sp base ... | [
{
"name": "evm_div_n4_full_call_skip_spec_v4_noNop",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 90,
"n_chars": 4925,
"n_subproofs": 4,
"n_tactics": 55,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 1,
"automation_onl... | 1 | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Full-... | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Unfol... | @@ -8,6 +8,58 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
+/-- Unfold `preloopCallSkipPostN4V4` to the expanded sp-relative form used by
+ the full-path composition proof. -/
+theorem preloopCallSkipPostN4V4_unfold
+ {sp base a0 a1 a2 a3 b0 b1 b2 b3 scratchMem : 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_48569d918850_2 | a869a8f965a3892b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN4V4.lean | FullPathN4V4 | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 1 | [
{
"theorem_name": "evm_div_n4_full_call_skip_spec_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 56,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b3).1\n let antiShift := signExtend12 (0 : BitVec 12) - shift\n let b3' := (b3... | [
{
"name": "evm_div_n4_preloop_call_skip_spec_v4",
"text": "/-- n=4 pre-loop + call+skip loop body over the full `divCode_v4` bundle. -/\ntheorem evm_div_n4_preloop_call_skip_spec_v4 (sp base : Word)\n (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11Old : Word)\n (q0 q1 q2 q3 u0Old u1Old u2Old u3Old u4Old u5 ... | [
{
"name": "evm_div_n4_full_call_skip_spec_v4",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 91,
"n_chars": 4970,
"n_subproofs": 5,
"n_tactics": 56,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": fa... | 2 | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Unfol... | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- n=4 p... | @@ -8,6 +8,48 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
+/-- n=4 pre-loop + call+skip loop body over the full `divCode_v4` bundle. -/
+theorem evm_div_n4_preloop_call_skip_spec_v4 (sp base : Word)
+ (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11Old : Word)
+ (q0 q1 q2 q3 u0Old... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48569d918850_3 | 06b51f9e3284e376 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN4V4.lean | FullPathN4V4 | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 1 | [
{
"theorem_name": "evm_div_n4_full_call_addback_beq_spec_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 71,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b3).1\n let antiShift := signExtend12 (0 : BitVec 12) - shift\n let b3'... | [
{
"name": "evm_div_n4_preloop_call_addback_beq_spec_v4",
"text": "/-- n=4 pre-loop + call+addback BEQ loop body over the full `divCode_v4` bundle. -/\ntheorem evm_div_n4_preloop_call_addback_beq_spec_v4 (sp base : Word)\n (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11Old : Word)\n (q0 q1 q2 q3 u0Old u1Old ... | [
{
"name": "evm_div_n4_full_call_addback_beq_spec_v4",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 105,
"n_chars": 5934,
"n_subproofs": 5,
"n_tactics": 71,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 5,
"n_structural": 1,
"automation_o... | 2 | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Unfol... | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- n=4 p... | @@ -8,6 +8,44 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
+/-- n=4 pre-loop + call+addback BEQ loop body over the full `divCode_v4` bundle. -/
+theorem evm_div_n4_preloop_call_addback_beq_spec_v4 (sp base : Word)
+ (a0 a1 a2 a3 b0 b1 b2 b3 v5 v6 v7 v10 v11Old : Word)
+ (q0 ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_48569d918850_4 | 60baa0ad2a8cfa51 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN4V4.lean | FullPathN4V4 | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 2 | [
{
"theorem_name": "evm_div_n4_full_call_addback_beq_spec_v4",
"depth": 1,
"n_commands": 0,
"n_lines": 71,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b3).1\n let antiShift := signExtend12 (0 : BitVec 12) - shift\n let b3'... | [
{
"name": "preloopCallAddbackBeqPostN4V4_unfold",
"text": "/-- Unfold `preloopCallAddbackBeqPostN4V4` to the expanded sp-relative form\n used by the full-path addback composition proof. -/\ntheorem preloopCallAddbackBeqPostN4V4_unfold\n {sp base a0 a1 a2 a3 b0 b1 b2 b3 scratchMem : Word} :\n preloo... | [
{
"name": "evm_div_n4_full_call_addback_beq_spec_v4_noNop",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 103,
"n_chars": 5888,
"n_subproofs": 4,
"n_tactics": 70,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 5,
"n_structural": 1,
"automa... | 1 | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Full-... | import EvmAsm.Evm64.DivMod.Compose.FullPathN4V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4CallV4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN4BeqV4NoNop
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
/-- Unfol... | @@ -8,6 +8,35 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
+/-- Unfold `preloopCallAddbackBeqPostN4V4` to the expanded sp-relative form
+ used by the full-path addback composition proof. -/
+theorem preloopCallAddbackBeqPostN4V4_unfold
+ {sp base a0 a1 a2 a3 b0 b1 b2 b3 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_0da05a6b1676_0 | 5c9ae99dab722cf7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/And/Spec.lean | Spec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "evm_and_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 15,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_main := evm_and_spec_within sp base\n (a.getLimbN 0) (a.getLimbN 1) (a.getLimbN 2) (a.getLimbN 3)\n ... | [
{
"name": "evm_and_spec_within",
"text": "/-- Full 256-bit EVM AND: composes 4 per-limb AND specs + sp adjustment.\n 17 instructions total. Pops 2 stack words (A at sp, B at sp+32),\n writes A &&& B to sp+32..sp+56, advances sp by 32. -/\ntheorem evm_and_spec_within (sp base : Word)\n (a0 a1 a2 a3 ... | [
{
"name": "evm_and_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 28,
"n_chars": 1090,
"n_subproofs": 1,
"n_tactics": 15,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.And.Spec
Full 256-bit EVM AND spec.
-/
-- `And.LimbSpec → And.Program → Stack → SpAddr`.
import EvmAsm.Evm64.And.LimbSpec
import EvmAsm.Evm64.And.Program
import EvmAsm.Evm64.Stack
import EvmAsm.Rv64.Tactics.XSimp
namespace EvmAsm.Evm64
open EvmAsm.Rv64
-- =======================================... | /-
EvmAsm.Evm64.And.Spec
Full 256-bit EVM AND spec.
-/
-- `And.LimbSpec → And.Program → Stack → SpAddr`.
import EvmAsm.Evm64.And.LimbSpec
import EvmAsm.Evm64.And.Program
import EvmAsm.Evm64.Stack
import EvmAsm.Rv64.Tactics.XSimp
namespace EvmAsm.Evm64
open EvmAsm.Rv64
-- =======================================... | @@ -23,6 +23,32 @@
abbrev evm_and_code (base : Word) : CodeReq :=
CodeReq.ofProg base evm_and
+/-- Full 256-bit EVM AND: composes 4 per-limb AND specs + sp adjustment.
+ 17 instructions total. Pops 2 stack words (A at sp, B at sp+32),
+ writes A &&& B to sp+32..sp+56, advances sp by 32. -/
+theorem evm_and_... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af83aec4e0a7_0 | 14d1bada4194ee25 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MptAssertions.lean | MptAssertions | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 1 | [
{
"theorem_name": "hpDecode_hpEncodeAux_ext",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold hpEncodeAux\n by_cases hodd : nibs.length % 2 = 1\n · rw [if_pos hodd]\n cases nibs with\n | nil =... | [
{
"name": "hpDecode_cons_div1",
"text": "theorem hpDecode_cons_div1 (b0 : BitVec 8) (rest : List (BitVec 8))\n (h : b0.toNat / 16 = 1) :\n hpDecode (b0 :: rest) =\n some (false, BitVec.ofNat 8 (b0.toNat % 16) :: hpUnpackPairs rest) := by\n show (match b0.toNat / 16 with\n | 0 => some (false, ... | [
{
"name": "hpDecode_hpEncodeAux_ext",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 28,
"n_chars": 1154,
"n_subproofs": 4,
"n_tactics": 26,
"cyclomatic": 2,
"n_automation": 11,
"n_rewrites": 9,
"n_structural": 1,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | @@ -165,6 +165,18 @@
| _ => none) = _
rw [h]
+theorem hpDecode_cons_div1 (b0 : BitVec 8) (rest : List (BitVec 8))
+ (h : b0.toNat / 16 = 1) :
+ hpDecode (b0 :: rest) =
+ some (false, BitVec.ofNat 8 (b0.toNat % 16) :: hpUnpackPairs rest) := by
+ show (match b0.toNat / 16 with
+ | 0 => some (fals... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af83aec4e0a7_1 | 7f432fdcb6250c61 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MptAssertions.lean | MptAssertions | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 1 | [
{
"theorem_name": "hpDecode_hpEncodeAux_leaf",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold hpEncodeAux\n by_cases hodd : nibs.length % 2 = 1\n · rw [if_pos hodd]\n cases nibs with\n | nil ... | [
{
"name": "hpDecode_cons_div3",
"text": "theorem hpDecode_cons_div3 (b0 : BitVec 8) (rest : List (BitVec 8))\n (h : b0.toNat / 16 = 3) :\n hpDecode (b0 :: rest) =\n some (true, BitVec.ofNat 8 (b0.toNat % 16) :: hpUnpackPairs rest) := by\n show (match b0.toNat / 16 with\n | 0 => some (false, h... | [
{
"name": "hpDecode_hpEncodeAux_leaf",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 28,
"n_chars": 1148,
"n_subproofs": 4,
"n_tactics": 26,
"cyclomatic": 2,
"n_automation": 11,
"n_rewrites": 9,
"n_structural": 1,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | @@ -165,6 +165,18 @@
| _ => none) = _
rw [h]
+theorem hpDecode_cons_div3 (b0 : BitVec 8) (rest : List (BitVec 8))
+ (h : b0.toNat / 16 = 3) :
+ hpDecode (b0 :: rest) =
+ some (true, BitVec.ofNat 8 (b0.toNat % 16) :: hpUnpackPairs rest) := by
+ show (match b0.toNat / 16 with
+ | 0 => some (false... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af83aec4e0a7_2 | e12d10fadb7e2682 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MptAssertions.lean | MptAssertions | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 1 | [
{
"theorem_name": "hpDecode_hpEncode",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n cases isLeaf with\n | false => exact hpDecode_hpEncodeAux_ext nibs hn\n | true => exact hpDecode_hpEncodeAux_leaf nibs ... | [
{
"name": "hpDecode_hpEncodeAux_leaf",
"text": "/-- Round trip at the leaf flag. -/\ntheorem hpDecode_hpEncodeAux_leaf (nibs : List (BitVec 8))\n (hn : ∀ n ∈ nibs, n.toNat < 16) :\n hpDecode (hpEncodeAux 2 nibs) = some (true, nibs) := by\n unfold hpEncodeAux\n by_cases hodd : nibs.length % 2 = 1\n ... | [
{
"name": "hpDecode_hpEncode",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 10,
"n_chars": 437,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 2,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 3,
"automation_only": false,
"max_nest... | 6 | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | @@ -253,6 +253,33 @@
rw [hpDecode_cons_div0 _ _ hdiv,
hpUnpackPairs_hpPackPairs nibs hn (by omega)]
+/-- Round trip at the leaf flag. -/
+theorem hpDecode_hpEncodeAux_leaf (nibs : List (BitVec 8))
+ (hn : ∀ n ∈ nibs, n.toNat < 16) :
+ hpDecode (hpEncodeAux 2 nibs) = some (true, nibs) := by
+ unfo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af83aec4e0a7_3 | b925c63217abbfd9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MptAssertions.lean | MptAssertions | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 1 | [
{
"theorem_name": "hpEncode_length_le",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n hpEncodeAux_length_le _ nibs",
"n_chars": 31,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_aut... | [
{
"name": "hpEncodeAux_length_le",
"text": "theorem hpEncodeAux_length_le (flag : Nat) (nibs : List (BitVec 8)) :\n (hpEncodeAux flag nibs).length ≤ nibs.length + 1 := by\n unfold hpEncodeAux\n by_cases hodd : nibs.length % 2 = 1\n · rw [if_pos hodd]\n have h1 := hpPackPairs_length_le nibs.tail\n ... | [
{
"name": "hpEncode_length_le",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 5,
"n_chars": 159,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_nest... | 1 | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | @@ -257,8 +257,24 @@
simp only [hpPackPairs, List.length_cons]
omega
+theorem hpEncodeAux_length_le (flag : Nat) (nibs : List (BitVec 8)) :
+ (hpEncodeAux flag nibs).length ≤ nibs.length + 1 := by
+ unfold hpEncodeAux
+ by_cases hodd : nibs.length % 2 = 1
+ · rw [if_pos hodd]
+ have h1 := hpPackPai... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af83aec4e0a7_4 | 9babf2b5fa18cd1d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MptAssertions.lean | MptAssertions | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 1 | [
{
"theorem_name": "MptNode.rlp_length_lt",
"depth": 1,
"n_commands": 0,
"n_lines": 107,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n cases n with\n | leaf p v =>\n obtain ⟨hp, hplen, hvlen⟩ := hwf\n have hpath := hpEncode_length_le true p\n ... | [
{
"name": "hpEncode_length_le",
"text": "theorem hpEncode_length_le (isLeaf : Bool) (nibs : List (BitVec 8)) :\n (hpEncode isLeaf nibs).length ≤ nibs.length + 1 :=\n hpEncodeAux_length_le _ nibs\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 159,
"n_subproofs": 0,
"n_tactics": 1,
"c... | [
{
"name": "MptNode.rlp_length_lt",
"fan_in": 4,
"n_deps_direct": 3,
"n_deps_transitive": 4,
"n_lines": 113,
"n_chars": 4880,
"n_subproofs": 21,
"n_tactics": 109,
"cyclomatic": 7,
"n_automation": 31,
"n_rewrites": 21,
"n_structural": 8,
"automation_only": false,
... | 4 | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | @@ -306,9 +306,119 @@
simp only [List.length_cons]
omega
+theorem hpEncode_length_le (isLeaf : Bool) (nibs : List (BitVec 8)) :
+ (hpEncode isLeaf nibs).length ≤ nibs.length + 1 :=
+ hpEncodeAux_length_le _ nibs
+
/-- Every well-formed node's RLP is far below the full-decode bound. -/
theorem MptNode.... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af83aec4e0a7_5 | 0e9f3f27002f8e9b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MptAssertions.lean | MptAssertions | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 1 | [
{
"theorem_name": "mptNodeKindSpec_rlp",
"depth": 1,
"n_commands": 0,
"n_lines": 40,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hdec := decodeFully_encode n.rlpItem (n.rlp_length_lt hwf)\n unfold mptNodeKindSpec\n rw [show n.rlp = encode n... | [
{
"name": "hpEncodeAux_head_div",
"text": "/-- The head byte of a hex-prefix encoding carries `flag + parity` in its\n high nibble — the discriminator `mpt_node_kind` reads. -/\ntheorem hpEncodeAux_head_div (flag : Nat) (hflag : flag ≤ 2)\n (nibs : List (BitVec 8)) (hn : ∀ n ∈ nibs, n.toNat < 16) :\n ... | [
{
"name": "mptNodeKindSpec_rlp",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 47,
"n_chars": 2075,
"n_subproofs": 8,
"n_tactics": 40,
"cyclomatic": 4,
"n_automation": 13,
"n_rewrites": 17,
"n_structural": 6,
"automation_only": false,
"ma... | 1 | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | @@ -180,6 +180,29 @@
show a :: b :: hpUnpackPairs (hpPackPairs rest) = a :: b :: rest
rw [ih]
+/-- The head byte of a hex-prefix encoding carries `flag + parity` in its
+ high nibble — the discriminator `mpt_node_kind` reads. -/
+theorem hpEncodeAux_head_div (flag : Nat) (hflag : flag ≤ 2)
+ (nibs : 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_af83aec4e0a7_6 | ede809918318c2a9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MptAssertions.lean | MptAssertions | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "nodeDbIs_append",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction xs generalizing base with\n | nil =>\n simp only [List.nil_append, nodeDbIs_nil, sepConj_emp_left', nodeDbSi... | [
{
"name": "nodeDbIs_nil",
"text": "theorem nodeDbIs_nil {base : Word} : nodeDbIs base [] = empAssertion := rfl\n\n",
"fan_in": 2,
"n_lines": 3,
"n_chars": 77,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"au... | [
{
"name": "nodeDbIs_append",
"fan_in": 1,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 17,
"n_chars": 808,
"n_subproofs": 0,
"n_tactics": 10,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 4,
"n_structural": 1,
"automation_only": false,
"max_nesti... | 2 | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | @@ -330,6 +330,8 @@
def nodeDbTopIs (topLoc base : Word) (nodes : List (List (BitVec 8))) : Assertion :=
topLoc ↦ₘ (base + BitVec.ofNat 64 (nodeDbSize nodes))
+theorem nodeDbIs_nil {base : Word} : nodeDbIs base [] = empAssertion := rfl
+
theorem nodeDbIs_cons {base : Word} {n : List (BitVec 8)}
{rest : List... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af83aec4e0a7_7 | bc0eaeefcdf51c28 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MptAssertions.lean | MptAssertions | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 1 | [
{
"theorem_name": "nodeDbIs_snoc",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [nodeDbIs_append]\n congr 1\n rw [nodeDbIs_cons, nodeDbIs_nil, sepConj_emp_right']",
"n_chars": 91,
"n_subproofs... | [
{
"name": "nodeDbIs_append",
"text": "/-- Split the record log: records of `xs ++ ys` are the records of `xs`\n from `base` and those of `ys` from `base + nodeDbSize xs`. The scan\n and append lemmas both come from this. -/\ntheorem nodeDbIs_append (base : Word) (xs ys : List (List (BitVec 8))) :\n ... | [
{
"name": "nodeDbIs_snoc",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 5,
"n_lines": 15,
"n_chars": 592,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 3,
"n_structural": 0,
"automation_only": false,
"max_nesting"... | 3 | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | /-
EvmAsm.Evm64.MptAssertions
Separation-logic assertions for the guest's MPT node structures: the
RLP node shapes the MPT walkers parse, and the appended node DB the
MPT-set write path builds.
## Layout faithfulness — what the guest ACTUALLY keeps
**Important**: the reserved scheme-A anchor `NODE_DB_BUC... | @@ -353,6 +353,22 @@
instance (topLoc base : Word) (nodes : List (List (BitVec 8))) :
Assertion.PCFree (nodeDbTopIs topLoc base nodes) := ⟨pcFree_memIs⟩
+/-- Split the record log: records of `xs ++ ys` are the records of `xs`
+ from `base` and those of `ys` from `base + nodeDbSize xs`. The scan
+ and appe... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8e9ef986f928_0 | 33ed6d8c0350fa4b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N2V5QuotientLane.lean | N2V5QuotientLane | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "div_getLimbN_eq_digit_n2_v5",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hw := fullDivN2QuotientWordV5_eq_div_lane bltu_2 bltu_1 bltu_0\n ha0 ha1 ha2 ha3 hb0 hb1 hb2 hb3 hbnz h... | [
{
"name": "fullDivN2QuotientWordV5_eq_div_lane",
"text": "theorem fullDivN2QuotientWordV5_eq_div_lane\n (bltu_2 bltu_1 bltu_0 : Bool) {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 (ha2 : a.getLimbN 2 = a2) (ha3 : a.getLimbN 3 = a3)\n ... | [
{
"name": "div_getLimbN_eq_digit_n2_v5",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 39,
"n_chars": 2335,
"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.N2V5QuotientLane
EvmWord-level v5 n=2 quotient bridge: for the lane's `a b : EvmWord`, given the
per-digit conservation (`hmulsub`) and quotient lower bound (`hge`),
`fullDivN2QuotientWordV5 = EvmWord.div a b`, and each `div` limb equals the
corresponding v5 n=2 schoolbook digit. ... | /-
EvmAsm.Evm64.DivMod.Spec.N2V5QuotientLane
EvmWord-level v5 n=2 quotient bridge: for the lane's `a b : EvmWord`, given the
per-digit conservation (`hmulsub`) and quotient lower bound (`hge`),
`fullDivN2QuotientWordV5 = EvmWord.div a b`, and each `div` limb equals the
corresponding v5 n=2 schoolbook digit. ... | @@ -18,6 +18,40 @@
open EvmAsm.Rv64
open EvmWord
+theorem fullDivN2QuotientWordV5_eq_div_lane
+ (bltu_2 bltu_1 bltu_0 : Bool) {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 = a2) (ha3 : a.getLimbN 3 = a3)
+ (hb0 : b.getLi... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e4b0836fbabf_0 | c646d46df3c6a1c5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Terminating/ReturnWindowLoopSpec.lean | ReturnWindowLoopSpec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 2 | [
{
"theorem_name": "returnZeroLoop_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 116,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- Code-inclusion (mono) lemmas for the five loop instructions.\n have hmono0 : ∀ a i', CodeReq.singleton bas... | [
{
"name": "rw_word_succ_ne_zero",
"text": "/-- A successor counter `< 2^64` is nonzero as a word. -/\nprivate theorem rw_word_succ_ne_zero (n : Nat) (h : n + 1 < 18446744073709551616) :\n BitVec.ofNat 64 (n + 1) ≠ (0 : Word) := by\n have ht : (BitVec.ofNat 64 (n + 1) : Word).toNat = n + 1 := by\n rw ... | [
{
"name": "returnZeroLoop_spec_within",
"fan_in": 0,
"n_deps_direct": 5,
"n_deps_transitive": 5,
"n_lines": 138,
"n_chars": 8050,
"n_subproofs": 39,
"n_tactics": 110,
"cyclomatic": 2,
"n_automation": 30,
"n_rewrites": 22,
"n_structural": 8,
"automation_only": fals... | 4 | /-
EvmAsm.Evm64.Terminating.ReturnWindowLoopSpec
The three loops of the standalone (`depthAware = false`) `RETURN` (0xf3) /
`REVERT` (0xfd) return-data descriptor window that precedes the shared halt
core (`ReturnHaltProgram`/`ReturnHaltSpec`):
1. `returnZeroLoop` — the 22-word descriptor-body zeroing loop
... | /-
EvmAsm.Evm64.Terminating.ReturnWindowLoopSpec
The three loops of the standalone (`depthAware = false`) `RETURN` (0xf3) /
`REVERT` (0xfd) return-data descriptor window that precedes the shared halt
core (`ReturnHaltProgram`/`ReturnHaltSpec`):
1. `returnZeroLoop` — the 22-word descriptor-body zeroing loop
... | @@ -98,6 +98,15 @@
rw [BitVec.toNat_add, hs, BitVec.toNat_ofNat, BitVec.toNat_ofNat]
omega
+/-- A successor counter `< 2^64` is nonzero as a word. -/
+private theorem rw_word_succ_ne_zero (n : Nat) (h : n + 1 < 18446744073709551616) :
+ BitVec.ofNat 64 (n + 1) ≠ (0 : Word) := by
+ have ht : (BitVec.ofNat 64... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e4b0836fbabf_1 | 15f2d13edd4bffd6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Terminating/ReturnWindowLoopSpec.lean | ReturnWindowLoopSpec | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 1 | [
{
"theorem_name": "returnCopyLoop_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 191,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hmono0 : ∀ a i', CodeReq.singleton base (.BEQ .x22 .x0 (BitVec.ofNat 13 28)) a = some i'\n → CodeReq... | [
{
"name": "cl_advance",
"text": "/-- Pointer advance by 1 byte. -/\nprivate theorem cl_advance (b : Word) (m : Nat) :\n (b + BitVec.ofNat 64 m) + signExtend12 (1 : BitVec 12) = b + BitVec.ofNat 64 (m + 1) := by\n rw [show signExtend12 (1 : BitVec 12) = (1 : Word) from by decide]; bv_omega\n\n",
"fan... | [
{
"name": "returnCopyLoop_spec_within",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 222,
"n_chars": 13287,
"n_subproofs": 53,
"n_tactics": 189,
"cyclomatic": 2,
"n_automation": 45,
"n_rewrites": 32,
"n_structural": 10,
"automation_only": fa... | 3 | /-
EvmAsm.Evm64.Terminating.ReturnWindowLoopSpec
The three loops of the standalone (`depthAware = false`) `RETURN` (0xf3) /
`REVERT` (0xfd) return-data descriptor window that precedes the shared halt
core (`ReturnHaltProgram`/`ReturnHaltSpec`):
1. `returnZeroLoop` — the 22-word descriptor-body zeroing loop
... | /-
EvmAsm.Evm64.Terminating.ReturnWindowLoopSpec
The three loops of the standalone (`depthAware = false`) `RETURN` (0xf3) /
`REVERT` (0xfd) return-data descriptor window that precedes the shared halt
core (`ReturnHaltProgram`/`ReturnHaltSpec`):
1. `returnZeroLoop` — the 22-word descriptor-body zeroing loop
... | @@ -145,6 +145,11 @@
| zero => rfl
| succ k ih => simp only [copyIntoRegion, List.length_set, ih]
+/-- Pointer advance by 1 byte. -/
+private theorem cl_advance (b : Word) (m : Nat) :
+ (b + BitVec.ofNat 64 m) + signExtend12 (1 : BitVec 12) = b + BitVec.ofNat 64 (m + 1) := by
+ rw [show signExtend12 (1 : Bi... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_aaf6649d53c5_0 | 163bada043afdb8c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Blake2fPrecompileDispatch.lean | Blake2fPrecompileDispatch | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "dispatch_success_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatch_success accelerator h_target h_len h_gas h_flag h_status]\n simp [Blake2fResultBridge.outputBy... | [
{
"name": "dispatch_success",
"text": "theorem dispatch_success\n (accelerator : Blake2fInputBridge.AcceleratorInput →\n EvmAsm.Accelerators.ZkvmStatus × Blake2fResultBridge.AcceleratorOutput)\n {input : EvmAsm.Evm64.PrecompileInput}\n (h_target : input.target = .blake2f)\n (h_len : validIn... | [
{
"name": "dispatch_success_output_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 15,
"n_chars": 701,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.EL.Blake2fPrecompileDispatch
Pure EVM BLAKE2F precompile framing. The compression result is supplied by
the zkVM accelerator boundary; this module fixes the execution-specs-visible
validation, gas charge, input slicing, and returndata shape.
-/
import EvmAsm.EL.Blake2fPrecompileResultBridge
import E... | /-
EvmAsm.EL.Blake2fPrecompileDispatch
Pure EVM BLAKE2F precompile framing. The compression result is supplied by
the zkVM accelerator boundary; this module fixes the execution-specs-visible
validation, gas charge, input slicing, and returndata shape.
-/
import EvmAsm.EL.Blake2fPrecompileResultBridge
import E... | @@ -104,6 +104,28 @@
else
EvmAsm.Evm64.PrecompileResult.fail input.gas
+theorem dispatch_success
+ (accelerator : Blake2fInputBridge.AcceleratorInput →
+ EvmAsm.Accelerators.ZkvmStatus × Blake2fResultBridge.AcceleratorOutput)
+ {input : EvmAsm.Evm64.PrecompileInput}
+ (h_target : input.target = ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_3753b7d1b581_0 | 887bf0ec38650fd6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SMod/StackExecutionBridge.lean | StackExecutionBridge | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 6 | [
{
"theorem_name": "runSModStack?_eq_some_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 26,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · cases state with\n | mk stack =>\n cases stack with\n | nil =>\n si... | [
{
"name": "runSModStack?_cons",
"text": "theorem runSModStack?_cons\n (dividend divisor : EvmWord) (rest : List EvmWord) :\n runSModStack? { stack := dividend :: divisor :: rest } =\n some\n { effects :=\n { stackWords := [SModArgs.smodResultFromArgs\n (SModArgs.s... | [
{
"name": "runSModStack?_eq_some_iff",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 37,
"n_chars": 1344,
"n_subproofs": 0,
"n_tactics": 26,
"cyclomatic": 8,
"n_automation": 6,
"n_rewrites": 2,
"n_structural": 10,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | @@ -39,6 +39,15 @@
{ effects := { stackWords := [SModArgs.smodResultFromArgs args] }
stack := rest }
+theorem runSModStack?_cons
+ (dividend divisor : EvmWord) (rest : List EvmWord) :
+ runSModStack? { stack := dividend :: divisor :: rest } =
+ some
+ { effects :=
+ { stackWor... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_3753b7d1b581_1 | 86777aa3992d6efb | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SMod/StackExecutionBridge.lean | StackExecutionBridge | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 6 | [
{
"theorem_name": "runSModStack?_eq_some_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 26,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · cases state with\n | mk stack =>\n cases stack with\n | nil =>\n si... | [
{
"name": "runSModStack?_cons",
"text": "theorem runSModStack?_cons\n (dividend divisor : EvmWord) (rest : List EvmWord) :\n runSModStack? { stack := dividend :: divisor :: rest } =\n some\n { effects :=\n { stackWords := [SModArgs.smodResultFromArgs\n (SModArgs.s... | [
{
"name": "runSModStack?_zero_divisor",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 283,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"... | 1 | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | @@ -39,10 +39,21 @@
{ effects := { stackWords := [SModArgs.smodResultFromArgs args] }
stack := rest }
+theorem runSModStack?_cons
+ (dividend divisor : EvmWord) (rest : List EvmWord) :
+ runSModStack? { stack := dividend :: divisor :: rest } =
+ some
+ { effects :=
+ { stackWo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_3753b7d1b581_2 | 1f819f3c5b13569d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SMod/StackExecutionBridge.lean | StackExecutionBridge | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 6 | [
{
"theorem_name": "runSModStack?_eq_some_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 26,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · cases state with\n | mk stack =>\n cases stack with\n | nil =>\n si... | [
{
"name": "runSModStack?_cons",
"text": "theorem runSModStack?_cons\n (dividend divisor : EvmWord) (rest : List EvmWord) :\n runSModStack? { stack := dividend :: divisor :: rest } =\n some\n { effects :=\n { stackWords := [SModArgs.smodResultFromArgs\n (SModArgs.s... | [
{
"name": "runSModStack?_intMin_neg_one",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 288,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | @@ -39,10 +39,21 @@
{ effects := { stackWords := [SModArgs.smodResultFromArgs args] }
stack := rest }
+theorem runSModStack?_cons
+ (dividend divisor : EvmWord) (rest : List EvmWord) :
+ runSModStack? { stack := dividend :: divisor :: rest } =
+ some
+ { effects :=
+ { stackWo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_3753b7d1b581_3 | 5aa5ee0778b59269 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SMod/StackExecutionBridge.lean | StackExecutionBridge | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 6 | [
{
"theorem_name": "runSModStack?_eq_some_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 26,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · cases state with\n | mk stack =>\n cases stack with\n | nil =>\n si... | [
{
"name": "runSModStack?_cons",
"text": "theorem runSModStack?_cons\n (dividend divisor : EvmWord) (rest : List EvmWord) :\n runSModStack? { stack := dividend :: divisor :: rest } =\n some\n { effects :=\n { stackWords := [SModArgs.smodResultFromArgs\n (SModArgs.s... | [
{
"name": "runSModStack?_neg_pos_sign",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 281,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"... | 1 | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | @@ -39,10 +39,21 @@
{ effects := { stackWords := [SModArgs.smodResultFromArgs args] }
stack := rest }
+theorem runSModStack?_cons
+ (dividend divisor : EvmWord) (rest : List EvmWord) :
+ runSModStack? { stack := dividend :: divisor :: rest } =
+ some
+ { effects :=
+ { stackWo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_3753b7d1b581_4 | 237cac7b20040376 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SMod/StackExecutionBridge.lean | StackExecutionBridge | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 6 | [
{
"theorem_name": "runSModStack?_eq_some_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 26,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · cases state with\n | mk stack =>\n cases stack with\n | nil =>\n si... | [
{
"name": "runSModStack?_cons",
"text": "theorem runSModStack?_cons\n (dividend divisor : EvmWord) (rest : List EvmWord) :\n runSModStack? { stack := dividend :: divisor :: rest } =\n some\n { effects :=\n { stackWords := [SModArgs.smodResultFromArgs\n (SModArgs.s... | [
{
"name": "runSModStack?_pos_neg_sign",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 292,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"... | 1 | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | @@ -39,10 +39,21 @@
{ effects := { stackWords := [SModArgs.smodResultFromArgs args] }
stack := rest }
+theorem runSModStack?_cons
+ (dividend divisor : EvmWord) (rest : List EvmWord) :
+ runSModStack? { stack := dividend :: divisor :: rest } =
+ some
+ { effects :=
+ { stackWo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_3753b7d1b581_5 | 8e01f06613524ae8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SMod/StackExecutionBridge.lean | StackExecutionBridge | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 6 | [
{
"theorem_name": "runSModStack?_eq_some_iff",
"depth": 1,
"n_commands": 0,
"n_lines": 26,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n constructor\n · cases state with\n | mk stack =>\n cases stack with\n | nil =>\n si... | [
{
"name": "runSModStack?_cons",
"text": "theorem runSModStack?_cons\n (dividend divisor : EvmWord) (rest : List EvmWord) :\n runSModStack? { stack := dividend :: divisor :: rest } =\n some\n { effects :=\n { stackWords := [SModArgs.smodResultFromArgs\n (SModArgs.s... | [
{
"name": "runSModStack?_neg_neg_sign",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 294,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"... | 1 | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | /-
EvmAsm.Evm64.SMod.StackExecutionBridge
Pure stack-execution bridge for SMOD (GH #90).
-/
import EvmAsm.Evm64.SMod.ArgsStackDecode
namespace EvmAsm.Evm64
namespace SModStackExecutionBridge
/-- Caller-visible stack effects of SMOD at the executable-spec layer. -/
structure SModVisibleEffects where
stackWords... | @@ -39,10 +39,21 @@
{ effects := { stackWords := [SModArgs.smodResultFromArgs args] }
stack := rest }
+theorem runSModStack?_cons
+ (dividend divisor : EvmWord) (rest : List EvmWord) :
+ runSModStack? { stack := dividend :: divisor :: rest } =
+ some
+ { effects :=
+ { stackWo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_2751a9922dbc_0 | faef90aaf2a4415a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Proofs/GuardedHandlerSpecs.lean | GuardedHandlerSpecs | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "guardedCleanRetHandlerSpec",
"depth": 1,
"n_commands": 0,
"n_lines": 152,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- Split the full CodeReq into check / halt / clean-ret regions.\n have hsplit : guardedCleanRetHandlerCode b... | [
{
"name": "stackGuardBranch",
"text": "/-- The first 5 guard instructions as a two-exit branch spec.\n\n Under the `la` reconstruction hypothesis `hla1` (AUIPC+ADDI resolve to\n the `evm_cur_stack_top` cell address), the block loads the stack-top\n value `curTop`, computes `curTop + signExtend12 ne... | [
{
"name": "guardedCleanRetHandlerSpec",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 206,
"n_chars": 10013,
"n_subproofs": 25,
"n_tactics": 151,
"cyclomatic": 9,
"n_automation": 4,
"n_rewrites": 23,
"n_structural": 41,
"automation_only": fal... | 3 | /-
EvmAsm.Codegen.Proofs.GuardedHandlerSpecs
Raw-triple layer for the stack-underflow guard prologue (bead evm-asm-vgyg9).
The emitted handler `h_<OP>` (e.g. `h_ADD`) now carries a 10-instruction
guard prologue in front of the standard clean-ret body. Exact layout
(verified by objdump; entry = `base`):
`... | /-
EvmAsm.Codegen.Proofs.GuardedHandlerSpecs
Raw-triple layer for the stack-underflow guard prologue (bead evm-asm-vgyg9).
The emitted handler `h_<OP>` (e.g. `h_ADD`) now carries a 10-instruction
guard prologue in front of the standard clean-ret body. Exact layout
(verified by objdump; entry = `base`):
`... | @@ -102,6 +102,110 @@
-- 2a. The guard check as a raw branch spec (instructions base .. base+16)
-- ============================================================================
+/-- The first 5 guard instructions as a two-exit branch spec.
+
+ Under the `la` reconstruction hypothesis `hla1` (AUIPC+ADDI resolve t... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_0 | 3a5887d1e35e97ca | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_mul_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode\n evmExpMsbSave... | [
{
"name": "expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul",
"text": "/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`\n body appended immediately after the 336-byte wrapper. -/\ntheorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul\n (base : ... | [
{
"name": "evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_mul_sub",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 12,
"n_chars": 519,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
... | 1 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -16,10 +16,48 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`
+ body appended immediately after the 336-byte wrapper. -/
+theorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul
+ (base : Word) :
+ CodeReq.Disjoin... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_1 | 53641b8d7f2dfe20 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_mul_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode\n evmExpMsbSave... | [
{
"name": "expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul",
"text": "/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`\n body appended immediately after the 336-byte wrapper. -/\ntheorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul\n (base : ... | [
{
"name": "expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_sub",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 17,
"n_chars": 813,
"n_subproofs": 0,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural... | 1 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -16,12 +16,53 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`
+ body appended immediately after the 336-byte wrapper. -/
+theorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul
+ (base : Word) :
+ CodeReq.Disjoin... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_2 | e9a9478ef97bd14e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_mul_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode\n evmExpMsbSave... | [
{
"name": "expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul",
"text": "/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`\n body appended immediately after the 336-byte wrapper. -/\ntheorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul\n (base : ... | [
{
"name": "cpsBranchWithin_extend_iter_body_union_evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 16,
"n_chars": 728,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrit... | 2 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -16,12 +16,53 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`
+ body appended immediately after the 336-byte wrapper. -/
+theorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul
+ (base : Word) :
+ CodeReq.Disjoin... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_3 | b883cb1abc09194a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_mul_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode\n evmExpMsbSave... | [
{
"name": "expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul",
"text": "/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`\n body appended immediately after the 336-byte wrapper. -/\ntheorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul\n (base : ... | [
{
"name": "cpsNBranchWithin_extend_iter_body_union_evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 16,
"n_chars": 715,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewri... | 2 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -16,12 +16,53 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`
+ body appended immediately after the 336-byte wrapper. -/
+theorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul
+ (base : Word) :
+ CodeReq.Disjoin... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_4 | 8a2319db1be93558 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_mul_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode\n evmExpMsbSave... | [
{
"name": "expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul",
"text": "/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`\n body appended immediately after the 336-byte wrapper. -/\ntheorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul\n (base : ... | [
{
"name": "expIterBodyFullMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 16,
"n_chars": 708,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_stru... | 1 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -16,6 +16,38 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`
+ body appended immediately after the 336-byte wrapper. -/
+theorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul
+ (base : Word) :
+ CodeReq.Disjoint... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_5 | ee266c8c94e4e154 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 2 | [
{
"theorem_name": "cpsBranchWithin_extend_iter_body_union_evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsBranchWithin_extend_code\n (h := h)\n (hm... | [
{
"name": "expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_sub",
"text": "theorem expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_sub\n {base : Word} :\n ∀ a i,\n (expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode base)\n a = some i →\n (evmExpM... | [
{
"name": "exp_msb_bit_test_fixed_full_iter_merged_exit_branch_evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 170,
"n_chars": 9155,
"n_subproofs": 3,
"n_tactics": 60,
"cyclomatic": 1,
"n_a... | 4 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -48,6 +48,22 @@
EvmAsm.Evm64.mul_callable_length
(fun _ _ hk1 hk2 => by bv_omega)
+theorem expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_sub
+ {base : Word} :
+ ∀ a i,
+ (expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode base)
+ a = some i →
+ (evmExpMsb... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_6 | d0a84c288f853c8a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 2 | [
{
"theorem_name": "cpsBranchWithin_extend_iter_body_union_evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsBranchWithin_extend_code\n (h := h)\n (hm... | [
{
"name": "expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_sub",
"text": "theorem expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_sub\n {base : Word} :\n ∀ a i,\n (expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode base)\n a = some i →\n (evmExpM... | [
{
"name": "exp_msb_bit_test_fixed_full_iter_merged_exit_nbranch_evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 118,
"n_chars": 6352,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_a... | 5 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -48,6 +48,22 @@
EvmAsm.Evm64.mul_callable_length
(fun _ _ hk1 hk2 => by bv_omega)
+theorem expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_sub
+ {base : Word} :
+ ∀ a i,
+ (expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode base)
+ a = some i →
+ (evmExpMsb... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_7 | 5ddbf48dd417bf4f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_mul_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode\n evmExpMsbSave... | [
{
"name": "expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul",
"text": "/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`\n body appended immediately after the 336-byte wrapper. -/\ntheorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul\n (base : ... | [
{
"name": "exp_msb_bit_test_fixed_full_iter_merged_exit_branch_expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 166,
"n_chars": 9027,
"n_subproofs": 2,
"n_tactics": 57,
"cyclomatic": 1,... | 2 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -16,6 +16,38 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`
+ body appended immediately after the 336-byte wrapper. -/
+theorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul
+ (base : Word) :
+ CodeReq.Disjoint... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_672bd0450a34_8 | a9cd782549dd8bc9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedWithMul.lean | SavedBitFixedWithMul | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 3 | [
{
"theorem_name": "evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_mul_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 7,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmExpMsbSavedBitTwoMulFixedCanonicalAppendedMulCode\n evmExpMsbSave... | [
{
"name": "expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul",
"text": "/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`\n body appended immediately after the 336-byte wrapper. -/\ntheorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul\n (base : ... | [
{
"name": "exp_msb_bit_test_fixed_full_iter_merged_exit_nbranch_expIterBodyFullMsbSavedBitTwoMulFixedCanonicalAppendedMulCode_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 116,
"n_chars": 6362,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,... | 3 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedWithMul
Code-bundle helpers for the fixed x19 two-MUL saved-bit EXP program plus
the out-of-line `mul_callable` body.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologueFixed
import EvmAsm.Evm64.Exp.Compose.SavedBitIterPostDefs
import EvmAsm.Evm64.Exp.Compose.Sav... | @@ -16,6 +16,38 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+/-- The fixed canonical saved-bit EXP wrapper is disjoint from a `mul_callable`
+ body appended immediately after the 336-byte wrapper. -/
+theorem expMsbSavedBitTwoMulFixedCanonicalCode_disjoint_appended_mul
+ (base : Word) :
+ CodeReq.Disjoint... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b61d1614eb2e_0 | d4c30196b5586f9d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/ReturnData/SizeSpec.lean | SizeSpec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_returndatasize_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- LD tmpReg frameReg returnDataSizeOff : load the returndata size first\n -- (matches the emitted handler... | [
{
"name": "signExtend12_returnDataSizeOff",
"text": "/-- The `returnDataSizeOff` immediate (8) sign-extends to itself as a 64-bit\n word, normalising the load address LD's spec produces. -/\nprivate theorem signExtend12_returnDataSizeOff :\n signExtend12 (BitVec.ofNat 12 returnDataSizeOff) =\n Bi... | [
{
"name": "evm_returndatasize_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 39,
"n_chars": 2090,
"n_subproofs": 6,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false... | 1 | /-
EvmAsm.Evm64.ReturnData.SizeSpec
Stack-level cpsTripleWithin specification for the EVM `RETURNDATASIZE` opcode
(0x3d; see `EvmAsm/Evm64/ReturnData/SizeProgram.lean`).
RETURNDATASIZE mirrors GAS/CODESIZE/CALLDATASIZE: it loads a 64-bit value from
a dispatcher-seeded cell and pushes it zero-extended to 256... | /-
EvmAsm.Evm64.ReturnData.SizeSpec
Stack-level cpsTripleWithin specification for the EVM `RETURNDATASIZE` opcode
(0x3d; see `EvmAsm/Evm64/ReturnData/SizeProgram.lean`).
RETURNDATASIZE mirrors GAS/CODESIZE/CALLDATASIZE: it loads a 64-bit value from
a dispatcher-seeded cell and pushes it zero-extended to 256... | @@ -37,6 +37,13 @@
instance (frameAddr sz : Word) : Assertion.PCFree (returnDataSizeIs frameAddr sz) :=
⟨pcFree_returnDataSizeIs⟩
+/-- The `returnDataSizeOff` immediate (8) sign-extends to itself as a 64-bit
+ word, normalising the load address LD's spec produces. -/
+private theorem signExtend12_returnDataSiz... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b61d1614eb2e_1 | 169a0e58a70c4cca | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/ReturnData/SizeSpec.lean | SizeSpec | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_returndatasize_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 14,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsTripleWithin_weaken\n (fun _ hp => by\n unfold returnDataSizeIs at hp\n xperm_hyp hp)\n ... | [
{
"name": "evm_returndatasize_spec_within",
"text": "/-- Raw memory-cell-level RETURNDATASIZE spec: load `sz` from the frame region\n at `frameAddr + returnDataSizeOff` into `tmpReg`, decrement EVM SP by 32,\n write it at the new top-of-stack low limb and zero the upper three limbs.\n 6 instruction... | [
{
"name": "evm_returndatasize_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 35,
"n_chars": 1425,
"n_subproofs": 0,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 3,
"n_structural": 0,
"automation_only":... | 3 | /-
EvmAsm.Evm64.ReturnData.SizeSpec
Stack-level cpsTripleWithin specification for the EVM `RETURNDATASIZE` opcode
(0x3d; see `EvmAsm/Evm64/ReturnData/SizeProgram.lean`).
RETURNDATASIZE mirrors GAS/CODESIZE/CALLDATASIZE: it loads a 64-bit value from
a dispatcher-seeded cell and pushes it zero-extended to 256... | /-
EvmAsm.Evm64.ReturnData.SizeSpec
Stack-level cpsTripleWithin specification for the EVM `RETURNDATASIZE` opcode
(0x3d; see `EvmAsm/Evm64/ReturnData/SizeProgram.lean`).
RETURNDATASIZE mirrors GAS/CODESIZE/CALLDATASIZE: it loads a 64-bit value from
a dispatcher-seeded cell and pushes it zero-extended to 256... | @@ -84,6 +84,44 @@
hhigh 2 (by decide) (by decide),
hhigh 3 (by decide) (by decide)]
+/-- Raw memory-cell-level RETURNDATASIZE spec: load `sz` from the frame region
+ at `frameAddr + returnDataSizeOff` into `tmpReg`, decrement EVM SP by 32,
+ write it at the new top-of-stack low limb and zero 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_903f044ed0b6_0 | e3a97f79921892a5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Byte/Spec.lean | Spec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 4 | [
{
"theorem_name": "byte_bne_sub",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n singleton_sub_evm_byte base (base + 20) (.BNE .x5 .x0 140) 5\n (by decide) (by bv_omega) (by decide)",
"n_chars": 105,
... | [
{
"name": "singleton_sub_evm_byte",
"text": "/-- A singleton at instruction k of evm_byte is subsumed by evm_byte_code. -/\nprivate theorem singleton_sub_evm_byte (base addr : Word) (instr : Instr) (k : Nat)\n (hk : k < evm_byte.length)\n (h_addr : addr = base + BitVec.ofNat 64 (4 * k))\n (h_instr ... | [
{
"name": "byte_bne_sub",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 341,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"max_nesting": 4... | 1 | /-
EvmAsm.Evm64.Byte.Spec
Composed CPS specifications for the 256-bit EVM BYTE program (64-bit).
Full program CodeReq, subsumption lemmas, and per-path composed specs.
The BYTE program has 6 execution paths:
1. zero_high: high index limbs nonzero → zero result
2. zero_geq32: idx[0] >= 32 → zero result
3... | /-
EvmAsm.Evm64.Byte.Spec
Composed CPS specifications for the 256-bit EVM BYTE program (64-bit).
Full program CodeReq, subsumption lemmas, and per-path composed specs.
The BYTE program has 6 execution paths:
1. zero_high: high index limbs nonzero → zero result
2. zero_geq32: idx[0] >= 32 → zero result
3... | @@ -101,25 +101,42 @@
-- Singleton subsumption for individual branch instructions
-- ============================================================================
+/-- A singleton at instruction k of evm_byte is subsumed by evm_byte_code. -/
+private theorem singleton_sub_evm_byte (base addr : Word) (instr : Instr) ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_903f044ed0b6_1 | c729bedc6dfba07f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Byte/Spec.lean | Spec | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 2 | [
{
"theorem_name": "evm_byte_zero_high_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 59,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- Step 1: OR-reduce (base → base+20) → extend to evm_byte_code\n have hOR := cpsTripleWithin_extend_code ... | [
{
"name": "byte_zero_path_sub",
"text": "/-- Zero path code (5 instrs at offset 160) is subsumed by evm_byte_code. -/\nprivate theorem byte_zero_path_sub {base : Word} :\n ∀ a i, (byte_zero_path_code (base + 160)) a = some i → (evm_byte_code base) a = some i := by\n unfold evm_byte_code byte_zero_path_c... | [
{
"name": "evm_byte_zero_high_spec_within",
"fan_in": 1,
"n_deps_direct": 6,
"n_deps_transitive": 7,
"n_lines": 76,
"n_chars": 4588,
"n_subproofs": 13,
"n_tactics": 49,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 4,
"n_structural": 4,
"automation_only": fals... | 3 | /-
EvmAsm.Evm64.Byte.Spec
Composed CPS specifications for the 256-bit EVM BYTE program (64-bit).
Full program CodeReq, subsumption lemmas, and per-path composed specs.
The BYTE program has 6 execution paths:
1. zero_high: high index limbs nonzero → zero result
2. zero_geq32: idx[0] >= 32 → zero result
3... | /-
EvmAsm.Evm64.Byte.Spec
Composed CPS specifications for the 256-bit EVM BYTE program (64-bit).
Full program CodeReq, subsumption lemmas, and per-path composed specs.
The BYTE program has 6 execution paths:
1. zero_high: high index limbs nonzero → zero result
2. zero_geq32: idx[0] >= 32 → zero result
3... | @@ -90,6 +90,17 @@
exact CodeReq.ofProg_mono_sub base (base + 136) evm_byte byte_store 34
(by bv_omega) (by decide) (by decide) (by decide)
+/-- Zero path code (5 instrs at offset 160) is subsumed by evm_byte_code. -/
+private theorem byte_zero_path_sub {base : Word} :
+ ∀ a i, (byte_zero_path_code (base +... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_903f044ed0b6_2 | 8db28f48a932e0a7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Byte/Spec.lean | Spec | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 2 | [
{
"theorem_name": "evm_byte_zero_high_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 59,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- Step 1: OR-reduce (base → base+20) → extend to evm_byte_code\n have hOR := cpsTripleWithin_extend_code ... | [
{
"name": "byte_zero_path_sub",
"text": "/-- Zero path code (5 instrs at offset 160) is subsumed by evm_byte_code. -/\nprivate theorem byte_zero_path_sub {base : Word} :\n ∀ a i, (byte_zero_path_code (base + 160)) a = some i → (evm_byte_code base) a = some i := by\n unfold evm_byte_code byte_zero_path_c... | [
{
"name": "evm_byte_zero_geq32_spec_within",
"fan_in": 1,
"n_deps_direct": 13,
"n_deps_transitive": 14,
"n_lines": 119,
"n_chars": 7133,
"n_subproofs": 28,
"n_tactics": 85,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 7,
"n_structural": 6,
"automation_only": ... | 3 | /-
EvmAsm.Evm64.Byte.Spec
Composed CPS specifications for the 256-bit EVM BYTE program (64-bit).
Full program CodeReq, subsumption lemmas, and per-path composed specs.
The BYTE program has 6 execution paths:
1. zero_high: high index limbs nonzero → zero result
2. zero_geq32: idx[0] >= 32 → zero result
3... | /-
EvmAsm.Evm64.Byte.Spec
Composed CPS specifications for the 256-bit EVM BYTE program (64-bit).
Full program CodeReq, subsumption lemmas, and per-path composed specs.
The BYTE program has 6 execution paths:
1. zero_high: high index limbs nonzero → zero result
2. zero_geq32: idx[0] >= 32 → zero result
3... | @@ -90,6 +90,17 @@
exact CodeReq.ofProg_mono_sub base (base + 136) evm_byte byte_store 34
(by bv_omega) (by decide) (by decide) (by decide)
+/-- Zero path code (5 instrs at offset 160) is subsumed by evm_byte_code. -/
+private theorem byte_zero_path_sub {base : Word} :
+ ∀ a i, (byte_zero_path_code (base +... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_903f044ed0b6_3 | c06f92251addcc58 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Byte/Spec.lean | Spec | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 2 | [
{
"theorem_name": "evm_byte_zero_high_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 59,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n -- Step 1: OR-reduce (base → base+20) → extend to evm_byte_code\n have hOR := cpsTripleWithin_extend_code ... | [
{
"name": "byte_zero_path_sub",
"text": "/-- Zero path code (5 instrs at offset 160) is subsumed by evm_byte_code. -/\nprivate theorem byte_zero_path_sub {base : Word} :\n ∀ a i, (byte_zero_path_code (base + 160)) a = some i → (evm_byte_code base) a = some i := by\n unfold evm_byte_code byte_zero_path_c... | [
{
"name": "evm_byte_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 16,
"n_lines": 101,
"n_chars": 4615,
"n_subproofs": 16,
"n_tactics": 88,
"cyclomatic": 1,
"n_automation": 19,
"n_rewrites": 12,
"n_structural": 9,
"automation_only": fals... | 5 | /-
EvmAsm.Evm64.Byte.Spec
Composed CPS specifications for the 256-bit EVM BYTE program (64-bit).
Full program CodeReq, subsumption lemmas, and per-path composed specs.
The BYTE program has 6 execution paths:
1. zero_high: high index limbs nonzero → zero result
2. zero_geq32: idx[0] >= 32 → zero result
3... | /-
EvmAsm.Evm64.Byte.Spec
Composed CPS specifications for the 256-bit EVM BYTE program (64-bit).
Full program CodeReq, subsumption lemmas, and per-path composed specs.
The BYTE program has 6 execution paths:
1. zero_high: high index limbs nonzero → zero result
2. zero_geq32: idx[0] >= 32 → zero result
3... | @@ -90,6 +90,17 @@
exact CodeReq.ofProg_mono_sub base (base + 136) evm_byte byte_store 34
(by bv_omega) (by decide) (by decide) (by decide)
+/-- Zero path code (5 instrs at offset 160) is subsumed by evm_byte_code. -/
+private theorem byte_zero_path_sub {base : Word} :
+ ∀ a i, (byte_zero_path_code (base +... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_386c3d66d943_0 | b0cd79701a846add | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N3V5ConcretePostBridge.lean | N3V5ConcretePostBridge | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "fullDivN3UnifiedPostNoX1V5_frame_to_divStackDispatchPostCallableExactFrame_scratch",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro h hp\n rw [divStackDispatchPostCallableExactFram... | [
{
"name": "fullDivN3UnifiedPostNoX1V5_frame_to_divConcretePostNoX1ExactRegsFrame_scratch",
"text": "/-- N=3 v5 bridge: `fullDivN3UnifiedPostNoX1V5` + exact `x1` → the public concrete\n `divConcretePostNoX1ExactRegsFrame` + the v5 scratch cell. -/\ntheorem fullDivN3UnifiedPostNoX1V5_frame_to_divConcretePo... | [
{
"name": "fullDivN3UnifiedPostNoX1V5_frame_to_divStackDispatchPostCallableExactFrame_scratch",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 35,
"n_chars": 1581,
"n_subproofs": 1,
"n_tactics": 11,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N3V5ConcretePostBridge
N=3 V5 bridge from `fullDivN3UnifiedPostNoX1V5` (with exact caller `x1`) to the
public concrete post `divConcretePostNoX1ExactRegsFrame` (then to the named
`divStackDispatchPostCallableExactFrame`), plus the v5 div128 scratch cell.
Faithful v5 mirror of the ... | /-
EvmAsm.Evm64.DivMod.Spec.N3V5ConcretePostBridge
N=3 V5 bridge from `fullDivN3UnifiedPostNoX1V5` (with exact caller `x1`) to the
public concrete post `divConcretePostNoX1ExactRegsFrame` (then to the named
`divStackDispatchPostCallableExactFrame`), plus the v5 div128 scratch cell.
Faithful v5 mirror of the ... | @@ -19,6 +19,125 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (word_add_zero)
+/-- N=3 v5 bridge: `fullDivN3UnifiedPostNoX1V5` + exact `x1` → the public concrete
+ `divConcretePostNoX1ExactRegsFrame` + the v5 scratch cell. -/
+theorem fullDivN3UnifiedPostNoX1V5_frame_to_divConcretePostNoX1ExactRegsFrame_scratch... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_386c3d66d943_1 | 345df5b6e8961e77 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N3V5ConcretePostBridge.lean | N3V5ConcretePostBridge | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "fullDivN3UnifiedPostNoX1V5_frame_to_divStackDispatchPostCallableExactFrame_scratch",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro h hp\n rw [divStackDispatchPostCallableExactFram... | [
{
"name": "fullDivN3UnifiedPostNoX1V5_frame_to_divConcretePostNoX1ExactRegsFrame_scratch",
"text": "/-- N=3 v5 bridge: `fullDivN3UnifiedPostNoX1V5` + exact `x1` → the public concrete\n `divConcretePostNoX1ExactRegsFrame` + the v5 scratch cell. -/\ntheorem fullDivN3UnifiedPostNoX1V5_frame_to_divConcretePo... | [
{
"name": "fullDivN3UnifiedPostNoX1V5_frame_to_divStackDispatchPostCallableExactFrame_scratch_word",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 36,
"n_chars": 1769,
"n_subproofs": 1,
"n_tactics": 12,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.N3V5ConcretePostBridge
N=3 V5 bridge from `fullDivN3UnifiedPostNoX1V5` (with exact caller `x1`) to the
public concrete post `divConcretePostNoX1ExactRegsFrame` (then to the named
`divStackDispatchPostCallableExactFrame`), plus the v5 div128 scratch cell.
Faithful v5 mirror of the ... | /-
EvmAsm.Evm64.DivMod.Spec.N3V5ConcretePostBridge
N=3 V5 bridge from `fullDivN3UnifiedPostNoX1V5` (with exact caller `x1`) to the
public concrete post `divConcretePostNoX1ExactRegsFrame` (then to the named
`divStackDispatchPostCallableExactFrame`), plus the v5 div128 scratch cell.
Faithful v5 mirror of the ... | @@ -19,6 +19,125 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (word_add_zero)
+/-- N=3 v5 bridge: `fullDivN3UnifiedPostNoX1V5` + exact `x1` → the public concrete
+ `divConcretePostNoX1ExactRegsFrame` + the v5 scratch cell. -/
+theorem fullDivN3UnifiedPostNoX1V5_frame_to_divConcretePostNoX1ExactRegsFrame_scratch... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_04da7309b565_0 | d8cc1f6bf8c7922c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutCall09Carry.lean | ProductLayoutCall09Carry | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "mulModProductLayoutCall09P128_toNat_eq_limb3Carry",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact mulModProductLayoutCall09P128_toNat_eq_c4_from_chain a b",
"n_chars": 68,
"... | [
{
"name": "mulModProductLayoutCall09P128_toNat_eq_c4_from_chain",
"text": "/-- The ninth call's offset-128 cell is the low word of the column-3 carry. -/\ntheorem mulModProductLayoutCall09P128_toNat_eq_c4_from_chain (a b : EvmWord) :\n let a0 := a.getLimbN 0\n let a1 := a.getLimbN 1\n let a2 := a.g... | [
{
"name": "mulModProductLayoutCall09P128_toNat_eq_limb3Carry",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 22,
"n_chars": 887,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automa... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutCall05Carry
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- Public spelling of the call09 offset-128 limb-3 carry theorem. -/
theorem mulModProductLayoutCall09P128_toNat_eq_limb3Carry (a b : EvmWord) :
let a0 := a.getLimbN 0
let a1 :... | import EvmAsm.Evm64.MulMod.ProductLayoutCall05Carry
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The ninth call's offset-128 cell is the low word of the column-3 carry. -/
theorem mulModProductLayoutCall09P128_toNat_eq_c4_from_chain (a b : EvmWord) :
let a0 := a.getLimbN 0
... | @@ -5,6 +5,49 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+/-- The ninth call's offset-128 cell is the low word of the column-3 carry. -/
+theorem mulModProductLayoutCall09P128_toNat_eq_c4_from_chain (a b : EvmWord) :
+ let a0 := a.getLimbN 0
+ let a1 := a.getLimbN 1
+ let a2 := a.getLimbN ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_27d4e1c88bfd_0 | ffa09f61e14dd368 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/LoopIterN4.lean | LoopIterN4 | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "divK_loop_body_n4_max_skip_j0_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 79,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hborrow\n rw [loopBodyN4MaxSkipJ0Pre_unfold, loopBodyN4MaxSkipJ0Post_unfold]\n let uBase... | [
{
"name": "loopBodyN4MaxSkipJ0Post_unfold",
"text": "theorem loopBodyN4MaxSkipJ0Post_unfold\n (sp v0 v1 v2 v3 u0 u1 u2 u3 uTop : Word) :\n loopBodyN4MaxSkipJ0Post sp v0 v1 v2 v3 u0 u1 u2 u3 uTop =\n loopBodyN4SkipPost sp (0 : Word) (signExtend12 4095 : Word)\n v0 v1 v2 v3 u0 u1 u2 u3 uTop ... | [
{
"name": "divK_loop_body_n4_max_skip_j0_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 93,
"n_chars": 4582,
"n_subproofs": 7,
"n_tactics": 79,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 7,
"n_structural": 2,
"automation_o... | 2 | /-
EvmAsm.Evm64.DivMod.LoopIterN4
Loop body cpsTripleWithin specs for n=4 at j=0.
These are the j=0-specialized versions of the LoopBodyN4 cpsBranchWithin specs,
using divK_store_loop_j0_spec_within to eliminate the loop-back branch and
produce clean cpsTriples from base+448 to base+904.
-/
import EvmAsm.Ev... | /-
EvmAsm.Evm64.DivMod.LoopIterN4
Loop body cpsTripleWithin specs for n=4 at j=0.
These are the j=0-specialized versions of the LoopBodyN4 cpsBranchWithin specs,
using divK_store_loop_j0_spec_within to eliminate the loop-back branch and
produce clean cpsTriples from base+448 to base+904.
-/
import EvmAsm.Ev... | @@ -60,6 +60,18 @@
loopBodyN4SkipPost sp (0 : Word) (signExtend12 4095 : Word)
v0 v1 v2 v3 u0 u1 u2 u3 uTop
+theorem loopBodyN4MaxSkipJ0Post_unfold
+ (sp v0 v1 v2 v3 u0 u1 u2 u3 uTop : Word) :
+ loopBodyN4MaxSkipJ0Post sp v0 v1 v2 v3 u0 u1 u2 u3 uTop =
+ loopBodyN4SkipPost sp (0 : Word) (signExtend... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "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.